# DEX Liquidity Depth Analyzer

> DEX Liquidity Depth Analyzer is a paid API for AI agents from defi-shield-hazel.vercel.app, paid per call via x402, $0.25/call, status unknown (last checked 2026-09-15).

Analyzes liquidity depth across all DEX trading pairs for a given token to assess market depth and slippage risk

## Facts

- Endpoint: POST https://defi-shield-hazel.vercel.app/api/mev/liquidity-depth
- Price: $0.25/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/defi-shield-hazel-vercel-app-abacdba0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_kxs6TPytcRMMnBW2zqi8R

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 defi-shield-hazel-vercel-app-abacdba0 -d '<json body>'
```

Example prompt: Can you analyze the liquidity depth across all DEX pairs for USDC token at address 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 — I want to know which pools have the deepest markets and what slippage I'd face on a large trade?

## When to prefer this

Use this endpoint when you need a comprehensive cross-DEX view of liquidity depth for a specific token, especially before executing large trades where slippage matters, or when evaluating whether a token has sufficient market depth. Prefer this over single-DEX queries when liquidity is fragmented across multiple pools and venues.

## Known failure modes

- Unknown or invalid token address returns 404 or empty result
- Token with no DEX listings returns zero liquidity result
- Rate limiting or upstream DEX data unavailability causes 503
- Malformed request body returns 400 validation error
- Newly listed tokens may have incomplete or stale liquidity data

## Output

Returns a breakdown of liquidity depth across all DEX trading pairs for the specified token, including per-pool liquidity totals, bid/ask depth at various price levels, estimated slippage for different trade sizes, and an aggregate view of market depth across all venues.

## Example request

```json
{
 "input": {
  "body": {
   "chain": "base",
   "token_address": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"
  },
  "type": "http",
  "method": "POST",
  "bodyType": "json"
 }
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "bodyType",
    "body",
    "method"
   ],
   "properties": {
    "body": {
     "properties": {
      "chain": {
       "type": "string",
       "description": "Chain (default: base)"
      },
      "token_address": {
       "type": "string",
       "description": "Token address for liquidity analysis"
      }
     }
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/defi-shield-hazel-vercel-app-abacdba0/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from defi-shield-hazel.vercel.app](https://www.zero.xyz/host/defi-shield-hazel.vercel.app/llms.txt)
