curl --request GET \
--url https://api.range.org/v2/reports/custody/daily \
--header 'X-API-KEY: <api-key>'import requests
url = "https://api.range.org/v2/reports/custody/daily"
headers = {"X-API-KEY": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-KEY': '<api-key>'}};
fetch('https://api.range.org/v2/reports/custody/daily', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.range.org/v2/reports/custody/daily",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-KEY: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.range.org/v2/reports/custody/daily"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-KEY", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.range.org/v2/reports/custody/daily")
.header("X-API-KEY", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.range.org/v2/reports/custody/daily")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-KEY"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"items": [
{
"account_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"fx_source": "bcb-ptax",
"client_tax_id": "52998224725",
"client_tax_id_type": "cpf",
"network": "eth",
"address": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
"asset_id": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
"symbol": "ETH",
"asset_name": "Ether",
"quantity": "25.000000000000000000",
"usd_value": "61250.00",
"price_source": "coingecko",
"price_updated_at": "2026-08-24T02:58:00.000Z",
"brl_value": "315376.25",
"fx_rate": "5.149",
"fx_updated_at": "2026-08-25T16:04:44.000Z",
"custodian_code": "Z1234567",
"custodian_country": "BR",
"snapshot_at": "2026-08-24T02:59:00.000Z"
}
]
}Daily custody report (CADOC 5711 prototype)
Raw address × asset custody rows for the base date: for every regulatory-enabled account in the caller workspace, the newest balance snapshot at or before 23:59 America/Sao_Paulo on date. Accounts with no usable snapshot appear with null quantity — missing is reported as missing, never as zero. A date with no snapshots returns empty items, not an error. Rows are not filtered by the workspace token whitelist: a CADOC document must list every custodied asset, so a hidden or unpriced token is reported rather than dropped. With format=xml a BCB CADOC 5711 application/xml document is returned instead: positions grouped per client × asset × network × custodian (own accounts surface only through the COSIF contas block), non-zero shelves only. The XML admits no empty fields — if a compliant document cannot be produced (no PTAX rate, unset policy CNPJ, missing snapshot) the request fails with 422 instead of emitting a partial file. Lines the layout cannot carry (asset without a USD price, quantity over the 42-digit cap) are left out of the document and counted per kind in the X-Report-Warnings response header.
curl --request GET \
--url https://api.range.org/v2/reports/custody/daily \
--header 'X-API-KEY: <api-key>'import requests
url = "https://api.range.org/v2/reports/custody/daily"
headers = {"X-API-KEY": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-KEY': '<api-key>'}};
fetch('https://api.range.org/v2/reports/custody/daily', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.range.org/v2/reports/custody/daily",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-KEY: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.range.org/v2/reports/custody/daily"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-KEY", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.range.org/v2/reports/custody/daily")
.header("X-API-KEY", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.range.org/v2/reports/custody/daily")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-KEY"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"items": [
{
"account_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"fx_source": "bcb-ptax",
"client_tax_id": "52998224725",
"client_tax_id_type": "cpf",
"network": "eth",
"address": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
"asset_id": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
"symbol": "ETH",
"asset_name": "Ether",
"quantity": "25.000000000000000000",
"usd_value": "61250.00",
"price_source": "coingecko",
"price_updated_at": "2026-08-24T02:58:00.000Z",
"brl_value": "315376.25",
"fx_rate": "5.149",
"fx_updated_at": "2026-08-25T16:04:44.000Z",
"custodian_code": "Z1234567",
"custodian_country": "BR",
"snapshot_at": "2026-08-24T02:59:00.000Z"
}
]
}Authorizations
Authorization method required to allow user to access the api endpoints.
Query Parameters
Base date (America/Sao_Paulo calendar). Rows reflect the newest snapshot per account at or before 23:59 Brasília on this date.
"2026-08-24"
Response format. xml returns a BCB CADOC 5711 application/xml document: <documento> with one <posicao> per client × asset × network × custodian (third-party holdings only, quantities summed across the client's addresses), plus a <contas> block carrying only the COSIF shelves with a non-zero balance. Any value the layout requires but the data cannot supply fails the request with a 422 rather than producing a document with empty attributes.
json, xml Response
Show child attributes
Show child attributes
Was this page helpful?