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"
}
]
}
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"
}
]
}
1 <= x <= 2147483647
1 <= x <= 100
"Bitcoin,Ethereum"
"txns,issuance"
The response is of type object
.