{"data":{"billing":{"currency":"USD","mode":"fixed","priceMicroUsd":"0","rounding":null,"unit":"call","unitQuantity":null},"capabilityId":"1bbe1e33-8a96-4598-903d-6796435c5bbf","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":"Get the Blockscout Arbitrum-family batch count 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 root numeric batch count for rollup overview counters, and batch navigation context, ready for production pipelines and AI agent automation using a single OpenAny API key.","descriptionTranslations":{"ar":"استرجع عدد دفعات عائلة Arbitrum المبلغ عنه عبر OpenAny REST بمعرف السلسلة، كقيمة مفردة لعدادات نظرة Rollup وسياق قوائم الدفعات في المستكشف. استخدم البيانات في واجهات المستكشف أو أدوات فحص السلسلة، مع الاحتفاظ بمعرفات السلسلة والموارد عند دمج النتائج، وراجع قوالب الطلبات والمدخلات المدعومة وتسعير التنفيذ المحدد في صفحة التفاصيل.","ja":"OpenAny REST にチェーン ID を渡して Arbitrum 系バッチ数のスカラー値を取得し、Rollup 概要やバッチ一覧の補足に利用できます。 返されたデータをエクスプローラー画面やチェーン調査ツールで利用できます。結果を結合する際はチェーンとリソースの識別子を保持し、詳細ページのリクエスト例、対応入力、選択した実装の料金を確認してください。","zh":"通过 OpenAny REST 使用链 ID 查询 Arbitrum 系批次计数，读取标量结果，用于浏览器应用的 Rollup 总览计数及批次列表上下文。 可将返回数据用于浏览器界面或链上调查工具，合并结果时保留链与资源标识符；详情页提供请求模板、支持的输入及所选实现的价格。"},"effectContentHtml":"","executionMode":"sync","id":"531d88e9-4746-41ff-acf2-2b970a4a282a","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 — Get batches count.","nameTranslations":{"ar":"Blockscout — الحصول على عدد الدفعات.","ja":"Blockscout — バッチ数を取得。","zh":"Blockscout — 获取批次数。"},"overviewHtml":"\u003ch2\u003eBlockscout Arbitrum Batch Count API\u003c/h2\u003e\n\u003cp\u003eSupply chain_id to arbitrum/batches/count. The response is a root numeric value. This aggregate count is separate from the latest batch number and from a list of individual batches.\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 — Get batches count.\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\u003eRollup overview counters\u003c/strong\u003e: Show the reported number of batches.\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003eBatch navigation context\u003c/strong\u003e: Keep aggregate counts separate from batch identifiers.\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\u003e$\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eRoot numeric batch count\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/arbitrum/batches/count\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 response example is a schema template, not a captured response. Set the named path variables for your target chain and resource before using the request template; read actual returned values and optional fields from the result.\u003c/p\u003e\n\u003cp\u003e\u003ca href=\"https://openany.si/api/v1/agent-apis/531d88e9-4746-41ff-acf2-2b970a4a282a\"\u003ePublished Blockscout Arbitrum Batch Count 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\u003eDoes the response contain an items array?\u003c/h3\u003e\n\u003cp\u003eNo. The documented response is a root number.\u003c/p\u003e\n\u003ch3\u003eIs the count the latest batch number?\u003c/h3\u003e\n\u003cp\u003eNo. Counts and identifiers are different measures; use the latest-number route for that resource.\u003c/p\u003e\n\u003ch3\u003eCan I filter this count by time range?\u003c/h3\u003e\n\u003cp\u003eThis selected implementation exposes chain_id only.\u003c/p\u003e\n\u003ch3\u003eDoes a count show that all batches are finalized?\u003c/h3\u003e\n\u003cp\u003eNo. Finality is not established by an aggregate batch count.\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-get-batch-by-celestia-blob-reference\"\u003eBlockscout — Get batch by Celestia blob reference.\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/blockscout/blockscout-get-batch-by-eigenda-data-hash\"\u003eBlockscout — Get batch by EigenDA data hash.\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/blockscout/blockscout-get-celo-epoch-details\"\u003eBlockscout — Get Celo epoch details.\u003c/a\u003e\u003c/li\u003e\n\u003c/ul\u003e\n","pagePath":"/markets/apis/blockscout/blockscout-get-batches-count?offering=531d88e9-4746-41ff-acf2-2b970a4a282a","providerId":"blockscout","publicPath":"/v1/agent-apis/blockscout/{chain_id}/api/v2/arbitrum/batches/count","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":0}],"seoDescription":"Get the Blockscout Arbitrum-family batch count via REST or MCP powered by Blockscout. Pay per call, no subscription. Ideal for rollup overview counters.","updatedAt":"2026-12-03T02:49:17.125Z","usageInstructionsHtml":""}}