Get Tokens by Admin

Retrieves a paginated list of tokens where the specified address is the token admin.

Endpoint

GET /api/tokens/fetch-by-admin

Authentication

This endpoint requires API key authentication.

Header
Required
Description

x-api-key

Yes

Your API key for authentication

Query Parameters

Parameter
Type
Required
Default
Description

admin

string

Yes

-

The admin wallet address (0x...) to filter tokens by

limit

number

No

10

Number of tokens to return per page (min: 1, max: 200)

cursor

string

No

-

Pagination cursor for fetching the next page of results

chainId

number

No

-

Filter by specific chain ID (e.g., 8453 for Base)

includeUser

boolean

No

false

Include user/creator data in the response

includeMarket

boolean

No

false

Include market data (price, market cap, etc.) in the response

Response

Success (200 OK)

{
  "data": [
    {
      "id": "uuid",
      "contract_address": "0x...",
      "name": "Token Name",
      "symbol": "TKN",
      "admin": "0x...",
      "chain_id": 8453,
      "deployed_at": "2024-01-01T00:00:00.000Z",
      "pool_address": "0x...",
      "img_url": "https://...",
      ...
    }
  ],
  "total": 42,
  "cursor": "eyJpZCI6Ii4uLiJ9"
}
Field
Type
Description

data

array

Array of token objects

total

number

Total number of tokens matching the query

cursor

string | null

Cursor for the next page, null if no more results

Error Responses

401 Unauthorized

Missing or invalid API key.

400 Bad Request

Missing or invalid admin address.

Examples

Basic Request

With Pagination

With All Options

JavaScript/TypeScript Example

Pagination

To paginate through results:

  1. Make an initial request without a cursor

  2. If the response includes a cursor value, use it in your next request

  3. Continue until cursor is null or undefined

Rate Limits

Authenticated requests are subject to standard API rate limits. Contact support for rate limit details.

Last updated