Api Endpoint

x402 Doctor

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.

Open interactive test console

Offering

Provider
x402-doctor.fizzl.eu
Method
GET
Offering type
Api Endpoint
Transport type
http
Category
Development
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://x402-doctor.fizzl.eu/api/v1/fix
MIME type
application/json
First seen
2026-10-16T01:50:38.788Z
Last seen
Tags
X402, developer-tools, fix, code

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.05 USDC
Atomic price: 50000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Payment option 2
0.05 USDC
Atomic price: 50000 · Network: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp · Asset: USDC · Scheme: exact
Payment option 3
50000 atomic units
Atomic price: 50000 · Network: algorand:wGHE2Pwdvd7S12BL5FaOP20EGYesN73k · Asset: 31566704 · Scheme: exact
Payment option 4
500000 atomic units
Atomic price: 500000 · Network: stellar:pubnet · Asset: CCW67TSZV3SSS2HXMBQ5JFGCKJNXKZM7UQUWUZPUTHXSTZLEO7SJMI75 · Scheme: exact
Payment option 5
50000 atomic units
Atomic price: 50000 · Network: eip155:196 · Asset: 0x779ded0c9e1022225f8e0630b35a9b54be713736 · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "50000",
    "payTo": "0x6B0F4651eD42893ab58139938175E4a69f175F25"
  },
  {
    "scheme": "exact",
    "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
    "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "amount": "50000",
    "payTo": "ATWJ82T8nRdQwZnaysB68N5EpaSvLRsQP4h6eWmaJBH9"
  },
  {
    "scheme": "exact",
    "network": "algorand:wGHE2Pwdvd7S12BL5FaOP20EGYesN73k",
    "asset": "31566704",
    "amount": "50000",
    "payTo": "LOYVFSQ6ZTS2YWUW4GQ5L6VPP2TPIOXWYDACK53CPOHQQHLDMEMKJDXAX4"
  },
  {
    "scheme": "exact",
    "network": "stellar:pubnet",
    "asset": "CCW67TSZV3SSS2HXMBQ5JFGCKJNXKZM7UQUWUZPUTHXSTZLEO7SJMI75",
    "amount": "500000",
    "payTo": "GCH2J5UAY24YNKA65MPAATVKWRCZZRZNF3JZKYYS5MIBZPG6U7WJ6CDQ"
  },
  {
    "scheme": "exact",
    "network": "eip155:196",
    "asset": "0x779ded0c9e1022225f8e0630b35a9b54be713736",
    "amount": "50000",
    "payTo": "0x6B0F4651eD42893ab58139938175E4a69f175F25"
  }
]

Observed health

Status
Healthy
Latest latency
141 ms
Average latency
525 ms
HTTP status
402
Last checked
Reachability
100% over 8 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "const": "http"
    },
    "method": {
      "type": "string",
      "enum": [
        "GET"
      ]
    },
    "queryParams": {
      "type": "object",
      "properties": {
        "url": {
          "type": "string",
          "description": "Your x402 endpoint (public http(s) URL)."
        },
        "method": {
          "type": "string",
          "enum": [
            "GET",
            "POST"
          ],
          "description": "HTTP method of the endpoint. Default: try GET, then POST."
        },
        "body": {
          "type": "string",
          "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."
        },
        "stack": {
          "type": "string",
          "enum": [
            "express",
            "next",
            "hono",
            "node",
            "python",
            "generic"
          ],
          "description": "Your stack, if detection from response headers is wrong. Default: detected."
        }
      },
      "required": [
        "url"
      ]
    }
  },
  "required": [
    "type",
    "method"
  ],
  "additionalProperties": false
}

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"
}