New: LI.FI's API for Agentic Commerce is live — MCP Server, Agent Skills, and AI-first docs. Learn more
curl --request GET \
--url https://earn.li.fi/v1/chains \
--header 'x-lifi-api-key: <api-key>'[
{
"name": "Ethereum",
"chainId": 1,
"networkCaip": "eip155:1"
},
{
"name": "Base",
"chainId": 8453,
"networkCaip": "eip155:8453"
},
{
"name": "Arbitrum One",
"chainId": 42161,
"networkCaip": "eip155:42161"
}
]Returns the list of chains that have at least one Earn vault available. Derived from current vault data.
This endpoint is scoped to LI.FI Earn (vaults). Only chains where Earn currently has indexed vaults are returned — it is not a general list of all chains the LI.FI platform supports, and it should not be used to determine SDK / Swaps / Bridges chain coverage.
If you are integrating Swaps or Bridges (via the LI.FI SDK or the main API), call GET https://li.quest/v1/chains instead. That endpoint returns every chain supported by the LI.FI Aggregation API.
curl --request GET \
--url https://earn.li.fi/v1/chains \
--header 'x-lifi-api-key: <api-key>'[
{
"name": "Ethereum",
"chainId": 1,
"networkCaip": "eip155:1"
},
{
"name": "Base",
"chainId": 8453,
"networkCaip": "eip155:8453"
},
{
"name": "Arbitrum One",
"chainId": 42161,
"networkCaip": "eip155:42161"
}
]Documentation Index
Fetch the complete documentation index at: https://docs.li.fi/llms.txt
Use this file to discover all available pages before exploring further.