Skip to content
Fourohtwo

x402 validator

apexfaucet.xyz/api/x402/x402-endpoint-doctor

x402 validator: will Coinbase Bazaar list your x402 endpoint, and can a client pay it? Why will Coinbase not list your x402 endpoint, and can a standard client pay it? Pass ?url= (and &method=POST for a POST route). We read its 402 as a client does, check what Coinbase's facilitator and Bazaar enforce (accepts[0] network, the $0.001 minimum, descriptions over 500 characters, a bazaar schema that m

BaseArcSolanaBNB ChainRobinhood ChainAnswering
GEThttps://apexfaucet.xyz/api/x402/x402-endpoint-doctor

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://apexfaucet.xyz/api/x402/x402-endpoint-doctor?url=https%3A%2F%2Fapi.onesource.io%2Fapi%2Fchain%2Ferc20-balance&method=GET");
console.log(await res.json());

Example input

{
  "url": "https://api.onesource.io/api/chain/erc20-balance",
  "method": "GET"
}