China
Company API endpoints for Bitcoin treasury, holdings, price, profile, and performance data.
How to call
Request format
GET
curl -X GET "https://newhedge.io/api/v2/companies/china/METRIC_NAME?api_token=YOUR_TOKEN"
Query params
api_token (required) — 24 character token.
Path params
:metric_name — one of the company metric names listed below.
Responses
200 with JSON payload, 401 for missing/invalid token, 404 for missing resources.
Metrics
Each company metric is fetched independently.
Metric
Bitcoin Acquisitions
Bitcoin acquisition history for the company.
Endpoint
https://newhedge.io/api/v2/companies/china/bitcoin-acquisitions?api_token=YOUR_TOKEN
Replace `YOUR_TOKEN` with your Newhedge API token.
Sample response
200
Successful response
[
{
"date": 1583798400000,
"type": "buy",
"coin_id": "bitcoin",
"source_url": "https://archive.ph/SK5zA",
"holding_balance": 0.0,
"holding_net_change": 0.0,
"transaction_value_usd": 0.0,
"average_entry_value_usd": 0.0,
"transaction_value_calculated": false
},
{
"date": 1704326400000,
"type": "buy",
"coin_id": "bitcoin",
"source_url": "https://www.cryptopolitan.com/chinese-government-holds-bitcoin/#:~:text=The%20Chinese%20government%20holds%20over%20%248%20billion%20in,at%20the%20current%20price%20of%20%2442%2C040%20per%20coin.",
"holding_balance": 190000.0,
"holding_net_change": 190000.0,
"transaction_value_usd": 8387207999.999999,
"average_entry_value_usd": 0.0,
"transaction_value_calculated": true
}
]
Metric
Bitcoin Holdings
Historical Bitcoin holdings for the company.
Endpoint
https://newhedge.io/api/v2/companies/china/bitcoin-holdings?api_token=YOUR_TOKEN
Replace `YOUR_TOKEN` with your Newhedge API token.
Sample response
200
Successful response
[
[
1790812800000,
190000.0
],
[
1790899200000,
190000.0
],
[
1790985600000,
190000.0
]
]
Metric
Bitcoin Holdings USD
Historical USD value of the company's Bitcoin holdings.
Endpoint
https://newhedge.io/api/v2/companies/china/bitcoin-holdings-usd?api_token=YOUR_TOKEN
Replace `YOUR_TOKEN` with your Newhedge API token.
Sample response
200
Successful response
[
[
1790812800000,
15873960400.0
],
[
1790899200000,
16108737700.0
],
[
1790985600000,
16054354000
]
]
Metric
Treasury Metrics
Bitcoin treasury summary metrics for the company.
Endpoint
https://newhedge.io/api/v2/companies/china/treasury-metrics?api_token=YOUR_TOKEN
Replace `YOUR_TOKEN` with your Newhedge API token.
Sample response
200
Successful response
{
"btc_percent_company": 0.0,
"total_btc_percentage": 0.905,
"share_price_change_state": "up"
}
Not available for this company
price-data(Price Data) returns 404{"error":"Data unavailable for this company"}company-data(Company Data) returns 404{"error":"Data unavailable for this company"}performance-metrics(Performance Metrics) returns 404{"error":"Data unavailable for this company"}