Skip to main content
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
array
required
Minimum array length: 1
Example:

"Bitcoin,Ethereum"

Response

{key}
object[]

key is project name