Skip to content
Fourohtwo

Catch a breaking schema change before it reaches production

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

Catch a breaking schema change before it reaches production: post one {schema, actual} JSON pair and get a compatibility report with an RFC 6901 JSON Pointer to every mismatch, the keyword that failed and the expected vs actual value. One POST, one report, supported keywords only, no upstream call. A purchase is two calls by design: this first call returns 402 with the price and the payment terms,

BaseAnswering
POSThttps://x402-catalog-history.ai-business-surface.workers.dev/compat

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-catalog-history.ai-business-surface.workers.dev/compat", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"actual":{"name":"agent"},"schema":{"type":"object","required":["name"],"properties":{"name":{"type":"string"}}}}),
});
console.log(await res.json());

Example input

{
  "actual": {
    "name": "agent"
  },
  "schema": {
    "type": "object",
    "required": [
      "name"
    ],
    "properties": {
      "name": {
        "type": "string"
      }
    }
  }
}