Skip to main content
POST
share_counts

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 NULL::date.

p_to
string<date> | null

Defaults to NULL::date.

Response

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

cd_cvm
string | null
cnpj
string | null
company
string | null
reference_date
string<date> | null
version
integer<int32> | null
shares_on
number | null
shares_pn
number | null
shares_total
number | null
treasury_on
number | null
treasury_pn
number | null
treasury_total
number | null
source
string | null