|
| 1 | +--- |
| 2 | +layout: default |
| 3 | +title: Fees Lifetime |
| 4 | +parent: Kamino |
| 5 | +grand_parent: API Reference |
| 6 | +nav_order: 1 |
| 7 | +permalink: /api-reference/kamino/fees-lifetime/ |
| 8 | +--- |
| 9 | + |
| 10 | +# Fees Lifetime Endpoint |
| 11 | + |
| 12 | +The Fees Lifetime endpoint provides comprehensive data on Kamino protocol fees and revenue across all product lines, including Klend (lending) and Kamino Liquidity services. |
| 13 | + |
| 14 | +## Endpoint |
| 15 | + |
| 16 | +```http |
| 17 | +GET https://api.allez.xyz/kamino/fees |
| 18 | +``` |
| 19 | + |
| 20 | +Retrieves daily revenue and fee metrics for the Kamino protocol. |
| 21 | + |
| 22 | +## Response Fields |
| 23 | + |
| 24 | +| Field | Description | |
| 25 | +|-------|-------------| |
| 26 | +| `day` | Date in YYYY-MM-DD format | |
| 27 | +| `timestamp` | Unix timestamp for the day | |
| 28 | +| `KlendInterestFeesUSD` | Total interest fees collected by Klend in USD | |
| 29 | +| `KlendInterestRevenueUSD` | Protocol revenue from interest fees in USD | |
| 30 | +| `KlendLiquidationFeesUSD` | Total liquidation fees collected by Klend in USD | |
| 31 | +| `KlendLiquidationRevenueUSD` | Protocol revenue from liquidation fees in USD | |
| 32 | +| `KlendOriginationFeesUSD` | Total origination fees collected by Klend in USD | |
| 33 | +| `KlendOriginationRevenueUSD` | Protocol revenue from origination fees in USD | |
| 34 | +| `KlendFeesUSD` | Total fees collected by Klend (sum of interest, liquidation, and origination fees) in USD | |
| 35 | +| `KlendRevenueUSD` | Total protocol revenue from Klend in USD | |
| 36 | +| `KaminoLiquidityTvlUsd` | Total value locked in Kamino Liquidity in USD | |
| 37 | +| `KaminoLiquidityFeesUsd` | Total fees collected by Kamino Liquidity in USD | |
| 38 | +| `KaminoLiquidityRevenueUsd` | Protocol revenue from Kamino Liquidity in USD | |
| 39 | +| `KaminoFeesUSD` | Total fees collected across all Kamino products (Klend + Kamino Liquidity) in USD | |
| 40 | +| `KaminoRevenueUSD` | Total protocol revenue across all Kamino products in USD | |
| 41 | + |
| 42 | +## Example Request |
| 43 | + |
| 44 | +```bash |
| 45 | +curl -X GET "https://api.allez.xyz/kamino/fees" |
| 46 | +``` |
| 47 | + |
| 48 | +## Notes |
| 49 | + |
| 50 | +- Historical data is available from October 2023 onwards |
| 51 | +- The endpoint data is refreshed daily and has a 1-day lag (i.e., yesterday's data is available today) |
| 52 | +- All monetary values are denominated in USD |
0 commit comments