Skip to content
Fourohtwo

agent-utils-x402-production.revenue-agent-jw.workers.dev/v1/x402/check

x402 endpoint validator and payment-readiness checker, useful for sellers debugging a paywall or buyers vetting an endpoint before paying. Fetches the URL unpaid, decodes the 402 challenge and grades network, USDC asset, payTo, price vs facilitator fees, EIP-712 domain, CORS and Bazaar metadata. Returns a 0-100 score and a fix list. Never pays the target. Errors: 400 JSON {error} for invalid input

BaseAnswering
GEThttps://agent-utils-x402-production.revenue-agent-jw.workers.dev/v1/x402/check

Uptime100% of 3 checks 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://agent-utils-x402-production.revenue-agent-jw.workers.dev/v1/x402/check?url=https%3A%2F%2Fexample.com%2Fpaid-endpoint");
console.log(await res.json());

Example input

{
  "url": "https://example.com/paid-endpoint"
}