79trust / 100

Diagnose

by X402 Doctor in Weather & location

x402 APIPassing, checked 1 h ago

Full paid x402 diagnostic JSON for a target endpoint.

POST https://doctor.promoclube.online/diagnose

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
577 ms typical, 610 ms slowest 5%
Last check
1 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://doctor.promoclube.online/diagnose" \
  -H "content-type: application/json" \
  -d '{"url":"https://api.example.com/v1/paid-resource"}'
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fdoctor.promoclube.online%2Fdiagnose
const res = await pay("https://doctor.promoclube.online/diagnose", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"url":"https://api.example.com/v1/paid-resource"}),
});
console.log(await res.json());

Example input

{
  "url": "https://api.example.com/v1/paid-resource"
}

Example output

{
  "scores": {
    "CLIENT_COMPATIBILITY_SCORE": 96,
    "DISCOVERY_READINESS_SCORE": 95,
    "PAYMENT_READINESS_SCORE": 98,
    "X402_HEALTH_SCORE": 97
  },
  "summary_status": "PASS"
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
1 h agoPassed402514 ms$0.01
4 h agoPassed402545 ms$0.01
8 h agoPassed402688 ms$0.01
11 h agoPassed402577 ms$0.01
15 h agoPassed402606 ms$0.01
19 h agoPassed402585 ms$0.01
22 h agoPassed402582 ms$0.01
27 h agoPassed402552 ms$0.01
30 h agoPassed402610 ms$0.01
33 h agoPassed402534 ms$0.01
38 h agoPassed402556 ms$0.01