get_fees_summary
Retrieve a summary of protocol fees and revenue, including historical data, for specified crypto protocols using API parameters like protocol slug and data type.
Instructions
GET /api/summary/fees/{protocol}
Get summary of protocol fees and revenue with historical data.
Parameters:
protocol: protocol slug (e.g., 'lyra')
data_type: desired data type (default: 'dailyFees')
Input Schema
Name | Required | Description | Default |
---|---|---|---|
data_type | No | dailyFees | |
protocol | Yes |
Input Schema (JSON Schema)
{
"properties": {
"data_type": {
"default": "dailyFees",
"enum": [
"dailyFees",
"dailyRevenue"
],
"title": "Data Type",
"type": "string"
},
"protocol": {
"title": "Protocol",
"type": "string"
}
},
"required": [
"protocol"
],
"title": "get_fees_summaryArguments",
"type": "object"
}