# Blockscout Optimism Celestia DA Batch Lookup

> Blockscout Optimism Celestia DA Batch Lookup is a paid API for AI agents from api.blockscout.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-18).

Retrieves Optimism batch data anchored to Celestia data availability layer by Celestia block height and commitment hash on a specified chain

## Facts

- Endpoint: GET https://api.blockscout.com/%7Bchain_id%7D/api/v2/optimism/batches/da/celestia/%7Bheight%7D/%7Bcommitment%7D?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-18
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/blockscout-optimism-celestia-da-batch-lookup-51507d9e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_r16h47u14ZgN40WB4FLqH

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 blockscout-optimism-celestia-da-batch-lookup-51507d9e
```

Example prompt: Can you look up the Optimism DA batch on Celestia at block height 2841000 with commitment 0xabc123def456 for chain ID 10 using Blockscout?

## When to prefer this

Use this endpoint when you need to look up a specific Optimism rollup batch anchored to Celestia's data availability layer by its exact Celestia block height and blob commitment hash. Prefer this over generic block explorers when working with OP stack chains using Celestia DA and needing programmatic cross-chain batch verification.

## Known failure modes

- Invalid or non-existent chain_id returns 404 or empty result
- Unknown Celestia height returns no batch found error
- Malformed commitment hash causes 400 bad request
- Celestia block has no associated Optimism batch returns empty response
- Rate limiting or payment failure returns 402 or 429

## How this service works

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

## Output

Returns JSON data describing the Optimism batch anchored at the specified Celestia block height and commitment, including batch metadata, transaction references, and DA layer anchoring details.

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "pathParams": {
     "type": "object",
     "properties": {
      "height": {
       "type": "string"
      },
      "chain_id": {
       "type": "string"
      },
      "commitment": {
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {}
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/blockscout-optimism-celestia-da-batch-lookup-51507d9e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.blockscout.com](https://www.zero.xyz/host/api.blockscout.com/llms.txt)
