---
title: "GET /v4/block-timestamp/block"
method: GET
path: "/v4/block-timestamp/block"
tags: ["Block Timestamp"]
---

# GET /v4/block-timestamp/block

`GET /v4/block-timestamp/block`

Get the closest block number to a given timestamp on a specific chain

## Query parameters

- `chainId` number, required — Chain ID
- `timestamp` number, required — Unix timestamp

## Response `200`

Response for status 200

- object
  - `blockNumber` number, required — Closest block number

---

[API](https://skmtc.dev/merkl/apis/merkl-api.md) · [All operations](https://skmtc.dev/merkl/apis/merkl-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/merkl/merkl-api/revisions/b7784c9a78b9/schema)
