# DEX Liquidity, Slippage & Orderflow Audit API

> DEX Liquidity, Slippage & Orderflow Audit API is a paid API for AI agents from defi-yield.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 via DexScreener

## Facts

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

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-yield-agentdiet-dev-dex-liquidity-slippage-orderflow-audit-api-22b93cc6
```

Example prompt: Check the live liquidity pools, FDV, 24h volume, and 1-hour buy/sell orderflow pressure for AERO on Base — I want to know if there's enough liquidity to make a large swap without significant slippage.

## When to prefer this

Use this endpoint when you need real-time DEX liquidity intelligence — specifically liquidity pool depth, FDV, volume, and short-term orderflow pressure — for tokens on Base, Solana, or Ethereum. It is ideal for pre-trade slippage estimation, token due diligence, or orderflow-based trading signals. Prefer this over generic price APIs when you need pool-level detail and buy/sell pressure, not just a spot price.

## Known failure modes

- Token symbol not found — ambiguous or unlisted symbol returns no pool data
- Invalid contract address — malformed address string returns an error
- Token has no active DEX pools — newly launched or illiquid tokens may return empty results
- Network-specific lookup failure — token exists on a chain not indexed by DexScreener
- Rate limit or payment failure — HTTP 402 if x402 payment is not properly handled
- DexScreener upstream outage — live data unavailable if underlying provider is down

## 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://defi-yield.agentdiet.dev/v1/dex-liquidity)

## Output

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

## 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/defi-yield-agentdiet-dev-dex-liquidity-slippage-orderflow-audit-api-22b93cc6/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from defi-yield.agentdiet.dev](https://www.zero.xyz/host/defi-yield.agentdiet.dev/llms.txt)
