Skip to main content
POST
portfolio_equivalents

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_classes
(string | null)[] | null
required
p_as_of
string<date> | null

Defaults to CURRENT_DATE.

Response

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

classe_anbima
string | null
class_indices
(string | null)[] | null
n_etfs
integer<int32> | null
ticker
string | null
etf_cnpj
string | null
etf_name
string | null
underlying_index
string | null
segment
string | null
pl_brl
number | null
pl_as_of
string<date> | null
fee_pct_year
number | null
fee_as_of
string<date> | null
snapshot_source
string | null
pl_rank
integer<int32> | null
is_equivalent
boolean | null
status
string | null
reason
string | null