Impact Simulation
api.0mod.com/api/v1/crypto/impact-simulation
Impact Simulation — pre-trade slippage simulator for AI agents. Runs a read-only PAPER order against the LIVE L2 book and returns expected VWAP fill price, slippage in bps, a depth_within_bps (10/25/50/100 bps) ladder and a 6-tier $100–$5,000 slippage curve; no order is placed, no custody touched, no API key.
POST
https://api.0mod.com/api/v1/crypto/impact-simulationUptime100% 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.0mod.com/api/v1/crypto/impact-simulation", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"pair":"AERO-USD","side":"buy","size_base":8000}),
});
console.log(await res.json());Example input
{
"pair": "AERO-USD",
"side": "buy",
"size_base": 8000
}