# 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 using DexScreener data.

## Facts

- Endpoint: GET https://onchain-risk.agentdiet.dev/v1/token-scanner?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-821b6f9a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_IbOgEDNWtJ1oPaOMDikC4

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-821b6f9a
```

Example prompt: Can you pull up the live DEX liquidity, 24h volume, FDV, and buy/sell orderflow pressure for AERO on Base right now so I can decide if it's safe to make a large swap?

## 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, especially before executing large trades where slippage matters, or when investigating suspicious orderflow patterns. Prefer this over generic market data APIs when you specifically need pool-level liquidity depth and buy/sell pressure rather than just price or volume.

## Known failure modes

- Token not found on supported chains — returns empty or error if the symbol or contract address doesn't match any DexScreener listing
- Invalid token address format — may return error or no results for malformed contract addresses
- Token has no active liquidity pools — endpoint may return null or zero values for illiquid/delisted tokens
- Rate limit or payment failure — HTTP 402 if x402 payment is not included or insufficient
- DexScreener upstream unavailability — may return stale or failed data if the data source is down

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

## Output

Returns live DexScreener data including liquidity pool details, fully diluted valuation (FDV), 24-hour trading volume, and 1-hour buy/sell orderflow pressure metrics for the specified token on 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-821b6f9a/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)
