# Supported tokens

Every token Maxy swaps, per chain, with the address and decimals that `GET /tokens` returns. Use it to map Maxy's coins onto your own token list. Amounts go to the API in each token's smallest unit, so read `decimals` from the API rather than assuming them.

## Read the list

`GET /tokens` answers every chain; `?chain=` narrows it to one, by name, id or CAIP-2 id. The samples use the setup from [Get a quote](https://maxy.co/docs/buy-btc#get-a-quote).

```sh
curl -s -H "x-maxy-key: $MAXY_API_KEY" "$BASE/tokens?chain=base" | jq -c '.tokens[] | {symbol, address, decimals}'
```

```ts
const { tokens } = await fetch(`${BASE}/tokens?chain=base`, { headers: { 'x-maxy-key': KEY } }).then((r) => r.json());
console.log(tokens.map((t: { symbol: string; decimals: number | null }) => `${t.symbol} ${t.decimals}`)); // [ 'ETH 18', 'USDC 6', 'USDT 6' ]
```

```python
tokens = requests.get(f"{BASE}/tokens", headers={"x-maxy-key": KEY}, params={"chain": "base"}).json()["tokens"]
print([(t["symbol"], t["decimals"]) for t in tokens])  # [('ETH', 18), ('USDC', 6), ('USDT', 6)]
```

Each token also carries `chain`, `chainName` and its CAIP-19 `assetId`, such as `eip155:8453/erc20:0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913`. A price or quote takes the `assetId` wherever it takes a coin name.

## Tokens in a pair

What `GET /tokens` answered, for the tokens that `GET /pairs` swaps. A native coin's address is the zero address on an EVM chain, `BTC` on Bitcoin and `SOL` on Solana.

| Chain | Symbol | Address | Decimals | Buy BTC with it | Sell BTC for it |
| --- | --- | --- | --- | --- | --- |
| Bitcoin | BTC | `BTC` | 8 | — | — |
| Base | ETH | `0x0000000000000000000000000000000000000000` | 18 | yes | yes |
| Base | USDC | `0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913` | 6 | yes | yes |
| Base | USDT | `0xfde4C96c8593536E31F229EA8f37b2ADa2699bb2` | 6 | — | yes |
| Arbitrum | ETH | `0x0000000000000000000000000000000000000000` | 18 | yes | yes |
| Arbitrum | USDC | `0xaf88d065e77c8cC2239327C5EDb3A432268e5831` | 6 | yes | yes |
| Arbitrum | USDT | `0xFd086bC7CD5C481DCC9C85ebE478A1C0b69FCbb9` | 6 | — | yes |
| BNB Chain | BNB | `0x0000000000000000000000000000000000000000` | 18 | yes | yes |
| BNB Chain | USDC | `0x8AC76a51cc950d9822D68b83fE1Ad97B32Cd580d` | **18** | — | yes |
| BNB Chain | USDT | `0x55d398326f99059fF775485246999027B3197955` | **18** | — | yes |
| Avalanche | AVAX | `0x0000000000000000000000000000000000000000` | 18 | yes | yes |
| Avalanche | USDC | `0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E` | 6 | — | yes |
| Avalanche | USDt | `0x9702230A8Ea53601f5cD2dc00fDBc13d4dF4A8c7` | 6 | — | yes |
| Robinhood Chain | ETH | `0x0000000000000000000000000000000000000000` | 18 | yes | yes |
| Robinhood Chain | USDG | `0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168` | 6 | — | yes |
| Solana | SOL | `SOL` | 9 | yes | yes |

USDC and USDT on BNB Chain have 18 decimals, not 6. Avalanche's Tether is spelled `USDt`.

## Any other token

Any token on Base, Arbitrum, BNB Chain, Avalanche, Robinhood Chain, Ethereum, Optimism, Polygon, Linea, zkSync Era, HyperEVM, Mantle, Berachain, Abstract, ApeChain or Monad goes in two legs; TRX, USDT on Tron and SUI too, while their LI.FI leg answers ([Tron and Sui](https://maxy.co/docs/tron-and-sui)): [Any token to BTC](https://maxy.co/docs/any-token-to-btc). Find its address with `GET /tokens?chain=ethereum&search=PEPE`: a symbol, name or address, found as the Maxy app's token picker finds it, with `decimals` read from the token on its chain. Each result names its routes. Whether a token routes is decided when you quote it.

## Only tokens in a pair

`GET /tokens` lists only the tokens that `GET /pairs` swaps, each with its `decimals` as a number. `GET /tokens?all=true` adds the other tokens Maxy knows on those chains; they go in two legs, as any other token. A token whose decimals Maxy does not know is not listed.

## Token list files

One [token list](https://tokenlists.org/) per EVM chain, written from `GET /tokens` with the tokens whose decimals are known: [Base](https://maxy.co/docs/_media/integrate/tokenlists/base.json), [Arbitrum](https://maxy.co/docs/_media/integrate/tokenlists/arbitrum.json), [BNB Chain](https://maxy.co/docs/_media/integrate/tokenlists/bnb.json), [Avalanche](https://maxy.co/docs/_media/integrate/tokenlists/avalanche.json), [Robinhood Chain](https://maxy.co/docs/_media/integrate/tokenlists/robinhood.json).

Which way each pair runs, and its smallest order: [Chains and tokens](https://maxy.co/docs/chains-and-tokens).

---
Source: https://maxy.co/docs/supported-tokens (Maxy Docs › Supported systems › Details)
