V1 API Reference

ZERA Indexer API

Access indexed blockchain data from the ZERA network. Transactions, blocks, tokens, wallets, governance, DEX, staking, and more.

ALPHA DOCUMENTATIONThese endpoint schemas are currently in Alpha and may contain inaccuracies or incomplete payload parameters. If you encounter any structural divergence while integrating, please report it to us so we can resolve it swiftly.
https://api.zerascan.io/v1
GET ONLYJSON RESPONSES

Credits

Every API request consumes credits from your API key's balance. The credit cost varies by endpoint and is based on database complexity, compute requirements, and response payload size.

If an API key runs out of credits, requests will be rejected with a 403 status.

Rate Limiting & Token Bucket

The ZERA Indexer API uses a Token Bucket algorithm to govern request rates. Your API key has a maximum bucket capacity (Burst) and a refill rate. When you make a request, the endpoint's strict credit cost is deducted from your bucket. If the bucket doesn't have enough credits, the request is rejected.

CPS (Credits Per Second): The rate at which your bucket refills. For example, 10 CPS means you gain 10 credits every second. • BPS (Burst Per Second/Bucket Size): The maximum capacity of your bucket. This dictates the maximum burst of activity you can perform at once. • CPM (Credits Per Month): Your absolute monthly credit allocation ceiling.

Cost Tiers Strategy:Minimal (1–5)exists, health, raw, list, network statsLight (10)details, info, authorized, single pool lookup • Standard (25–50)balance, pools, proposals, block transactions, stats, candles, configHeavy (75–100)wallet history, swap route discovery, governance detailsExpensive (250–500)search (multi-entity parallel), graph (full snapshot)

Any endpoint not explicitly listed defaults to 10 credits per request. Use /auth/v1?request=getKeyUsageStats to monitor your usage.