Skip to main content

GET /api/defi/dex/volume

DEX volumes

GET volume data from defi service

Endpoint​

GET https://api.web3identity.com/api/defi/dex/volume

Example Request​

curl -s "https://api.web3identity.com/api/defi/dex/volume" | jq

Responses​

200 DEX volume data​

{
"totalVolume24h": 9876543210.12,
"dexes": [
{
"name": "Uniswap",
"volume24h": 1234567890.12,
"share": 12.5
},
{
"name": "Curve",
"volume24h": 987654321.09,
"share": 10
},
{
"name": "PancakeSwap",
"volume24h": 876543210.98,
"share": 8.9
}
]
}

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