# DEX Liquidity, Slippage & Orderflow Audit API

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

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

## Facts

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

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 alpha-stream-agentdiet-dev-dex-liquidity-slippage-orderflow-audit-api-9bbdc9fe
```

Example prompt: Can you pull up the live liquidity pools, 24-hour volume, FDV, and the last hour of buy/sell orderflow pressure for AERO on Base so I can decide if it's safe to trade a large position?

## When to prefer this

Choose this endpoint when an AI agent needs real-time DEX market microstructure data — specifically liquidity depth, orderflow imbalance, and volume — for a token on Base, Solana, or Ethereum. It is ideal for pre-trade risk assessment, slippage estimation, and detecting abnormal buy/sell pressure. Prefer it over generic price APIs when the agent needs pool-level granularity rather than just spot price.

## Known failure modes

- Invalid or unrecognized token symbol returns empty or error response
- Token not listed on supported chains (Base/Solana/Ethereum) yields no pool data
- Contract address typo results in no matching pools found
- DexScreener upstream unavailability causes stale or failed data fetch
- Payment failure via x402 blocks the request before any data is returned

## 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://alpha-stream.agentdiet.dev/v1/dex)

## Output

Returns structured data on available DEX liquidity pools for the queried token, including pool addresses, liquidity depth, fully diluted valuation, 24-hour trading volume, and 1-hour buy/sell orderflow pressure metrics sourced live from DexScreener.

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