agent-utils-x402-production.revenue-agent-jw.workers.dev
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
- Price per call
- $0.02
- Chain
- Base
- Method
- GET
- Paid calls · 30 days
- 2
Call it from code
This API is run by its own provider and paid directly through x402. We list it so you can find it; we don't route or hold the payment.
import { x402Client, wrapFetchWithPayment } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
const client = new x402Client();
registerExactEvmScheme(client, { signer: agentAccount });
const pay = wrapFetchWithPayment(fetch, client);
const res = await pay("https://agent-utils-x402-production.revenue-agent-jw.workers.dev/v1/x402/check", { method: "GET" });
console.log(await res.json());https://agent-utils-x402-production.revenue-agent-jw.workers.dev/v1/x402/check