List symbols using query parameters
https://quant-ws.prod.thinkalpha.io/symbols/queryReturns symbol reference records as a JSON array, with the same filters, fields, sorting and paging as POST /symbols/query, passed as URL query parameters.
Without parameters the response is every symbol, 500 records at a time, in ticker order. Repeat a parameter to pass several values: symbols=AAPL&symbols=MSFT&fields=name&fields=close. Comma-separated values are not split. More than 1,000 query parameters or values in an array, and sparse indexed arrays, are rejected with 400; use the POST form for long lists. limit defaults to 500 and has no maximum; page with skip. Results follow sortBy, never the order of the tickers you send. Any authenticated caller can use this operation, and results do not depend on who is calling.
The data is reloaded about every 15 minutes. Each response carries a weak ETag and Cache-Control: private, no-cache; send the ETag back in If-None-Match and you receive 304 Not Modified with no body when nothing in the symbol data has changed since. Because the query is part of the URL, this form is easy to test in a browser and to revalidate with standard HTTP clients.
Use POST /symbols/query for large filters or URLs longer than about 2,000 characters. To receive rows incrementally as newline-delimited JSON, use GET /symbols/query/stream. To fetch one symbol with all properties, use GET /symbols/{symbol}.
- Authentication
- Bearer token or Client credentials (HTTP Basic)
Query parameters
- symbols string[]
Tickers to return, for example `AAPL`. Case-insensitive; leading and trailing spaces are ignored. Tickers that do not exist are skipped without an error, and results follow `sortBy`, not the order you send. Omit or send an empty list to match every symbol. A share class is written with a slash, such as `BRK/B`. Repeat the parameter for several tickers: `symbols=AAPL&symbols=MSFT`. Comma-separated values are not split.
- fields string[]
Properties to include in each record. Allowed names: `symbol`, `rawSymbol`, `name`, `securityId`, `securityType`, `exchange`, `mic`, `operatingMic`, `description`, `gicsCode`, `sector`, `industry`, `industryGroup`, `subIndustry`, `cik`, `isin`, `cusip`, `isAdr`, `isEtf`, `isIpo`, `isOtc`, `isThreshold`, `ipoDate`, `lastUpdatedAt`, `close`, `averageDailyVolume14Days`, `isIpoReported` and `sourceDate`. Names are case-sensitive and unknown names are ignored. `symbol` and, when available, `securityId` are always included. Omit or send an empty list to receive every available property. Repeat the parameter: `fields=name&fields=close`.
- assetTypes string[]
Keep only securities whose `securityType` equals one of these values exactly (case-sensitive), for example `Common or ordinary`, `Exchange Traded Fund` or `American Depository Receipt (ADR)`. Omit or send an empty list to include every security type. Repeat the parameter: `assetTypes=Common%20or%20ordinary`.
- limit integer
Maximum number of records to return, an integer of at least 1. Defaults to 500. There is no upper bound; to read the whole set use the streaming operations or page with `skip`.
> 0<= 9007199254740991 - skip integer
Number of records to skip before returning results, an integer of at least 0. Defaults to 0. Use it with `limit` to page; results are ordered by `sortBy`.
>= 0<= 9007199254740991 - sortBy string
Field to sort by, ascending, with the ticker as tie-breaker. Allowed values: `todayTicker` (the ticker; the default), `name` (company or fund name), `securityID` (numeric security identifier; note the capital `ID`) and `dint` (the data date as a `YYYYMMDD` number). Any other value is ignored and the default is used.
Headers
- if-none-match string
The `ETag` value from an earlier response to the same query. If the symbol data and the resolved query are unchanged, the response is `304 Not Modified` with no body. Weak comparison is used; a comma-separated list of values and `*` are accepted.
Responses
The matching symbol records as a JSON array, in ascending `sortBy` order. Each record contains only the requested `fields` (plus `symbol` and `securityId` when available), and only properties that have a value. The response includes `ETag` and `Cache-Control: private, no-cache` headers.
A symbol record in a query result. Same properties as `SymbolRecord`, all optional: only the requested `fields` are present (`symbol` and `securityId` are always included by the query operations), and only if a value exists.