Skip to main content

GET /api/bitcoin/stats

BTC network stats

GET stats data from bitcoin service

Endpoint​

GET https://api.web3identity.com/api/bitcoin/stats

Example Request​

curl -s "https://api.web3identity.com/api/bitcoin/stats" | jq

Responses​

200 Stats​

{
"price": 65432.1,
"marketCap": 1287654321098.76,
"volume24h": 28901234567.89,
"blockHeight": 829456,
"hashrate": 567890123456789.1,
"difficulty": 72345678901234.56,
"transactions24h": 345678
}

400 Bad request - invalid parameters​

{
"example": "response"
}

402 Payment required - free tier exhausted​

{
"example": "response"
}

404 Resource not found​

{
"example": "response"
}

429 Rate Limited​

{
"example": "response"
}

500 Internal Server Error - Something went wrong on our end​

{
"error": "Internal server error",
"code": "INTERNAL_ERROR"
}

Auto-generated from OpenAPI spec