# LI.FI — Fetch information about a Token

Get LI.FI Token Details via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Lifi, pass parameters such as chain, token, and retrieve structured data including token chain identifier, token ticker symbol, token base-unit decimal precision, and provider token-verification status to normalize asset metadata, and convert amount inputs.

Documentation: https://openany.si/lifi/lifi-li-fi-fetch-information-about-a-token/34c1ca03-4a0d-4170-9ad9-537174387ba0/
API ID: 34c1ca03-4a0d-4170-9ad9-537174387ba0
Provider: lifi
Contract revision: 4
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/lifi/v1/token
Page update time: 2026-12-03T02:43:27.500Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: none
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0 / call
The published contract currently has no usage charge. Authentication and service limits still apply.
Price source: OpenAny public API contract.
Contract update time: 2026-12-03T02:43:26.893Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "fixed",
  "priceMicroUsd": "0",
  "rounding": null,
  "unit": "call",
  "unitQuantity": null
}
```

## Usage and limits
## LI.FI Token Details API

Both chain and token are required. Use the returned decimals to interpret base-unit amounts and retain address plus chainId as the asset identity.

## What You Can Build

- **Normalize asset metadata**: Store chainId and address rather than symbol alone.
- **Convert amount inputs**: Use decimals with integer or decimal-safe arithmetic.

## Returned Data

| Field | Meaning |
| --- | --- |
| `address` | Token contract or native-token identifier |
| `chainId` | Token chain identifier |
| `symbol` | Token ticker symbol |
| `decimals` | Token base-unit decimal precision |
| `priceUSD` | Reported token price in USD |
| `verificationStatus` | Provider token-verification status |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "LI.FI — Fetch information about a Token request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {}
    },
    "query": {
      "type": "object",
      "properties": {
        "chain": {
          "type": "string",
          "description": "Id or key of the chain that contains the token"
        },
        "token": {
          "type": "string",
          "description": "Address or symbol of the token on the requested chain"
        }
      },
      "required": [
        "chain",
        "token"
      ]
    },
    "headers": {
      "type": "object",
      "properties": {}
    }
  },
  "required": [
    "path",
    "query",
    "headers"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "address": {
      "type": "string"
    },
    "chainId": {
      "type": "integer"
    },
    "coinKey": {
      "type": "string"
    },
    "decimals": {
      "type": "integer"
    },
    "logoURI": {
      "type": "string"
    },
    "marketCapUSD": {
      "type": "number"
    },
    "name": {
      "type": "string"
    },
    "priceUSD": {
      "type": "string"
    },
    "symbol": {
      "type": "string"
    },
    "tags": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "verificationStatus": {
      "type": "string"
    },
    "verificationStatusBreakdown": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "provider": {
            "type": "string"
          },
          "providerResult": {
            "type": "string"
          },
          "result": {
            "type": "string"
          }
        }
      }
    },
    "volumeUSD24H": {
      "type": "number"
    }
  }
}
```

## Request example
Scenario: Documentation example
```bash
curl \
  'https://api.openany.si/v1/agent-apis/lifi/v1/token?chain=1&token=USDC' \
  -X GET \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json'
```

## Response example
Published documentation example. Verify the actual response after an approved call.
Sample response · Documented HTTP 200
```json
{
  "address": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
  "chainId": 1,
  "coinKey": "USDC",
  "decimals": 6,
  "logoURI": "https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48/logo.png",
  "marketCapUSD": 71334144791.6293,
  "name": "USD Coin",
  "priceUSD": "1.0002350525",
  "symbol": "USDC",
  "tags": [
    "stablecoin"
  ],
  "verificationStatus": "verified",
  "verificationStatusBreakdown": [
    {
      "provider": "hypernative",
      "providerResult": "accept",
      "result": "verified"
    }
  ],
  "volumeUSD24H": 664262773.01533
}
```

## Error handling
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

## Common questions
### Which inputs are mandatory?
chain and token are required.

### Can chain be a name key?
Yes. The contract accepts a chain ID or chain key.

### Can token be a symbol?
Yes. It accepts an address or symbol on the requested chain.

### How do I convert one token to base units?
Use the returned decimals and precise integer or decimal arithmetic; avoid losing precision through floating-point rounding.

### Is priceUSD a guaranteed execution price?
No. It is reported token price metadata; a transfer quote has separate execution estimates.

### How can I list tokens instead?
Use Token Directory and select the desired chain.

## Available implementations
- lifi: https://openany.si/lifi/lifi-li-fi-fetch-information-about-a-token/34c1ca03-4a0d-4170-9ad9-537174387ba0/

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
