Authentication
Authenticate every request with your API key. For REST, pass it as a bearer token. For streams, pass it as a key query parameter on the WebSocket URL.
Create a free account and API key in the Anaxer console. No card required on the free plan.
REST
Include your key in the Authorization header.
curl https://api.anaxer.com/v1/creations \
-H "Authorization: Bearer YOUR_KEY"The key may also be passed as an x-api-key header instead of the bearer token — use whichever your HTTP client makes easier. The only unauthenticated routes are the public GET /health, GET /ready, and GET /v1/programs.
Streams
Pass your key as the key query parameter when opening the WebSocket connection.
wss://api.anaxer.com/v1/stream?key=YOUR_KEYNetwork
Anaxer streams Solana mainnet data only. There is no devnet or testnet endpoint.
Key security
Do not open stream connections directly from browser JavaScript — your key appears in the URL and will be visible in network logs. Proxy streams through your backend and keep keys in environment variables on the server.