Get asset metrics breakdown
Changed onUse this endpoint to retrieve aggregated breakdown data for asset metrics across different dimensions (projects, chains, market sectors, etc.).
If an empty metric_ids array is provided, it defaults to ['asset_price'].
Request
- Base URLhttps://api.tokenterminal.com
- AuthHTTP bearer
Path parameters
ID of the asset
Allows you to select one of the assets available.
The full list is available on the assets endpoint (see above).
Request body
Example request
{
"metric_ids": [
"asset_price",
"asset_holders"
],
"group_by": "assets",
"interval": "30d",
"data_ids": [
"ethereum"
],
"product_ids": [
"usdc"
],
"chain_ids": [
"ethereum",
"base"
],
"market_sector_ids": [
"blockchains-l1",
"lending"
],
"reference_asset_ids": [
"creditfund"
],
"venues": [
{
"data_id": "aave",
"product_id": "aavev3"
}
]
}Response
OK
Example response
{
"errors": [
{
"code": "NOT_FOUND",
"field": "project_ids",
"value": "invalid-project"
}
]
}Changes
- info
added the new optional request property
- info
added the new optional request property
- info
added the new
asset+venueenum value to the request property - info
added the new
market-sector+venueenum value to the request property - info
added the new
reference-assetenum value to the request property - info
added the new
venueenum value to the request property - info
added the new
venue+chainenum value to the request property - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status
- info
- info
the request property
became optional - info
the
request property default value7dwas added - info
added the new
1095denum value to the request property - info
added the new
1825denum value to the request property - info
added the new
ytdenum value to the request property
- info