Skip to content
Fourohtwo

AI agent x402 payment firewall

base-agent-preflight.bytoken2023.workers.dev/v1/x402/payment-guard/evaluate

AI agent x402 payment firewall: enforce budgets and mandates, simulate transactions, score merchant and domain risk, prevent replay, require human approval, and audit delivery before autonomous spending.

BaseAnswering
GEThttps://base-agent-preflight.bytoken2023.workers.dev/v1/x402/payment-guard/evaluate

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://base-agent-preflight.bytoken2023.workers.dev/v1/x402/payment-guard/evaluate?url=https%3A%2F%2Fx402.twit.sh%2Ftweets%2Fby%2Fid%3Fid%3D1110302988&request_id=demo-request-1&session_id=demo-session&max_single_usdc=0.10&daily_budget_usdc=5.00&session_budget_usdc=1.00");
console.log(await res.json());

Example input

{
  "url": "https://x402.twit.sh/tweets/by/id?id=1110302988",
  "request_id": "demo-request-1",
  "session_id": "demo-session",
  "max_single_usdc": "0.10",
  "daily_budget_usdc": "5.00",
  "session_budget_usdc": "1.00"
}

More from Agent Payment GuardProvider status