# 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-11-17).

Fetches live DexScreener liquidity pool data, FDV, 24h volume, and 1h buy/sell orderflow pressure for a given token on Base, Solana, or Ethereum.

## Facts

- Endpoint: POST https://onchain-risk.agentdiet.dev/v1/raydium-liquidity?utm_source=zero.xyz
- Price: $0.01/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-11-17
- 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-d10ca3b4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_n0p8FArKRpRxYVzpoPk31

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-d10ca3b4 -d '<json body>'
```

Example prompt: Can you pull the live DEX liquidity pool data, FDV, 24h volume, and 1h buy/sell orderflow pressure for the AERO token so I can assess whether there's enough liquidity to trade it without significant slippage?

## When to prefer this

Use this endpoint when you need real-time DEX liquidity intelligence — specifically pool depth, FDV, 24h volume, and short-term orderflow pressure — for tokens on Base, Solana, or Ethereum. Prefer it over generic price APIs when you need to assess slippage risk before executing a trade, detect unusual buy/sell pressure, or audit on-chain market health for a DeFi token. It is particularly well-suited for autonomous trading agents, risk management workflows, and pre-trade due diligence tasks.

## Known failure modes

- Token symbol or contract address not found on supported chains — returns empty or error response
- Token exists but has no active DexScreener liquidity pools — returns minimal or null pool data
- Invalid or malformed token address input — returns validation error
- DexScreener upstream data unavailable or rate-limited — returns upstream error
- Payment not completed (HTTP 402) — request blocked until x402 micropayment is fulfilled

## 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/raydium-liquidity)

## Output

Returns live liquidity pool details including pool addresses, liquidity depth, fully diluted valuation (FDV), 24-hour trading volume, and 1-hour buy/sell orderflow pressure — giving a snapshot of market depth and short-term trading dynamics for the queried token.

## 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-d10ca3b4/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)
