Skip to main content

GET /api/defi/top-liquid-staking

Top liquid staking protocols

GET top-liquid-staking data from defi service

Endpoint​

GET https://api.web3identity.com/api/defi/top-liquid-staking

Example Request​

curl -s "https://api.web3identity.com/api/defi/top-liquid-staking" | jq

Responses​

200 Top liquid staking​

{
"protocols": [
{
"rank": 1,
"name": "Lido",
"tvl": 23456789012.34,
"apy": 3.2,
"token": "stETH"
},
{
"rank": 2,
"name": "Rocket Pool",
"tvl": 2345678901.23,
"apy": 3.5,
"token": "rETH"
},
{
"rank": 3,
"name": "Frax Ether",
"tvl": 1234567890.12,
"apy": 3.3,
"token": "frxETH"
}
]
}

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