ENS Indexer API

API Documentation

Home

Public API for querying ENS domain data from the distributed ENSIndexer network. All endpoints return JSON. No authentication required.

https://ensindexer.com/api
CORS is enabled for all /api endpoints. You can call these from any origin.
GET /api/stats

Get indexer statistics including block progress, domain counts, event counts, and sync status.

Example Response

{
  "name": "indexer-1",
  "blocks": {
    "chainHead": 21500000,
    "fetched": 21499950,
    "processed": 21499900
  },
  "services": {
    "fetcher": { "running": true, "synced": true },
    "processor": { "running": true, "synced": true },
    "addressProcessor": { "running": true }
  },
  "queues": {
    "domainsPending": 0,
    "domainsReady": 0,
    "eventsPending": 12,
    "eventsPendingNamehashes": 5,
    "eventsDirect": 3,
    "cachedMappings": 1500
  },
  "addressProcessor": {
    "addressCount": 245000,
    "eventsRemaining": 0,
    "lastEventId": 8500000
  }
}
GET /api/pending-stats

Get count of pending (unhashed) domains awaiting label resolution.

Example Response

{
  "pendingCount": 1234
}