# Blue Hub DEX Flow

> Blue Hub DEX Flow is a paid API for AI agents from blueagent.dev, paid per call via x402, $0.15/call, status unknown (last checked 2026-11-16).

Returns live DEX volume, buy/sell pressure, and liquidity flow metrics for any Base token using DexScreener data.

## Facts

- Endpoint: POST https://blueagent.dev/api/x402/dex-flow?utm_source=zero.xyz
- Price: $0.15/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/blue-hub-dex-flow-44d914de
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_zQ1AkadM1Kk6h4Bz0gH5Z

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 blue-hub-dex-flow-44d914de -d '<json body>'
```

Example prompt: What's the current DEX volume and buy/sell pressure for the token at 0x4ed4E862860beD51a9570b96d89aF5E1B0Efefed on Base — is there more buying or selling pressure right now?

## When to prefer this

Use this endpoint when you need real-time DEX trading dynamics — volume, buy/sell pressure, and liquidity flow — for a specific Base chain token. Prefer this over price-only endpoints when you need directional market sentiment or trading activity intensity. Choose this over on-chain RPC calls when you want aggregated DEX-level metrics rather than raw contract state.

## Known failure modes

- Unknown or unrecognized token address returns empty or error response
- Token not listed on any Base DEX results in no data
- Invalid contract address format causes request failure
- DexScreener upstream outage may cause stale or missing data
- Ticker symbol ambiguity may resolve to wrong token — prefer contract address

## How this service works

DEX volume, buy/sell pressure and liquidity flow for any Base token — live DexScreener data.

## Output

Returns live DexScreener-sourced metrics for the specified Base token including DEX trading volume, directional buy/sell pressure ratio, and liquidity flow data — indicating whether capital is entering or leaving the token's liquidity pools.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "token": {
   "type": "string",
   "description": "Token contract address or ticker"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/blue-hub-dex-flow-44d914de/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from blueagent.dev](https://www.zero.xyz/host/blueagent.dev/llms.txt)
