Skip to main content
POST
/
api
/
defillama
/
fees
/
search
/defillama/fees/search
curl --request POST \
  --url https://api.anysite.io/api/defillama/fees/search \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "count": 2,
  "timeout": 300
}
'
[
  {
    "id": "<string>",
    "name": "<string>",
    "alias": "<string>",
    "@type": "@defillama_fee_protocol",
    "category": "<string>",
    "chains": [],
    "image": "<string>",
    "parent_protocol": "<string>",
    "total_24h": 123,
    "total_7d": 123,
    "total_30d": 123,
    "total_1y": 123,
    "total_all_time": 123,
    "change_7d": 123,
    "change_30d": 123
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
count
integer
required

Number of protocols to return

Required range: x >= 1
timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500

Response

Successful Response

id
string
required
name
string
required
alias
string
required
@type
string
default:@defillama_fee_protocol
category
string | null
chains
string[]
image
string | null
parent_protocol
string | null
total_24h
number | null
total_7d
number | null
total_30d
number | null
total_1y
number | null
total_all_time
number | null
change_7d
number | null
change_30d
number | null