How a check turns a live x402 payment request into pay, skip or recheck. Machine-readable: /rules.json (version 2026-10-27).
| reason_code | verdict | default confidence | rule |
|---|---|---|---|
price_ok | pay | high | Live 402 offers canonical USDC on a supported mainnet, to the listed wallet and network, at the listed price (within 1%). |
price_below_listing | pay | high | As price_ok, but the live price is more than 1% below the listed price. |
price_mismatch | skip | high | Live price is more than 1% above the listed or claimed price. |
pay_to_mismatch | skip | high | The 402 pays a different wallet than listed. |
network_mismatch | skip | high | The 402 asks for payment on a different network than listed. |
asset_not_usdc | skip | high | The 402 asks for a token other than canonical USDC. |
network_unsupported | skip | high | The 402 only offers a testnet or a network we do not support. |
ssrf_blocked | skip | high | Private, local or otherwise unsafe address; never fetched. (0.55.0: a host that does not resolve is dns_error, not this.) |
no_paywall | skip | medium | The endpoint answered without an x402 payment request (one probe; a route may need another method or path). Includes a plain 403; since 0.55.0 not a 429 (rate_limited) or a WAF-challenge 403 (waf_challenge). |
bad_challenge | skip | medium | A 402 came back but its payment request has no readable USDC price. |
challenge_expired | skip | high | Opt-in only (&check_expiry=1): every Base USDC option has an absolute expiry (extra.validBefore/expiresAt/expiry/deadline) at or within skew_s (default 30, max 300) of now, or maxTimeoutSeconds <= 5. |
ambiguous | skip | medium | The payment request is unclear (several incompatible offers). |
free_trial_active | recheck | low | The seller says a free trial is active, so there is no price to check yet. |
timeout | recheck | low | The endpoint did not answer in time. Since 0.56.0 one budget covers the whole probe of a target (every redirect hop and the body read): PROBE_TIMEOUT_MS, default 8000 ms. |
unreachable | recheck | low | Could not connect (TLS or network error; an unresolvable host is dns_error since 0.55.0). |
server_error | recheck | low | The endpoint returned a 5xx. |
delivery_failed | recheck | low | 0.53.3 (DELIVERY_CHECK): the terms would pass, but our latest paid call to this endpoint (within 14 days) settled and got back a failed delivery (5xx, challenge/CAPTCHA page, sign-in/subscribe wall, canned refusal, error-only or placeholder body). Applies to new checks only; past pay/skip verdicts and receipts are never changed; endpoints without delivery data are unaffected. |
terms_changed_since_quote | recheck | low | 0.54.0 opt-in ("e=<receipt id>): the live terms would pass, but the price, pay_to, network or asset differs from the quote (crawl or live receipt) the buyer was shown. Check again without quote to approve the new terms. |
rate_limited | recheck | low | 0.55.0 (new checks only): HTTP 429 with no x402 terms. Was skip/no_paywall. After TRANSIENT_SKIP_AFTER_HOURS (default 24 h) of only rate_limited / waf_challenge / dns_error answers for the same URL + method: skip/rate_limited_persistent. |
waf_challenge | recheck | low | 0.55.0 (new checks only): HTTP 403 with a firewall/WAF signature: a cf-mitigated or x-amzn-waf-action header, a Cloudflare-served challenge/block page (server: cloudflare plus challenge-platform / cf_chl_opt / cf-chl- markers, 'Just a moment...', 'Attention Required! | Cloudflare', or 'Sorry, you have been blocked' with a Cloudflare Ray ID), or an AkamaiGHost 'Access Denied' page with its Reference #. A plain 403 stays skip/no_paywall. Was skip/no_paywall. Persisting: skip/waf_blocked_persistent. |
dns_error | recheck | low | 0.55.0 (new checks only): the host did not resolve (no A/AAAA answer or a resolver error) on the first lookup and on exactly one retry; the URL is never fetched. A live DNS failure uses no free check and is never charged (also as dns_error_persistent). Hosts that resolve to private, loopback or link-local addresses are still skip/ssrf_blocked. Was skip/ssrf_blocked (live) or skip 'domain does not resolve' (crawl). Persisting: skip/dns_error_persistent. |
rate_limited_persistent | skip | medium | 0.55.0: the endpoint has answered only rate_limited / waf_challenge / dns_error for at least TRANSIENT_SKIP_AFTER_HOURS (default 24 h; from our stored checks of the same URL + method) and the latest was a 429. |
waf_blocked_persistent | skip | medium | 0.55.0: as rate_limited_persistent, and the latest answer was a WAF-challenge 403. |
dns_error_persistent | skip | medium | 0.55.0: as rate_limited_persistent, and the latest lookup failed DNS (after one retry). |
host_unstable | recheck | low | 0.56.0 (new checks only): per-host circuit breaker. After BREAKER_FAILS (default 3) failed probes of the same host (HTTP 5xx, timeout or connection error) within BREAKER_WINDOW_MIN (default 10) minutes, with no successful probe in between, new checks of that host answer this for BREAKER_COOLDOWN_MIN (default 15) minutes without fetching the target: no free check used, never charged or settled, no receipt stored. Then one half-open probe decides: success closes the breaker, a failure re-opens it. Neutral for the 0.55.0 fallback: it neither counts toward nor breaks a rate_limited / waf_challenge / dns_error streak, and never becomes a skip. SSRF blocks stay ssrf_blocked; a plain 403 stays no_paywall. |
terms_unstable | recheck | low | 0.57.0 (new live checks only): multi-probe before pay. A live, uncached check whose first probe would be pay probes the same target again MULTIPROBE_GAP_MS (default 250 ms) later, inside the PROBE_TIMEOUT_MS budget (a confirm probe gets at least 1500 ms). It runs only once access is granted (a free check used or a payment verified and settled), and never for cron self-checks. This code: the confirm probe read different 402 terms (scheme, network, asset or payTo of any offer, or an amount more than 1% apart, the same tolerance as a listed price; order-insensitive), or none; the receipt names the differing fields (never values) in probe.multiprobe.diff_fields. With MULTIPROBE_COUNT=3 a third probe breaks the tie and pay needs the 2nd and 3rd to agree. A confirm probe that fails (5xx, timeout, connection error) answers its own existing code (server_error, timeout, unreachable) and counts as a breaker failure. Cached probes and crawl answers are not re-probed; one check is still one free check or one $0.02 payment. MULTIPROBE_COUNT=1 turns it off. |
terms_stale | recheck | low | 0.54.0 catalog/crawl answers only (discover; effective_verdict on crawl receipts, by-url, skips and lookup): the stored pay's terms are older than TERMS_MAX_AGE_HOURS (7 days in production; see each discover answer's terms_max_age_hours). Never produced by a live check, which always re-reads the 402. |
within 1% of the listed price counts as the listed price.
Separate from reason_code; never changes a verdict. Folded into reputation.
| code | reputation value | rule |
|---|---|---|
quality_ok | 1 | Reachable, answered HTTP 402 with a well-formed payment request (JSON body or PAYMENT-REQUIRED header), declares an output schema, and the response sample it publishes validates against that schema. |
quality_unverified | 0.7 | Reachable, HTTP 402 with a well-formed content type, but there is nothing to validate: no output schema declared, or a schema without a sample. Not a fault; we never pay the seller to capture a real response. |
quality_bad_content_type | 0.4 | HTTP 402 whose terms are only in the body, and the body is not JSON (content-type is not application/json or +json). |
quality_schema_mismatch | 0.3 | The listing declares an output schema (bazaar extension or v1 outputSchema) and the sample it publishes does not validate against it. |
quality_bad_status | 0.2 | Reachable, but the response is not an HTTP 402 payment request (e.g. 200 without a paywall, 404, 5xx). |
quality_unreachable | 0 | No response: timeout, DNS/TLS/network error, or an address we refuse to fetch. |
score = round(100 * sum(w_i * c_i) / sum(w_i)), over the components c_i (each 0..1) that have data; a component with no data is left out and the remaining weights are renormalized. Cap: with at least 5 pay/skip checks in 30 days and pay_share under 0.2, score = min(score, 49).
| component | weight | definition |
|---|---|---|
stability | 25 | per endpoint: time the current payment terms (price, network, asset, pay_to) have held / time we have observed the endpoint (endpoint_history, last 30 observations); mean over endpoints. Observations without terms (timeouts) do not reset it. |
drift | 20 | 1 - min(1, 2 * penalty / transitions) over consecutive term-bearing observations of every endpoint; penalty per transition: pay_to change 1, network or asset change 1, price-only change 0.5. No transitions -> no data. |
verdicts | 30 | last 30 days of checks: pay_share * (0.5 + 0.5 * consistency). pay_share = pay / (pay + skip); consistency = share of checks that agree with their endpoint's latest verdict. Recheck verdicts (timeouts, 5xx) are left out. |
freshness | 10 | 1 if the newest check is under 24 h old, then linear down to 0 at 14 days. |
quality | 15 | mean over endpoints of the latest quality code's value: quality_ok=1, quality_unverified=0.7, quality_bad_content_type=0.4, quality_schema_mismatch=0.3, quality_bad_status=0.2, quality_unreachable=0. No quality data -> no data. |
reason_code: stable machine code (this list); never renamed, new codes may be addedreason: free answers: one plain-words line; paid answers: the code (unchanged since 0.6)confidence: high | medium | low (rules above)history: summary of the last 30 observations: stable_for_days, stable_since, last_changed, drift; days_observed (distinct UTC dates), first_seen, last_checked (ISO UTC)history_observations: paid, router and exempt answers only: the last 30 observations (time, price, network, pay_to, asset, status)quality: 0.37.0: paid, router and exempt answers: {code, checks {reachable, http_status, status_is_402, content_type, content_type_ok, body_bytes, schema_declared, schema_source, schema_match}}; free answers and dry runs: {code} only. Metadata of the unpaid 402 response; never changes verdict or reason_code.reputation: 0.37.0: seller host reputation. Paid, router and exempt answers: {host, score 0..100 or null, band, confidence, low_data, provisional_score?, breakdown, inputs}; free answers and dry runs: {host, band} only. Free page: /reputation/<host>.