the402 endpoint detail

← All endpoints

x402-echo-service.onrender.com chain code

https://x402-echo-service.onrender.com/chain/code

answers 402

Determine whether an address on Base is a contract or an externally owned account. POST {"address":"0x..."} and receive isContract, the bytecode size in bytes and its keccak-256 hash. Useful before sending funds to an unfamiliar address.

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
0x9Cc774A8eD49d89cBA1A288F4a050B8F7FbA77EE
Spec dialect
v2 (declares x402Version 2)
Transport
PAYMENT-REQUIRED header
HTTP method
POST
Response latency
60 ms
Payment options
1 usable of 1
Last checked
2026-09-06T01:12:43.930Z (20d ago)
Category
finance-crypto

Re-check it yourself:
curl "https://api.the402.dev/validate?url=https%3A%2F%2Fx402-echo-service.onrender.com%2Fchain%2Fcode"