Blockscout CelestiaService API

The CelestiaService API from Blockscout — 3 operation(s) for celestiaservice.

Operations 3

GET /api/v1/celestia/blob #
GET /api/v1/celestia/l2BatchMetadata #
GET /health If the requested service is unknown, the call will fail with status NOT_FOUND. #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/blockscout-celestiaservice-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

blockscout-celestiaservice-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: API for BlockScout web app
  version: 1.0.0
  title: BlockScout Addresses Celestia Service API
  contact:
    email: support@blockscout.com
  license:
    name: Apache 2.0
    url: http://www.apache.org/licenses/LICENSE-2.0.html
servers:
- url: https://eth.blockscout.com/api/v2/
  description: Ethereum mainnet
- url: https://optimism.blockscout.com/api/v2/
  description: Optimism mainnet
- url: https://base.blockscout.com/api/v2/
  description: Base mainnet
- url: https://eth-sepolia.blockscout.com/api/v2/
  description: Ethereum testnet
tags:
- name: CelestiaService
paths:
  /api/v1/celestia/blob:
    get:
      operationId: CelestiaService_GetBlob
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/v1CelestiaBlob'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/rpcStatus'
      parameters:
      - name: height
        in: query
        required: false
        schema:
          type: string
          format: uint64
      - name: commitment
        in: query
        required: false
        schema:
          type: string
      - name: skipData
        in: query
        required: false
        schema:
          type: boolean
      tags:
      - CelestiaService
  /api/v1/celestia/l2BatchMetadata:
    get:
      operationId: CelestiaService_GetL2BatchMetadata
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/v1CelestiaL2BatchMetadata'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/rpcStatus'
      parameters:
      - name: height
        in: query
        required: false
        schema:
          type: string
          format: uint64
      - name: namespace
        in: query
        required: false
        schema:
          type: string
      - name: commitment
        in: query
        required: false
        schema:
          type: string
      tags:
      - CelestiaService
  /health:
    get:
      summary: 'If the requested service is unknown, the call will fail with status

        NOT_FOUND.'
      operationId: Health_Check
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/v1HealthCheckResponse'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/rpcStatus'
      parameters:
      - name: service
        in: query
        required: false
        schema:
          type: string
      tags:
      - CelestiaService
components:
  schemas:
    v1CelestiaBlob:
      type: object
      properties:
        height:
          type: string
          format: uint64
        namespace:
          type: string
        commitment:
          type: string
        timestamp:
          type: string
          format: uint64
        size:
          type: string
          format: uint64
        data:
          type: string
    v1HealthCheckResponse:
      type: object
      properties:
        status:
          $ref: '#/components/schemas/HealthCheckResponseServingStatus'
    HealthCheckResponseServingStatus:
      type: string
      enum:
      - UNKNOWN
      - SERVING
      - NOT_SERVING
      - SERVICE_UNKNOWN
      default: UNKNOWN
      description: ' - SERVICE_UNKNOWN: Used only by the Watch method.'
    v1CelestiaBlobId:
      type: object
      properties:
        height:
          type: string
          format: uint64
        namespace:
          type: string
        commitment:
          type: string
    rpcStatus:
      type: object
      properties:
        code:
          type: integer
          format: int32
        message:
          type: string
        details:
          type: array
          items:
            type: object
            $ref: '#/components/schemas/protobufAny'
    protobufAny:
      type: object
      properties:
        '@type':
          type: string
      additionalProperties: {}
    v1CelestiaL2BatchMetadata:
      type: object
      properties:
        l2ChainId:
          type: integer
          format: int64
        l2BatchId:
          type: string
        l2StartBlock:
          type: string
          format: uint64
        l2EndBlock:
          type: string
          format: uint64
        l2BatchTxCount:
          type: integer
          format: int64
        l2BlockscoutUrl:
          type: string
        l1TxHash:
          type: string
        l1TxTimestamp:
          type: string
          format: uint64
        l1ChainId:
          type: integer
          format: int64
        relatedBlobs:
          type: array
          items:
            type: object
            $ref: '#/components/schemas/v1CelestiaBlobId'