Skip to content
Fourohtwo

One call for a bot before it pays or signs (APEX)

apexfaucet.xyz/api/x402/bot-safety

One call for a bot before it pays or signs (APEX). Pass domain=, or payee= with chain=base or chain=arc, or an unsigned transaction (Base: from, to, data; Solana: chain=solana, signer, tx). Each part you send is checked. The payee part is the payee check, not the full price and delivery check. The answer is SAFE, CAUTION, RISKY, or INCOMPLETE. A part we could not read is named and is not treated a

BaseSolanaAnswering
GEThttps://apexfaucet.xyz/api/x402/bot-safety

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://apexfaucet.xyz/api/x402/bot-safety?amount=0.01&chain=base&data=0x&domain=example.com&from=0x0000000000000000000000000000000000000001&payee=0x0000000000000000000000000000000000000001&signer=11111111111111111111111111111111&to=0x0000000000000000000000000000000000000001");
console.log(await res.json());

Example input

{
  "amount": "0.01",
  "chain": "base",
  "data": "0x",
  "domain": "example.com",
  "from": "0x0000000000000000000000000000000000000001",
  "payee": "0x0000000000000000000000000000000000000001",
  "signer": "11111111111111111111111111111111",
  "to": "0x0000000000000000000000000000000000000001"
}