v1
latestOpenAPI 3.1.02026-07-266641.0 KBBlock at Timestamp
Resolves a Unix timestamp (in seconds) to a block number. Returns the first block whose timestamp is greater than or equal to timestamp. Resolution prefers archival data and falls back to the real-time source when available; the x-sqd-data-source response header reports which source served the result (network or real_time).
get/timestamps/{timestamp}/block
Path parameters
timestampinteger required
Example:1768435200
Unix timestamp in seconds.
Response
Block number resolved.
Example response
{
"block_number": 79257136
}