API referenceChain
Chain Activity
Last updated
Fetch daily network-activity aggregates (extrinsic/event/block counts, success rate, unique signers) over a 7d or 30d window, newest day first. Computed live from the first-party chain D1 tiers (#1987); schema-stable day_count:0/days:[] when the store is cold.
Query Parameters
window?string
Value in
- "7d"
- "30d"
format?string
Response format override. Use csv to download the daily activity series as text/csv; json (default) keeps the response envelope.
Value in
- "json"
- "csv"
Response Body
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/api/v1/chain/activity"{ "data": { "day_count": 1, "days": [ { "block_count": 5000000, "day": "2026-06-01", "event_count": 1, "extrinsic_count": 1, "success_rate": 0.5, "successful_extrinsics": 1, "unique_signers": 1 } ], "observed_at": "2026-06-01T00:00:00.000Z", "schema_version": 1, "window": "30d" }, "meta": { "artifact_path": "example", "cache": "short", "contract_version": "2026-06-29.1", "generated_at": "2026-06-01T00:00:00.000Z", "pagination": { "collection": "example", "cursor": 1, "limit": 1, "next_cursor": 1, "order": "asc", "returned": 1, "sort": "example", "total": 1 }, "published_at": "2026-06-01T00:00:00.000Z", "source": "live-cron-prober", "stale_contract": { "built_under": "example", "live": "example" } }, "ok": true, "schema_version": 1}