Skip to main content
GET
v2 derivatives

Authorizations

apikey
string
header
default:sb_publishable__yfFQsykAglrvc9GS6_PYw_B24ex437
required

The public publishable key. It identifies the project, not you, and is the anonymous tier.

Query Parameters

kind
enum<string>
default:chain

chain: one session's option chain for a prefix. history: one option's daily quotes. exercises: option exercise events for a prefix. termo: one forward (termo) code's quotes. futures: one futures contract's daily settlement. futures_curve: every contract of a root on one session. di_settlement: DI1 settlement rates per session and contract. Default: chain.

Available options:
chain,
history,
exercises,
termo,
futures,
futures_curve,
di_settlement
date
string<date>

kind chain and futures_curve: the B3 session, YYYY-MM-DD. A date with no session returns no rows. Default: the latest session held (chain: the newest option session; futures_curve: the root's newest session).

id
string

By kind: chain, exercises take an option prefix, at least 3 characters (PETR); history takes one option code (codneg); termo takes one termo code (codneg); futures takes one outright futures contract (DI1F27, DOLF27); futures_curve takes a futures root, DI1, DOL or WDO (none: DI1); di_settlement takes one DI1 contract (none: every contract). Required for kinds chain, history, exercises, termo, futures. Default: none.

from
string<date>

First date of the window, YYYY-MM-DD. Default: the resource's default window, counted back from to.

to
string<date>

Last date of the window, YYYY-MM-DD. Default: the latest complete period, from coverage.

limit
integer

The page size. More rows than one page come through next_page_url, never cut silently; a call stops at the tier's rows-per-call cap with meta.tier_cap_reached. Default: the tier's page maximum (10 anonymous, 100 signed in); a larger value is coerced to it.

Required range: x >= 1
cursor
string

The opaque cursor from a previous next_page_url. It carries every other parameter: send it alone (another parameter with a different value is bad_request). Default: none: the first page.

expiry_from
string<date>

Hidden parameter (?help=all lists it). kind chain: only series expiring on or after this date. Default: today (the SQL's CURRENT_DATE): expired series are left out.

Response

The v2 envelope.

data
any[]
required

Always a list. Rows as the endpoint returned them; null stays null.

meta
object
required
next_page_url
string

Present only when more rows remain. It carries one opaque cursor.