The fix for your x402 endpoint
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.
Answeringour last check, 2026-09-24
1 of 1checks answered this week
186 msmedian answer time
$0.05listed price per call
$0.05price it asked us
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
GET https://x402-doctor.onrender.com/api/v1/fix
| Category | Code and developer |
|---|---|
| Provider host | x402-doctor.onrender.com |
| Networks | eip155:8453, solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp |
| Payment schemes | exact |
| Self-reported calls, 30 days | 0 from 0 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-09-24 | valid payment request | 402 | $0.05 | 186 ms |
Example input (from the provider)
{
"method": "GET",
"queryParams": {
"url": "https://x402-doctor.onrender.com/demo/broken"
},
"type": "http"
}
Promised output schema (from the provider)
{
"$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"
}