LI.FI Token Directory API
Get LI.FI Token Directory data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Lifi, pass parameters such as chains, minPriceUSD, tags, and retrieve structured data including token symbol, base-unit precision, and provider verification status to build chain-aware selectors, and prepare quote inputs, ready for production pipelines and AI agent automation.
- Selected price
- $0 / callPublished pricing
- Sellers / APIs
- 1 / 1
- Requests · 30d
- 0Selected implementation · last 30 days
- Success rate · 30d
- —No requests in this period
LI.FI Token Directory API
Prepare your request, then continue with your agent.
Selected price
$0 / call
- Provider
- API
- Pricing
On this page
Overview
LI.FI Token Directory API
The tokens object is keyed by chain ID. chains, tags and chainTypes narrow the catalog; minPriceUSD defaults to 0.0001 and accepts a minimum of zero.
Quick Facts
| Fact | Value |
|---|---|
| Access | OpenAny REST |
| Authentication | OpenAny API key in the Authorization header |
| Core inputs | No mandatory inputs. Optional: chains, tags, chainTypes, minPriceUSD |
| Selected implementation | lifi · LI.FI — Fetch all known tokens |
| Billing | See the pricing area for the selected implementation and request options |
What You Can Build
- Build chain-aware selectors: Keep chain ID and address together.
- Prepare quote inputs: Resolve decimals before converting a display amount.
Returned Data
| Field | Meaning |
|---|---|
tokens |
Token arrays grouped by chain ID |
tokens.<chainId>[].address |
Token address within the selected chain |
tokens.<chainId>[].symbol |
Token symbol |
tokens.<chainId>[].decimals |
Base-unit precision |
tokens.<chainId>[].verificationStatus |
Provider verification status |
Quick Start
- Set OPENANY_API_KEY to your OpenAny API key.
- Review the selected implementation and pricing, then adapt the request below to your target.
- Check the HTTP response and business result before reading optional fields.
curl --request GET --get \
https://api.openany.si/v1/agent-apis/lifi/v1/tokens \
-H "Authorization: Bearer ${OPENANY_API_KEY}" \
--data-urlencode chains=1,10 \
--data-urlencode minPriceUSD=0.9 \
--data-urlencode tags=stablecoin
Request and Response Examples
The response example is a documentation reference and may be abbreviated. The documented request is a calling template; use the published contract and returned response for the selected implementation.
Published LI.FI Token Directory API implementation contract.
Pricing and Billing
The pricing area reflects the selected API implementation. Review its billing unit and any request-dependent rules before calling; a source service's public availability does not determine OpenAny billing.
Frequently Asked Questions
Related APIs
Playground
Run sends a real API request. Charges follow the published API contract.
Sellers
| Seller | Pricing | Requests · 30d | Performance | Access |
|---|---|---|---|---|
lifiCurrent LI.FI — Fetch all known tokens · GET · View API reference | $0 / call | 0 | —successP50— |
- Unit price
- $0
Statistics use persisted gateway logs from the last 30 days up to now, including today.
Success rate = successful requests / all requests;
P50 = median latency of successful requests.
Prices reflect the published API contract. Contract revision: 4. Price update time: not supplied.
Total $0
API
- Method
- GET
- Endpoint
https://api.openany.si/v1/agent-apis/lifi/v1/tokens- Content type
- application/json
- Authentication
Authorization: Bearer $OPENANY_API_KEY
Input parameters
Fields in this listing; additional options and input encoding can vary by provider.
| Parameter | Location | Type | Required | Description |
|---|---|---|---|---|
chains | URL query parametersquery | string | No | Restrict the resulting tokens to the given chains |
tags | URL query parametersquery | string | No | Restrict the resulting tokens to the given token tags (comma separated) |
chainTypes | URL query parametersquery | string | No | Restrict the resulting tokens to the given chainTypes. Available values: EVM, SVM, UTXO, MVM, TVM, STL. |
minPriceUSD | URL query parametersquery | number | No | Filters results by minimum token price in USD. Minimum value for this parameter is 0. Defaults to 0.0001 USD. |
Required markers inside a nested object or variant apply when that object or variant is used.
Response structure
extendedbooleantokensobject1object[]addressstringchainIdintegercoinKeystringdecimalsintegerlogoURIstringnamestringpriceUSDstringsymbolstringverificationStatusstringverificationStatusBreakdownobject[]providerstringproviderResultstringresultstring
10object[]addressstringchainIdintegercoinKeystringdecimalsintegerlogoURIstringnamestringpriceUSDstringsymbolstringverificationStatusstringverificationStatusBreakdownobject[]providerstringproviderResultstringresultstring
Agent integration
Copy the resource contract without sharing an API key.
Error handling
| Status | Next step |
|---|---|
400 | Check the offering and request fields. |
401 / 403 | Verify your credentials and access permissions. |
402 | Inspect the selected access mode and returned payment requirements. |
429 | Respect the returned rate limit and retry guidance. |
5xx | Inspect the error and usage record before retrying a paid operation. |
Examples
Documentation example (source abbreviated)
Published documentation example. Verify the actual response after an approved call.
Prepare your environment
Use a terminal with cURL installed.
Use an OpenAny API key with shared-balance access. Confirm availability and price before running; a call may charge your balance.
Set the key in your terminal using the hidden prompt below. Keep its value out of source files and logs.
Terminal · macOS / Linuxprintf 'OpenAny API key: ' read -r -s OPENANY_API_KEY export OPENANY_API_KEY printf '\n'Run the request
Paste the complete command below into your terminal.
Values to replace before running 4
Review these request fields before running. Keep the published provider and request method unchanged.
chains- Restrict the resulting tokens to the given chains
tags- Restrict the resulting tokens to the given token tags (comma separated)
chainTypes- Restrict the resulting tokens to the given chainTypes. Available values: EVM, SVM, UTXO, MVM, TVM, STL.
minPriceUSD- Filters results by minimum token price in USD. Minimum value for this parameter is 0. Defaults to 0.0001 USD.
Terminal · cURLcurl \ 'https://api.openany.si/v1/agent-apis/lifi/v1/tokens?chains=1%2C10&minPriceUSD=0.9&tags=stablecoin' \ -X GET \ -H "Authorization: Bearer $OPENANY_API_KEY" \ -H 'Content-Type: application/json'Check the response
Sample response · Documented HTTP 200
Sample response{ "extended": false, "tokens": { "1": [ { "address": "0xdAC17F958D2ee523a2206206994597C13D831ec7", "chainId": 1, "coinKey": "USDT", "decimals": 6, "logoURI": "https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xdAC17F958D2ee523a2206206994597C13D831ec7/logo.png", "name": "USDT", "priceUSD": "0.99426047", "symbol": "USDT", "verificationStatus": "verified", "verificationStatusBreakdown": [ { "provider": "hypernative", "providerResult": "accept", "result": "verified" } ] }, { "address": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48", "chainId": 1, "coinKey": "USDC", "decimals": 6, "logoURI": "https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48/logo.png", "name": "USD Coin", "priceUSD": "1.0002350525", "symbol": "USDC", "verificationStatus": "verified", "verificationStatusBreakdown": [ { "provider": "hypernative", "providerResult": "accept", "result": "verified" } ] }, { "address": "0xdC035D45d973E3EC169d2276DDab16f1e407384F", "chainId": 1, "decimals": 18, "logoURI": "https://assets.coingecko.com/coins/images/39926/standard/usds.webp?1726666683", "name": "USDS", "priceUSD": "1.0007199178", "symbol": "USDS", "verificationStatus": "verified", "verificationStatusBreakdown": [ { "provider": "hypernative", "providerResult": "accept", "result": "verified" } ] } ], "10": [ { "address": "0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85", "chainId": 10, "coinKey": "USDC", "decimals": 6, "logoURI": "https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48/logo.png", "name": "USD Coin", "priceUSD": "1.0008373187", "symbol": "USDC", "verificationStatus": "verified", "verificationStatusBreakdown": [ { "provider": "hypernative", "providerResult": "accept", "result": "verified" } ] }, { "address": "0x5d3a1Ff2b6BAb83b63cd9AD0787074081a52ef34", "chainId": 10, "coinKey": "USDe", "decimals": 18, "logoURI": "https://static.debank.com/image/eth_token/logo_url/0x4c9edd5852cd905f086c759e8383e09bff1e68b3/1228d6e73f70f37ec1f6fe02a3bbe6ff.png", "name": "USDe", "priceUSD": "1.6748159196", "symbol": "USDe", "verificationStatus": "verified", "verificationStatusBreakdown": [ { "provider": "hypernative", "providerResult": "accept", "result": "verified" } ] }, { "address": "0x01bFF41798a0BcF287b996046Ca68b395DbC1071", "chainId": 10, "coinKey": "USDT0", "decimals": 6, "logoURI": "https://static.debank.com/image/ink_token/logo_url/0x0200c29006150606b650577bbe7b6248f58470c1/8bba37fddc2774e06a94b8952e3e3ad7.png", "name": "USD₮0", "priceUSD": "0.9997852599", "symbol": "USDT0", "verificationStatus": "verified", "verificationStatusBreakdown": [ { "provider": "hypernative", "providerResult": "accept", "result": "verified" } ] } ] } }