# Arbitrum One DEX Slippage & Price Impact Simulator

> Arbitrum One DEX Slippage & Price Impact Simulator 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 Arbitrum One against live AMM reserves across SushiSwap and Uniswap v3 to return actual amount out, price impact in bps, pool fee, and best execution venue for a given trade size.

## Facts

- Endpoint: GET https://x402.donnyautomation.com/arbitrum/slippage
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/arbitrum-one-dex-slippage-price-impact-simulator-3bf4ecf6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_0qBy-huNrpdz1liEJqZJj

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability arbitrum-one-dex-slippage-price-impact-simulator-3bf4ecf6
```

Example prompt: Before I swap WETH/USDC on Arbitrum, can you simulate the trade and tell me the actual amount I'd receive, the price impact in basis points, and which DEX — SushiSwap or Uniswap v3 — gives me the best execution?

## When to prefer this

Use this endpoint when you need actual execution simulation (not just spot price) for a specific trade size on Arbitrum One, specifically when you want to compare SushiSwap vs Uniswap v3 fee tiers for optimal routing. Prefer this over generic price APIs when price impact, slippage, and routing savings matter — especially for trading bots, DEX aggregators, or large trades where execution quality is critical on Arbitrum / ARB L2.

## Known failure modes

- Unsupported token pair — pair not found on any indexed Arbitrum DEX, returns error
- Invalid pair format — pair symbol not in SYM/SYM format
- No liquidity available — pool exists but reserves are empty or near-zero
- Stale reserve data — on-chain state may lag by a block during high congestion
- Token symbol ambiguity — ticker maps to multiple contracts on Arbitrum

## How this service works

What a trade size actually executes at on Arbitrum One, 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.

## Output

Returns the best execution venue (SushiSwap or specific Uniswap v3 fee tier), exact amount out for the trade, price impact expressed in basis points, pool fee amount separately, and the savings from optimal routing compared to the naive best-quoted-price choice — all computed against live on-chain AMM reserves on Arbitrum One.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "pair",
      "amountUsd"
     ],
     "properties": {
      "pair": {
       "type": "string",
       "description": "Token pair as SYM/SYM on Arbitrum One (e.g. WETH/USDC)."
      },
      "amountIn": {
       "type": "string",
       "description": "Trade size denominated in the FIRST pair symbol instead of USD. An alternative to amountUsd; supplying either one is enough."
      },
      "amountUsd": {
       "type": "string",
       "description": "Trade size in USD, e.g. 10000. Required unless amountIn is given instead."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ts": "2026-07-31T00:00:00.000Z",
  "chainId": 42161,
  "network": "arbitrum"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/arbitrum-one-dex-slippage-price-impact-simulator-3bf4ecf6/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.donnyautomation.com](https://www.zero.xyz/host/x402.donnyautomation.com/llms.txt)
