Skip to content
Fourohtwo

Know whether a 402 will work with your client before you pay it

x402-catalog-history.ai-business-surface.workers.dev/compat-check

Know whether a 402 will work with your client before you pay it: pass the URL and one GET returns whether the payment challenge is readable by x402 v2 clients (the PAYMENT-REQUIRED header), readable by v1 clients (the JSON body), or neither — and exactly which required fields are missing from the accepts[] it serves. curl: GET /compat-check?url=https://api.example.com/paid. Response: {verdict:{buy

BaseUnchecked
GEThttps://x402-catalog-history.ai-business-surface.workers.dev/compat-check

UptimeNot checked yet

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

import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://x402-catalog-history.ai-business-surface.workers.dev/compat-check?url=https%3A%2F%2Fx402-catalog-history.ai-business-surface.workers.dev%2Fhistory");
console.log(await res.json());

Example input

{
  "url": "https://x402-catalog-history.ai-business-surface.workers.dev/history"
}