GET /pipeline/v1/chains
GET /run/lifi/pipeline/v1/chainsCache cached 300s, never served stale past that windowCost free · weight 0 · standard rate classSource billing freeChains the router serves, with chain type and native coin.
One call answered HTTP 408 TRANSIENT ('The LiFi API is temporarily unavailable', details 'operation aborted due to timeout') after ~50 s; an immediate re-check answered 200 with 58 EVM chains in ~1 s. The 408 is LI.FI's internal chain-registry refresh timing out, not a removed route. The documented official endpoint https://li.quest/v1/chains was checked as a replacement and is NOT drop-in: it returns 64 EVM chains (5 testnets + Arbitrum Nova) while this pipeline route returns the 58 production chains the router serves. The client now bounds the whole request (all attempts) with a wall budget so a slow 408 cannot be replayed past the hub edge; the upstream 408 body is returned verbatim when the budget stops a retry.
Parameters
| name | in | type | description | |
|---|---|---|---|---|
chainTypes | query | str | optional | Comma-separated chain families to include (EVM, SVM, UTXO, MVM, TVM) example: EVM |
Response
type: object
data key: chains
pagination: none
sample: {
"chains": "array[63]"
}
Safe request
Reads the credential from API_HUB_KEY; it never appears in the URL.
curl -sH "X-Hub-Key: $API_HUB_KEY" "https://openapihub.dev/run/lifi/pipeline/v1/chains?chainTypes=EVM"