Skip to main content
POST
income_statements

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
period_start
string<date> | null
period_end
string<date> | null
period_months
integer<int32> | null
chart
string | null
revenue
number | null
cost_of_revenue
number | null
gross_profit
number | null
operating_expenses
number | null
operating_income
number | null
financial_result
number | null
pretax_income
number | null
income_tax
number | null
continuing_operations
number | null
net_income
number | null
net_income_controlling
number | null
net_income_noncontrolling
number | null
version
integer<int32> | null
source
string | null