Skip to content
Fourohtwo

forge-tools.dentreprise.workers.dev/api/x402-listing-check

Checks that a host exposes a valid x402 discovery listing (/.well-known/x402, x402.json, x402-listing): JSON, version, https resource URLs, same host, companions (/openapi.json, /llms.txt), and probes up to 10 listed resources for a real 402 challenge with consistent payTo. Never pays.

BaseAnswering
POSThttps://forge-tools.dentreprise.workers.dev/api/x402-listing-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

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://forge-tools.dentreprise.workers.dev/api/x402-listing-check", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"url":"https://x402-gateway.forge-x402.workers.dev"}),
});
console.log(await res.json());

Example input

{
  "url": "https://x402-gateway.forge-x402.workers.dev"
}