Blocks by Timestamp
Fetches the first block before or after a given timestamp. Returns the block’s number and on-chain timestamp.
Path parameters
apiKey
For higher throughput, create your own API key
Headers
Authorization
Query parameters
networks
<style> .custom-style { color: #048FF4; } </style> Array of networks to query on. The response will be an array with one block per network. Find network enums <span class=“custom-style”><a href=“https://dashboard.alchemy.com/chains” target=“_blank”>here</a></span>
timestamp
Unix or ISO timestamp
direction
Return the first block “BEFORE” or “AFTER” the provided timestamp
Allowed values:
Response
Successful response
data
List of blocks