> For the complete documentation index, see [llms.txt](https://docs.zert.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.zert.com/api-reference/discovery/list-tokens.md). Agents can also search and read this documentation through its [MCP server](https://docs.zert.com/~gitbook/mcp).

# Get Available Tokens

Returns supported tokens across all chains or filtered by chain. Use this to discover tokens available for swaps.

**Endpoint:** `GET /api/v1/tokens`\
**Auth:** Required (`Authorization: Bearer YOUR_API_KEY`)

## Query parameters

| Parameter       | Type    | Required | Description                                       | Example             |
| --------------- | ------- | -------- | ------------------------------------------------- | ------------------- |
| `chainRef`      | string  | No       | Filter by chain                                   | `eth-mainnet`       |
| `q`             | string  | No       | Search by symbol or name                          | `USDC`              |
| `limit`         | integer | No       | Max tokens to return (1–50000, default: 500)      | `50`                |
| `cursor`        | string  | No       | Opaque cursor for pagination                      | `next_cursor_value` |
| `supportedOnly` | string  | No       | `1` or `true` — only tokens supported for trading | `1`                 |
| `requireLogo`   | string  | No       | `1` or `true` — only tokens with a logo URL       | `true`              |
| `sort`          | string  | No       | `top`, `marketcap`, `trending`, or `asc`          | `top`               |
| `debug`         | string  | No       | `1` or `true` — include debug info in response    | `1`                 |

## Example

{% tabs %}
{% tab title="cURL" %}

```bash
curl -X GET 'https://api.gateway.zert.com/api/v1/tokens?chainRef=eth-mainnet&limit=10' \
  -H 'Authorization: Bearer YOUR_API_KEY'
```

{% endtab %}

{% tab title="Example Response" %}

```json
{
  "data": {
    "tokens": [
      {
        "chain": "eth-mainnet",
        "symbol": "USDC",
        "name": "USD Coin",
        "address": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
        "decimals": 6,
        "logoUrl": "https://cdn.example.com/usdc.png"
      }
    ],
    "nextCursor": null
  },
  "meta": {
    "requestId": "req_xyz",
    "timestamp": "2026-04-23T12:00:00.000Z"
  }
}
```

{% endtab %}
{% endtabs %}

## Token fields

| Field        | Type           | Description                          |
| ------------ | -------------- | ------------------------------------ |
| `chain`      | string         | Chain identifier for the token       |
| `symbol`     | string         | Canonical token symbol               |
| `name`       | string         | Human-readable token name            |
| `address`    | string         | EVM contract address when applicable |
| `decimals`   | integer        | Token decimals                       |
| `mint`       | string         | Solana mint address when applicable  |
| `logoUrl`    | string         | Token logo URL when available        |
| `nextCursor` | string or null | Cursor for the next page             |

## Responses

| Code | Description                               |
| ---- | ----------------------------------------- |
| 200  | List of tokens                            |
| 400  | Invalid request (e.g. invalid params)     |
| 401  | Unauthorized (missing or invalid API key) |
| 502  | Quote-service token discovery unavailable |

{% embed url="<https://api.gateway.zert.com/docs>" %}
Zert API — Tokens
{% endembed %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.zert.com/api-reference/discovery/list-tokens.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
