Blocks
Get block heights
Get all block heights within a particular date range.
GET
/
apechain
/
v1
/
blocks
/
{startDate}
/
{endDate}
curl --request GET \
--url https://data-api.cloud.ormi.dev/apechain/v1/blocks/{startDate}/{endDate}
{
"pagination": {
"page_number": 0,
"page_size": 2
},
"items": [
{
"extra_data": "0xb66f95dfcfeb9df71b3361d0292e36d75838ba89161d995a64b425e75ccbbc12",
"gas_limit": "1125899906842624",
"gas_used": "147396",
"hash": "0x7c652ae35d42eb420f64b77f53d02154eadd851cb6eb353d9bb65efe77734131",
"miner": "0xa4b000000000000000000073657175656e636572",
"number": 9194060,
"parent_hash": "0xc45cec050511f3146500fc4bdef5714718ea08517906941278c8aedfb1f6b9eb",
"timestamp": "2025-02-02T23:59:46Z"
},
{
"extra_data": "0xb66f95dfcfeb9df71b3361d0292e36d75838ba89161d995a64b425e75ccbbc12",
"gas_limit": "1125899906842624",
"gas_used": "361660",
"hash": "0xc45cec050511f3146500fc4bdef5714718ea08517906941278c8aedfb1f6b9eb",
"miner": "0xa4b000000000000000000073657175656e636572",
"number": 9194059,
"parent_hash": "0xdb1f669f3d9ea0d94f949e64aec64ea8021cb56745279988945fde5d93c7d8cb",
"timestamp": "2025-02-02T23:59:45Z"
}
]
}
Path Parameters
The start date in YYYY-MM-DD format.
The end date in YYYY-MM-DD format.
Query Parameters
Page number
Required range:
x >= 0
Page size
Required range:
1 <= x <= 100
Response
200 - application/json
OK
curl --request GET \
--url https://data-api.cloud.ormi.dev/apechain/v1/blocks/{startDate}/{endDate}
{
"pagination": {
"page_number": 0,
"page_size": 2
},
"items": [
{
"extra_data": "0xb66f95dfcfeb9df71b3361d0292e36d75838ba89161d995a64b425e75ccbbc12",
"gas_limit": "1125899906842624",
"gas_used": "147396",
"hash": "0x7c652ae35d42eb420f64b77f53d02154eadd851cb6eb353d9bb65efe77734131",
"miner": "0xa4b000000000000000000073657175656e636572",
"number": 9194060,
"parent_hash": "0xc45cec050511f3146500fc4bdef5714718ea08517906941278c8aedfb1f6b9eb",
"timestamp": "2025-02-02T23:59:46Z"
},
{
"extra_data": "0xb66f95dfcfeb9df71b3361d0292e36d75838ba89161d995a64b425e75ccbbc12",
"gas_limit": "1125899906842624",
"gas_used": "361660",
"hash": "0xc45cec050511f3146500fc4bdef5714718ea08517906941278c8aedfb1f6b9eb",
"miner": "0xa4b000000000000000000073657175656e636572",
"number": 9194059,
"parent_hash": "0xdb1f669f3d9ea0d94f949e64aec64ea8021cb56745279988945fde5d93c7d8cb",
"timestamp": "2025-02-02T23:59:45Z"
}
]
}