> ## Documentation Index
> Fetch the complete documentation index at: https://docs.inkyswap.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Token List

> Retrieve the combined token list from official registry and live InkyPump tokens

## Description

Returns a comprehensive token list that combines:

1. The official InkySwap token registry from GitHub
2. All InkyPump tokens that have reached full funding (funding\_progress = 1)

This endpoint follows the Uniswap Token List standard format for easy integration with DEX interfaces.

## Response

<ResponseField name="name" type="string">
  Name of the token list
</ResponseField>

<ResponseField name="timestamp" type="string">
  ISO timestamp of the token list
</ResponseField>

<ResponseField name="version" type="object">
  Version information

  <Expandable title="Version">
    <ResponseField name="major" type="number">
      Major version number
    </ResponseField>

    <ResponseField name="minor" type="number">
      Minor version number
    </ResponseField>

    <ResponseField name="patch" type="number">
      Patch version number
    </ResponseField>
  </Expandable>
</ResponseField>

<ResponseField name="tokens" type="array">
  Array of token objects

  <Expandable title="Token Object">
    <ResponseField name="chainId" type="number">
      Chain ID (57073 for INK mainnet)
    </ResponseField>

    <ResponseField name="address" type="string">
      Token contract address
    </ResponseField>

    <ResponseField name="symbol" type="string">
      Token symbol/ticker
    </ResponseField>

    <ResponseField name="name" type="string">
      Token name
    </ResponseField>

    <ResponseField name="decimals" type="number">
      Token decimals (typically 18)
    </ResponseField>

    <ResponseField name="logoURI" type="string">
      URL to token logo image
    </ResponseField>
  </Expandable>
</ResponseField>

<ResponseExample>
  ```json theme={null}
  {
    "name": "InkySwap Token List",
    "timestamp": "2024-01-15T12:00:00Z",
    "version": {
      "major": 1,
      "minor": 0,
      "patch": 0
    },
    "tokens": [
      {
        "chainId": 57073,
        "address": "0x0000000000000000000000000000000000000000",
        "symbol": "ETH",
        "name": "Ethereum",
        "decimals": 18,
        "logoURI": "https://raw.githubusercontent.com/InkySwap/token-logos/main/eth.png"
      },
      {
        "chainId": 57073,
        "address": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
        "symbol": "USDC",
        "name": "USD Coin",
        "decimals": 6,
        "logoURI": "https://raw.githubusercontent.com/InkySwap/token-logos/main/usdc.png"
      },
      {
        "chainId": 57073,
        "address": "0x1234567890abcdef1234567890abcdef12345678",
        "symbol": "MEME",
        "name": "Meme Token",
        "decimals": 18,
        "logoURI": "https://supabase.example.com/storage/v1/object/public/images/meme.png"
      }
    ]
  }
  ```
</ResponseExample>

<RequestExample>
  ```bash cURL theme={null}
  curl -X GET "https://inkyswap.com/api/tokens"
  ```

  ```typescript TypeScript theme={null}
  const response = await fetch('https://inkyswap.com/api/tokens');
  const tokenList = await response.json();

  const tokens = tokenList.tokens.map(token => ({
    ...token,
  }));
  ```

  ```python Python theme={null}
  import requests

  response = requests.get("https://inkyswap.com/api/tokens")
  token_list = response.json()

  ink_tokens = [
      token for token in token_list["tokens"] 
      if token["chainId"] == 57073
  ]
  ```
</RequestExample>
