Skip to main content
POST
/
api
/
defillama
/
protocols
/defillama/protocols
curl --request POST \
  --url https://api.anysite.io/api/defillama/protocols \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "protocol": "<string>",
  "timeout": 300
}
'
[
  {
    "id": "<string>",
    "name": "<string>",
    "alias": "<string>",
    "@type": "@defillama_protocol",
    "symbol": "<string>",
    "url": "<string>",
    "description": "<string>",
    "image": "<string>",
    "chains": [],
    "gecko_id": "<string>",
    "cmc_id": "<string>",
    "twitter": "<string>",
    "github": [],
    "address": "<string>",
    "treasury": "<string>",
    "governance_id": [],
    "stablecoins": [],
    "audit_links": [],
    "category": "<string>",
    "mcap": 123,
    "tvl": 123,
    "is_parent_protocol": false,
    "wrong_liquidity": false,
    "current_chain_tvls": {},
    "other_protocols": [],
    "raises": [],
    "hallmarks": []
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
protocol
string
required

Protocol slug or a DeFiLlama protocol URL

Minimum string length: 1
Examples:

"aave"

"uniswap"

"lido"

"https://defillama.com/protocol/aave"

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_protocol
symbol
string | null
url
string | null
description
string | null
image
string | null
chains
string[]
gecko_id
string | null
cmc_id
string | null
twitter
string | null
github
string[]
address
string | null
treasury
string | null
governance_id
string[]
stablecoins
string[]
category
string | null
mcap
number | null
tvl
number | null
is_parent_protocol
boolean
default:false
wrong_liquidity
boolean
default:false
current_chain_tvls
Current Chain Tvls · object
other_protocols
string[]
raises
DefillamaProtocolRaise · object[]
hallmarks
DefillamaProtocolHallmark · object[]