Api Endpoint

Block By Timestamp

Nearest Ethereum block number to a given Unix timestamp, from Etherscan's V2 API -- anchors a point in time to a specific block for historical on-chain lookups (e.g. state as of a given date). Not address-specific. $0.01/call.

Open interactive test console

Offering

Provider
www.x402financialdata.com
Method
GET
Offering type
Api Endpoint
Transport type
http
Category
Blockchain And Crypto
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://www.x402financialdata.com/block-by-timestamp
MIME type
application/json
First seen
2026-10-16T01:59:37.852Z
Last seen
Tags
Onchain, Ethereum, Block, historical

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.01 USDC
Atomic price: 10000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Payment option 2
0.01 USDC
Atomic price: 10000 · Network: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "10000",
    "payTo": "0xe4181c7de066959bcca010525304ba68a84768e0"
  },
  {
    "scheme": "exact",
    "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
    "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "amount": "10000",
    "payTo": "GJ1fu5pi1WaMHWy9nR1Fh67FEtrWXKrY2Ud6fdGbq33b"
  }
]

Observed health

Status
Healthy
Latest latency
53 ms
Average latency
51 ms
HTTP status
402
Last checked
Reachability
100% over 14 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "const": "http"
    },
    "method": {
      "type": "string",
      "enum": [
        "GET",
        "HEAD",
        "DELETE"
      ]
    },
    "queryParams": {
      "type": "object",
      "properties": {
        "chain": {
          "type": "string",
          "enum": [
            "eth"
          ],
          "description": "Which chain to query. Only 'eth' is supported right now."
        },
        "timestamp": {
          "type": "integer",
          "description": "Unix timestamp (seconds)."
        },
        "closest": {
          "type": "string",
          "enum": [
            "before",
            "after"
          ],
          "description": "Return the closest block before or after the timestamp, default 'before'."
        }
      },
      "required": [
        "timestamp"
      ]
    }
  },
  "required": [
    "type",
    "method"
  ],
  "additionalProperties": false
}

Output schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string"
    },
    "example": {
      "type": "object"
    }
  },
  "required": [
    "type"
  ]
}