# Arbitrum L2 Rollup Batch Data (Arbiscan)

> Arbitrum L2 Rollup Batch Data (Arbiscan) is a paid API for AI agents from api.chainmarket-api.workers.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-25).

Fetches the latest Arbitrum One L2 rollup batch submissions to Ethereum L1, including blob fees, gas usage, and batch metadata.

## Facts

- Endpoint: GET https://api.chainmarket-api.workers.dev/api/crypto/arbiscan-l2-rollup?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-25
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/arbitrum-l2-rollup-batch-data-arbiscan-ad0bcaab
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_bP0eGx2lzF6tuo23AgPM0

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability arbitrum-l2-rollup-batch-data-arbiscan-ad0bcaab
```

Example prompt: Can you pull the last 5 Arbitrum One rollup batches posted to Ethereum L1 and show me the blob fees, execution fees, and gas prices for each?

## When to prefer this

Use this endpoint when you need real-time Arbitrum One rollup batch submission data from Ethereum L1, including granular cost breakdowns (blob fees vs execution fees) sourced from Etherscan/Arbiscan. It is ideal for cost monitoring, sequencer analytics, and L2 infrastructure research without requiring an API key or signup. Prefer this over generic Ethereum RPC calls when you specifically need parsed, aggregated Arbitrum rollup batch metadata.

## Known failure modes

- Invalid batches parameter (outside 1–10 range) may return an error or default
- Upstream Etherscan API unavailability causes data fetch failure
- Stale or delayed data if Etherscan indexing lags behind chain tip
- Payment failure results in no charge and no data returned

## How this service works

Arbitrum One rollup batch postings to Ethereum L1 and the L1 gas they incurred: the latest SequencerBatchDelivered events on the SequencerInbox with batch number, L1 block and time, data location (blob or calldata), poster, execution gas, blob gas, gas prices and fees in ETH, plus totals. Read from Ethereum mainnet via Etherscan API V2.

## Output

Returns a JSON object with the chain name, number of batches, source URL, per-batch details (batch number, tx hash, L1 block, poster, timestamp, data location, blob gas used, execution gas used, blob fee in ETH, execution fee in ETH, total L1 fee in ETH, gas price in Gwei, blob gas price in Gwei, delayed messages read), aggregated totals (blob fee, execution fee, total L1 fee in ETH), sequencer inbox address, L1 tip block, and the time the data was checked.

## Request schema (JSON Schema)

```json
{
 "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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [],
     "properties": {
      "batches": {
       "type": "string",
       "description": "How many latest batches, 1 to 10 (default 5)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "chain": "Arbitrum One",
  "count": 5,
  "source": "https://api.etherscan.io/v2/api",
  "totals": {
   "blobFeeEth": 0.000006205197,
   "totalL1FeeEth": 0.000056699813,
   "executionFeeEth": 0.000050494616
  },
  "batches": [
   {
    "time": "2026-10-23T09:35:23.000Z",
    "poster": "0xc1b634853cb333d3ad8663715b08f41a3aec47cc",
    "txHash": "0x018543a8833243a822cd1cb8a6f667d5926a954a8b46d0501e028af8b18a0c4a",
    "l1Block": 26254464,
    "blobFeeEth": 0.000001604790779904,
    "batchNumber": 1361983,
    "blobGasUsed": 393216,
    "dataLocation": "Blob",
    "gasPriceGwei": 0.064592,
    "totalL1FeeEth": 0.000013057824396756,
    "executionFeeEth": 0.000011453033616852,
    "blobGasPriceGwei": 0.004081,
    "executionGasUsed": 177314,
    "afterDelayedMessagesRead": 2600852
   },
   {
    "time": "2026-10-23T09:31:59.000Z",
    "poster": "0xc1b634853cb333d3ad8663715b08f41a3aec47cc",
    "txHash": "0x8dadbc56b6c7080562c7af5a630145670c6a04f208109fd05ceed9ee05e14fd3",
    "l1Block": 26254447,
    "blobFeeEth": 0.000001397445230592,
    "batchNumber": 1361982,
    "blobGasUsed": 393216,
    "dataLocation": "Blob",
    "gasPriceGwei": 0.077391,
    "totalL1FeeEth": 0.000014465732433948,
    "executionFeeEth": 0.000013068287203356,
    "blobGasPriceGwei": 0.003554,
    "executionGasUsed": 168861,
    "afterDelayedMessagesRead": 2600850
   }
  ],
  "checkedAt": "2026-10-23T09:36:00.580Z",
  "l1TipBlock": 26254466,
  "sequencerInbox": "0x1c479675ad559DC151F6Ec7ed3FbF8ceE79582B6"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/arbitrum-l2-rollup-batch-data-arbiscan-ad0bcaab/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.chainmarket-api.workers.dev](https://www.zero.xyz/host/api.chainmarket-api.workers.dev/llms.txt)
