GET /api/price/btc
Bitcoin price
Get current price for a token (9-source fallback)
Endpoint​
GET https://api.web3identity.com/api/price/btc
Parameters​
| Name | In | Type | Required | Description |
|---|---|---|---|---|
currency | query | string | ❌ | Target currency (usd, eur, btc) |
Example Request​
curl -s "https://api.web3identity.com/api/price/btc" | jq
Responses​
200 Current BTC price​
400 Bad request - invalid parameters​
{
"example": "response"
}
402 Payment required​
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