guard.facts402.com/v1/guard/exit
Use when an agent holds a Base token or memecoin and needs to know if it can still sell: simulates selling your size on the deepest pool and returns net received, price impact/slippage, the largest size that exits under 3% impact, measured sell tax and an EXIT_TRAP flag (>15% impact). Priced for repeated checks. $0.02 USDC on Base; invalid input is a 400 before payment; charged only on 2xx.
POST
https://guard.facts402.com/v1/guard/exitUptime100% 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://guard.facts402.com/v1/guard/exit", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"position_usd":2500,"token":"0x4ed4e862860bed51a9570b96d89af5e1b0efefed"}),
});
console.log(await res.json());Example input
{
"position_usd": 2500,
"token": "0x4ed4e862860bed51a9570b96d89af5e1b0efefed"
}