# Uniswap V3 Price Impact / Slippage Estimator

> Uniswap V3 Price Impact / Slippage Estimator is a paid API for AI agents from api.x402node.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Estimates the price impact (slippage) of a token swap by comparing Uniswap V3 quotes at minimal vs. target trade size, revealing how much a large order will move the market before execution.

## Facts

- Endpoint: GET https://api.x402node.dev/defi/price-impact
- 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/uniswap-v3-price-impact-slippage-estimator-5e338fb6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_vSWBIJkXl0oz4EigNTUNL

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 uniswap-v3-price-impact-slippage-estimator-5e338fb6
```

Example prompt: Before I execute, tell me the price impact of swapping 200,000 USDC for WETH on Uniswap V3 — I want to know how much slippage I should expect on an order that size.

## When to prefer this

Use this endpoint when an AI trading agent needs to assess execution risk for a large DeFi swap before submitting the transaction — particularly when trading less-liquid tokens or large notional amounts on Uniswap V3. Prefer this over generic liquidity checks when you need a quantified slippage estimate rather than a qualitative depth indicator.

## Known failure modes

- Token pair has no Uniswap V3 pool — returns error or zero liquidity
- Invalid token address format — returns 400 bad request
- Pool exists but is extremely illiquid — very high price impact returned or timeout
- RPC node unavailable — upstream on-chain call failure
- Trade size too small to differentiate from minimal quote — near-zero impact returned trivially

## How this service works

Estimate the price impact (slippage) of a swap of a given size by comparing Uniswap V3 quotes at minimal vs target size - tells trading agents how much a large order will move the price against them before they execute, on-chain data LLMs cannot compute. price impact, slippage estimate, swap slippage, large trade impact, market depth, liquidity check Accepts payment on Base or Solana — either network works.

## Output

Returns the estimated price impact percentage for the specified swap by comparing the Uniswap V3 quote at a minimal (baseline) size against the quote at the full target trade size, effectively quantifying how much the large order moves the price against the trader.

## 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": [
      "tokenIn",
      "tokenOut"
     ],
     "properties": {
      "chain": {
       "type": "string",
       "description": "base (default), ethereum, arbitrum, optimism, polygon"
      },
      "amount": {
       "type": "string",
       "description": "Trade size in tokenIn units (default 1000)"
      },
      "tokenIn": {
       "type": "string",
       "description": "Input token (required)"
      },
      "tokenOut": {
       "type": "string",
       "description": "Output token (required)"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/uniswap-v3-price-impact-slippage-estimator-5e338fb6/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.x402node.dev](https://www.zero.xyz/host/api.x402node.dev/llms.txt)
