Skip to content
Chains & usage

LCX Liberty. American DeFi. Your keys. Your assets. Your control.

API reference

Chains & usage

Which chains are live, how fresh each index is, and where your own quota stands.

Chains

GET/v1/chains

Supported chains and per-chain index health. Never counts against your quota.

routerDeployed is the field to check before you offer a user a swap button. It is true on every chain we currently support. Read it from here rather than keeping your own list, so a chain added later needs no change on your side, for the same reason as wrappedNative below.

Each chain also carries nativeSymbol and defaultPair, the pair a UI should open on, as complete token rows rather than addresses. That exists so a client needs no hardcoded token to render its first frame: ours used to ship a per-chain token array and dereference its first element, which crashes the page the moment the array is empty.

wrappedNative is the chain's wrapped-native ERC-20. Price that contract when you want the native currency's USD value, because the native token has no address of its own. Pass it to /v1/price without decimals, since it is always one of the chain's routing hubs and we resolve those for you. Take it from here rather than keeping a table of WETH addresses. A table is one new chain away from being wrong, and it goes wrong silently.

Usage

GET/v1/usage

Your plan, calls used and remaining, plus both halves of the rate limit. Never counts against your quota.