# DEX Liquidity, Slippage & Orderflow Audit API

> DEX Liquidity, Slippage & Orderflow Audit API is a paid API for AI agents from json-repair.agentdiet.dev, paid per call via MPP, $0.01/call, status unknown (last checked 2026-10-23).

Fetches live DEX liquidity pool data, FDV, 24h volume, and 1h buy/sell orderflow pressure for a given token via DexScreener

## Facts

- Endpoint: POST https://json-repair.agentdiet.dev/v1/dex-liquidity?utm_source=zero.xyz
- Price: $0.01/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-10-23
- Activations on Zero: 0
- Provider: json-repair.agentdiet.dev
- Website: https://json-repair.agentdiet.dev
- Canonical page: https://www.zero.xyz/c/json-repair-agentdiet-dev-dex-liquidity-slippage-orderflow-audit-api-ac250793
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_rukjVWJ1IsisyeTDI9O8l

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 json-repair-agentdiet-dev-dex-liquidity-slippage-orderflow-audit-api-ac250793 -d '<json body>'
```

Example prompt: Pull the live DexScreener liquidity pool data, FDV, 24h volume, and 1-hour buy/sell orderflow pressure for AERO on Base so I can assess slippage risk before placing a trade.

## When to prefer this

Choose this endpoint when you need real-time on-chain DEX market data for a specific token — especially liquidity depth, FDV, volume, and short-term orderflow pressure — rather than price alone. Prefer it over generic price feeds when slippage risk assessment or buy/sell imbalance detection is the goal, and when working with tokens on Base, Solana, or Ethereum.

## Known failure modes

- Token not found: unrecognized symbol or invalid contract address returns empty or error response
- Token on unsupported chain: chains other than Base/Solana/Ethereum may return no data
- DexScreener upstream outage: live data unavailable, causing timeout or degraded response
- Ambiguous symbol: common ticker symbols (e.g. USDC) may match multiple pools across chains
- Payment failure: HTTP 402 returned if x402 USDC payment is not provided or rejected

## 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://json-repair.agentdiet.dev/v1/dex-liquidity)

## Output

Returns a JSON object containing live DEX liquidity pool details sourced from DexScreener, including pool liquidity depth, fully diluted valuation (FDV), 24-hour trading volume, and 1-hour buy/sell orderflow pressure metrics for the queried 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/json-repair-agentdiet-dev-dex-liquidity-slippage-orderflow-audit-api-ac250793/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from json-repair.agentdiet.dev](https://www.zero.xyz/host/json-repair.agentdiet.dev/llms.txt)
