GET /api/defi/stablecoins/{asset}
Stablecoin details
Stablecoin market data and pegs
Endpoint​
GET https://api.web3identity.com/api/defi/stablecoins/{asset}
Parameters​
| Name | In | Type | Required | Description |
|---|---|---|---|---|
asset | path | string | âś… | Asset identifier (token symbol or address) |
Example Request​
curl -s "https://api.web3identity.com/api/defi/stablecoins/:asset" | jq
Responses​
200 Stablecoin details​
{
"name": "USD Coin",
"symbol": "USDC",
"totalSupply": 23456789012.34,
"circulatingSupply": 23450000000,
"chains": {
"Ethereum": 15678901234.56,
"Polygon": 4567890123.45,
"Arbitrum": 2345678901.23
},
"price": 1,
"pegDeviation": 0.0002
}
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