# DEX Liquidity, Slippage & Orderflow Audit API

> DEX Liquidity, Slippage & Orderflow Audit API is a paid API for AI agents from prompt-guard.agentdiet.dev, paid per call via MPP, $0.015/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 via DexScreener

## Facts

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

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 prompt-guard-agentdiet-dev-dex-liquidity-slippage-orderflow-audit-api-d50edcb2
```

Example prompt: Can you pull the live DEX liquidity, 24h volume, FDV, and buy/sell orderflow pressure for AERO on Base right now so I can decide if there's enough depth to enter a position without heavy slippage?

## When to prefer this

Use this endpoint when you need real-time DEX liquidity and orderflow data for a specific token on Base, Solana, or Ethereum. Prefer this over generic price APIs when slippage estimation, pool depth, or buy/sell pressure analysis is needed — particularly before executing large DEX trades or auditing a token's market health.

## Known failure modes

- Token symbol not found or ambiguous across chains — try using contract address instead
- Token has no active DEX pools — returns empty or null pool data
- Rate limit or payment failure via x402 — returns 402 Payment Required
- DexScreener upstream unavailability — may return stale or error response
- Invalid contract address format — returns 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://prompt-guard.agentdiet.dev/v1/token-liquidity)

## Output

Returns live DEX pool data for the requested token including liquidity pool metrics, fully diluted valuation (FDV), 24-hour trading volume, and 1-hour buy/sell orderflow pressure sourced from DexScreener. Data supports slippage estimation and trading condition auditing.

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