{"slug":"x402-doctor-onrender-com-api-v1-fix-2be067","title":"The fix for your x402 endpoint","host":"x402-doctor.onrender.com","method":"GET","resource":"https://x402-doctor.onrender.com/api/v1/fix","category":"code","description":"The fix for your 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.","price_listed":0.05,"price_asked":0.05,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":186,"reported_calls_30d":0,"reported_payers_30d":0,"networks":["eip155:8453","solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"method":"GET","queryParams":{"url":"https://x402-doctor.onrender.com/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":{"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"},"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-09-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.05,"price_match":true,"latency_ms":186,"error":null}],"description_full":"The fix for your 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.","last_updated":"2026-09-24T14:55:06.015Z","schemes":["exact"]}