{"data":{"billing":{"currency":"USD","mode":"fixed","priceMicroUsd":"0","rounding":null,"unit":"call","unitQuantity":null},"capabilityId":"1a6fb31b-61ee-4311-a0f6-0e73f5e5751d","catalogType":"api","categories":["crypto-defi"],"dataPlatform":"blockscout","dataPlatformLogoUrl":"https://www.blockscout.com/favicon/apple-touch-icon-180x180.png","dataPlatformTranslations":{"ar":"blockscout","ja":"blockscout","zh":"blockscout"},"dataProduct":"explorer-rest","description":"Read Blockscout network statistics via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Blockscout, pass parameters such as Set, and retrieve structured data including reported total block count, reported total transaction count, reported total address count, and reported average block time for explorer overview, and observation dashboards.","descriptionTranslations":{"ar":"اقرأ إحصاءات شبكة لسلسلة واحدة عبر OpenAny REST، مع إجماليات الكتل والمعاملات والعناوين وسياق الشبكة والسوق لصفحات الملخص والمقارنة ولوحات المتابعة. استخدم البيانات في واجهات المستكشف أو أدوات فحص السلسلة، مع الاحتفاظ بمعرفات السلسلة والموارد عند دمج النتائج، وراجع قوالب الطلبات والمدخلات المدعومة وتسعير التنفيذ المحدد في صفحة التفاصيل.","ja":"OpenAny REST で単一チェーンの統計を取得し、ブロック、取引、アドレスの報告件数とネットワークや市場の情報を概要画面や監視に利用できます。 返されたデータをエクスプローラー画面やチェーン調査ツールで利用できます。結果を結合する際はチェーンとリソースの識別子を保持し、詳細ページのリクエスト例、対応入力、選択した実装の料金を確認してください。","zh":"通过 OpenAny REST 读取单条链的网络统计，将区块、交易和地址总数与网络及市场信息结合，用于浏览器概览、链对比界面与监测看板。 可将返回数据用于浏览器界面或链上调查工具，合并结果时保留链与资源标识符；详情页提供请求模板、支持的输入及所选实现的价格。"},"effectContentHtml":"","executionMode":"sync","id":"3d3daac2-6864-4ec4-9a6b-8af30c7851be","includedContentHtml":"","inputs":[{"description":"The ID of the blockchain","location":"path","name":"chain_id","nullable":false,"required":true,"type":"string"}],"logoUrl":"https://www.blockscout.com/favicon/apple-touch-icon-180x180.png","method":"GET","name":"Blockscout — Retrieve blockchain network statistics and metrics","nameTranslations":{"ar":"Blockscout — استرداد إحصاءات ومقاييس شبكة البلوكتشين","ja":"Blockscout — ブロックチェーンネットワークの統計と指標を取得","zh":"Blockscout — 检索区块链网络统计数据和指标"},"overviewHtml":"\u003ch2\u003eBlockscout Network Statistics API\u003c/h2\u003e\n\u003cp\u003eCall stats with chain_id to obtain a network-level JSON object. The provider response schema includes aggregate totals and network or market context. Preserve unavailable values separately from numeric zero, and retain the chain identity when comparing observations.\u003c/p\u003e\n\u003ch2\u003eQuick Facts\u003c/h2\u003e\n\u003ctable\u003e\n\u003cthead\u003e\n\u003ctr\u003e\n\u003cth\u003eFact\u003c/th\u003e\n\u003cth\u003eValue\u003c/th\u003e\n\u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd\u003eAccess\u003c/td\u003e\n\u003ctd\u003eOpenAny REST\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eAuthentication\u003c/td\u003e\n\u003ctd\u003eOpenAny API key in the Authorization header\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eCore inputs\u003c/td\u003e\n\u003ctd\u003epath: chain_id\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eSelected implementation\u003c/td\u003e\n\u003ctd\u003eblockscout · Blockscout — Retrieve blockchain network statistics and metrics\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eBilling\u003c/td\u003e\n\u003ctd\u003eSee the pricing area for the selected implementation and request options\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n\u003ch2\u003eWhat You Can Build\u003c/h2\u003e\n\u003cul\u003e\n\u003cli\u003e\u003cstrong\u003eExplorer overview\u003c/strong\u003e: Show aggregate network counts together.\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003eObservation dashboards\u003c/strong\u003e: Associate each fetched statistics object with its chain and observation time.\u003c/li\u003e\n\u003c/ul\u003e\n\u003ch2\u003eDocumented Response Fields\u003c/h2\u003e\n\u003ctable\u003e\n\u003cthead\u003e\n\u003ctr\u003e\n\u003cth\u003eField\u003c/th\u003e\n\u003cth\u003eMeaning\u003c/th\u003e\n\u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003etotal_blocks\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eReported total block count\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003etotal_transactions\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eReported total transaction count\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003etotal_addresses\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eReported total address count\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eaverage_block_time\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eReported average block time\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n\u003ch2\u003eQuick Start\u003c/h2\u003e\n\u003col\u003e\n\u003cli\u003eSet OPENANY_API_KEY to your OpenAny API key.\u003c/li\u003e\n\u003cli\u003eSet the path variables shown in the URL to your target values; URL-encode each path segment before calling.\u003c/li\u003e\n\u003cli\u003eCheck the HTTP response and business result before reading optional fields.\u003c/li\u003e\n\u003c/ol\u003e\n\u003cpre\u003e\u003ccode class=\"language-bash\"\u003ecurl --request GET --get \\\n  \u0026#34;https://api.openany.si/v1/agent-apis/blockscout/${CHAIN_ID_URI:?Set CHAIN_ID_URI}/api/v2/stats\u0026#34; \\\n  -H \u0026#34;Authorization: Bearer ${OPENANY_API_KEY}\u0026#34; \\\n  -H \u0026#39;Content-Type: application/json\u0026#39;\n\u003c/code\u003e\u003c/pre\u003e\n\u003ch2\u003eRequest and Response Examples\u003c/h2\u003e\n\u003cp\u003eThe saved response example is an empty schema template, not a captured result. The field table follows the provider’s published stats response schema; inspect the returned object for the metrics available on the selected chain.\u003c/p\u003e\n\u003cp\u003e\u003ca href=\"https://openany.si/api/v1/agent-apis/3d3daac2-6864-4ec4-9a6b-8af30c7851be\"\u003ePublished Blockscout Network Statistics API implementation contract\u003c/a\u003e.\u003c/p\u003e\n\u003ch2\u003ePricing and Billing\u003c/h2\u003e\n\u003cp\u003eThe pricing area reflects the selected API implementation. Review its billing unit and any request-dependent rules before calling; a source service\u0026#39;s public availability does not determine OpenAny billing.\u003c/p\u003e\n\u003ch2\u003eFrequently Asked Questions\u003c/h2\u003e\n\u003ch3\u003eCan I request a custom date range?\u003c/h3\u003e\n\u003cp\u003eThis selected stats route accepts chain_id only and exposes no date-range or interval query input.\u003c/p\u003e\n\u003ch3\u003eIs a missing metric the same as zero?\u003c/h3\u003e\n\u003cp\u003eNo. Preserve missing or null values separately from numeric zero. Availability can differ by chain.\u003c/p\u003e\n\u003ch3\u003eCan I use this as a historical time series?\u003c/h3\u003e\n\u003cp\u003eIt provides a network statistics response. Store observations with your own observation times or use a suitable chart endpoint for a time-series task.\u003c/p\u003e\n\u003ch3\u003eCan I query multiple chains in one request?\u003c/h3\u003e\n\u003cp\u003eNo. Make a separate request for each chain_id and retain the chain identifier with each result.\u003c/p\u003e\n\u003ch3\u003eWhich API key should I use?\u003c/h3\u003e\n\u003cp\u003eUse your OpenAny API key as Bearer authentication on the documented OpenAny route.\u003c/p\u003e\n\u003ch3\u003eWhere can I check the current request price?\u003c/h3\u003e\n\u003cp\u003eCheck the pricing area for the selected implementation. Follow its billing unit and any request-dependent rules before sending the request.\u003c/p\u003e\n\u003ch2\u003eRelated APIs\u003c/h2\u003e\n\u003cul\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/blockscout/blockscout-number-of-output-roots-in-the-list\"\u003eBlockscout — Number of output roots in the list.\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/blockscout/blockscout-number-of-shibarium-deposits\"\u003eBlockscout — Number of Shibarium deposits.\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/blockscout/blockscout-number-of-shibarium-withdrawals\"\u003eBlockscout — Number of Shibarium withdrawals.\u003c/a\u003e\u003c/li\u003e\n\u003c/ul\u003e\n","pagePath":"/markets/apis/blockscout/blockscout-retrieve-blockchain-network-statistics-and-metrics?offering=3d3daac2-6864-4ec4-9a6b-8af30c7851be","providerId":"blockscout","publicPath":"/v1/agent-apis/blockscout/{chain_id}/api/v2/stats","requestContentType":"none","revision":4,"samples":[{"http_status":200,"name":"Schema template · Schema template (not executed)","request":{"body":null,"headers":{},"path":{"chain_id":"\u003cchain_id\u003e"},"query":{}},"response_body":{}}],"seoDescription":"Read Blockscout network statistics via REST or MCP powered by Blockscout. Pay per call, no subscription. Built for explorer overview workflows.","updatedAt":"2026-12-03T02:49:22.538Z","usageInstructionsHtml":""}}