Get block data for blocks in a range

Authorization required to use this endpoint

To get your API key, follow the instruction here.

The Get Block Range endpoint obtains data from the blocks specified in a range with block_numbers or timestamps. The following request will extract data for the blocks ranging from 1000 to 2000 on Avalanche C-Chain. Be sure to replace YOUR_API_KEY with your actual API key.

curl --request GET \
--url 'https://api.parsiq.net/tsunami/eip155-43114/v1/blocks?block_number_start=1000&block_number_end=2000' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY'

The request below demonstrates the range specified by the given timestamps on Ethereum Görli Testnet between June 10th, 2022, 0:00 GMT, and June 11th, 2022, 0:00 GMT. Be sure to replace YOUR_API_KEY with your actual API key.

curl --request GET \
--url 'https://api.parsiq.net/tsunami/eip155-5/v1/blocks?timestamp_start=1654819200&timestamp_end=1654905600' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY'
Language
Authorization
Bearer
JWT
Click Try It! to start a request and see the response here!