# DEX Liquidity, Slippage & Orderflow Audit API

> DEX Liquidity, Slippage & Orderflow Audit API is a paid API for AI agents from onchain-risk.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 1h buy/sell orderflow pressure for a given token on Base, Solana, or Ethereum via DexScreener.

## Facts

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

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 onchain-risk-agentdiet-dev-dex-liquidity-slippage-orderflow-audit-api-d9b77446
```

Example prompt: Can you check the live DEX liquidity, 24h volume, FDV, and current buy/sell orderflow pressure for AERO on Base so I can decide whether it's safe to put in a large position?

## When to prefer this

Choose this endpoint when you need real-time DEX liquidity, volume, and orderflow data for a specific token before executing a trade, assessing market depth, or evaluating a new token listing. It is particularly useful when the token is on Base, Solana, or Ethereum and you need DexScreener-sourced pool-level data including buy/sell pressure rather than just price. Prefer this over general price APIs when slippage estimation or orderflow momentum is the primary concern.

## Known failure modes

- Token not found on DexScreener — unknown symbol or contract address returns empty or error response
- Token exists but has no active liquidity pools — response may return zero liquidity values
- Invalid contract address format causes a 400-level validation error
- DexScreener data unavailable or rate-limited upstream causing delayed or failed response
- Token symbol is ambiguous across chains — results may include multiple pools requiring disambiguation

## 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://onchain-risk.agentdiet.dev/v1/dex-liquidity-depth-oracle)

## Output

Returns live DEX liquidity pool information including pool identifiers, total liquidity depth, fully diluted valuation (FDV), 24-hour trading volume, and 1-hour buy/sell orderflow pressure for the specified token across supported chains (Base, Solana, 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/onchain-risk-agentdiet-dev-dex-liquidity-slippage-orderflow-audit-api-d9b77446/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from onchain-risk.agentdiet.dev](https://www.zero.xyz/host/onchain-risk.agentdiet.dev/llms.txt)
