DocsAPI referenceData query

Data query

The cursor-paginated read path for index data.

Credentials

Credentials stay in this browser tab (sessionStorage) and are sent only to https://api.indexone.io. They are cleared when the tab closes.

GET /query is the generic read path for all workflow-plane data: values, holdings, weightings, universes and corporate actions.

Query workflow-plane data

GET
/query

The main data-read path for idx_... indices. It exposes the underlying DynamoDB tables directly as a keyed query: you pick a table, give a partition key (pk — the workflow or delivery id) and get back rows in sort-key order. Tables (table): index-parameters (the workflow definition itself, no sort key), index-holdings, index-values-eod, index-weightings, index-universes, index-corporate-actions (all sorted by time), and deliveries (no sort key). Narrowing the read. sk pins one exact sort-key value — the fastest way to fetch a single snapshot. attributes is a projection: only the named top-level fields come back, which matters because holdings and universe rows are large. order=descending with limit is the idiom for "most recent N". Paging. cursor is an opaque base64-encoded DynamoDB LastEvaluatedKey; never parse or construct it. It is returned only when limit was reached and more rows exist. Without limit the handler pages internally and returns the whole partition in one response — safe for values, expensive for holdings. Symbols. map_symbols=true adds a figi_symbols map covering every identifier that appears anywhere in the payload, so you can render tickers without a second lookup. Access control. pk must be a workflow or delivery id belonging to one of the caller's teams (site admins bypass this). This is the only authorization check — there is no per-table permission.

x-api-key
Authorization: id token

Query parameters

FieldTypeDescription
tablerequired"index-parameters" | "index-holdings" | "index-values-eod" | "index-weightings" | "index-universes" | "index-corporate-actions" | "deliveries"
Which table to read.
pkrequiredstring
Partition key: the workflow (idx_...) or delivery (dlv_...) id.
skstring
Exact sort-key value (time). Ignored for tables without a sort key.
attributesstring
Comma-separated top-level fields to project. Omit for whole rows.
order"ascending" | "descending"
Sort-key direction. Defaults to "ascending".
limitinteger
Maximum rows to return. Also enables cursor paging.
cursorstring
Opaque continuation token from a previous response.
map_symbolsboolean
Add a figi_symbols FIGI-to-ticker map.
curl -X GET "https://api.indexone.io/query?table=index-values-eod&pk=idx_bh7fgXWJMaa3" \
-H "x-api-key: YOUR_API_KEY" \
-H "Authorization: YOUR_ID_TOKEN"

Try it

Which table to read.

Partition key: the workflow (`idx_...`) or delivery (`dlv_...`) id.

Exact sort-key value (`time`). Ignored for tables without a sort key.

Comma-separated top-level fields to project. Omit for whole rows.

Sort-key direction.

Maximum rows to return. Also enables cursor paging.

Opaque continuation token from a previous response.

Add a `figi_symbols` FIGI-to-ticker map.

https://api.indexone.io/query?table=index-values-eod&pk=idx_bh7fgXWJMaa3&sk=2026-07-18%2020%3A00%3A00&attributes=time%2Cvalue&order=descending&limit=250&cursor=eyJpZCI6IHsiUyI6ICJpZHhfYmg3Zmc...&map_symbols=true

Example response

{
"items": [
{
"id": "idx_bh7fgXWJMaa3",
"time": "2026-07-18 20:00:00",
"value": 1184.37
},
{
"id": "idx_bh7fgXWJMaa3",
"time": "2026-07-17 20:00:00",
"value": 1178.42
}
],
"count": 2,
"cursor": "eyJpZCI6IHsiUyI6ICJpZHhfYmg3Zmd..."
}

Errors

FieldTypeDescription
400Error
table and pk required, or unknown table <alias> when table is not one of the seven allowed aliases.
401Error
The API key is missing or invalid (invalid_api_key) or the id token is missing, invalid or expired (unauthenticated).
403Error
pk is not a workflow or delivery owned by one of the caller's teams.
429object
API key usage-plan rate limit exceeded.