Skip to main content
GET
/
timestamps
/
{timestamp}
/
block
cURL
curl 'https://portal.sqd.dev/datasets/solana-mainnet/timestamps/1713053593/block'
{
  "block_number": 259984800
}

Path Parameters

timestamp
integer<int64>
default:1713053593
required

Unix timestamp in seconds.

Example:

1713053593

Response

Block number resolved.

block_number
integer<int64>
required

Number of the first block whose timestamp is greater than or equal to the requested timestamp.

Example:

18000000