Skip to main content
POST
index_history

Authorizations

apikey
string
header
required

The publishable key (sb_publishable_…), on every request. It is NOT a JWT — sending it as Authorization: Bearer is rejected as an invalid JWT. It identifies the project, not you, and maps to the Postgres anon role.

Body

application/json
p_index
string | null
required
p_from
string<date> | null

Defaults to (CURRENT_DATE - 365).

p_to
string<date> | null

Defaults to CURRENT_DATE.

p_after
string | null

Defaults to NULL::text.

Response

The result set, oldest first. An unknown id is an empty array, not a 404 and never a guessed value.

index_code
string | null
trade_date
string<date> | null
level
number | null
divisor_step
boolean | null
source
string | null