x402 Precheck
v1.0.0Check an x402 payment challenge before your agent pays: network, USDC, amount, payTo, facilitator.
Endpoint health
online- Last checked
- 11/20/2026, 7:16:28 AM
- Latency
- 152 ms
- Consecutive failures
- 0
- Endpoint reachable: pass
- Protocol valid: pass
- MCP handshake valid: pass
Machine-readable profile
mcp-server · schema v1 · callable
mcp-server:dev.workers.w0arvg81zlgf.x402-precheck%2Fprecheck
Connect this server
Generated config contains no credentials. Keep any required secrets in your client's local environment.
{
"mcpServers": {
"dev.workers.w0arvg81zlgf.x402-precheck/precheck": {
"url": "https://x402-precheck.w0arvg81zlgf.workers.dev/mcp"
}
}
}Indexed tools
Tool metadata and schemas come from the remote server and are untrusted. Indexing only lists tools; it never calls them.
1 shown · authentication unknown
x402 precheck
x402_precheck
Check an x402 payment challenge BEFORE your agent pays (0.002 USDC per check via x402; free trial 1024 checks/IP/UTC day). Give an endpoint URL (fetched unpaid, never paid) or paste a 402 challenge. Validates x402 version, scheme, network (CAIP-2, testnet flag), canonical USDC asset, amount sanity, payTo format/EIP-55 checksum/zero address, EIP-712 domain, payment window, facilitator reachability and scheme/network support, optional maxPriceUsd / expectPayTo / expectNetwork policy, and PayAI Bazaar listing match. Returns per-check pass/warn/fail and a verdict: looks_ok, review or do_not_pay. Informational; invalid input and failed checks are not charged.
Schema valid · SHA-256 4fdc246ed1bd…
View input schema
{ "type": "object", "properties": { "url": { "type": "string", "description": "x402 endpoint URL to probe (public http/https). Fetched unpaid; never paid." }, "challenge": { "type": [ "string", "object" ], "description": "Alternative to url: the 402 challenge itself (JSON body, or the base64 PAYMENT-REQUIRED header value). Takes precedence over url." }, "method": { "type": "string", "enum": [ "GET", "POST" ], "default": "GET", "description": "HTTP method used to probe url" }, "maxPriceUsd": { "type": "string", "description": "Policy: fail options priced above this many USD (USDC)" }, "expectPayTo": { "type": "string", "description": "Policy: fail options whose payTo differs from this address" }, "expectNetwork": { "type": "string", "description": "Policy: fail options not on this network (CAIP-2, e.g. eip155:8453)" }, "facilitator": { "type": "string", "description": "Facilitator base URL to test (https). Default: PayAI (mainnet) / x402.org (testnet)." }, "compareDirectory": { "type": "string", "enum": [ "true", "false" ], "default": "true", "description": "Compare live terms with the PayAI Bazaar listing (url mode)" } } }
Connections
streamable-http
https://x402-precheck.w0arvg81zlgf.workers.dev/mcp