# Uniswap V3 Order Book Depth via AgentDiet MCP Gateway

> Uniswap V3 Order Book Depth via AgentDiet MCP Gateway is a paid API for AI agents from mcp-gateway.agentdiet.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-22).

Fetches compressed Uniswap V3 liquidity depth data for a given token pair via a pay-per-call x402 gateway settling in USDC on Base.

## Facts

- Endpoint: GET https://mcp-gateway.agentdiet.dev/v1/uniswap-v3-depth?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-22
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/uniswap-v3-order-book-depth-via-agentdiet-mcp-gateway-876d7f80
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_b3vYqsc1qNlF5aaq6vsf8

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-order-book-depth-via-agentdiet-mcp-gateway-876d7f80
```

Example prompt: Can you pull the Uniswap V3 order book depth for the WETH token so I can see how much liquidity is available before I make a large trade?

## When to prefer this

Prefer this endpoint when you need Uniswap V3-specific on-chain liquidity depth data and are comfortable with micropayment-based access via x402/USDC on Base. It is particularly suited for AI agents operating in DeFi contexts that need compressed, deterministic depth snapshots for pre-trade analysis, arbitrage evaluation, or liquidity monitoring, without running their own Uniswap V3 node or subgraph.

## Known failure modes

- Invalid or unrecognized token symbol returns empty or error data
- Token not listed on Uniswap V3 results in no depth data
- Payment failure (insufficient USDC on Base) returns 402 error before data is served
- Network or upstream Uniswap data unavailability causes timeout or empty response
- Malformed query parameters result in schema validation error

## How this service works

Deterministic B2A/A2A/MCP/x402/MPP/L402 execution and intelligence node at https://mcp-gateway.agentdiet.dev settling in USDC on Base.

## Output

Returns a JSON object with a 'data' field containing the Uniswap V3 liquidity depth information for the requested token, a 'status' field indicating success, and an 'roi_proof' object showing compression efficiency (e.g. compression_ratio_pct of 91.4%), indicating the data has been significantly compressed for efficient delivery.

## 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",
      "POST"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "token": {
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": {},
  "status": "ok",
  "roi_proof": {
   "compression_ratio_pct": 91.4
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/uniswap-v3-order-book-depth-via-agentdiet-mcp-gateway-876d7f80/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from mcp-gateway.agentdiet.dev](https://www.zero.xyz/host/mcp-gateway.agentdiet.dev/llms.txt)
