REST API

Request/response lookups for metadata, prices, mint trade history, creations, graduations, and launchpad stats. Auth with an API key. All responses are structured JSON.

Base URL

https://api.anaxer.com

Example request

curl "https://api.anaxer.com/v1/tokens/EKpQGSJtjMFqKZ9KQanSqYXRcF8fBopzLHYxdM65zcjm/trades?source=pump_fun&limit=20" \
  -H "Authorization: Bearer YOUR_KEY"

Endpoints

GET/v1/tokens/:mint

Token Metadata

Lean metadata for an observed mint: name, symbol, UI supply, and socials. Trade-only mints resolve on demand (first hit may be slower). Never-observed mints return 404.

GET/v1/tokens/batch

Token Metadata (Batch)

Up to 50 unique mints in one request. Each unique mint counts as one request against your monthly quota; the call counts as 1 against the per-minute burst limit (see X-Request-Cost). Never-observed mints are omitted. Missing/incomplete observed mints resolve on demand in a single upstream batch. Same lean shape as the single-mint endpoint. No next or window.

GET/v1/tokens/:mint/price

Token Price

Latest USD and SOL price for a mint (Redis). Absent → 404.

GET/v1/tokens/batch/price

Token Price (Batch)

Up to 50 unique mints. Each unique mint counts as one request against your monthly quota; the call counts as 1 against the per-minute burst limit (see X-Request-Cost). Missing prices are omitted (not errored). Same PriceUpdateV1 shape as the single-mint endpoint. No next or window.

GET/v1/tokens/:mint/trades

Token Trades

Trade history for a single mint, newest first. Retention-clamped. Optional source filter. Same SwapV1 shape as the trades stream.

GET/v1/creations

Latest Token Creations

Recent token launches. Supports source and excludeMayhem. Enrichment mode (enriched) is WebSocket-only — REST returns stored rows.

GET/v1/graduations

Latest Graduations

Tokens that recently graduated. Supports source, excludeMayhem, and minLiquiditySol. Pre-feature rows have mayhemMode: false and liquiditySol: null (no historical backfill).

GET/v1/launchpads/stats

Launchpad Stats

Creation and graduation counts (and graduation rate) for pump_fun, raydium_launchlab, and bonkfun over a retention-clamped window. Zeros are 0, never null.

GET/health

Health

Public liveness probe for load balancers and uptime checks. No API key required. For Redis readiness, use GET /ready (503 when Redis is unreachable).

GET/v1/programs

Programs Catalog

Public discovery endpoint — no API key required. Lists every on-chain program Anaxer decodes (slug, program ID, venue kind, and whether it's currently enabled) plus the JSON shape of each event type. Handy for validating source slugs and event schemas at build time.

GET/v1/transferComing soon

Latest Transfers

Recent token transfers with the same filters as the transfers stream.

Pagination & windows

Store-backed list endpoints return a data array, an opaque next cursor (or null), and an effective window after plan retention clamp. Pass cursor from next to walk pages. Use from / to (ISO-8601 or unix ms) to bound the range — there is no since slot parameter on REST. Batch lookups return { data } only.

{
  "data": [
    {
      "type": "swap",
      "source": "pump_fun",
      "wallet": "...",
      "volumeUsd": 187.5,
      "slot": 309812501,
      "timestamp": 1751008869000
    }
  ],
  "next": null,
  "window": { "from": 1751000000000, "to": 1751008869000 }
}

Auth

Every /v1 route requires an API key via Authorization: Bearer … or x-api-key. GET /health, GET /ready, and GET /v1/programs are public.