View as markdown
Endpoints · Scan

As-of scan

GEThttps://api.tickerbot.io/v2/scan

Time-travel form of `GET /v2/scan`. Pass `?asof=YYYY-MM-DD` (or full ISO) and the server evaluates your `q` against the daily-state snapshot of every ticker on that day. Same SQL grammar, same response envelope as live; the `_meta.resolution: "daily"` marker and `_meta.frozen_fields` list signal that the universe was reconstructed from historical state.

Plan access

Included on every plan.

Rate limit

Hobby 600/min · Pro 2,000/min · Scale 10,000/min.

Asof depth

All-time on every paid plan.

stringrequired

SQL WHERE expression. Same grammar as live scan. Max 4000 chars. See the schema for columns + flags you can compose.

stringrequired

Target date as `YYYY-MM-DD` or full ISO timestamp. The server evaluates the WHERE against the close-of-day snapshot for this date.

string

Slug of a system or caller-owned universe. Scopes the scan to those tickers as of the same date.

stringdefault day_change_pct

Column to sort by. Same column whitelist as live scan.

stringdefault desc

Sort direction.

string

Comma-separated list of extra columns to include in each result row. Default columns are always present.

integerdefault 50

Page size. Max 100.

string

Opaque cursor from the previous response.

200
Page of matching rows at asof with as_of, query, count, next_cursor, and results. _meta.resolution: "daily" and _meta.frozen_fields describe the historical envelope.
400
Missing/malformed asof, malformed q, unknown column, invalid order/dir/fields, or invalid cursor.
402
Query references a premium signal and your plan does not include premium signals.
404
Referenced universe does not exist.