GET api/StockSymbols?apiKey={apiKey}
get stock symbols
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
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
SymbolsApiResponseName | Description | Type | Additional information |
---|---|---|---|
Body | Collection of SymbolCompany |
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": [ { "Company": "sample string 1", "Symbol": "sample string 2" }, { "Company": "sample string 1", "Symbol": "sample string 2" } ], "RequestId": "sample string 1", "ResponseId": "sample string 2", "RequestDate": "2024-10-08T22:30:42.3755471+00:00", "ResponseDate": "2024-10-08T22:30:42.3755471+00:00", "ResponseDateEst": "2024-10-08T22:30:42.3755471+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 6", "RecordsRemaining": 1, "CompleteProgress": 1.0, "Category": "sample string 7" }
text/html
Sample:
{"Body":[{"Company":"sample string 1","Symbol":"sample string 2"},{"Company":"sample string 1","Symbol":"sample string 2"}],"RequestId":"sample string 1","ResponseId":"sample string 2","RequestDate":"2024-10-08T22:30:42.3755471+00:00","ResponseDate":"2024-10-08T22:30:42.3755471+00:00","ResponseDateEst":"2024-10-08T22:30:42.3755471+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 6","RecordsRemaining":1,"CompleteProgress":1.0,"Category":"sample string 7"}
application/xml, text/xml
Sample:
<SymbolsApiResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PublicApi.Model"> <Category>sample string 7</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-08T22:30:42.3755471+00:00</RequestDate> <RequestId>sample string 1</RequestId> <ResponseCode>sample string 6</ResponseCode> <ResponseDate>2024-10-08T22:30:42.3755471+00:00</ResponseDate> <ResponseDateEst>2024-10-08T22:30:42.3755471+00:00</ResponseDateEst> <ResponseId>sample string 2</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> <SymbolCompany> <Company>sample string 1</Company> <Symbol>sample string 2</Symbol> </SymbolCompany> <SymbolCompany> <Company>sample string 1</Company> <Symbol>sample string 2</Symbol> </SymbolCompany> </Body> </SymbolsApiResponse>