Skip to content
Fourohtwo

agentsvc.io/api/v1/proxy/token-simulate

Replays a real buy and sell of the token on chain state and tells you if you can get out again: buy_succeeded, sell_succeeded, buy and sell tax in percent, honeypot reason, estimated round-trip cost in percent and USD for amount_usd, plus the pools used. Use before buying an unknown token or in a trading bot. EVM chains are simulated; Solana returns status not_simulated with authority and pool che

BaseUnchecked
POSThttps://agentsvc.io/api/v1/proxy/token-simulate

UptimeNot checked yet

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://agentsvc.io/api/v1/proxy/token-simulate", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"chain":"base","token":"0x532f27101965dd16442E59d40670FaF5eBB142E4","amount_usd":100}),
});
console.log(await res.json());

Example input

{
  "chain": "base",
  "token": "0x532f27101965dd16442E59d40670FaF5eBB142E4",
  "amount_usd": 100
}