Get a ticker
https://api.tickerbot.io/ v2/ tickers/ {ticker}Returns everything about one ticker or a comma list of up to 50 in the path (a screen's matches, say): every signal each one carries, live or on any past date with asof.
Path parameters
string[]requiredOne symbol, or a comma-separated list of up to 50 for a response keyed by symbol. Case-insensitive. Equities are bare symbols (NVDA); every other class carries a prefix: rates (R:SOFR), crypto (X:BTCUSD), fx (X:EURUSD). Bare BTC/ETH are US-listed ETFs, not spot crypto. See Tickers.
Query parameters
stringTarget moment as YYYY-MM-DD (that day's close) or an ISO timestamp (that intraday moment; daily-only signals then carry the previous session's close, never that day's): the same read as it stood then. Full contract under As of a past date.
stringenumdefault autoOnly with asof. Grain the past state is read at: 1m, 1h, 1d or auto (default). auto takes each signal from its freshest grain at or before the instant, so nothing is refused for grain; _meta.blended and _meta.grains_present say what contributed. Pin a grain for the fastest response. A signal in select that the pinned grain does not store is a 400 interval_unavailable naming the grains that carry it; without select, the row leaves those out and _meta.signals_not_stored_at_grain names them. A grain with no data for the ticker within its window is a 404 interval_unavailable, and 1m/1h with a bare-date asof is a 400. Rules: State reads. Under auto, _meta.plan_limits.grain names the finest grain served when a finer one was not served, and where finer is.
1m | Minute. The one-minute state at or before the instant. Covers the most liquid tickers and the signals stored at one minute. Needs a timestamp asof; with a bare date it is a 400 interval_unavailable. |
1h | Hour. The hourly state at or before the instant. Covers every ticker and the signals stored hourly. Needs a timestamp asof; with a bare date it is a 400 interval_unavailable. |
1d | Day. The last daily session closed before the instant; a bare date reads that day’s close. Covers every ticker and the most signals, including the daily-only ones such as rsi_14, fundamentals and valuation ratios. |
autodefault | Auto. Each signal from its freshest grain at or before the instant: minute, then hourly, then the last closed daily session. _meta.blended and _meta.grains_present say what contributed. |
string[]Comma-separated signals to return: each row is ticker plus exactly these. Omit it, or send *, for the full row: every signal the ticker carries, or on an as-of read every signal the read's grain stores. An unknown signal is a 400, beside * too.
Returns
as_ofstringServer time this response was assembled (ISO 8601); on an as-of read, the instant you asked for (as_of); when _meta.data_as_of_close or _meta.delayed_minutes is present, the time the data is from.
queryobjectYour request echoed, each param with its effective value: ticker (the symbols, canonical, de-duplicated, in request order; a list even for one), asof, grain (null on a live read) and select (null for the full row; ["*"] when you sent *).
_metaobjectWith asof only: how the result was reconstructed; on the list form, one block per symbol, keyed by symbol. This read's own keys: signal_grains, the grain each signal was served at (on a blended or pinned read), and signals_not_stored_at_grain, the signals a pinned grain does not store (on the full row, without select). Shared keys: see the _meta reference.
countnumberWith a comma list only: the symbols in data, that is, how many of the symbols asked for were found.
not_foundstring[]With a comma list only: the requested symbols we do not track, in request order. An empty array when every symbol was found; every symbol when none was (still a 200).
dataobjectEverything about the ticker: every signal it carries (see the catalog). On the list form, an object keyed by symbol.
Status codes
| Code | Meaning |
|---|---|
200 | Success: the response shape is documented under Returns above. |
400 | Invalid ticker format, malformed asof, an unknown signal in select, grain without asof, or a pinned grain that does not store a signal in select or comes with a date-only asof (interval_unavailable). |
403 | history_limit_exceeded: asof is older than your plan's history depth. grain_not_on_plan: a pinned grain finer than your plan's precision. See Limits. |
401 | Missing or invalid API key. |
404 | not_found: the one ticker in the path is not tracked, or no result at or before the requested date (the body names the last available one). A pinned grain with no data for the ticker within its window is also a 404, with the interval_unavailable code. A comma list is never a 404: unknown symbols are listed in not_found, even when that is all of them. |
Notes
branding_icon_urlandbranding_logo_urlare image endpoints on this API (GET /v2/tickers/{ticker}/icon,/logo); call them with the sameAuthorizationheader to get the image. Null when the issuer has none on file.
More examples
A few signals for several tickers
curl "https://api.tickerbot.io/v2/tickers/NVDA,AMD?select=price,rsi_14,market_cap" \
-H "Authorization: Bearer YOUR_KEY"