List symbols using a request body
https://quant-ws.prod.thinkalpha.io/symbols/queryReturns symbol reference records as a JSON array: one record per matching security, in ascending order of sortBy (default: ticker).
With no filters the response is every symbol, 500 records at a time. Narrow it with symbols (a list of tickers; unknown tickers are skipped without an error) and assetTypes (exact security-type names, such as Common or ordinary or Exchange Traded Fund). Choose which properties each record carries with fields; symbol and, when available, securityId are always included, and properties without a value are left out. limit defaults to 500 and has no maximum; page with skip. Results always 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 (the ETag changes when any symbol record changes, not only the ones in your page).
Use this form when the filter is large, for example hundreds of tickers, because parameters travel in the body instead of the URL. To send the same query as URL parameters, use GET /symbols/query. To receive rows incrementally as newline-delimited JSON, use POST /symbols/query/stream. To fetch a single symbol with all of its properties, use GET /symbols/{symbol}.
- Authentication
- Bearer token or Client credentials (HTTP Basic)
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.
Request body application/json required
Filters, field selection, sort and paging for the symbol list. Every property is optional; send `{}` to list all symbols.
Filters, field selection, sort and paging for the symbol list. Every property is optional; send `{}` to list all symbols.
- 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`.
- 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.
- 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.
- 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.
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.