{"slug":"x402-doctor-fizzl-eu-api-v1-fix-9029d0","title":"How do I fix or improve my x402 endpoint?","host":"x402-doctor.fizzl.eu","method":"GET","resource":"https://x402-doctor.fizzl.eu/api/v1/fix","category":"code","description":"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 ide","price_listed":0.05,"price_asked":0.05,"state":"answering","state_label":"Answering","checks_7d":7,"answered_7d":7,"latency_ms_median":206,"reported_calls_30d":2,"reported_payers_30d":1,"networks":["algorand:wGHE2Pwdvd7S12BL5FaOP20EGYesN73k","eip155:137","eip155:143","eip155:196","eip155:42161","eip155:43114","eip155:8453","near:mainnet","solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","stellar:pubnet","xrpl:0"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"method":"GET","queryParams":{"url":"https://x402-doctor.fizzl.eu/demo/broken"},"type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"method":{"enum":["GET"],"type":"string"},"queryParams":{"properties":{"body":{"description":"Example JSON request body for a POST endpoint that checks its input before the 402 (implies POST, at most 16 KB). Without it, {} is sent and the requestBody example in the endpoint's /openapi.json is tried.","type":"string"},"method":{"description":"HTTP method of the endpoint. Default: try GET, then POST.","enum":["GET","POST"],"type":"string"},"stack":{"description":"Your stack, if detection from response headers is wrong. Default: detected.","enum":["express","next","hono","node","python","generic"],"type":"string"},"url":{"description":"Your x402 endpoint (public http(s) URL).","type":"string"}},"required":["url"],"type":"object"},"type":{"const":"http","type":"string"}},"required":["type","method"],"type":"object"},"output":{"properties":{"example":{"properties":{"fixes":{"items":{"properties":{"checks":{"items":{"type":"string"},"type":"array"},"code":{"items":{"properties":{"label":{"type":"string"},"language":{"type":"string"},"snippet":{"type":"string"},"stack":{"type":"string"}},"type":"object"},"type":"array"},"recipe":{"type":"string"},"severity":{"enum":["fail","warn"],"type":"string"},"steps":{"items":{"type":"string"},"type":"array"},"title":{"type":"string"},"verify":{"type":"string"},"why":{"type":"string"}},"required":["title","why","steps","code"],"type":"object"},"type":"array"},"improvements":{"items":{"type":"object"},"type":"array"},"overall":{"enum":["pass","warn","fail"],"type":"string"},"stack":{"properties":{"detected_from":{"type":"string"},"id":{"enum":["express","next","hono","node","python","generic"],"type":"string"},"name":{"type":"string"}},"type":"object"},"summary":{"type":"string"},"unfixed":{"items":{"type":"object"},"type":"array"},"url":{"type":"string"}},"required":["url","fixes"],"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-11-26","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.05,"price_match":true,"latency_ms":344,"error":null},{"day":"2026-11-25","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.05,"price_match":true,"latency_ms":305,"error":null},{"day":"2026-11-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.05,"price_match":true,"latency_ms":241,"error":null},{"day":"2026-11-23","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.05,"price_match":true,"latency_ms":201,"error":null},{"day":"2026-11-22","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.05,"price_match":true,"latency_ms":199,"error":null},{"day":"2026-11-21","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.05,"price_match":true,"latency_ms":206,"error":null},{"day":"2026-11-20","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.05,"price_match":true,"latency_ms":200,"error":null},{"day":"2026-11-19","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.05,"price_match":true,"latency_ms":621,"error":null},{"day":"2026-11-18","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.05,"price_match":true,"latency_ms":195,"error":null},{"day":"2026-11-17","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.05,"price_match":true,"latency_ms":197,"error":null},{"day":"2026-11-16","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.05,"price_match":true,"latency_ms":631,"error":null},{"day":"2026-11-15","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.05,"price_match":true,"latency_ms":613,"error":null},{"day":"2026-11-14","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.05,"price_match":true,"latency_ms":211,"error":null},{"day":"2026-11-13","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.05,"price_match":true,"latency_ms":206,"error":null},{"day":"2026-11-12","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.05,"price_match":true,"latency_ms":204,"error":null},{"day":"2026-11-11","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.05,"price_match":true,"latency_ms":201,"error":null},{"day":"2026-11-10","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.05,"price_match":true,"latency_ms":618,"error":null},{"day":"2026-11-09","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.05,"price_match":true,"latency_ms":617,"error":null},{"day":"2026-11-08","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.05,"price_match":true,"latency_ms":198,"error":null},{"day":"2026-11-07","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.05,"price_match":true,"latency_ms":325,"error":null},{"day":"2026-11-06","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.05,"price_match":true,"latency_ms":203,"error":null},{"day":"2026-11-05","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.05,"price_match":true,"latency_ms":201,"error":null},{"day":"2026-11-04","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.05,"price_match":true,"latency_ms":202,"error":null},{"day":"2026-11-03","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.05,"price_match":true,"latency_ms":203,"error":null},{"day":"2026-11-02","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.05,"price_match":true,"latency_ms":209,"error":null},{"day":"2026-11-01","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.05,"price_match":true,"latency_ms":194,"error":null},{"day":"2026-10-31","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.05,"price_match":true,"latency_ms":207,"error":null},{"day":"2026-10-29","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.05,"price_match":true,"latency_ms":181,"error":null}],"description_full":"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.","last_updated":"2026-11-19T15:39:02.6Z","schemes":["exact"]}