Get a signal
https://api.tickerbot.io/ v2/ signals/ {signal}Returns what one signal is (its catalog entry, the same object List signals returns for it) and every ticker matching it, live or on any past date with asof: a screen on that one signal.
Path parameters
stringrequiredA signal name. Booleans (e.g. golden_cross, above_sma_50) are detected automatically; every other type (numeric rsi_14, timestamp price_asof, date earnings_date, string asset_class) requires a condition. An object or list signal (leadership, etf_holders) has no condition form: the read returns its catalog entry and a note; screen on it with POST /v2/scan.
Query parameters
stringLists the matches of a non-boolean signal; without it the response carries the catalog entry and a note instead of results. The shape follows the signal's type in the catalog. Single bound, <op><value>. numeric: >70, <=200, !=0 (operators >, >=, =, !=, <, <=). timestamp: an ISO instant, <YYYY-MM-DDTHH:MM:SSZ or >=YYYY-MM-DD (a bare date is midnight UTC). date: >=YYYY-MM-DD or =YYYY-MM-DD. string: =ETF or !=ETF (= and != only; quotes optional). A relative window ("older than 15 minutes") is a /v2/scan query: price_asof < now() - interval '15 minutes'. Sending a condition with a boolean or custom signal returns 400 (it does not apply).
stringScope to a built-in universe (top_10, top_100) or one of your own, by id. An unknown one answers 200 with no results and its id in not_found.
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 blends: each signal comes from its freshest grain at or before the instant (minute, then hourly, then the last closed daily session), so nothing is refused for grain and no ticker is dropped; _meta.blended and _meta.grains_present say what contributed. Pin a grain for the fastest response: one grain is read instead of three, and every ticker is captured on the same clock. A signal the pinned grain does not store is a 400 interval_unavailable naming the grains that carry it (rsi_14, fundamentals and valuation ratios are 1d-only). 1m and 1h need a timestamp asof; with a bare date they are a 400 interval_unavailable. 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[]Signals each match carries beside value, e.g. market_cap,sector. * is every signal: the whole live row, or on an as-of read every signal the read's grain stores. An unknown signal is a 400, beside * too.
stringSignal to sort by (or ticker). Omitted: a yes/no signal lists tickers A→Z; any other signal sorts by its value in the direction the condition implies (</<= ascending, >/>= descending).
stringenumSort direction. Omitted: the direction the default order implies, else desc.
asc | Ascending: smallest or earliest first. |
desc | Descending: largest or most recent first. |
integerdefault 50Page size. Max 1000 (a larger value is clamped to the max, not an error; next_cursor pages the rest).
stringThe previous response's next_cursor. Send it with the same params as the first page (limit may change); a page whose params differ is a 400 naming the param.
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: signal, condition, universe, asof, grain, select, order, dir, limit.
_metaobjectThis endpoint's own keys: null_coverage (how many in-scope tickers are null on the signal and so never match) and, with asof, grain_scope and minute_only_signals_fell_back_to_daily. Shared keys: see the _meta reference.
notestringOnly on a non-boolean signal read without condition: says how to list its matches, or, for an object or list signal, to screen on it with POST /v2/scan. count, next_cursor and results are absent then.
countnumberThe tickers in results on this page.
not_foundstring[]With universe only: the universe id you named when it does not exist (the read then has no results); an empty array or absent otherwise.
next_cursorstringOpaque token for the next page; null on the last page. Pass it back as cursor.
resultsarrayMatching tickers: ticker, name, the signal value and any select signals.
signalstringThe signal you asked for.
catalogobjectThe signal's catalog entry: the same object List signals returns for it (description, type, unit, refresh, grains). null only when the catalog could not be read; the matches are served regardless.
Status codes
| Code | Meaning |
|---|---|
200 | Success: the response shape is documented under Returns above. |
400 | A condition whose shape does not match the signal's type, a condition on an object or list signal, an unknown select or order signal, an invalid cursor, grain without asof, or a pinned grain that does not store the signal or comes with a bare-date 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. |
404 | unknown_signal: the signal in the path is not in the catalog. |
Notes
{signal}may be one of your custom signals: custom signals are always yes/no, and sendingconditionwith one is a 400. Booleans returntrue/false, numerics their value, live or atasof.- When did each ticker start matching? Read the enter events:
GET /v2/events?kind=signal&signal=X&transition=enter.
More examples
Tickers at a 52-week high, largest first
curl "https://api.tickerbot.io/v2/signals/at_52w_high?select=market_cap&order=market_cap&limit=3" \
-H "Authorization: Bearer YOUR_KEY"What a numeric signal is, before choosing a bound
curl "https://api.tickerbot.io/v2/signals/rsi_14" \
-H "Authorization: Bearer YOUR_KEY"