the402 endpoint detail

← All endpoints

agent-commerce-factory-jm.austriaeast.cloudapp.azure.com onchain block

https://agent-commerce-factory-jm.austriaeast.cloudapp.azure.com/v1/onchain/block

answers 402

Fetch an EVM block (latest or by number). Given a chain and an optional block number returns block number, hash, parent hash, timestamp, transaction count, gas used/limit, base fee and miner. Omit the number for the current block height. For indexers, chain-tip monitoring, finality-tracking and block-explorer agents.

We sent a real POST request to this endpoint and it answered 402 with payment requirements we could parse.
Price
$0.001
Network
base
Pay to
0xCe339395d7f2ea5a5009022EF1C392Fb208a989E
Spec dialect
v2 (declares x402Version 2)
Transport
PAYMENT-REQUIRED header
HTTP method
POST
Response latency
455 ms
Payment options
1 usable of 1
Last checked
2026-09-06T01:13:12.750Z (2h ago)
Category
finance-crypto

Re-check it yourself:
curl "https://api.the402.dev/validate?url=https%3A%2F%2Fagent-commerce-factory-jm.austriaeast.cloudapp.azure.com%2Fv1%2Fonchain%2Fblock"