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.

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
[
  [
    1778976000000,
    11964.0
  ],
  [
    1779062400000,
    14521.0
  ],
  [
    1779148800000,
    14850.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
[
  [
    1778976000000,
    12798.0
  ],
  [
    1779062400000,
    15769.0
  ],
  [
    1779148800000,
    15343.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
[
  [
    1778976000000,
    0.0
  ],
  [
    1779062400000,
    0.0
  ],
  [
    1779148800000,
    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
[
  [
    1778976000000,
    0.0
  ],
  [
    1779062400000,
    0.0
  ],
  [
    1779148800000,
    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
[
  [
    1778976000000,
    0.0
  ],
  [
    1779062400000,
    0.0
  ],
  [
    1779148800000,
    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
[
  [
    1778976000000,
    28432.0
  ],
  [
    1779062400000,
    30387.0
  ],
  [
    1779148800000,
    31449.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
[
  [
    1778976000000,
    172069.0
  ],
  [
    1779062400000,
    201933.0
  ],
  [
    1779148800000,
    197729.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
[
  [
    1778976000000,
    16163.0
  ],
  [
    1779062400000,
    20712.0
  ],
  [
    1779148800000,
    20363.0
  ]
]