# Blockscout — Batch by celestia blob.

Find a Blockscout Optimism-family batch by Celestia height and commitment 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 transaction count, associated L1 transaction hashes, and reported batch-data container type for batch reference tools, and rollup investigation.

Documentation: https://openany.si/market/apis/blockscout/blockscout-batch-by-celestia-blob/?offering=40c31b16-1afe-4779-a592-b447c5088500
API ID: 40c31b16-1afe-4779-a592-b447c5088500
Provider: blockscout
Contract revision: 4
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/blockscout/{chain_id}/api/v2/optimism/batches/da/celestia/{height}/{commitment}
Page update time: 2026-12-03T02:49:15.988Z
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
API-key calls use your shared balance. Review the published billing rules before making a paid request.
Price source: OpenAny public API contract. Price update time: not supplied.
Contract update time: 2026-12-03T02:49:15.631Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "fixed",
  "priceMicroUsd": "0",
  "rounding": null,
  "unit": "call",
  "unitQuantity": null
}
```

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Blockscout — Batch by celestia blob. 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": {
        "height": {
          "type": "string",
          "description": "Celestia blob height in the path."
        },
        "commitment": {
          "type": "string",
          "description": "Celestia blob commitment in the path."
        },
        "chain_id": {
          "type": "string",
          "description": "The ID of the blockchain"
        }
      },
      "required": [
        "height",
        "commitment",
        "chain_id"
      ]
    },
    "query": {
      "type": "object",
      "properties": {}
    },
    "headers": {
      "type": "object",
      "properties": {}
    }
  },
  "required": [
    "path",
    "query",
    "headers"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "batch_data_container": {
      "type": "string"
    },
    "l1_timestamp": {
      "type": "string"
    },
    "l1_transaction_hashes": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "l2_end_block_number": {
      "type": "integer"
    },
    "l2_start_block_number": {
      "type": "integer"
    },
    "number": {
      "type": "integer"
    },
    "transactions_count": {
      "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/optimism/batches/da/celestia/%3Cheight%3E/%3Ccommitment%3E' \
  -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
{
  "batch_data_container": "in_blob4844",
  "l1_timestamp": "<l1_timestamp>",
  "l1_transaction_hashes": [
    "<l1_transaction_hashes>"
  ],
  "l2_end_block_number": 0,
  "l2_start_block_number": 0,
  "number": 0,
  "transactions_count": 0
}
```

## 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.

## Available implementations
- blockscout: https://openany.si/market/apis/blockscout/blockscout-batch-by-celestia-blob/?offering=40c31b16-1afe-4779-a592-b447c5088500

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