Skip to content
Fourohtwo

Vet an x402 endpoint before paying it

x402-endpoint-checker.yieldagent.workers.dev/v1/x402/check

Vet an x402 endpoint before paying it. Decodes the payment challenge and reports whether it is well formed, what it actually charges, whether the payment asset is a recognised USDC contract or an unknown token, whether payTo is a wallet or a contract, and a verdict with the reason. Up to 10 URLs per call, so a whole candidate list is vetted in one request.

BaseAnswering
GEThttps://x402-endpoint-checker.yieldagent.workers.dev/v1/x402/check

Uptime100% of 1 check in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://x402-endpoint-checker.yieldagent.workers.dev/v1/x402/check?url=https%3A%2F%2Fapi.example.com%2Fv1%2Fdata");
console.log(await res.json());

Example input

{
  "url": "https://api.example.com/v1/data"
}

More from x402 Endpoint CheckerProvider status