v1
latestOpenAPI 3.1.02026-07-24223580832.9 KBBlocks
Get a List of Block Identifiers
Returns a list of minimal block data, block headers such as block hash and block number.
get/{protocol}/{network}/block_identifiers
Path parameters
protocolstring required
Protocol handle, one of: avalanche, bitcoin, bitcoincash, dogecoin, ethereum,litecoin, optimism, polkadot, polygon, tezos.
networkstring required
Which network to target. Available networks can be found in the list of supported protocols or with /{protocol}.
Query parameters
order'desc' | 'asc'
The pagination order.
page_tokenstring
The token to retrieve more items in the next request. Use the next_page_token returned from the previous response for this parameter.
page_sizeinteger
Max number of items to return in a response. Defaults to 25 and is capped at 100.
Response
Block headers
Example response
{
"total": 25,
"data": [
{
"number": 8000000,
"id": "0x123456070D674D44a7F9cb4Ab272bd88fAd004b5",
"parent_id": "0xfcf029ffd36a6714aae09dcc7acbdd8f2b96327f",
"date": 1571222657,
"num_txs": 10
}
]
}