# 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 DexScreener liquidity pools, FDV, 24h volume, and 1h buy/sell orderflow pressure for a given token on Base, Solana, or Ethereum.

## Facts

- Endpoint: GET https://defi-yield.agentdiet.dev/v1/dex-scanner?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-aa1e7769
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_hW16wV67DZaTFJhBHbjdd

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-aa1e7769
```

Example prompt: Can you pull the live DEX liquidity, FDV, 24h volume, and buy/sell orderflow pressure for AERO on Base so I can decide if it's safe to trade without too much slippage?

## When to prefer this

Choose this endpoint when you need real-time DEX-native liquidity, volume, and orderflow data for a specific token on Base, Solana, or Ethereum — especially before executing a trade or assessing market depth. Prefer this over CEX data sources when on-chain slippage and pool-level granularity matter, or when the token is not listed on centralized exchanges.

## Known failure modes

- Token symbol not found or not listed on any supported DEX — returns empty or error response
- Invalid or unrecognized contract address format — returns validation error
- Token exists but has no active liquidity pools — returns empty pool data
- Network-level issues with DexScreener upstream — returns timeout or 503
- Payment not fulfilled (402) — request blocked until x402 micropayment is completed

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

## Output

Returns live DEX pool data including liquidity depth, fully diluted valuation (FDV), 24-hour trading volume, and 1-hour buy/sell orderflow pressure ratios 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/defi-yield-agentdiet-dev-dex-liquidity-slippage-orderflow-audit-api-aa1e7769/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)
