Request format
curl -X GET "https://newhedge.io/api/v2/metrics/new-address-count-by-type/METRIC_NAME?api_token=YOUR_TOKEN"
api_token (required) — 24 character token.
:metric_name — one of the metric names listed below.
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.
P2PKH Address Count
Data used by the New Address Type by Count chart.
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.
[
[
1778976000000,
11964.0
],
[
1779062400000,
14521.0
],
[
1779148800000,
14850.0
]
]
P2WSH Address Count
Data used by the New Address Type by Count chart.
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.
[
[
1778976000000,
12798.0
],
[
1779062400000,
15769.0
],
[
1779148800000,
15343.0
]
]
P2A Address Count
Data used by the New Address Type by Count chart.
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.
[
[
1778976000000,
0.0
],
[
1779062400000,
0.0
],
[
1779148800000,
0.0
]
]
P2PK33 Address Count
Data used by the New Address Type by Count chart.
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.
[
[
1778976000000,
0.0
],
[
1779062400000,
0.0
],
[
1779148800000,
0.0
]
]
P2PK65 Address Count
Data used by the New Address Type by Count chart.
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.
[
[
1778976000000,
0.0
],
[
1779062400000,
0.0
],
[
1779148800000,
0.0
]
]
P2TR Address Count
Data used by the New Address Type by Count chart.
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.
[
[
1778976000000,
28432.0
],
[
1779062400000,
30387.0
],
[
1779148800000,
31449.0
]
]
P2WPKH Address Count
Data used by the New Address Type by Count chart.
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.
[
[
1778976000000,
172069.0
],
[
1779062400000,
201933.0
],
[
1779148800000,
197729.0
]
]
P2SH Address Count
Data used by the New Address Type by Count chart.
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.
[
[
1778976000000,
16163.0
],
[
1779062400000,
20712.0
],
[
1779148800000,
20363.0
]
]