Get blobs by block_id
curl --request GET \
--url https://ethereum-mainnet.core.chainstack.com/beacon/mt_c524ad9781ae5dccd9ac6f5b0370e/eth/v1/beacon/blobs/{block_id}import requests
url = "https://ethereum-mainnet.core.chainstack.com/beacon/mt_c524ad9781ae5dccd9ac6f5b0370e/eth/v1/beacon/blobs/{block_id}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://ethereum-mainnet.core.chainstack.com/beacon/mt_c524ad9781ae5dccd9ac6f5b0370e/eth/v1/beacon/blobs/{block_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://ethereum-mainnet.core.chainstack.com/beacon/mt_c524ad9781ae5dccd9ac6f5b0370e/eth/v1/beacon/blobs/{block_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://ethereum-mainnet.core.chainstack.com/beacon/mt_c524ad9781ae5dccd9ac6f5b0370e/eth/v1/beacon/blobs/{block_id}"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://ethereum-mainnet.core.chainstack.com/beacon/mt_c524ad9781ae5dccd9ac6f5b0370e/eth/v1/beacon/blobs/{block_id}")
.asString();require 'uri'
require 'net/http'
url = URI("https://ethereum-mainnet.core.chainstack.com/beacon/mt_c524ad9781ae5dccd9ac6f5b0370e/eth/v1/beacon/blobs/{block_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"execution_optimistic": true,
"finalized": true,
"data": [
"<string>"
]
}{
"code": 123,
"message": "<string>"
}{
"code": 123,
"message": "<string>"
}Ethereum Beacon Chain API
Retrieve blobs by block ID
The /eth/v1/beacon/blobs/ method retrieves information about blobs by block ID. Retrieve blobs by block ID on Chainstack via Chainstack.
GET
/
beacon
/
mt_c524ad9781ae5dccd9ac6f5b0370e
/
eth
/
v1
/
beacon
/
blobs
/
{block_id}
Get blobs by block_id
curl --request GET \
--url https://ethereum-mainnet.core.chainstack.com/beacon/mt_c524ad9781ae5dccd9ac6f5b0370e/eth/v1/beacon/blobs/{block_id}import requests
url = "https://ethereum-mainnet.core.chainstack.com/beacon/mt_c524ad9781ae5dccd9ac6f5b0370e/eth/v1/beacon/blobs/{block_id}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://ethereum-mainnet.core.chainstack.com/beacon/mt_c524ad9781ae5dccd9ac6f5b0370e/eth/v1/beacon/blobs/{block_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://ethereum-mainnet.core.chainstack.com/beacon/mt_c524ad9781ae5dccd9ac6f5b0370e/eth/v1/beacon/blobs/{block_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://ethereum-mainnet.core.chainstack.com/beacon/mt_c524ad9781ae5dccd9ac6f5b0370e/eth/v1/beacon/blobs/{block_id}"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://ethereum-mainnet.core.chainstack.com/beacon/mt_c524ad9781ae5dccd9ac6f5b0370e/eth/v1/beacon/blobs/{block_id}")
.asString();require 'uri'
require 'net/http'
url = URI("https://ethereum-mainnet.core.chainstack.com/beacon/mt_c524ad9781ae5dccd9ac6f5b0370e/eth/v1/beacon/blobs/{block_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"execution_optimistic": true,
"finalized": true,
"data": [
"<string>"
]
}{
"code": 123,
"message": "<string>"
}{
"code": 123,
"message": "<string>"
}The
/eth/v1/beacon/blobs/{block_id} method returns the blobs of a block on the consensus layer as hex strings, ordered the same as the KZG commitments in the block. To get only specific blobs, pass their blob versioned hashes in versioned_hashes. 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.
Get your own node endpoint todayStart for free and get your app to production levels immediately. No credit card required.You can sign up with your GitHub, X, Google, or Microsoft account.
Parameters
block_id— the block identifier to retrieve blobs for. This can be one of the following:head— the head of the chaingenesis— the genesis blockfinalized— the most recent finalized block- A slot number
- A hex-encoded block root with
0xprefix
versioned_hashes— optional; the blob versioned hashes of the blobs to return, as repeated query parameters. Without it, the method returns all blobs in the block.
Response
The response is an object containing the following fields:execution_optimistic— whether the response references an unverified execution payloadfinalized— whether the response references a finalized blockdata— an array of blobs, each a hex string of 131,072 bytes
Path Parameters
Query Parameters
Last modified on November 13, 2026
Was this page helpful?