ToolAssay

Use when an agent must map a date or unix time to an on-chain block, e.g

Use when an agent must map a date or unix time to an on-chain block, e.g. before reading balances or logs at that moment: returns the last block whose timestamp is at or before the given time (binary search over RPC headers), with its timestamp and hash. Read-only, Ethereum (default) or Base.

Answeringour last check, 2026-12-02
2 of 2checks answered this week
350 msmedian answer time
$0.001listed price per call
$0.001price it asked us

Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.

Endpoint

GET https://api.zato.org/api/chain/block-by-time

CategoryMarket data
Provider hostapi.zato.org
Networkseip155:8453
Payment schemesexact
Self-reported calls, 30 days1 from 1 payers (the provider's figure, not ours)

Our checks, last 30 days

DayResultHTTPAskedTime
2026-12-02 valid payment request 402$0.001 356 ms
2026-12-01 valid payment request 402$0.001 345 ms

Example input (from the provider)

{
  "method": "GET",
  "queryParams": {
    "network": "ethereum",
    "timestamp": "1735689600"
  },
  "type": "http"
}

Promised output schema (from the provider)

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "method": {
          "enum": [
            "GET",
            "HEAD",
            "DELETE"
          ],
          "type": "string"
        },
        "queryParams": {
          "properties": {
            "network": {
              "description": "ethereum (default) or base",
              "type": "string"
            },
            "timestamp": {
              "description": "unix time in seconds, e.g. 1735689600",
              "type": "string"
            }
          },
          "required": [
            "timestamp"
          ],
          "type": "object"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method"
      ],
      "type": "object"
    },
    "output": {
      "properties": {
        "example": {
          "properties": {
            "data": {
              "properties": {
                "block_hash": {
                  "type": "string"
                },
                "block_number": {
                  "type": "integer"
                },
                "block_timestamp": {
                  "type": "integer"
                },
                "head_block": {
                  "type": "integer"
                },
                "network": {
                  "type": "string"
                },
                "requested_timestamp": {
                  "type": "integer"
                },
                "source": {
                  "type": "string"
                }
              },
              "type": "object"
            },
            "meta": {
              "type": "object"
            }
          },
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}

This page as JSON