Skip to main content
POST
fidc_portfolio

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_cnpj
string | null
required
p_kind
enum<string> | null

Defaults to NULL::text.

Available options:
sector,
scr_debtor,
scr_operation,
tax_debt
p_from
string<date> | null

Defaults to NULL::date.

p_to
string<date> | null

Defaults to NULL::date.

p_limit
integer<int32> | null

Defaults to NULL::integer.

Response

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

cnpj
string | null
period
string<date> | null
kind
string | null
code
string | null
parent
string | null
item
string | null
value
number | null