Pre-trade gate for an agent about to buy a token
api.vex402.online/safety
Pre-trade gate for an agent about to buy a token. Returns TRUST / CAUTION / AVOID with evidence: contract facts from the live chain, liquidity and scam signals, a quote-based sellability check through the configured venues' own routers (direct and WETH-routed), a full round-trip cost at your intended size, and an offered-price sanity check. It does not execute a transfer; transfer restrictions and
POST
https://api.vex402.online/safetyUptime100% of 3 checks 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://api.vex402.online/safety", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"chainId":1,"intendedUsd":500,"tokenAddress":"0x95aD61b0a150d79219dCF64E1E6Cc01f0B64C4cE"}),
});
console.log(await res.json());Example input
{
"chainId": 1,
"intendedUsd": 500,
"tokenAddress": "0x95aD61b0a150d79219dCF64E1E6Cc01f0B64C4cE"
}