Blocks by Timestamp
Fetches the first block before or after a given timestamp. Returns the block’s number and on-chain timestamp.
Authentication
Authorizationstring
An API key that will be supplied in a named header.
Path parameters
apiKey
For higher throughput, [create your own API key](https://dashboard.alchemy.com/signup)
Query parameters
networks
Array of networks to query on. The response will be an array with one block per network. Find network enums [here](https://dashboard.alchemy.com/chains)
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