A read-only x402 payment challenge inspector. One inspect command shows exactly what an x402 endpoint demands before it serves — and records response evidence. Never pays.
x402-reconcile is a command-line tool that inspects an x402 endpoint's HTTP 402 payment challenge. It detects the 402, locates the payment document, and parses the required payment fields — scheme, network, asset, amount, payTo — plus response latency and a SHA-256 hash of the raw response bytes. It is a challenge inspector, not a wallet, not a payer, not a settlement monitor.
Before an agent (or a human) points an x402 buyer at an endpoint, you want to know: what exactly does this endpoint demand before serving? x402 endpoints advertise their payment requirement in a 402 document that can live in several HTTP locations and two schema shapes. x402-reconcile answers the question read-only — it never signs or submits a payment, so you can reconcile an endpoint's stated requirement without spending anything.
npm install -g x402-reconcile # or run without installing:
npx x402-reconcile inspect <url> --method=POST --json
npx x402-reconcile inspect https://api.example.com/paid --method=POST --json
The published README records a real public endpoint inspection (2026-09-24): https://notary.forgemesh.io/api/notarize returned HTTP 402 with exact / USDC / amount 1000 — the challenge was parsed, nothing was paid.
Representative output from the documented live inspection above. The exact SHA-256 and latency are computed by the tool at runtime against the live endpoint; the payment fields shown are the values the README documents.
{
"endpoint": "https://notary.forgemesh.io/api/notarize",
"method": "POST",
"status": 402,
"payment": {
"scheme": "exact",
"network": "eip155:1",
"asset": "USDC",
"amount": "1000",
"payTo": "(address from the 402 document)"
},
"evidence": { "elapsedMs": "(measured)", "bodySha256": "(computed at runtime)" }
}
accepts[]: scheme (exact / base …), network (CAIP-2), asset, amount, payTo, timeout.0 on successful parse, 1 on FAIL with machine-readable findings[].NOT_TESTED.0.1.0): local smoke tests pass (402 challenge, non-402, missing payment document) and one real public x402 endpoint has been inspected read-only.Experimental (0.1.0). Local smoke tests pass (402 challenge, non-402, missing payment document) and one real public x402 endpoint has been inspected read-only.
Package: x402-reconcile — published by npm user eidonze, version 0.1.0, MIT.
Source: xka0085-byte/x402-reconcile — issues and the full README live there.
/.well-known discovery manifests) covering MCP and x402; x402-reconcile is its x402-focused sibling.Part of the Agent / Chain Evidence Tools suite · MIT · Node ≥ 18 · read-only, no keys, no payments