{"uid":"cap_aaxvie_v7zBPh4oEGU8ni","slug":"blockscout-transaction-stats-api-19826bf1","name":"Blockscout Transaction Stats API","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/transactions","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":{"transactions_24h":{"id":"string","title":"string","units":"string","value":"string","description":"string"},"transactions_fee_24h":{"id":"string","title":"string","units":"string","value":"string","description":"string"},"pending_transactions_30m":{"id":"string","title":"string","units":"string","value":"string","description":"string"},"average_transactions_fee_24h":{"id":"string","title":"string","units":"string","value":"string","description":"string"},"operational_transactions_24h":{"id":"string","title":"string","units":"string","value":"string","description":"string"},"total_zetachain_cross_chain_txns":{"id":"string","title":"string","units":"string","value":"string","description":"string"},"new_zetachain_cross_chain_txns_24h":{"id":"string","title":"string","units":"string","value":"string","description":"string"},"pending_zetachain_cross_chain_txns":{"id":"string","title":"string","units":"string","value":"string","description":"string"},"op_stack_operational_transactions_24h":{"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_kRBVOgnWrpG2B4u1OjU5R","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 transaction statistics for a specific blockchain network, including 24h transaction counts, fees, pending transactions, and cross-chain metrics","exampleAgentPrompt":"Pull the latest transaction stats for Ethereum from Blockscout — I want to see the 24-hour transaction count, average fees, and how many transactions are currently pending.","exampleUseCases":[{"title":"Monitor network congestion in real time","prompt":"Check Blockscout's transaction stats for Polygon right now — how many transactions went through in the last 24 hours and how many are still pending?"},{"title":"Track daily transaction fees for cost analysis","prompt":"What were the total and average transaction fees on Optimism over the last 24 hours according to Blockscout's stats service?"},{"title":"Audit ZetaChain cross-chain activity","prompt":"Give me a breakdown of ZetaChain cross-chain transaction activity from Blockscout — total cross-chain txns, new ones in the last 24 hours, and how many are still pending."}],"resultDescription":"A JSON object containing labeled stat blocks for the requested chain, each with an id, title, units, value, and description. Fields include 24h transaction count, 24h total fees, pending transactions (30-minute window), average fee in 24h, operational transactions, and (where applicable) ZetaChain-specific cross-chain metrics and OP Stack operational transaction counts.","failureModes":["Invalid or unsupported chain_id returns an error or empty response","Payment not attached results in 402 Payment Required","Rate limiting may cause 429 Too Many Requests","Some chain-specific fields (e.g. ZetaChain cross-chain metrics) return null or are absent for chains that don't support them","Network timeouts if the upstream chain data is slow to index"],"whenToPreferThis":"Choose this endpoint when you need aggregate transaction-level statistics for a specific blockchain network (e.g. counts, fees, pending queue) rather than individual transaction details. It is especially useful for dashboards, alerting systems, or agent workflows that monitor chain health or activity levels. For individual transaction lookup or address/token searches, use the broader Blockscout search endpoints instead.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-12T12:30:02.717Z","isFirstParty":false}