{"uid":"cap_jDVxdFZZxO3RKF44Kodth","slug":"blockscout-chain-stats-main-page-metrics-6be61399","name":"Blockscout Chain Stats - Main Page Metrics","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/pages/main","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":{"total_blocks":{"id":"string","title":"string","units":"string","value":"string","description":"string"},"total_addresses":{"id":"string","title":"string","units":"string","value":"string","description":"string"},"average_block_time":{"id":"string","title":"string","units":"string","value":"string","description":"string"},"total_transactions":{"id":"string","title":"string","units":"string","value":"string","description":"string"},"daily_new_transactions":{"info":{"id":"string","title":"string","units":"string","description":"string","resolutions":["string"]},"chart":[{"date":"string","value":"string","date_to":"string","is_approximate":true}]},"yesterday_transactions":{"id":"string","title":"string","units":"string","value":"string","description":"string"},"total_operational_transactions":{"id":"string","title":"string","units":"string","value":"string","description":"string"},"daily_new_operational_transactions":{"info":{"id":"string","title":"string","units":"string","description":"string","resolutions":["string"]},"chart":[{"date":"string","value":"string","date_to":"string","is_approximate":true}]},"yesterday_operational_transactions":{"id":"string","title":"string","units":"string","value":"string","description":"string"},"op_stack_total_operational_transactions":{"id":"string","title":"string","units":"string","value":"string","description":"string"},"op_stack_daily_new_operational_transactions":{"info":{"id":"string","title":"string","units":"string","description":"string","resolutions":["string"]},"chart":[{"date":"string","value":"string","date_to":"string","is_approximate":true}]},"op_stack_yesterday_operational_transactions":{"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_g8iYH08wdOOijORrmgzS5","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 blockchain statistics for a specific chain including total blocks, addresses, transactions, average block time, and daily transaction charts","exampleAgentPrompt":"Can you pull the main blockchain stats for the Base chain using Blockscout — I want to see total blocks, total transactions, average block time, and how many new transactions happened yesterday?","exampleUseCases":[{"title":"Monitor OP Stack chain activity","prompt":"Give me a summary of the current blockchain stats for Optimism using Blockscout — total transactions, daily new transactions, and the op_stack operational transaction counts."},{"title":"Compare network health across chains","prompt":"Pull the main stats page data from Blockscout for Ethereum mainnet so I can see total addresses, average block time, and total blocks mined."},{"title":"Track daily transaction trends","prompt":"I want to see the daily new transaction chart data for the Gnosis chain on Blockscout — fetch the main page stats so I can track how transaction volume has been changing."}],"resultDescription":"A JSON object containing labeled stat cards (id, title, units, value, description) for total blocks, total addresses, average block time, total transactions, yesterday's transactions, and operational transactions, plus time-series chart arrays for daily new transactions (with date, value, date_to, and is_approximate fields). OP Stack chains also include op_stack-prefixed variants of operational transaction metrics.","failureModes":["Invalid or unsupported chain_id returns an error or empty response","Chain ID not recognized by Blockscout returns 404 or empty data","Stats service temporarily unavailable returns 5xx","Some chart data points marked as is_approximate=true when real-time data is incomplete","OP Stack fields absent for non-OP Stack chains"],"whenToPreferThis":"Use this endpoint when you need a high-level summary of blockchain health and activity for a specific chain indexed by Blockscout — particularly when you want aggregate counters (blocks, addresses, transactions) plus a daily transaction chart in a single call. Prefer this over transaction-specific or address-specific endpoints when the goal is a dashboard-style overview rather than granular on-chain data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-10T06:30:33.724Z","isFirstParty":false}