# Blockscout — List batches.

List Blockscout Arbitrum-family batches 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 batch number, reported block count, reported transaction count, commitment transaction hash, and reported commitment-transaction status for batch explorer views, and rollup investigation, ready for production pipelines and AI agent automation.

Documentation: https://openany.si/blockscout/blockscout-list-batches-a394177d/98c24539-1a01-4c40-ae14-8dc4dfc71298/
API ID: 98c24539-1a01-4c40-ae14-8dc4dfc71298
Provider: blockscout
Contract revision: 4
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/blockscout/{chain_id}/api/v2/arbitrum/batches
Page update time: 2026-12-03T02:49:19.536Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: none
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0 / call
The published contract currently has no usage charge. Authentication and service limits still apply.
Price source: OpenAny public API contract.
Contract update time: 2026-12-03T02:49:18.839Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "fixed",
  "priceMicroUsd": "0",
  "rounding": null,
  "unit": "call",
  "unitQuantity": null
}
```

## Usage and limits
## Blockscout Arbitrum Batches API

Supply chain\_id on arbitrum/batches. batch\_numbers is an optional array of integers for specific batches; number and items\_count provide paging inputs. Returned items include batch counts and commitment-transaction context.

## What You Can Build

- **Batch explorer views**: Display the route-specific batch identity and returned references.
- **Rollup investigation**: Keep chain context and continuation state with each result page.

## Documented Response Fields

| Field | Meaning |
| --- | --- |
| `items[].number` | Batch number |
| `items[].blocks_count` | Reported block count |
| `items[].transactions_count` | Reported transaction count |
| `items[].commitment_transaction.hash` | Commitment transaction hash |
| `items[].commitment_transaction.status` | Reported commitment-transaction status |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Blockscout — List batches. request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {
        "chain_id": {
          "type": "string",
          "description": "The ID of the blockchain"
        }
      },
      "required": [
        "chain_id"
      ]
    },
    "query": {
      "type": "object",
      "properties": {
        "batch_numbers": {
          "type": "array",
          "description": "Optional list of specific batch numbers to retrieve.",
          "items": {
            "type": "integer"
          }
        },
        "items_count": {
          "type": "integer",
          "description": "Number of items per page",
          "minimum": 1
        },
        "number": {
          "type": "integer",
          "description": "Number for paging"
        }
      }
    },
    "headers": {
      "type": "object",
      "properties": {}
    }
  },
  "required": [
    "path",
    "query",
    "headers"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "batch_data_container": {
            "type": "string"
          },
          "blocks_count": {
            "type": "integer"
          },
          "commitment_transaction": {
            "type": "object",
            "properties": {
              "block_number": {
                "type": "integer"
              },
              "hash": {
                "type": "string"
              },
              "status": {
                "type": "string"
              },
              "timestamp": {
                "type": "string"
              }
            }
          },
          "number": {
            "type": "integer"
          },
          "transactions_count": {
            "type": "integer"
          }
        }
      }
    },
    "next_page_params": {
      "type": "object",
      "properties": {
        "number": {
          "type": "integer"
        }
      }
    }
  }
}
```

## Request example
Scenario: Schema template · Schema template (not executed)
```bash
curl \
  'https://api.openany.si/v1/agent-apis/blockscout/%3Cchain_id%3E/api/v2/arbitrum/batches' \
  -X GET \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json'
```

## Response example
Response illustration only. Placeholder values and unknown business fields are not recorded API results. Replace request placeholders before use.
Response template · not a real response · Documented HTTP 200
```json
{
  "items": [
    {
      "batch_data_container": "in_blob4844",
      "blocks_count": 0,
      "commitment_transaction": {
        "block_number": 0,
        "hash": "<hash>",
        "status": "unfinalized",
        "timestamp": "<timestamp>"
      },
      "number": 0,
      "transactions_count": 0
    }
  ],
  "next_page_params": {
    "number": 123
  }
}
```

## Error handling
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

## Common questions
### What is the type of batch_numbers?
It is an array of integers. In a curl query, repeat batch_numbers for each integer value.

### Is number a page number?
It is the route’s number continuation input. Follow returned continuation context rather than substituting an arbitrary page counter.

### Does this expose a date-range filter?
No. The selected implementation exposes batch selection and paging inputs only.

### Does a committed batch imply a finalized commitment?
Inspect commitment_transaction.status and preserve states such as unfinalized.

### Which API key should I use?
Use your OpenAny API key as Bearer authentication on the documented OpenAny route.

### Where can I check the current request price?
Check the pricing area for the selected implementation. Follow its billing unit and any request-dependent rules before sending the request.

## Available implementations
- blockscout: https://openany.si/blockscout/blockscout-list-batches-a394177d/98c24539-1a01-4c40-ae14-8dc4dfc71298/

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
