API Docs

Everything you need to list your chain on Blocktivity — the required JSON shape, audit endpoints, transaction-definition rules, and verification.

How it works

Blocktivity is designed to be self-sustaining. We ask each chain to own its data — to provide a stable API endpoint that counts its own transactions — rather than requiring Blocktivity to run chain-specific indexers. This means:

  • A chain can be listed with a single required endpoint (daily transaction count).
  • The chain controls its data accuracy and uptime.
  • Blocktivity publishes honest data-status labels rather than pretending to independently verify everything.

The more endpoints a chain provides, the higher the data-status it can achieve. But the minimum ask is intentionally low so that any chain can participate.

Required fields

A chain cannot be listed without all of these. Submit them via the Add Your Chain form.

FieldTypeNotes
namestring (1–60)Chain display name
symbolstring (1–12, ^[A-Za-z0-9]+$)Ticker; drives the coin URL (e.g. SOL → /coin/sol_0)
websiteURI (https)Official chain website
contactEmailemailListing correspondence; not shown publicly
txEndpointURI (https)Daily-Tx endpoint (see tx-endpoint shape below)
txDefinitionobject (7 fields)Full C-TXDEF disclosure — all 7 fields required

The tx-endpoint shape

The URL you provide in txEndpoint must return a JSON object. Required fields:

// Required
{
  "transactions":  1204887,                   // integer ≥ 0
  "period_start":  "2026-06-27T00:00:00Z",    // ISO 8601 UTC
  "period_end":    "2026-06-27T23:59:59Z",    // ISO 8601 UTC
  "updated_at":    "2026-06-27T14:15:00Z"     // must be within 24h of fetch time
}

// Optional but strongly recommended
{
  "chain":         "Solana",
  "chain_id":      "sol_0",
  "period":        "24h",
  "from_block":    290000000,
  "to_block":      290100000,
  "transaction_definition":         "successful user-submitted",
  "failed_transactions_included":   false,
  "system_transactions_included":   false
}
  • Blocktivity fetches this endpoint hourly. Ensure it is stable and returns within 10 seconds.
  • If updated_at is more than 24 hours old, the chain will be marked stale.
  • Additional fields in the response are ignored — additionalProperties is allowed.

Transaction-definition disclosure

All 7 fields of txDefinition are required. They are displayed on your coin page so visitors understand exactly what your number means. See Methodology → Transaction definition for the full field reference.

{
  "txDefinition": {
    "successful": "included",
    "failed":     "excluded",
    "system":     "excluded",
    "internal":   "n-a",
    "batched":    "individually",
    "rollup":     "n-a",
    "window":     "rolling-24h"
  }
}

Authenticity verification

Authenticity verification proves that the submission came from a legitimate party. It does not verify the truth of the transaction numbers. Five methods are accepted:

MethodHowDetails
dns-txtAdd a DNS TXT recordAdd blocktivity-verify=<token> to the chain's official domain
well-known-fileUpload a fileServe at https://yourdomain/.well-known/blocktivity.json
githubGitHub verificationCompleted from the official GitHub organisation
socialSocial postPost the verification code from the official X/Twitter account
explorerExplorer operatorOfficial block explorer operator verifies from the explorer domain

Authenticity verification is optional at submission time and can be completed asynchronously via the claim flow. Unverified submissions receive provisional status; verified submissions from official teams qualify for official-api status.

Test your endpoint

Paste your txEndpoint URL to check it against the required JSON shape before submitting.

Common errors

HTTPNameCause
400Validation errorMissing required fields, invalid types, or a txDefinition field is missing.
400Honeypot triggeredThe _confirm field in the payload was non-empty (bot protection).
429Rate limitedToo many submission attempts from the same IP.
500Internal errorServer error — try again; if persistent, contact us via the contact form.

Important

To appear accurately on Blocktivity, your chain must provide a stable transaction-activity endpoint. If your endpoint fails, your chain may be marked stale or removed from the active leaderboard until the issue is fixed.

Submit your chain →

Questions? Contact us or check the Methodology for data-status definitions.