Skip to main content
POST
curve_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_curve
string | null
required
p_tenor_days
integer<int32> | 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.

trade_date
string<date> | null
curve
string | null
tenor_days
integer<int32> | null
calendar_days
integer<int32> | null
business_days
integer<int32> | null
rate
number | null
rate_basis
string | null
source
string | null