{"uid":"cap_PbNfZoavSwFLskehCSknY","slug":"blockscout-zksync-batch-list-api-3792d63b","name":"Blockscout ZKsync Batch List 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/api/v2/zksync/batches","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"}}},"queryParams":{"type":"object","properties":{"number":{"type":"integer"},"items_count":{"type":"integer"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"items":[{"number":0,"status":"string","timestamp":"string","transactions_count":0,"prove_transaction_hash":"string","commit_transaction_hash":"string","execute_transaction_hash":"string","prove_transaction_timestamp":"string","commit_transaction_timestamp":"string","execute_transaction_timestamp":"string"}],"next_page_params":{}}},"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_gtSJfQfMY_z9IL9G2K2Nx","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":"Retrieves a paginated list of ZKsync L2 batches with commit, prove, and execute transaction hashes and timestamps for a specified blockchain","exampleAgentPrompt":"Show me the latest ZKsync batches on chain ID 1101 — I want to see their batch numbers, statuses, and the commit and prove transaction hashes, paginated 25 at a time.","exampleUseCases":[{"title":"Audit ZKsync batch finality status","prompt":"Can you pull the most recent ZKsync batches on chain 1101 and tell me which ones have been committed, proven, and executed so I can verify finality?"},{"title":"Track batch transaction volume over time","prompt":"Fetch the last 50 ZKsync batches on chain 1101 and show me how many transactions are packed into each batch so I can see throughput trends."},{"title":"Retrieve specific ZKsync batch details","prompt":"Look up ZKsync batch number 12345 on chain 1101 and give me the commit, prove, and execute transaction hashes along with their timestamps."}],"resultDescription":"Returns a paginated JSON object containing an array of ZKsync batch records, each with batch number, status string, timestamp, transaction count, commit/prove/execute L1 transaction hashes and their respective timestamps. Also includes next_page_params for cursor-based pagination.","failureModes":["Invalid or unsupported chain_id returns an error or empty result","Non-existent batch number returns empty items array","Missing required path parameter chain_id causes a 404 or routing error","Rate limiting or payment failure (402) if x402 payment not provided","Network timeout on heavily loaded chains"],"whenToPreferThis":"Use this endpoint when you specifically need ZKsync L2 batch-level data — including commit, prove, and execute lifecycle hashes — for a chain hosted on Blockscout. Prefer this over generic transaction lookup endpoints when the goal is rollup batch auditing, finality verification, or throughput analysis at the batch level.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-12T00:58:41.448Z","isFirstParty":false}