← Back to directory

How do I fix or improve my x402 endpoint? Diagnoses it, then returns per problem...

https://x402-doctor.fizzl.eu/api/v1/fix

Overview

How do I fix or improve my x402 endpoint? Diagnoses it, then returns per problem the concrete change as code for your stack (Express, Next.js, Hono or raw HTTP), filled in with your own payTo, amount, network and route. A working endpoint gets improvements to be found, trusted and paid: ERC-8004 identity, Base Builder Code, x402scan ownership proof, skill.md, browser paywall. Bulk: 1000 credits for $0.80 via /api/v1/credits.

Protocol x402
Price $0.05
Payment Asset USD Coin
Payment Network eip155:8453
Category uncategorized
Provider x402 Doctor
Source bazaar
Indexed 2026-10-04 15:28:32

Health

Status healthy
Latency (p50) 1092ms
Uptime (30d) 100.0%
Reliability Score 85/100
Last Checked 2026-10-31 07:09:59
Last Healthy 2026-10-31 07:09:59
Consecutive Failures 0

x402 Payment Validation

Payment Requirements Valid
Asset Verified Known USDC
Facilitator —

Input Schema

{ "method": "GET", "queryParams": { "url": "https://x402-doctor.fizzl.eu/demo/broken" }, "type": "http" }

Output Schema

{ "example": { "fixes": [ { "checks": [ "accepts[0]-amount" ], "code": [ { "label": "Route config", "language": "javascript", "snippet": "accepts: [{ scheme: \"exact\", price: \"$0.01\", network: \"eip155:8453\", payTo: process.env.PAY_TO }]", "stack": "node" } ], "recipe": "amount", "severity": "warn", "steps": [ "Let the SDK convert it: price \"$0.01\" instead of an amount." ], "title": "Amount \"0.01\" → \"10000\" ($0.01)", "verify": "Run x402 Doctor again.", "why": "x402 amounts are integer strings in the smallest unit." } ], "improvements": [], "overall": "fail", "stack": { "detected_from": "x-powered-by: Express", "id": "express", "name": "Express (@x402/express)" }, "summary": "1 fix (0 blocking), for Express (@x402/express).", "unfixed": [], "url": "https://x402-doctor.fizzl.eu/demo/broken" }, "type": "json" }