the402 endpoint detail

← All endpoints

agent-api-testnet.tim1712.workers.dev evm contract-preflight

https://agent-api-testnet.tim1712.workers.dev/v1/evm/contract-preflight

answers 402

Inspect a Base smart-contract address before interacting with it. Returns deterministic bytecode hash/size, EIP-1967 implementation information, ERC-20 metadata when available, and the current chain head. Read-only and does not make safety or legitimacy claims.

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

Re-check it yourself:
curl "https://api.the402.dev/validate?url=https%3A%2F%2Fagent-api-testnet.tim1712.workers.dev%2Fv1%2Fevm%2Fcontract-preflight"