# Blue Hub Liquidity Depth

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

Returns liquidity depth, slippage estimate, and exit risk metrics for a Base blockchain token.

## Facts

- Endpoint: POST https://blueagent.dev/api/x402/liquidity-depth?utm_source=zero.xyz
- Price: $0.03/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-liquidity-depth-1384f9d9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_p--OxxriKBCNRk1alpGYm

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-liquidity-depth-1384f9d9 -d '<json body>'
```

Example prompt: What's the liquidity depth and expected slippage for BRETT on Base — I'm thinking of putting in around $5,000?

## When to prefer this

Use this endpoint when you need to evaluate whether a Base blockchain token has sufficient DEX liquidity for a trade, assess realistic slippage before executing a swap, or quantify exit risk before entering or exiting a position. Prefer this over generic DeFi data endpoints when you need slippage and exit risk combined in a single call specifically for Base chain tokens.

## Known failure modes

- Unknown or invalid token address returns an error or empty result
- Token not listed on any Base DEX returns no liquidity data
- Extremely illiquid tokens may return high slippage or exit risk warnings
- Network or RPC issues may cause timeouts or stale data
- Invalid trade_size_usd format may cause computation errors

## How this service works

Liquidity depth, slippage estimate and exit risk for a Base token. Use when an agent asks how much of a Base token it can sell without moving the price, or needs a slippage figure before a trade.

## Output

Returns on-chain liquidity depth metrics, a slippage estimate for the specified trade size, and an exit risk assessment indicating how safely and efficiently a position in the given Base token can be liquidated.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "token": {
   "type": "string",
   "description": "Token address or ticker"
  },
  "trade_size_usd": {
   "type": "string",
   "description": "Fixed by the Hub; override if you need a different value"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/blue-hub-liquidity-depth-1384f9d9/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)
