API reference / MetricsDesk API
MetricsDesk API
Daily XDC network metrics (blocks, transactions, active addresses, token activity) indexed from public RPC. latest.json is the newest snapshot; history.json has one row per UTC day with the definition of every field.
| Base path | https://feedplumb.com/analytics |
|---|---|
| Authentication | None |
| Limits | Read-only JSON. The indexer refreshes latest.json about every 5 minutes; check generatedAt and lagBlocks before relying on a value. |
| Health | /analytics/health · status page |
GET /analytics/health
Liveness and indexer progress: ok, checkpoint (last indexed block) and generatedAt (time of the last snapshot).
curl -s https://feedplumb.com/analytics/healthGET /analytics/health on this site
GET /analytics/api/latest.json
Newest snapshot: head, checkpoint, lagBlocks, today (partial UTC day), lastDay (last full UTC day), definitions and disclaimer. 404 until the first run finishes.
curl -s https://feedplumb.com/analytics/api/latest.json | jq '{generatedAt, checkpoint, lagBlocks, lastDay}'GET /analytics/api/latest.json on this site
GET /analytics/api/history.json
definitions plus days: one row per UTC day.
curl -s https://feedplumb.com/analytics/api/history.json | jq '.days[-1]'GET /analytics/api/history.json on this site
Errors
| Status | Meaning |
|---|---|
404 | no data yet: the indexer has not finished its first run |