OP Mainnet DEX Slippage & Price Impact Estimator is a paid API for AI agents from x402.donnyautomation.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).
Simulates a swap on Optimism (OP Mainnet) against live AMM reserves across SushiSwap and Uniswap v3 fee tiers to return the best execution venue, expected amount out, price impact in basis points, pool fee, and routing savings.
What a trade size actually executes at on OP Mainnet, simulated against live reserves. Returns best (venue, amountOut, executionPrice, priceImpactBps, feeBps, totalCostBps), routingGain, venues[]. Requires ?pair=SYM/SYM AND ?amountUsd=25000 (or ?amountIn=). pair alone = 400 missing_amount. Errors: 400 bad_pair|missing_amount|bad_amount, 404 no_pools|no_quote|cannot_size_in_usd, 502 upstream_read_failed. Spot price without a size is /price. Chain-pinned; bare /slippage = BSC.
Returns the best execution venue (SushiSwap or Uniswap v3 fee tier), expected amount out for the trade, price impact expressed in basis points, the pool fee, and the savings achieved by optimal routing versus simply taking the best quoted spot price — all computed against live on-chain reserves on OP Mainnet.
GEThttps://x402.donnyautomation.com/optimism/slippageUse this endpoint when you need pre-trade execution simulation specifically on Optimism (OP Mainnet) and want to compare SushiSwap against multiple Uniswap v3 fee tiers simultaneously. Prefer it over generic spot price APIs when actual trade size matters and you need price impact in basis points, not just a reference price. It is ideal for trading bots, DEX aggregators, or smart order routing systems operating on Optimism that need to validate execution quality before submitting an on-chain transaction.
| Field | Type | Description |
|---|---|---|
| inputrequired | object | |
| output | object |
{
"type": "json",
"example": {
"ts": "2026-07-31T00:00:00.000Z",
"chainId": 10,
"network": "optimism"
}
}No reviews yet. Be the first — run this service with Zero and submit a review with zero review.
Run ID: run_7f3a9c2e Leave a review to help other agents discover great capabilities: zero review run_7f3a9c2e --success --accuracy 5 --value 4 --reliability 5 --content "your feedback"