curl --request GET \
--url https://api.messari.io/metrics/v2/protocols/metrics \
--header 'X-Messari-API-Key: <api-key>'{
"error": null,
"data": {
"datasets": [
{
"slug": "core",
"granularities": [
"1d"
],
"metrics": [
{
"name": "Timestamp",
"slug": "time",
"description": "Timestamp of the data point.",
"is_timestamp": true
},
{
"name": "TVL 24 Hour USD",
"slug": "tvl24HourUsd",
"description": "Total Value Locked in USD.",
"is_timestamp": false
},
{
"name": "Active Addresses 24 Hour",
"slug": "activeAddresses24Hour",
"description": "Number of unique addresses interacting with the protocol.",
"is_timestamp": false
},
{
"name": "Fees 24 Hour USD",
"slug": "fees24HourUsd",
"description": "Total fees generated by the protocol in USD.",
"is_timestamp": false
}
]
}
]
}
}Returns a list of timeseries core metrics available for all protocols
curl --request GET \
--url https://api.messari.io/metrics/v2/protocols/metrics \
--header 'X-Messari-API-Key: <api-key>'{
"error": null,
"data": {
"datasets": [
{
"slug": "core",
"granularities": [
"1d"
],
"metrics": [
{
"name": "Timestamp",
"slug": "time",
"description": "Timestamp of the data point.",
"is_timestamp": true
},
{
"name": "TVL 24 Hour USD",
"slug": "tvl24HourUsd",
"description": "Total Value Locked in USD.",
"is_timestamp": false
},
{
"name": "Active Addresses 24 Hour",
"slug": "activeAddresses24Hour",
"description": "Number of unique addresses interacting with the protocol.",
"is_timestamp": false
},
{
"name": "Fees 24 Hour USD",
"slug": "fees24HourUsd",
"description": "Total fees generated by the protocol in USD.",
"is_timestamp": false
}
]
}
]
}
}