the402 endpoint detail

← All endpoints

agent-api-testnet.tim1712.workers.dev web resource-preflight

https://agent-api-testnet.tim1712.workers.dev/v1/web/resource-preflight

answers 402

Use before spending tokens, money or crawler capacity fetching an unfamiliar web resource. Resolves redirects (manually, bounded, re-validated per hop) and returns deterministic HTTP/resource facts — final URL, status, content type and length, response time, a bounded HTML title/canonical peek, and a lightweight generic-bot robots.txt indication — so an agent can decide whether a normal web fetch

We sent a real POST request to this endpoint and it answered 402 with payment requirements we could parse.
Price
$0.003
Network
base-sepolia
Pay to
0x5229384BD502D85aa7EcA0A31B515E5E48d3910F
Spec dialect
v2 (declares x402Version 2)
Transport
PAYMENT-REQUIRED header
HTTP method
POST
Response latency
251 ms
Payment options
1 usable of 1
Last checked
2026-09-06T01:12:39.179Z (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%2Fweb%2Fresource-preflight"