📄️ Overview
The public, credit-metered ElectroSwap API - what it covers, why the app's own /graphql and /api endpoints are private, and where automated clients start.
📄️ Getting started
Get an ElectroSwap API key in about five minutes: connect a wallet, sign in, create a key, make your first call, and top up credits with DYNO.
📄️ Authentication
Authenticate with a bearer token. Key format and scope, the one endpoint that needs no key, what to do if a key leaks, and how sessions differ from keys.
📄️ Credits and pricing
1,000,000 credits = $1.00, prepaid in DYNO and never expiring. Why calls are priced by cost, what $50 buys, and free hourly credits for DYNO holders.
📄️ Endpoint reference
Every ElectroSwap public API endpoint and what each call costs in credits.
📄️ Errors
Every ElectroSwap API error is JSON with a stable code. The full status and code table, which errors charge credits, and the two worth handling first.
📄️ Rate limits
Requests per second and concurrent request ceilings, why concurrency is the binding limit, heavy routes, load shedding, and what to do on a 429.
📄️ If you have been banned
ElectroSwap firewall-bans addresses that keep hitting the private /graphql and /api endpoints. Why it happened, and how to get unbanned and stay unbanned.