Skip to content
Fourohtwo

x402 endpoint checker

x402-tools.com/v1/x402-check

x402 endpoint checker: Calls an endpoint without paying and reads its x402 payment requirements (v1 body and v2 PAYMENT-REQUIRED header). Returns price in USD, network, pay-to address, description, discovery info, latency and a list of setup problems with a grade. Use it before paying an unknown API, or to test your own.

BaseAnswering
GEThttps://x402-tools.com/v1/x402-check

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-tools.com/v1/x402-check?method=GET&url=https%3A%2F%2Fx402-tools.com%2Fv1%2Fmarkdown");
console.log(await res.json());

Example input

{
  "method": "GET",
  "url": "https://x402-tools.com/v1/markdown"
}

More from x402-tools.comProvider status