the402 endpoint detail

← All endpoints

OneSource block height

https://api.onesource.io/api/chain/block-number

answers 402

Returns the current Ethereum block height.

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

Re-check it yourself:
curl "https://api.the402.dev/validate?url=https%3A%2F%2Fapi.onesource.io%2Fapi%2Fchain%2Fblock-number"