80trust / 100

Doctor Seller

by Maxwell x402 in Markets & finance

x402 APIPassing, checked 3 h ago

x402 Doctor checkup of your own endpoint: payment request, prices, payTo and response time; once you prove you own the host (publish the token from /v1/doctor/verify at /.well-known/x402-doctor.txt), also a leak check: does it serve data without payment.

GET https://api.maxwellinternational.ai/v1/doctor/seller

Last 30 days

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

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://api.maxwellinternational.ai/v1/doctor/seller?url=https%3A%2F%2Fapi.maxwellinternational.ai%2Fv1%2Fcourts%2Fsearch%3Fq%3Dcopyright"
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.03:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fapi.maxwellinternational.ai%2Fv1%2Fdoctor%2Fseller
const res = await pay("https://api.maxwellinternational.ai/v1/doctor/seller?url=https%3A%2F%2Fapi.maxwellinternational.ai%2Fv1%2Fcourts%2Fsearch%3Fq%3Dcopyright");
console.log(await res.json());

Example input

{
  "url": "https://api.maxwellinternational.ai/v1/courts/search?q=copyright"
}

Example output

{
  "ownership": "proved"
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
3 h agoPassed402101 ms$0.02