# 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 pools, FDV, 24h volume, and 1h buy/sell orderflow pressure for a given token via DexScreener data

## Facts

- Endpoint: GET https://onchain-risk.agentdiet.dev/v1/dex-screener?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-2800f0ed
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Az7J2M2HIhfIP8zV7UaD4

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-2800f0ed
```

Example prompt: Can you pull the live DexScreener liquidity pool data, FDV, 24h volume, and 1h buy/sell orderflow pressure for the AERO token on Base so I can assess slippage risk before trading?

## When to prefer this

Choose this endpoint when you need real-time DEX-level liquidity and orderflow data for a specific token before executing or recommending a trade, or when assessing market depth and slippage risk on Base, Solana, or Ethereum. Prefer this over general price APIs when you specifically need pool-level liquidity metrics, FDV, volume, and buy/sell pressure rather than just spot price.

## Known failure modes

- Token symbol or contract address not found on supported chains returns empty or error response
- Token exists on unsupported chain returns no data
- Rate limiting or payment failure (HTTP 402) if x402 payment not correctly included
- Stale or missing DexScreener data for very new or illiquid tokens
- Invalid contract address format causes parameter validation error

## 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-screener)

## Output

Returns a structured object containing live DexScreener liquidity pool details for the requested token, including pool addresses, fully diluted valuation (FDV), 24-hour trading volume, current liquidity depth, and 1-hour buy/sell orderflow pressure metrics — enabling slippage estimation and market health assessment.

## 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-2800f0ed/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)
