the402 endpoint detail

← All endpoints

agent402.tools api action-gate

https://agent402.tools/api/action-gate

answers 402

Deterministic preflight check for a proposed AI agent action - a tool call, payment, fetch, or write - before it executes. Evaluates up to four independent checks (prompt-injection scan on action text/untrusted text, URL/hostname validation, a bounded JSON-schema check on a payload, and a spend proposal against a spend mandate) and returns ALLOW, REVIEW, or BLOCK with stable reason codes plus a SH

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

Re-check it yourself:
curl "https://api.the402.dev/validate?url=https%3A%2F%2Fagent402.tools%2Fapi%2Faction-gate"