Api Endpoint

Block Header (timestamp, congestion, base fee)

The full header of any block — timestamp and age, transaction count, gas used vs limit with a utilization ratio and a congested flag, base fee in gwei, miner and parent hash — via eth_getBlockByNumber, across Base, Ethereum, Optimism, Arbitrum, Polygon, Gnosis. /chain/block-number tells an agent WHERE the chain is; this tells it WHEN that block happened and how contested it was, which is the read indexers use to timestamp events and traders use to decide whether to send now. Accepts a height or

Open interactive test console

Offering

Provider
x402-agent-store.rileycraig14.workers.dev
Method
GET
Offering type
Api Endpoint
Transport type
http
Category
Api
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://x402-agent-store.rileycraig14.workers.dev/chain/block
MIME type
Not provided
First seen
2026-10-16T02:54:53.696Z
Last seen
Tags
Onchain, RPC, Block, header, timestamp, base-fee, congestion, indexing, settlement, data-feed, Crypto, Search, Trading, Utility

Payment pricing

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

Payment option 1
0.005 USDC
Atomic price: 5000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Payment option 2
0.005 USDC
Atomic price: 5000 · Network: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "5000",
    "payTo": "0xc91cE6291eDC0713ec753BAFBA002506ffb2b95c"
  },
  {
    "scheme": "exact",
    "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
    "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "amount": "5000",
    "payTo": "2147pBT4LxoszjvLeGRxyVzpRnMi986VH3FAoprSs8Ez"
  }
]

Observed health

Status
Healthy
Latest latency
367 ms
Average latency
1033 ms
HTTP status
402
Last checked
Reachability
100% over 13 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"
      ]
    },
    "queryParams": {
      "type": "object",
      "properties": {
        "number": {
          "type": "string",
          "description": "Block height (decimal or 0x hex) or latest|finalized|safe|earliest (default latest)"
        },
        "chain": {
          "type": "string",
          "description": "base|ethereum|optimism|arbitrum|polygon|gnosis (default base)"
        }
      }
    }
  },
  "required": [
    "type",
    "method"
  ],
  "additionalProperties": false
}

Output schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string"
    },
    "example": {
      "type": "object",
      "properties": {
        "timestamp": {
          "type": "number"
        },
        "tx_count": {
          "type": "number"
        },
        "utilization": {
          "type": "number"
        },
        "base_fee_gwei": {
          "type": "number"
        },
        "congested": {
          "type": "boolean"
        }
      }
    }
  },
  "required": [
    "type"
  ]
}