Skip to content
Fourohtwo

api.zato.org/api/x402-check

Use when an agent is about to pay an x402 endpoint and wants to inspect its terms first: makes one unpaid call (GET, then POST), decodes the 402 payment requirements (v1 body or v2 header) and reports version, price, network, asset, payTo, resource and Bazaar metadata with compliance hints. Never pays anything.

BaseAnswering
GEThttps://api.zato.org/api/x402-check

Uptime100% of 4 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://api.zato.org/api/x402-check?url=https%3A%2F%2Fapi.zato.org%2Fapi%2Fchain%2Fpayto-check");
console.log(await res.json());

Example input

{
  "url": "https://api.zato.org/api/chain/payto-check"
}

More from api.zato.orgProvider status