Skip to content
GET /v1/metric

Historical time series of an on-chain metric

Try it live

10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.

Custom headers (optional)
api.oanor.com/bitcoinstats-api

It works. Grab an API key and use it in your project.

Get an API key

Code snippets

curl "https://api.oanor.com/bitcoinstats-api/v1/metric" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/bitcoinstats-api/v1/metric", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/bitcoinstats-api/v1/metric");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
    "https://api.oanor.com/bitcoinstats-api/v1/metric",
    headers={"x-oanor-key": "oanor_test_..."}
)

Example response

A real response from this endpoint, captured by the latest health check.

{
    "data": {
        "days": 30,
        "unit": "addresses",
        "label": "Active addresses per day",
        "latest": {
            "date": "2026-06-04T00:00:00.000Z",
            "value": 538439
        },
        "metric": "active-addresses",
        "points": 25,
        "series": [
            {
                "date": "2026-05-11T00:00:00.000Z",
                "value": 457665
            },
            {
                "date": "2026-05-12T00:00:00.000Z",
                "value": 476383
            },
            {
                "date": "2026-05-13T00:00:00.000Z",
                "value": 485900
            },
            {
                "date": "2026-05-14T00:00:00.000Z",
                "value": 489856
            },
            {
                "date": "2026-05-15T00:00:00.000Z",
                "value": 525031
            },
            {
                "date": "2026-05-16T00:00:00.000Z",
                "value": 445624
            },
            {
                "date": "2026-05-17T00:00:00.000Z",
                "value": 396443
            },
            {
                "date": "2026-05-18T00:00:00.000Z",
                "value": 474167
            },
            {
                "date": "2026-05-19T00:00:00.000Z",
                "value": 469682
            },
            {
                "date": "2026-05-20T00:00:00.000Z",
                "value": 473582
            },
            {
                "date": "2026-05-21T00:00:00.000Z",
                "value": 484958
            },
            {
                "date": "2026-05-22T00:00:00.000Z",
                "value": 547131
            },
            {
                "date": "2026-05-23T00:00:00.000Z",
                "value": 439350
            },
            {
                "date": "2026-05-24T00:00:00.000Z",
                "value": 387403
            },
            {
                "date": "2026-05-25T00:00:00.000Z",
                "value": 430908
            },
            {
                "date": "2026-05-26T00:00:00.000Z",
                "value": 464460
            },
            {
                "date": "2026-05-27T00:00:00.000Z",
                "value": 474906
            },
            {
                "date": "2026-05-28T00:00:00.000Z",
                "value": 490956
            },
            {
                "date": "2026-05-29T00:00:00.000Z",
                "value": 518522
            },
            {
                "date": "2026-05-30T00:00:00.000Z",
                "value": 454741
            },
            {
                "date": "2026-05-31T00:00:00.000Z",
                "value": 403295
            },
            {
                "date": "2026-06-01T00:00:00.000Z",
                "value": 508084
            },
            {
                "date": "2026-06-02T00:00:00.000Z",
                "value": 501194
            },
            {
                "date": "2026-06-03T00:00:00.000Z",
                "value": 515383
      
…