Bitcoin New Address Type by Count

Daily new Bitcoin addresses split by script type

How to call

Request format

GET
curl -X GET "https://newhedge.io/api/v2/metrics/new-address-count-by-type/METRIC_NAME?api_token=YOUR_TOKEN"
Query params

api_token (required) — 24 character token.

resolution (optional) — day1 (default), hour12, hour4, hour1, 30mn, 10mn. Finer buckets are served to Advanced and Enterprise accounts; see Resolutions.

before (optional) — exclusive cursor, returns observations older than this timestamp_ms. Finer resolutions only.

limit (optional) — page size for finer resolutions. Default 2500, maximum 5000. Ignored for day1.

Path params

:metric_name — one of the metric names listed below.

Responses

200 with JSON payload, 401 for missing/invalid token, 404 for missing resources.

Metrics

Each metric is fetched independently. Responses are trimmed samples to show structure.

8 metrics
Metric

P2PKH Address Count

Data used by the New Address Type by Count chart.

Endpoint
https://newhedge.io/api/v2/metrics/new-address-count-by-type/p2pkh_new_addr_count_sum?api_token=YOUR_TOKEN

Replace `YOUR_TOKEN` with your API token.

Sample response
200 Successful response
[
  [
    1786752000000,
    13506.0
  ],
  [
    1786838400000,
    11883.0
  ],
  [
    1786924800000,
    14417.0
  ]
]
Metric

P2WSH Address Count

Data used by the New Address Type by Count chart.

Endpoint
https://newhedge.io/api/v2/metrics/new-address-count-by-type/p2wsh_new_addr_count_sum?api_token=YOUR_TOKEN

Replace `YOUR_TOKEN` with your API token.

Sample response
200 Successful response
[
  [
    1786752000000,
    17187.0
  ],
  [
    1786838400000,
    14102.0
  ],
  [
    1786924800000,
    17264.0
  ]
]
Metric

P2A Address Count

Data used by the New Address Type by Count chart.

Endpoint
https://newhedge.io/api/v2/metrics/new-address-count-by-type/p2a_new_addr_count_sum?api_token=YOUR_TOKEN

Replace `YOUR_TOKEN` with your API token.

Sample response
200 Successful response
[
  [
    1786752000000,
    0.0
  ],
  [
    1786838400000,
    0.0
  ],
  [
    1786924800000,
    0.0
  ]
]
Metric

P2PK33 Address Count

Data used by the New Address Type by Count chart.

Endpoint
https://newhedge.io/api/v2/metrics/new-address-count-by-type/p2pk33_new_addr_count_sum?api_token=YOUR_TOKEN

Replace `YOUR_TOKEN` with your API token.

Sample response
200 Successful response
[
  [
    1786752000000,
    0.0
  ],
  [
    1786838400000,
    0.0
  ],
  [
    1786924800000,
    0.0
  ]
]
Metric

P2PK65 Address Count

Data used by the New Address Type by Count chart.

Endpoint
https://newhedge.io/api/v2/metrics/new-address-count-by-type/p2pk65_new_addr_count_sum?api_token=YOUR_TOKEN

Replace `YOUR_TOKEN` with your API token.

Sample response
200 Successful response
[
  [
    1786752000000,
    0.0
  ],
  [
    1786838400000,
    0.0
  ],
  [
    1786924800000,
    0.0
  ]
]
Metric

P2TR Address Count

Data used by the New Address Type by Count chart.

Endpoint
https://newhedge.io/api/v2/metrics/new-address-count-by-type/p2tr_new_addr_count_sum?api_token=YOUR_TOKEN

Replace `YOUR_TOKEN` with your API token.

Sample response
200 Successful response
[
  [
    1786752000000,
    29890.0
  ],
  [
    1786838400000,
    25946.0
  ],
  [
    1786924800000,
    30234.0
  ]
]
Metric

P2WPKH Address Count

Data used by the New Address Type by Count chart.

Endpoint
https://newhedge.io/api/v2/metrics/new-address-count-by-type/p2wpkh_new_addr_count_sum?api_token=YOUR_TOKEN

Replace `YOUR_TOKEN` with your API token.

Sample response
200 Successful response
[
  [
    1786752000000,
    192541.0
  ],
  [
    1786838400000,
    178727.0
  ],
  [
    1786924800000,
    206108.0
  ]
]
Metric

P2SH Address Count

Data used by the New Address Type by Count chart.

Endpoint
https://newhedge.io/api/v2/metrics/new-address-count-by-type/p2sh_new_addr_count_sum?api_token=YOUR_TOKEN

Replace `YOUR_TOKEN` with your API token.

Sample response
200 Successful response
[
  [
    1786752000000,
    16468.0
  ],
  [
    1786838400000,
    14879.0
  ],
  [
    1786924800000,
    18402.0
  ]
]