Skip to main content
POST
balance_sheets

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_id
string | null
required
p_from
string<date> | null

Defaults to (CURRENT_DATE - 1825).

p_to
string<date> | null

Defaults to CURRENT_DATE.

p_scope
string | null
default:con

Defaults to 'con'::text.

Examples:

"con"

"ind"

p_doc_type
string | null

Defaults to NULL::text.

Examples:

"itr"

"dfp"

p_as_of
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.

id
string | null
id_type
string | null
cnpj
string | null
company
string | null
ticker
string | null
setor
string | null
segmento
string | null
doc_type
string | null
scope
string | null
ref_date
string<date> | null
chart
string | null
total_assets
number | null
current_assets
number | null
cash_and_equivalents
number | null
short_term_investments
number | null
receivables
number | null
inventories
number | null
noncurrent_assets
number | null
property_plant_equipment
number | null
intangible_assets
number | null
total_liabilities_and_equity
number | null
current_liabilities
number | null
noncurrent_liabilities
number | null
short_term_debt
number | null
long_term_debt
number | null
equity
number | null
share_capital
number | null
noncontrolling_interests
number | null
version
integer<int32> | null
source
string | null