# DEX Liquidity, Slippage & Orderflow Audit API

> DEX Liquidity, Slippage & Orderflow Audit API is a paid API for AI agents from github-audit.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://github-audit.agentdiet.dev/v1/pair-analytics?utm_source=zero.xyz
- Price: $0.015/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-10-21
- Activations on Zero: 0
- Provider: github-audit.agentdiet.dev
- Website: https://github-audit.agentdiet.dev
- Canonical page: https://www.zero.xyz/c/github-audit-agentdiet-dev-dex-liquidity-slippage-orderflow-audit-api-b693025a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Bj_ODCRRbTThS2NGRlcXK

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 github-audit-agentdiet-dev-dex-liquidity-slippage-orderflow-audit-api-b693025a
```

Example prompt: Can you pull up the live DEX liquidity, 24h volume, FDV, and the 1-hour buy/sell orderflow pressure for AERO on Base so I can gauge slippage risk before making a large swap?

## When to prefer this

Choose this endpoint when you need real-time DEX-level intelligence about a specific token's liquidity, volume, and buy/sell pressure — especially before executing a swap or assessing slippage risk. It is preferable over generic crypto price APIs when orderflow momentum and pool-depth data are required. Best for Base, Solana, and Ethereum tokens with active DexScreener listings.

## Known failure modes

- Token not found on DexScreener — returns empty or error if the contract address is invalid or the token has no listed pairs
- Unsupported network — token on a chain other than Base/Solana/Ethereum may return no results
- Rate limit or payment failure — HTTP 402 if payment is not attached correctly via x402 protocol
- Symbol ambiguity — common symbols like 'USDC' may return multiple pairs across chains, requiring disambiguation
- Stale or low-liquidity data — very new or illiquid tokens may have incomplete pool data

## 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://github-audit.agentdiet.dev/v1/pair-analytics)

## Output

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