P

PreFlight Checker · X402 Doctor

by PreFlight Checker

GETBase

$1

per call · USD Coin on Base

Audits another x402 service for the exact failure modes that cause aggregators (agent-tools.cloud, x402scan, Bazaar) to mark it 'down' or make its 402 challenge unreadable: missing/invalid /.well-known/x402 descriptor, an unpaid request returning 500/404 instead of a clean 402, a malformed or missing payment-required challenge, and drift between the descriptor's advertised terms and the live challenge. Returns a concrete diagnosis and fix for each failing check, not just pass/fail.

Endpoint

GET https://x402-api-catalog.onrender.com/api/x402-doctor

1

Calls / 30d

1

Unique payers / 30d

Sep 7

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://x402-api-catalog.onrender.com/api/x402-doctor", {
  method: "GET",
});
const data = await res.json();
cURL
curl -X GET \
  "https://x402-api-catalog.onrender.com/api/x402-doctor?path=%2Fapi%2Fsome-paid-endpoint&url=https%3A%2F%2Fexample-service.onrender.com" \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "checks": [],
  "fixes": [],
  "score": 40,
  "url": "https://example-service.onrender.com",
  "verdict": "broken: aggregators will show this as down"
}

Payment details

Pay to0x9041f8a43d0b43209b9227de2c7fb25c9fe3847e
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase
Schemesexact

Is this your API?

Pin it to the top of Developer Tools and the homepage with a featured placement.

Get featured →

More from PreFlight Checker & similar services