curl --request GET \
--url https://api.blockworks.com/v1/metrics \
--header 'x-api-key: <api-key>'{
"page": 1073741824,
"total": 50,
"data": [
{
"name": "<string>",
"description": "<string>",
"identifier": "rev",
"project": "Bitcoin",
"source": "Blockworks",
"data_type": "float",
"parameters": {
"end_date": {
"type": "date",
"required": false,
"description": "End date (inclusive)"
},
"start_date": {
"type": "date",
"required": false,
"description": "Start date (inclusive)"
}
},
"updated_at": 123,
"interval": "daily",
"aggregation": "SUM",
"category": "Financials",
"denomination": "USD"
}
]
}List available metrics with optional filters project and identifier. Supports pagination via page and limit.
curl --request GET \
--url https://api.blockworks.com/v1/metrics \
--header 'x-api-key: <api-key>'{
"page": 1073741824,
"total": 50,
"data": [
{
"name": "<string>",
"description": "<string>",
"identifier": "rev",
"project": "Bitcoin",
"source": "Blockworks",
"data_type": "float",
"parameters": {
"end_date": {
"type": "date",
"required": false,
"description": "End date (inclusive)"
},
"start_date": {
"type": "date",
"required": false,
"description": "Start date (inclusive)"
}
},
"updated_at": 123,
"interval": "daily",
"aggregation": "SUM",
"category": "Financials",
"denomination": "USD"
}
]
}1 <= x <= 21474836471 <= x <= 100"Bitcoin,Ethereum"
"txns,issuance"