Bitcoin Invested Capital
Total amount of capital invested in Bitcoin based on the price of each coin at the time it last moved onchain
How to call
Request format
GET
curl -X GET "https://newhedge.io/api/v2/metrics/invested-capital/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.
Metric
Realized Cap
Data used by the Bitcoin Invested Capital chart.
Endpoint
https://newhedge.io/api/v2/metrics/invested-capital/realized_cap?api_token=YOUR_TOKEN
Replace `YOUR_TOKEN` with your API token.
Sample response
200
Successful response
[
[
1778976000000,
1086185165198.44
],
[
1779062400000,
1085870412177.57
],
[
1779148800000,
1085460419417.04
]
]
Metric
Invested Capital In Profit
Data used by the Bitcoin Invested Capital chart.
Endpoint
https://newhedge.io/api/v2/metrics/invested-capital/invested_capital_in_profit?api_token=YOUR_TOKEN
Replace `YOUR_TOKEN` with your API token.
Sample response
200
Successful response
[
[
1778976000000,
346116050444.66
],
[
1779062400000,
341924155911.61
],
[
1779148800000,
336304197647.81
]
]
Metric
Invested Capital In Loss
Data used by the Bitcoin Invested Capital chart.
Endpoint
https://newhedge.io/api/v2/metrics/invested-capital/invested_capital_in_loss?api_token=YOUR_TOKEN
Replace `YOUR_TOKEN` with your API token.
Sample response
200
Successful response
[
[
1778976000000,
740069114753.89
],
[
1779062400000,
743946256266.11
],
[
1779148800000,
749156221769.39
]
]