> ## Documentation Index
> Fetch the complete documentation index at: https://docs.chainstack.com/llms.txt
> Use this file to discover all available pages before exploring further.

<AgentInstructions>

## Submitting Feedback

If you encounter incorrect, outdated, or confusing documentation on this page, submit feedback:

POST https://docs.chainstack.com/feedback

```json
{
  "path": "/reference/getblobsbyblockid",
  "feedback": "Description of the issue"
}
```

Only submit feedback when you have something specific and actionable to report.

</AgentInstructions>

# Retrieve blobs by block ID

The `/eth/v1/beacon/blobs/{block_id}` method retrieves information about blobs by block ID. This endpoint is crucial for accessing detailed data contained within blobs, including the slot, epoch, and the associated data. It enables developers and users to programmatically interact with and analyze the blob data associated with Ethereum's beacon chain, which is especially useful in the context of rollups and data-intensive operations.

<Check>
  **Get your own node endpoint today**

  [Start for free](https://console.chainstack.com/) and get your app to production levels immediately. No credit card required.

  You can sign up with your GitHub, X, Google, or Microsoft account.
</Check>

## Parameters

* `block_id` — the block identifier to retrieve blobs for. This can be one of the following:
  * `head` — the head of the chain
  * `genesis` — the genesis block
  * `finalized` — the most recent finalized block
  * A slot number
  * A hex-encoded block root with `0x` prefix

## Response

The response is an object containing the following fields:

* `data` — an array of blob objects, each containing:
  * `blob` — a hexadecimal string representing the actual blob data. This field provides the raw data that rollups or other Ethereum layer 2 solutions have submitted for inclusion in a block.
  * `index` — the index of the blob within the block
  * `kzg_commitment` — the KZG commitment for the blob
  * `kzg_proof` — the KZG proof for the blob
  * `signed_block_header` — the signed block header associated with the blob


## OpenAPI

````yaml /openapi/ethereum_beacon_chain_api/state/getBlobsByBlockId.json GET /0a9d79d93fb2f4a4b1e04695da2b77a7/eth/v1/beacon/blobs/{block_id}
openapi: 3.0.0
info:
  title: Ethereum Beacon Blobs API
  version: 1.0.0
servers:
  - url: https://beacon-nd-422-757-666.p2pify.com
security: []
paths:
  /0a9d79d93fb2f4a4b1e04695da2b77a7/eth/v1/beacon/blobs/{block_id}:
    get:
      summary: Get blobs by block_id
      operationId: getBlobsByBlockId
      parameters:
        - name: block_id
          in: path
          description: >-
            Block identifier, e.g., 'head', 'genesis', 'finalized', or a
            specific slot number.
          required: true
          schema:
            type: string
            default: head
      responses:
        '200':
          description: Blobs successfully retrieved
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BlobsResponse'
        '404':
          description: Block not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    BlobsResponse:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/BlobItem'
      required:
        - data
    Error:
      type: object
      properties:
        code:
          type: integer
          format: int32
        message:
          type: string
      required:
        - code
        - message
    BlobItem:
      type: object
      properties:
        index:
          type: string
        blob:
          type: string
        kzg_commitment:
          type: string
        kzg_proof:
          type: string
        signed_block_header:
          type: object
      required:
        - index
        - blob
        - kzg_commitment
        - kzg_proof

````