GET api/StockDetails?symbols={symbols}&apiKey={apiKey}

get stocks by comma delimited symbol list (max:100 per call) Example: MSFT,AMZN,NFLX

Request Information
URI Parameters
NameDescriptionTypeAdditional information
symbols

string

Required

apiKey

string

Required if api key is provided in the url. Optional if provided in the header: Header Key='ApiKey', Value='your key'

Body Parameters

None.

Response Information

Resource Description

StockApiResponse
NameDescriptionTypeAdditional information
Body

Collection of StockQuote

None.

MarketMessage

string

None.

RequestId

string

None.

ResponseId

string

None.

RequestDate

date

None.

ResponseDate

date

None.

ResponseDateEst

date

None.

Warnings

Collection of Warning

None.

Errors

Collection of Warning

None.

ResponseCode

string

None.

RecordsRemaining

integer

None.

CompleteProgress

decimal number

None.

Category

string

None.

Response Formats

application/json, text/json
Sample:
{
  "Body": [
    {
      "Symbol": "sample string 1",
      "Company": "sample string 2",
      "Price": 1.0,
      "Change": 1.0,
      "ChangePercent": 1.0,
      "TradeDate": "2024-10-08T20:54:45.1696921+00:00",
      "DividendAmount": 1.0,
      "Sector": "sample string 4",
      "Industry": "sample string 5",
      "Volume": 1.0,
      "Url": "sample string 6",
      "Exchange": "sample string 7",
      "High": 1.0,
      "Low": 1.0,
      "MarketCap": 1,
      "PeRatio": 1.0,
      "MarketCapShort": "sample string 8",
      "DividendDate": "2024-10-08T20:54:45.1696921+00:00",
      "Open": 1.0,
      "AnnualDividendYield": 1.0,
      "DividendFrequency": "sample string 9",
      "OneYearHigh": {
        "Company": "sample string 1",
        "Symbol": "sample string 2",
        "TradeDate": "2024-10-08T20:54:45.1696921+00:00",
        "Price": 1.0,
        "Change": 1.0,
        "ChangePercent": 1.0,
        "Volume": 1.0
      },
      "OneYearLow": {
        "Company": "sample string 1",
        "Symbol": "sample string 2",
        "TradeDate": "2024-10-08T20:54:45.1696921+00:00",
        "Price": 1.0,
        "Change": 1.0,
        "ChangePercent": 1.0,
        "Volume": 1.0
      },
      "Category": "sample string 10",
      "SectorId": "sample string 11",
      "IndustryId": "sample string 12",
      "GroupName": "sample string 13",
      "Tags": [
        "sample string 1",
        "sample string 2"
      ]
    },
    {
      "Symbol": "sample string 1",
      "Company": "sample string 2",
      "Price": 1.0,
      "Change": 1.0,
      "ChangePercent": 1.0,
      "TradeDate": "2024-10-08T20:54:45.1696921+00:00",
      "DividendAmount": 1.0,
      "Sector": "sample string 4",
      "Industry": "sample string 5",
      "Volume": 1.0,
      "Url": "sample string 6",
      "Exchange": "sample string 7",
      "High": 1.0,
      "Low": 1.0,
      "MarketCap": 1,
      "PeRatio": 1.0,
      "MarketCapShort": "sample string 8",
      "DividendDate": "2024-10-08T20:54:45.1696921+00:00",
      "Open": 1.0,
      "AnnualDividendYield": 1.0,
      "DividendFrequency": "sample string 9",
      "OneYearHigh": {
        "Company": "sample string 1",
        "Symbol": "sample string 2",
        "TradeDate": "2024-10-08T20:54:45.1696921+00:00",
        "Price": 1.0,
        "Change": 1.0,
        "ChangePercent": 1.0,
        "Volume": 1.0
      },
      "OneYearLow": {
        "Company": "sample string 1",
        "Symbol": "sample string 2",
        "TradeDate": "2024-10-08T20:54:45.1696921+00:00",
        "Price": 1.0,
        "Change": 1.0,
        "ChangePercent": 1.0,
        "Volume": 1.0
      },
      "Category": "sample string 10",
      "SectorId": "sample string 11",
      "IndustryId": "sample string 12",
      "GroupName": "sample string 13",
      "Tags": [
        "sample string 1",
        "sample string 2"
      ]
    }
  ],
  "MarketMessage": "sample string 1",
  "RequestId": "sample string 2",
  "ResponseId": "sample string 3",
  "RequestDate": "2024-10-08T20:54:45.1696921+00:00",
  "ResponseDate": "2024-10-08T20:54:45.1696921+00:00",
  "ResponseDateEst": "2024-10-08T20:54:45.1696921+00:00",
  "Warnings": [
    {
      "Code": "sample string 1",
      "Message": "sample string 2"
    },
    {
      "Code": "sample string 1",
      "Message": "sample string 2"
    }
  ],
  "Errors": [
    {
      "Code": "sample string 1",
      "Message": "sample string 2"
    },
    {
      "Code": "sample string 1",
      "Message": "sample string 2"
    }
  ],
  "ResponseCode": "sample string 7",
  "RecordsRemaining": 1,
  "CompleteProgress": 1.0,
  "Category": "sample string 8"
}
text/html
Sample:
{"Body":[{"Symbol":"sample string 1","Company":"sample string 2","Price":1.0,"Change":1.0,"ChangePercent":1.0,"TradeDate":"2024-10-08T20:54:45.1696921+00:00","DividendAmount":1.0,"Sector":"sample string 4","Industry":"sample string 5","Volume":1.0,"Url":"sample string 6","Exchange":"sample string 7","High":1.0,"Low":1.0,"MarketCap":1,"PeRatio":1.0,"MarketCapShort":"sample string 8","DividendDate":"2024-10-08T20:54:45.1696921+00:00","Open":1.0,"AnnualDividendYield":1.0,"DividendFrequency":"sample string 9","OneYearHigh":{"Company":"sample string 1","Symbol":"sample string 2","TradeDate":"2024-10-08T20:54:45.1696921+00:00","Price":1.0,"Change":1.0,"ChangePercent":1.0,"Volume":1.0},"OneYearLow":{"Company":"sample string 1","Symbol":"sample string 2","TradeDate":"2024-10-08T20:54:45.1696921+00:00","Price":1.0,"Change":1.0,"ChangePercent":1.0,"Volume":1.0},"Category":"sample string 10","SectorId":"sample string 11","IndustryId":"sample string 12","GroupName":"sample string 13","Tags":["sample string 1","sample string 2"]},{"Symbol":"sample string 1","Company":"sample string 2","Price":1.0,"Change":1.0,"ChangePercent":1.0,"TradeDate":"2024-10-08T20:54:45.1696921+00:00","DividendAmount":1.0,"Sector":"sample string 4","Industry":"sample string 5","Volume":1.0,"Url":"sample string 6","Exchange":"sample string 7","High":1.0,"Low":1.0,"MarketCap":1,"PeRatio":1.0,"MarketCapShort":"sample string 8","DividendDate":"2024-10-08T20:54:45.1696921+00:00","Open":1.0,"AnnualDividendYield":1.0,"DividendFrequency":"sample string 9","OneYearHigh":{"Company":"sample string 1","Symbol":"sample string 2","TradeDate":"2024-10-08T20:54:45.1696921+00:00","Price":1.0,"Change":1.0,"ChangePercent":1.0,"Volume":1.0},"OneYearLow":{"Company":"sample string 1","Symbol":"sample string 2","TradeDate":"2024-10-08T20:54:45.1696921+00:00","Price":1.0,"Change":1.0,"ChangePercent":1.0,"Volume":1.0},"Category":"sample string 10","SectorId":"sample string 11","IndustryId":"sample string 12","GroupName":"sample string 13","Tags":["sample string 1","sample string 2"]}],"MarketMessage":"sample string 1","RequestId":"sample string 2","ResponseId":"sample string 3","RequestDate":"2024-10-08T20:54:45.1696921+00:00","ResponseDate":"2024-10-08T20:54:45.1696921+00:00","ResponseDateEst":"2024-10-08T20:54:45.1696921+00:00","Warnings":[{"Code":"sample string 1","Message":"sample string 2"},{"Code":"sample string 1","Message":"sample string 2"}],"Errors":[{"Code":"sample string 1","Message":"sample string 2"},{"Code":"sample string 1","Message":"sample string 2"}],"ResponseCode":"sample string 7","RecordsRemaining":1,"CompleteProgress":1.0,"Category":"sample string 8"}
application/xml, text/xml
Sample:
<StockApiResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PublicApi.Model">
  <Category>sample string 8</Category>
  <CompleteProgress>1</CompleteProgress>
  <Errors>
    <Warning>
      <Code>sample string 1</Code>
      <Message>sample string 2</Message>
    </Warning>
    <Warning>
      <Code>sample string 1</Code>
      <Message>sample string 2</Message>
    </Warning>
  </Errors>
  <RecordsRemaining>1</RecordsRemaining>
  <RequestDate>2024-10-08T20:54:45.1696921+00:00</RequestDate>
  <RequestId>sample string 2</RequestId>
  <ResponseCode>sample string 7</ResponseCode>
  <ResponseDate>2024-10-08T20:54:45.1696921+00:00</ResponseDate>
  <ResponseDateEst>2024-10-08T20:54:45.1696921+00:00</ResponseDateEst>
  <ResponseId>sample string 3</ResponseId>
  <Warnings>
    <Warning>
      <Code>sample string 1</Code>
      <Message>sample string 2</Message>
    </Warning>
    <Warning>
      <Code>sample string 1</Code>
      <Message>sample string 2</Message>
    </Warning>
  </Warnings>
  <Body>
    <StockQuote>
      <AnnualDividendYield>1</AnnualDividendYield>
      <Category>sample string 10</Category>
      <Change>1</Change>
      <ChangePercent>1</ChangePercent>
      <Company>sample string 2</Company>
      <DividendAmount>1</DividendAmount>
      <DividendDate>2024-10-08T20:54:45.1696921+00:00</DividendDate>
      <DividendFrequency>sample string 9</DividendFrequency>
      <Exchange>sample string 7</Exchange>
      <GroupName>sample string 13</GroupName>
      <High>1</High>
      <Industry>sample string 5</Industry>
      <IndustryId>sample string 12</IndustryId>
      <Low>1</Low>
      <MarketCap>1</MarketCap>
      <MarketCapShort>sample string 8</MarketCapShort>
      <OneYearHigh>
        <Change>1</Change>
        <ChangePercent>1</ChangePercent>
        <Company>sample string 1</Company>
        <Price>1</Price>
        <Symbol>sample string 2</Symbol>
        <TradeDate>2024-10-08T20:54:45.1696921+00:00</TradeDate>
        <Volume>1</Volume>
      </OneYearHigh>
      <OneYearLow>
        <Change>1</Change>
        <ChangePercent>1</ChangePercent>
        <Company>sample string 1</Company>
        <Price>1</Price>
        <Symbol>sample string 2</Symbol>
        <TradeDate>2024-10-08T20:54:45.1696921+00:00</TradeDate>
        <Volume>1</Volume>
      </OneYearLow>
      <Open>1</Open>
      <PeRatio>1</PeRatio>
      <Price>1</Price>
      <Sector>sample string 4</Sector>
      <SectorId>sample string 11</SectorId>
      <Symbol>sample string 1</Symbol>
      <Tags xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
      </Tags>
      <TradeDate>2024-10-08T20:54:45.1696921+00:00</TradeDate>
      <Url>sample string 6</Url>
      <Volume>1</Volume>
    </StockQuote>
    <StockQuote>
      <AnnualDividendYield>1</AnnualDividendYield>
      <Category>sample string 10</Category>
      <Change>1</Change>
      <ChangePercent>1</ChangePercent>
      <Company>sample string 2</Company>
      <DividendAmount>1</DividendAmount>
      <DividendDate>2024-10-08T20:54:45.1696921+00:00</DividendDate>
      <DividendFrequency>sample string 9</DividendFrequency>
      <Exchange>sample string 7</Exchange>
      <GroupName>sample string 13</GroupName>
      <High>1</High>
      <Industry>sample string 5</Industry>
      <IndustryId>sample string 12</IndustryId>
      <Low>1</Low>
      <MarketCap>1</MarketCap>
      <MarketCapShort>sample string 8</MarketCapShort>
      <OneYearHigh>
        <Change>1</Change>
        <ChangePercent>1</ChangePercent>
        <Company>sample string 1</Company>
        <Price>1</Price>
        <Symbol>sample string 2</Symbol>
        <TradeDate>2024-10-08T20:54:45.1696921+00:00</TradeDate>
        <Volume>1</Volume>
      </OneYearHigh>
      <OneYearLow>
        <Change>1</Change>
        <ChangePercent>1</ChangePercent>
        <Company>sample string 1</Company>
        <Price>1</Price>
        <Symbol>sample string 2</Symbol>
        <TradeDate>2024-10-08T20:54:45.1696921+00:00</TradeDate>
        <Volume>1</Volume>
      </OneYearLow>
      <Open>1</Open>
      <PeRatio>1</PeRatio>
      <Price>1</Price>
      <Sector>sample string 4</Sector>
      <SectorId>sample string 11</SectorId>
      <Symbol>sample string 1</Symbol>
      <Tags xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
      </Tags>
      <TradeDate>2024-10-08T20:54:45.1696921+00:00</TradeDate>
      <Url>sample string 6</Url>
      <Volume>1</Volume>
    </StockQuote>
  </Body>
  <MarketMessage>sample string 1</MarketMessage>
</StockApiResponse>