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

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

addressstring required

Address of the token

decimalsnumber required

Number of decimals the token uses

symbolstring required

Symbol of the token

chainIdnumber required

Id of the token's chain

coinKeystring

Identifier for the token

namestring required

Name of the token

logoURIstring

Logo of the token

priceUSDstring

Token price in USD

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.