x402.cron2systemd.dev
x402 payment inspector and related checks
Seventy client-side tools for payment-required headers, payTo, network, USDC amounts, EIP-3009 previews, facilitator responses, and client checklists. The flagship parses a pasted 402 and can try a CORS fetch. Nothing on this site sends a payment.
x402 payment inspector
Parse an HTTP 402 or x402 challenge for network, payTo, asset, and amount. Fetch is best-effort because of CORS.
Parsepayment-required header
Decode a payment-required header from raw JSON or base64 JSON.
ParsepayTo address extract
List every payTo value and checksum 20-byte hex addresses.
Parsex402 network check
Check a requirement network against a local list of chain ids and known USDC addresses.
PriceAtomic USDC amount
Turn an atomic token amount into a human amount. USDC uses 6 decimals.
ParseAccept challenge parse
List payment requirements from an accepts array or payment headers.
PriceResource price table
Table resource, network, and amount from one or more requirements.
PriceBase USDC payTo verify
Check that payTo is an address and the asset matches known USDC for that network.
ParseFacilitator hint
Show extra facilitator-like fields from a challenge. Does not call a facilitator.
ParsemaxTimeoutSeconds check
Flag a payment timeout under 5 seconds or over an hour.
ParseMIME type match
Compare the requirement mimeType with the type you expect to receive after paying.
Parsex402 versus plain 402
Tell an x402 challenge apart from a plain HTTP 402 that has no payment fields.
ProbePaywall endpoint probe
GET a URL and report whether the browser can see an HTTP 402 challenge.
ProbePaid 200 versus 402
Compare an unpaid challenge paste with a paid response paste.
Parseexact scheme / EIP-3009
Check for scheme exact and the extra name/version used with EIP-3009 USDC.
ParsePaywall header pretty print
Pretty-print response headers from a pasted HTTP message.
PriceCompare resource prices
Compare amounts across several pasted challenges, separated by blank lines.
Probellms.txt payment finder
Highlight llms.txt lines that mention 402, x402, or payment. Fetch when CORS allows.
PriceSettlement network mismatch
Flag a requirement whose network is not the network you expect to settle on.
Checklistx402 client checklist
A local checklist for building a client that can read a 402 and retry after paying.
HeadersWWW-Authenticate payment
Parse a WWW-Authenticate header on a 402, including a Payment scheme and its parameters.
Headerspayment-response header
Decode a payment-response header from JSON or base64 JSON.
HeadersX-PAYMENT header
Decode an X-PAYMENT or payment-signature header. The signature is redacted in the result.
Headersx402Version check
Read x402Version values and flag anything other than 1 or 2.
HeadersPayment header inventory
List response headers whose names look like payment or authenticate fields.
HeadersEncode payment-required
Encode payment JSON as a standard and URL-safe base64 payment-required value.
HeadersDecode payment base64
Decode a base64 or base64url payment JSON value.
HeadersChallenge header style
Tell a body accepts challenge, a payment-required header, and WWW-Authenticate apart.
HeadersCORS expose-headers check
Check whether a pasted 402 exposes payment headers to the browser.
HeadersChallenge error extract
Pull error and invalidReason strings out of a challenge or facilitator JSON.
BuildPayment requirement builder
Build one payment requirement object. Nothing is signed or sent.
BuildAccepts array builder
Build an accepts array with two optional requirements.
BuildHTTP 402 message builder
Build an HTTP 402 message with a JSON body and a payment-required header.
BuildRequirement field validator
Check a requirement for the fields a client needs before it can pay.
Buildx402 v1 shape check
Check a paste against the version 1 accepts shape.
Buildx402 v2 shape check
Check a paste for a version 2 payment-required shape.
BuildDuplicate accepts detector
Flag repeated scheme, network, asset, and payTo options.
BuildScheme allowlist
Allow only the local scheme names exact and upto.
BuildResource URL match
Compare requirement resource URLs with the URL you meant to call.
BuildoutputSchema peek
Show an outputSchema object when the challenge includes one.
AmountHuman USDC to atomic
Convert a human token amount to an atomic integer. USDC uses 6 decimals.
AmountAtomic amount batch
Convert one atomic amount per line into a human amount.
AmountAmount alias agreement
Check that amount and maxAmountRequired agree when both are present.
AmountAmount scale guess
Heuristic: flag an amount that looks like human units rather than 6-decimal atomic units.
AmountZero amount flag
Fail a requirement whose amount is zero.
AmountPrice for N calls
Multiply an atomic price by a call count and show the total.
AmountAtomic amount delta
Compare two atomic amounts and show the difference.
AmountAtomic fee buffer
Add a percent buffer to an atomic amount for a local budget. This does not change a challenge.
AmountDecimals from asset
Look up decimals for asset addresses on the local USDC list.
AmountUSDC price ladder
Show common USDC prices in atomic units, plus an optional custom amount.
EIP-3009EIP-3009 typed data preview
Preview the EIP-712 typed data for TransferWithAuthorization. No wallet is opened.
EIP-3009EIP-3009 digest preview
Compute the EIP-712 domain separator, struct hash, and digest locally. This is not a signature.
EIP-3009EIP-3009 nonce check
Check that a nonce is 32 bytes of hex.
EIP-3009EIP-3009 validity window
Compare validAfter and validBefore with the current time.
EIP-3009EIP-3009 domain name
Compare extra.name and extra.version with the usual USD Coin / 2 domain.
EIP-3009EIP-3009 value vs amount
Compare an authorization value with the requirement amount.
EIP-3009Recipient versus payTo
Compare an authorization recipient with payTo.
EIP-3009EIP-3009 authorization checklist
A local checklist before you sign an EIP-3009 authorization.
NetworkChain id lookup
Resolve a network name, chain id, or CAIP-2 id on the local list.
NetworkUSDC address reverse lookup
Find which local network a USDC address belongs to.
NetworkEIP-55 checksum
Checksum a 20-byte hex address and report mixed-case mismatches.
NetworkpayTo address kind
Classify a payTo string as an EVM address, a Solana address, or something else.
NetworkCAIP-2 network parse
Split an eip155 or solana CAIP-2 network id and match it locally.
NetworkNetwork alias normalize
Map aliases such as 8453, eip155:8453, and base to one name.
NetworkMultiple networks in accepts
Warn when one challenge lists more than one settlement network.
FacilitatorFacilitator verify decoder
Read a facilitator verify JSON payload. The page does not call a facilitator.
FacilitatorFacilitator settle decoder
Read a facilitator settle JSON payload, including a transaction id when present.
FacilitatorPayment payload decoder
Show the shape of a client payment payload and redact the signature.
FacilitatorSettlement transaction extract
Pull EVM transaction hashes and long Solana signatures out of a paste.
FacilitatorinvalidReason glossary
Look up a facilitator invalidReason string on a local glossary.