GET /api/dex/{protocol}
DEX protocol stats
GET dex data from dex service
Endpoint​
GET https://api.web3identity.com/api/dex/{protocol}
Parameters​
| Name | In | Type | Required | Description |
|---|---|---|---|---|
protocol | path | string | âś… | Protocol slug |
Example Request​
curl -s "https://api.web3identity.com/api/dex/:protocol" | jq
Responses​
200 Success​
{
"name": "Uniswap",
"volume24h": 2340000000,
"tvl": 5670000000,
"change24h": 8.5
}
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