# GET /v4/block-timestamp/timestamp

_Merkl API_

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

### Query parameters

- `chainId` (number) _(required)_
- `blockNumber` (number) _(required)_

## Responses

- **200** Response for status 200

## Example request

```bash
curl -X GET "https://api.merkl.xyz//v4/block-timestamp/timestamp?chainId=<chainId>&blockNumber=<blockNumber>" \
  -H "x-api-key: YOUR_API_KEY"
```