# Token Directory

## Endpoint

```
GET https://api.dapplooker.com/v1/token-directory
```

***

## Query Parameters

| Parameter        | Type   | Required | Description                                           |
| ---------------- | ------ | -------- | ----------------------------------------------------- |
| chain            | string | No       | Filter by blockchain network (`base`, `solana`, etc.) |
| ecosystem        | string | No       | Filter by ecosystem (e.g. `virtuals`)                 |
| token\_addresses | string | No       | Comma-separated token contract addresses              |
| page             | number | No       | Pagination page                                       |
| api\_key         | string | No       | API key if not using x402                             |

Use chain or ecosystem filters for efficient discovery.

***

## Example Requests

```bash
# Browse Base ecosystem tokens
curl --location 'https://api.dapplooker.com/v1/token-directory?api_key=<API_KEY>&chain=base&page=1'

# Browse Base + Virtuals ecosystem
curl --location 'https://api.dapplooker.com/v1/token-directory?api_key=<API_KEY>&chain=base&ecosystem=virtuals&page=1'

# Lookup specific Solana tokens
curl --location 'https://api.dapplooker.com/v1/token-directory?api_key=<API_KEY>&chain=solana&token_addresses=FVdo7CDJarhYoH6McyTFqx71EtzCPViinvdd1v86Qmy5,2w3A2P5juwg234spHKfps7WReWoVmujtErqjaZm9VaiP&page=1'
```

***

## Example Response

```json
{
  "success": true,
  "data": [
    {
      "id": "aimonica-brands",
      "symbol": "AIMONICA",
      "name": "Aimonica Brands",
      "address": "FVdo7CDJarhYoH6McyTFqx71EtzCPViinvdd1v86Qmy5",
      "chain": "solana",
      "ecosystem": "solana"
    },
    {
      "id": "aipump",
      "symbol": "AIPUMP",
      "name": "aiPump",
      "address": "2w3A2P5juwg234spHKfps7WReWoVmujtErqjaZm9VaiP",
      "chain": "solana",
      "ecosystem": "solana"
    }
  ],
  "meta": {
    "pagination": {
      "page": 1,
      "pageSize": 100,
      "pageCount": 12,
      "total": 1184
    }
  }
}
```

***

## Response Schema

### Token Identity Fields

| Field     | Type   | Description               |
| --------- | ------ | ------------------------- |
| id        | string | Internal token identifier |
| symbol    | string | Token ticker              |
| name      | string | Full token name           |
| address   | string | Contract or mint address  |
| chain     | string | Blockchain network        |
| ecosystem | string | Ecosystem classification  |

***

### Pagination Fields

| Field     | Type   | Description          |
| --------- | ------ | -------------------- |
| page      | number | Current page         |
| pageSize  | number | Items per page       |
| pageCount | number | Total pages          |
| total     | number | Total indexed tokens |


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.dapplooker.com/products/api-endpoints/core-data-apis/token-directory.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
