GET
/
v1
/
metrics
/
{identifier}
Get Metric By Identifier
curl --request GET \
  --url https://api.blockworks.com/v1/metrics/{identifier} \
  --header 'x-api-key: <api-key>'
{
  "Bitcoin": {
    "date": "2000-12-31",
    "value": 1
  },
  "Ethereum": {
    "date": "2000-12-31",
    "value": 2
  }
}

Authorizations

x-api-key
string
header
required

Path Parameters

identifier
string
required

Query Parameters

project
any[]
required
Minimum length: 1
Example:

"Bitcoin,Ethereum"

Response

200
application/json

The response is of type object.