Skip to main content
POST
portfolio_lookthrough

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

Defaults to NULL::date.

p_max_depth
integer<int32> | null
default:4

Defaults to 4.

Response

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

root_cnpj
string | null
path
(string | null)[] | null
depth
integer<int32> | null
holder_cnpj
string | null
block
integer<int32> | null
asset_kind
string | null
asset_key
string | null
asset_name
string | null
isin
string | null
issuer_cnpj
string | null
issuer_code
string | null
tp_aplic
string | null
tp_ativo
string | null
tp_titpub
string | null
indexer_code
string | null
maturity
string<date> | null
value_brl
number | null
weight_in_root
number | null
period
string<date> | null
is_cycle
boolean | null