curl --request POST \
--url https://zcjbtpxuhdekpwcxmepn.supabase.co/rest/v1/rpc/free_float \
--header 'Content-Type: application/json' \
--header 'apikey: <api-key>' \
--data '
{
"p_id": "<string>",
"p_from": null,
"p_to": null
}
'import requests
url = "https://zcjbtpxuhdekpwcxmepn.supabase.co/rest/v1/rpc/free_float"
payload = {
"p_id": "<string>",
"p_from": None,
"p_to": None
}
headers = {
"apikey": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {apikey: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({p_id: '<string>', p_from: null, p_to: null})
};
fetch('https://zcjbtpxuhdekpwcxmepn.supabase.co/rest/v1/rpc/free_float', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));[
{
"cd_cvm": "<string>",
"cnpj": "<string>",
"company": "<string>",
"reference_date": "2023-12-25",
"version": 123,
"float_on": 123,
"float_on_pct": 123,
"float_pn": 123,
"float_pn_pct": 123,
"float_total": 123,
"float_total_pct": 123,
"holders_individual": 123,
"holders_corporate": 123,
"holders_institutional": 123,
"last_meeting_date": "2023-12-25",
"source": "<string>"
}
]{
"code": "22023",
"message": "<string>",
"details": "<string>",
"hint": "<string>"
}{
"code": "22023",
"message": "<string>",
"details": "<string>",
"hint": "<string>"
}{
"code": "22023",
"message": "<string>",
"details": "<string>",
"hint": "<string>"
}free_float
A listed company’s free float through time, as filed in CVM’s FRE (distribuição do capital, yearly, from 2010): shares in circulation ON, PN and total, the percent of each class as the company filed it, and its shareholder counts (individuals, legal entities, institutional investors). Shares in circulation exclude the controller, its related parties, management and treasury. The newest version of each reference date is served, which is not point-in-time; reference_date is not a filing date. Nothing is derived; an empty value stays NULL. p_id is required and resolves as api.financials resolves it; an id that resolves to nothing returns no rows. p_from / p_to bound the reference date (NULL = no bound). Newest first. More than 1000 rows RAISES 22023 (never trimmed).
Row cap. A window producing more than 1000 rows raises SQLSTATE 22023 naming this function. Nothing is trimmed to fit — PostgREST would silently cut the response at 1000 and a cut-short series is indistinguishable from one that simply ends. This function does not page — narrow the window instead.
curl --request POST \
--url https://zcjbtpxuhdekpwcxmepn.supabase.co/rest/v1/rpc/free_float \
--header 'Content-Type: application/json' \
--header 'apikey: <api-key>' \
--data '
{
"p_id": "<string>",
"p_from": null,
"p_to": null
}
'import requests
url = "https://zcjbtpxuhdekpwcxmepn.supabase.co/rest/v1/rpc/free_float"
payload = {
"p_id": "<string>",
"p_from": None,
"p_to": None
}
headers = {
"apikey": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {apikey: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({p_id: '<string>', p_from: null, p_to: null})
};
fetch('https://zcjbtpxuhdekpwcxmepn.supabase.co/rest/v1/rpc/free_float', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));[
{
"cd_cvm": "<string>",
"cnpj": "<string>",
"company": "<string>",
"reference_date": "2023-12-25",
"version": 123,
"float_on": 123,
"float_on_pct": 123,
"float_pn": 123,
"float_pn_pct": 123,
"float_total": 123,
"float_total_pct": 123,
"holders_individual": 123,
"holders_corporate": 123,
"holders_institutional": 123,
"last_meeting_date": "2023-12-25",
"source": "<string>"
}
]{
"code": "22023",
"message": "<string>",
"details": "<string>",
"hint": "<string>"
}{
"code": "22023",
"message": "<string>",
"details": "<string>",
"hint": "<string>"
}{
"code": "22023",
"message": "<string>",
"details": "<string>",
"hint": "<string>"
}Authorizations
Body
Response
The result set, newest reference_date first. An unknown id is an empty array, not a 404 and never a guessed value.
Was this page helpful?