Skip to main content

GET /api/price/wbtc

/api/price/wbtc

Get current price for a token (9-source fallback)

Endpoint​

GET https://api.web3identity.com/api/price/wbtc

Parameters​

NameInTypeRequiredDescription
currencyquerystring❌Target currency (usd, eur, btc)

Example Request​

curl -s "https://api.web3identity.com/api/price/wbtc" | jq

Responses​

200 Success​

{
"symbol": "ETH",
"price": 3245.67,
"change24h": 2.34,
"volume24h": 15600000000,
"marketCap": 389000000000
}

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