{"api":"v1","generated_at":"2026-10-01T07:50:45.445Z","licence":{"name":"CC BY 4.0","url":"https://creativecommons.org/licenses/by/4.0/","attribution":"TOLL, with a link to the page cited"},"page":"https://tollindex.com/e/x402-doctor-onrender-com-api-v1-fix-f509af","pinned_page":"https://tollindex.com/e/x402-doctor-onrender-com-api-v1-fix-f509af/at/2026-10-01T05-50Z","pinned":false,"method":"https://tollindex.com/ledger/method","snapshot_at":"2026-10-01T05:50:06.230Z","snapshot_stamp":"2026-10-01T05-50Z","endpoint":{"slug":"x402-doctor-onrender-com-api-v1-fix-f509af","canonical_url":"https://x402-doctor.onrender.com/api/v1/fix","resource":"https://x402-doctor.onrender.com/api/v1/fix","http_method":"GET","type":"http","x402_version":2,"registries":["cdp"],"primary_registry":"cdp","curated_by_coinbase":false,"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.","service_name":"x402 Doctor","declared_category":null,"declared_tags":["x402","developer-tools","fix","code"],"route_template":null,"registry_updated":"2026-09-24T14:55:06.015Z"},"derived":{"note":"fields no registry supplies; TOLL derives them and marks them derived on the page","title":"fix","category":"other","first_observed_by_toll":"2026-09-24T17:09:13.017Z","last_observed_by_toll":"2026-10-01T05:50:06.230Z","observation_began":"2026-09-10"},"presence":{"listed_now":true,"first_absent_at":null,"delisting_confirmed_at":null,"events":[{"registry":"cdp","at":"2026-09-24T17:09:13.017Z","event":"listed"}]},"accepts":[{"registry":"cdp","ordinal":0,"network":"eip155:8453","asset":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","asset_name":"USD Coin","symbol":"USDC","decimals":6,"amount_display":"0.05 USDC","amount_units":0.05,"decimals_known":true,"pay_to":"0x6B0F4651eD42893ab58139938175E4a69f175F25","scheme":"exact"},{"registry":"cdp","ordinal":1,"network":"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","asset":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","asset_name":null,"symbol":"USDC","decimals":6,"amount_display":"0.05 USDC","amount_units":0.05,"decimals_known":true,"pay_to":"ATWJ82T8nRdQwZnaysB68N5EpaSvLRsQP4h6eWmaJBH9","scheme":"exact"}],"counters":{"observed_at":"2026-10-01T05:50:06.230Z","calls_30d":1,"unique_payers_30d":1,"last_called_at":"2026-09-24T14:55:05.730Z"},"validation":{"latest":{"observed_at":"2026-09-30T09:28:33.711Z","state":"pass","failed_checks":[],"endpoint_http_status":402,"run_id":"daily-2026-09-30"},"uptime":[{"days":7,"observed":3,"passed":3,"ratio":1},{"days":30,"observed":3,"passed":3,"ratio":1},{"days":90,"observed":3,"passed":3,"ratio":1}],"history_90d":[{"observed_at":"2026-09-30T09:28:33.711Z","state":"pass","failed_checks":[],"run_id":"daily-2026-09-30","state_changed":false},{"observed_at":"2026-09-29T21:33:51.518Z","state":"pass","failed_checks":[],"run_id":"daily-2026-09-29","state_changed":false},{"observed_at":"2026-09-25T19:28:42.919Z","state":"pass","failed_checks":[],"run_id":"new-after-daily-2026-09-24","state_changed":true}]},"seller":{"wallet":"0x6B0F4651eD42893ab58139938175E4a69f175F25","page":"https://tollindex.com/seller/0x6B0F4651eD42893ab58139938175E4a69f175F25","endpoints":22,"hosts":8},"reports":0,"registry_record":{"cdp":[{"tags":["x402","developer-tools","fix","code"],"type":"http","accepts":[{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"name":"USD Coin","version":"2"},"payTo":"0x6B0F4651eD42893ab58139938175E4a69f175F25","amount":"50000","scheme":"exact","network":"eip155:8453","maxTimeoutSeconds":300},{"asset":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","extra":{"feePayer":"Hc3sdEAsCGQcpgfivywog9uwtk8gUBUZgsxdME1EJy88"},"payTo":"ATWJ82T8nRdQwZnaysB68N5EpaSvLRsQP4h6eWmaJBH9","amount":"50000","scheme":"exact","network":"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","maxTimeoutSeconds":300}],"quality":{"lastCalledAt":"2026-09-24T14:55:05.73Z","l30DaysTotalCalls":1,"l30DaysUniquePayers":1},"resource":"https://x402-doctor.onrender.com/api/v1/fix","extensions":{"bazaar":{"info":{"input":{"type":"http","method":"GET","queryParams":{"url":"https://x402-doctor.onrender.com/demo/broken"}},"output":{"type":"json","example":{"url":"https://x402-doctor.onrender.com/demo/broken","fixes":[{"why":"x402 amounts are integer strings in the smallest unit.","code":[{"label":"Option field","stack":"generic","snippet":"\"amount\": \"10000\"","language":"json"}],"steps":["Use price: \"$0.01\" instead of an amount."],"title":"Amount \"0.01\" → \"10000\" ($0.01)","checks":["accepts[0]-amount"],"recipe":"amount","verify":"Run x402 Doctor again.","severity":"warn"}],"stack":{"id":"express","name":"Express (@x402/express)","detected_from":"x-powered-by: Express"},"overall":"fail","summary":"1 fix (0 blocking), for Express (@x402/express).","unfixed":[]}}},"schema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["url"],"properties":{"url":{"type":"string","description":"Your x402 endpoint (public http(s) URL)."},"stack":{"enum":["express","next","hono","node","python","generic"],"type":"string","description":"Your stack, if detection from response headers is wrong. Default: detected."},"method":{"enum":["GET","POST"],"type":"string","description":"HTTP method of the endpoint. Default: try GET, then POST."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["url","fixes"],"properties":{"url":{"type":"string"},"fixes":{"type":"array","items":{"type":"object","required":["title","why","steps","code"],"properties":{"why":{"type":"string"},"code":{"type":"array","items":{"type":"object","properties":{"label":{"type":"string"},"stack":{"type":"string"},"snippet":{"type":"string"},"language":{"type":"string"}}}},"steps":{"type":"array","items":{"type":"string"}},"title":{"type":"string"},"checks":{"type":"array","items":{"type":"string"}},"recipe":{"type":"string"},"verify":{"type":"string"},"severity":{"enum":["fail","warn"],"type":"string"}}}},"stack":{"type":"object","properties":{"id":{"enum":["express","next","hono","node","python","generic"],"type":"string"},"name":{"type":"string"},"detected_from":{"type":"string"}}},"overall":{"enum":["pass","warn","fail"],"type":"string"},"summary":{"type":"string"},"unfixed":{"type":"array","items":{"type":"object"}}}}}}}}}},"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.","lastUpdated":"2026-09-24T14:55:06.015Z","serviceName":"x402 Doctor","x402Version":2}]}}