API Reference
Anaxer documentation
Clean, real-time Solana data over streams and REST. One API key, predictable JSON, and the same event shapes everywhere. These examples are illustrative. The launch dataset is the pump.fun / PumpSwap ecosystem.
New here?
Start with the Quickstart
Get a key and your first live event in about five minutes.
Introduction
Anaxer exposes five real-time streams — creations, graduations, trades, prices, and transfers — plus REST endpoints for metadata, recent events, and prices. The base URL for REST is https://api.anaxer.com. All data is Solana mainnet.
Conventions
Timestamps are Unix epoch milliseconds (e.g. 1751008869000). Raw token amounts are strings; uiAmount is a number for display. Every event includes a Solana slot for ordering and gap recovery, and most events include a transaction signature. Venue fields use source — see the sources catalog.
Which API should I use?
Four ways in, same data and event shapes underneath. Pick by what you're building:
| I want to… | Use | Why |
|---|---|---|
| React to events as they happen | WebSocket streams | Push delivery, sub-350ms |
| Look up or backfill on demand | REST API | Pull, paginated, retention-bounded |
| Build a long-running bot or backend | @anaxer/sdk | Typed, handles reconnect + heartbeat |
| Give an AI agent (Claude / Cursor) live data | @anaxer/mcp | Drop-in tools, no glue code |
Key terms
Domain terms used throughout these docs:
| Term | Meaning |
|---|---|
| creation | A brand-new token minted on a launchpad (e.g. pump.fun). |
| graduation | A token migrating off its bonding curve into a full AMM pool — the moment it gets real, tradable liquidity. |
| Mayhem mode | A pump.fun launch flag; mayhemMode on events lets you include or exclude these coins. |
| enrichment | Waiting for off-chain metadata (name, socials) before delivering a creation. WebSocket-only; off by default for speed. |
| source | The venue an event came from (pump_fun, pump_amm, raydium_*, …). See the sources catalog on the Streams page. |
Quick links
Streams
5 real-time channels with subscribe payloads, event shapes, and filters.
REST API
11 endpoints for metadata, recent events, and price lookups.
TypeScript SDK
Official @anaxer/sdk client — typed streams, REST, reconnect, and heartbeat.
MCP server
Official @anaxer/mcp for Claude, Cursor, and other MCP hosts — drop-in config, nine tools.
Ready to build?
Grab an API key and start streaming in minutes.