Total Supply Chart by ID
curl --request GET \
--url https://pro-api.coingecko.com/api/v3/coins/{id}/total_supply_chart \
--header 'x-cg-pro-api-key: <api-key>'{
"total_supply": [
[
1779700797940,
"20034078.0"
],
[
1779701097614,
"20034078.0"
],
[
1779701399178,
"20034078.0"
]
]
}Total Supply Chart by ID
To query historical total supply of a coin by number of days away from now based on provided coin ID
GET
/
coins
/
{id}
/
total_supply_chart
Total Supply Chart by ID
curl --request GET \
--url https://pro-api.coingecko.com/api/v3/coins/{id}/total_supply_chart \
--header 'x-cg-pro-api-key: <api-key>'{
"total_supply": [
[
1779700797940,
"20034078.0"
],
[
1779701097614,
"20034078.0"
],
[
1779701399178,
"20034078.0"
]
]
}Notes
-
Auto-granularity when
intervalis not specified:Date range Granularity 1–90 days hourly 91 days and above daily (00:00 UTC) -
Data availability:
- Full coverage for all coins starts from 27 July 2023
- Patched historical data from June 2019 is available for select coins only and may contain inaccuracies
The last completed UTC day (00:00) is available after 01:40 UTC the next day.
SDK Examples
New to the SDK? Install and authenticate theclient first:TypeScript | Python
const response = await client.coins.totalSupplyChart.get('bitcoin', {
days: '1',
});
console.log(JSON.stringify(response, null, 2));
response = client.coins.total_supply_chart.get(
"bitcoin",
days="1",
)
print(response.model_dump_json(indent=2))
Authorizations
headerAuthqueryAuth
Learn how to set up your API key
Path Parameters
Coin ID.
*refers to /coins/list.
Query Parameters
Was this page helpful?

