GET /api/tokens
Search and list Clanker tokens with filters, sorting, and cursor-based pagination.
Authentication: Public
Query Parameters
Response: Paginated list of tokens with optional user and market data.
Returns 503 with Retry-After: 5 on search timeout. Cached for 2 s at the edge.
GET /api/tokens/trending
Returns trending token pools from CoinGecko.
Authentication: Public
Query Parameters
Response: List of trending pool addresses and their pool data.
Cached for 5 minutes (s-maxage=300).
GET /api/tokens/fetch-deployed-by-fid
Returns tokens deployed by a Farcaster FID.
Authentication: Public
Query Parameters
Response: Paginated token list.
GET /api/tokens/fetch-deployed-by-address
Returns tokens deployed by a wallet address.
Authentication: Public
Query Parameters
Response: Paginated token list.
GET /api/tokens/fetch-by-pool-address
Returns token data for a single pool address.
Authentication: Public
Query Parameters
Response: Token object or undefined.
POST /api/tokens/fetch-by-pool-addresses
Returns token data for multiple pool addresses (max 100).
Authentication: Public
Body Parameters
Response: Map of lowercase pool addresses to token objects.
GET /api/tokens/search
Deprecated: Use GET /api/tokens instead.Search tokens by query or FIDs. Authentication: Public Query Parameters
Response: Paginated token list (fixed limit of 5).
GET /api/tokens/estimate-rewards-by-pool-address
Deprecated: This endpoint is deprecated. Use the clanker-sdk availableRewards() method instead.Estimate uncollected rewards for a pool. Authentication: Public