# DEX Liquidity, Slippage & Orderflow Audit API

> DEX Liquidity, Slippage & Orderflow Audit API is a paid API for AI agents from mcp-compiler.agentdiet.dev, paid per call via MPP, $0.01/call, status unknown (last checked 2026-10-21).

Fetches live DEX liquidity pool data, FDV, 24h volume, and 1-hour buy/sell orderflow pressure for a given token using DexScreener data.

## Facts

- Endpoint: GET https://mcp-compiler.agentdiet.dev/v1/pair-analytics?utm_source=zero.xyz
- Price: $0.01/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-10-21
- Activations on Zero: 0
- Provider: mcp-compiler.agentdiet.dev
- Website: https://mcp-compiler.agentdiet.dev
- Canonical page: https://www.zero.xyz/c/mcp-compiler-agentdiet-dev-dex-liquidity-slippage-orderflow-audit-api-37d8d669
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_pXKAX8codo8YjjOeiquYQ

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 mcp-compiler-agentdiet-dev-dex-liquidity-slippage-orderflow-audit-api-37d8d669
```

Example prompt: Pull the live DEX liquidity, FDV, 24h volume, and buy/sell orderflow pressure for AERO on Base right now — I want to know if there's enough liquidity to make a large swap without getting wrecked by slippage.

## When to prefer this

Choose this endpoint when you need real-time, on-chain DEX liquidity and orderflow data for a specific token on Base, Solana, or Ethereum — especially before executing a large swap, auditing a new token, or monitoring slippage risk. Prefer this over general crypto price APIs when you specifically need pool-level liquidity depth, FDV, volume, and buy/sell pressure in a single call.

## Known failure modes

- Token symbol not found on supported chains — returns empty or error if symbol is ambiguous or unlisted
- Invalid contract address format — may return no results or an error
- Token has no active DEX pools — endpoint returns empty pool data
- Rate limiting or upstream DexScreener API unavailability — may return 5xx or timeout
- Payment required (HTTP 402) if x402 micropayment header is missing or insufficient

## How this service works

Fetches live DexScreener liquidity pools, FDV, 24h volume, and 1h buy/sell orderflow pressure. (Live x402 v2, IETF MPP & MCP endpoint at https://mcp-compiler.agentdiet.dev/v1/pair-analytics)

## Output

Returns live DEX pool data including liquidity depth, fully diluted valuation (FDV), 24-hour trading volume, and 1-hour buy/sell orderflow pressure metrics sourced from DexScreener for the requested token on Base, Solana, or Ethereum.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "token"
 ],
 "properties": {
  "token": {
   "type": "string",
   "minLength": 1,
   "description": "Token contract address or symbol (e.g. USDC, WETH, AERO) on Base/Solana/Ethereum"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/mcp-compiler-agentdiet-dev-dex-liquidity-slippage-orderflow-audit-api-37d8d669/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from mcp-compiler.agentdiet.dev](https://www.zero.xyz/host/mcp-compiler.agentdiet.dev/llms.txt)
