# 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-23).

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

## Facts

- Endpoint: POST https://defi-yield.agentdiet.dev/v1/dex-liquidity-depth-oracle?utm_source=zero.xyz
- Price: $0.01/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-10-23
- 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-d0f2e586
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_XSWFCT_I-08WN50sXIV51

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-d0f2e586 -d '<json body>'
```

Example prompt: Check the live DEX liquidity depth, 24h volume, FDV, and buy/sell orderflow pressure for AERO on Base right now — I want to know if there's enough depth to enter a large position without significant slippage.

## When to prefer this

Choose this endpoint when you need real-time DEX-level liquidity intelligence including pool depth, orderflow pressure, and slippage risk for tokens on Base, Solana, or Ethereum — especially before executing large on-chain trades or evaluating a new token's market health. Prefer this over general price APIs when buy/sell imbalance and liquidity depth (not just price) are the primary concern.

## Known failure modes

- Token not found on supported chains (Base, Solana, Ethereum) — returns empty or error response
- Invalid token contract address format — validation error
- Token has no active DEX pools — empty liquidity data returned
- DexScreener API unavailable — upstream data fetch failure
- Payment not processed (HTTP 402) — x402 USDC micropayment required before data is returned

## 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-depth-oracle)

## Output

Returns structured data on live DEX liquidity pools including pool depth, fully diluted valuation (FDV), 24-hour trading volume, and 1-hour buy/sell orderflow pressure ratios, enabling assessment of slippage risk and market sentiment for a given token.

## 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-d0f2e586/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)
