Skip to main content
POST
anbima_classes

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_category
string | null

Defaults to NULL::text.

p_metric
string | null

Defaults to NULL::text.

p_level
enum<string> | null
default:category

Defaults to 'category'::text.

Available options:
category,
type,
total
p_from
string<date> | null
default:2019-01-01

Defaults to '2019-01-01'::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
category
string | null
type_id
integer<int32> | null
type_name
string | null
level
string | null
metric
string | null
value
number | null
unit
string | null
boletim_ref
string | null
source
string | null