Everything the site shows is available as JSON. No key, open CORS, cached for a few seconds.
Endpoints
- `GET /api/live`: the whole counter in one document.
- `GET /api/pulse`: the last seconds of Elysium, blocks per second.
- `GET /api/series`: time series for charts.
- `GET /api/probes`: every test transaction.
- `GET /api/status`: is the chain fine right now (503 when stalled).
- `GET /api/badge`: a live SVG badge.
Example
curl https://clockd.money/api/live
const live = await fetch("https://clockd.money/api/live").then(r => r.json());
console.log(live.blocks.m1.avgMs, "ms between blocks");Fair use
Please poll /api/live no more than every 5 seconds and /api/series no more than every minute. Responses are cached at the edge, so faster polling returns the same data.