get https://api.parsiq.net/tsunami///blocks
Get block data for blocks in a range.
Authorization is required to use this endpoint
To get your API key follow the instructions HERE.
This will retrieve the data from the blocks specified in the range (Block numbers or timestamps)
Examples
Here's a request for block headers between blocks 1000 and 2000 on Avalanche Mainnet
curl --request GET \
--url 'https://api.parsiq.net/tsunami/eip155-43114/v1/blocks?block_number_start=1000&block_number_end=2000' \
--header 'Authorization: Bearer YOUR_API_KEY'
Range specified by timestamps on Ethereum Görli testnet between 10 Jun 2022 0:00 GMT and 11 Jun 2022 0:00 GMT
curl --request GET \
--url 'https://api.parsiq.net/tsunami/eip155-5/v1/blocks?timestamp_start=1654819200×tamp_end=1654905600' \
--header 'Authorization: Bearer YOUR_API_KEY'