{"uid":"cap_kyvmo76FKNxGdSenU4_wL","slug":"blockscout-chain-stats-counters-c403cf1f","name":"Blockscout Chain Stats Counters","description":"Explore crypto activities with Blockscout's multichain search. Find transactions, addresses, tokens, and dapps across top blockchain networks — your go-to explorer for cross-chain blockchain data","url":"https://api.blockscout.com/%7Bchain_id%7D/stats-service/api/v1/counters","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"pathParams":{"type":"object","properties":{"chain_id":{"type":"string"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"counters":[{"id":"string","title":"string","units":"string","value":"string","description":"string"}]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_becAdV0SeIJNJPPu9CmQU","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns aggregate statistical counters (transaction counts, address counts, token counts, etc.) for a specified blockchain network via Blockscout's stats service","exampleAgentPrompt":"Pull the aggregate stats counters for Ethereum from Blockscout — I want to see the total number of transactions, addresses, and any other network-level counts available for that chain.","exampleUseCases":[{"title":"Dashboard of chain-wide blockchain metrics","prompt":"Show me all the statistical counters Blockscout has for the Base network — total transactions, total addresses, blocks, whatever aggregate numbers they track."},{"title":"Comparing activity across multiple chains","prompt":"I want to compare how many total transactions have occurred on Ethereum versus Optimism — can you pull the Blockscout stats counters for both chains so I can see the numbers side by side?"},{"title":"Monitoring growth of a specific network","prompt":"Fetch the current aggregate counters for the Polygon chain from Blockscout — I'm tracking how the total address count and transaction count are growing over time."}],"resultDescription":"Returns a JSON array of counter objects for the specified chain, each containing an id, title, units, current value (as a string), and a human-readable description of what the counter measures (e.g. total transactions, total blocks, total addresses, total tokens).","failureModes":["Invalid or unsupported chain_id returns an error or empty counters array","Chain not indexed by Blockscout returns 404 or empty response","Temporary stats service downtime returns 5xx error","Missing chain_id path parameter causes request routing failure","Payment failure (402) if x402 payment is not provided or insufficient"],"whenToPreferThis":"Use this endpoint when you need high-level aggregate statistics (total counts) for an entire blockchain network rather than specific transaction or address details. Prefer this over transaction-lookup or address-lookup endpoints when the goal is network-wide metrics dashboards, chain health monitoring, or cross-chain comparison of activity levels. Ideal when you need a quick snapshot of how large or active a chain is.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-10T06:38:10.257Z","isFirstParty":false}