Fetch information about a Token
This endpoint can be used to get more information about a token by its address or symbol and its chain. If you want to learn more about how to use this endpoint please have a look at our guide.
get/v1/token
Request
- Base URLhttps://li.quest
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
chainstring required
Id or key of the chain that contains the token
tokenstring required
Address or symbol of the token on the requested chain
Headers
x-lifi-api-keystring
Authentication header, register in the LI.FI Partner Portal (https://portal.li.fi/ ) to get your API Key.
Response
Example response
[
{
"address": "0x8f3cf7ad23cd3cadbd9735aff958023239c6a063",
"symbol": "DAI",
"decimals": 18,
"chainId": 137,
"name": "(PoS) Dai Stablecoin",
"coinKey": "DAI",
"priceUSD": "1",
"logoURI": "https://static.debank.com/image/matic_token/logo_url/0x8f3cf7ad23cd3cadbd9735aff958023239c6a063/549c4205dbb199f1b8b03af783f35e71.png"
}
]Changes
No recorded changes to this operation across all 1 revision of this API.