Skip to main content
POST
macro_series

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_series
string | null
required
p_from
string<date> | null

Defaults to NULL::date.

p_to
string<date> | null

Defaults to NULL::date.

Response

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

reference_date
string<date> | null
series
string | null
sgs_code
integer<int32> | null
value
number | null
unit
string | null
frequency
string | null
source
string | null