chainpeek: find the block at a point in time
get_block_at_timechainpeek: find the block at a point in time on Ethereum or Base. Input: chain (ethereum | base) and timestamp (Unix seconds, as an integer or digit string, or ISO 8601; no offset = UTC, flagged assumed_utc). Returns block (the last block at or before the time) and next_block {number, timestamp}, or is_latest: true when the time is at or after the head. A time before Base's genesis is a 422 before_genesis (not charged). A malformed or inconsistent node answer is a 5xx and is not charged. Typically 1-3 s (about 3-6 reads). Price: USD 0.003. Free: 10 chain reads per IP per UTC day (every chainpeek read, the sanctions screen and the single URL check share one pool).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | Yes | Chain to read. | |
| timestamp | Yes | Unix seconds or ISO 8601 (no offset = UTC), e.g. 2026-01-01T00:00:00Z. |