GET /api/fees/revenue/{protocol}
Protocol revenue
GET revenue data from fees service
Endpoint​
GET https://api.web3identity.com/api/fees/revenue/{protocol}
Parameters​
| Name | In | Type | Required | Description |
|---|---|---|---|---|
protocol | path | string | âś… | DeFi protocol identifier |
Example Request​
curl -s "https://api.web3identity.com/api/fees/revenue/:protocol" | jq
Responses​
200 Revenue​
{
"success": true,
"data": {}
}
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