# BaseBuilder DeFi DEX Pool Liquidity

> BaseBuilder DeFi DEX Pool Liquidity is a paid API for AI agents from bbx-defi.vercel.app, paid per call via x402, $0.119986/call, status unknown (last checked 2026-10-09).

Fetches liquidity data for a specific decentralized exchange (DEX) pool on-chain

## Facts

- Endpoint: POST https://bbx-defi.vercel.app/api/dex/pool-liquidity?utm_source=zero.xyz
- Price: $0.119986/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-09
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/basebuilder-defi-dex-pool-liquidity-fc9b1541
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_RbW4prxN65ETY-qxyy8gl

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 basebuilder-defi-dex-pool-liquidity-fc9b1541 -d '<json body>'
```

Example prompt: Can you check the current liquidity in the ETH/USDC pool on Uniswap V3 — I need to know the total reserves and pool depth before I place a large swap.

## When to prefer this

Choose this endpoint when you need real-time or near-real-time on-chain liquidity data for a specific DEX pool, particularly when building DeFi tools, pre-trade analysis pipelines, or liquidity monitoring dashboards on Base or EVM-compatible chains. Prefer this over general blockchain explorers when you need structured, programmatic liquidity data without scraping.

## Known failure modes

- Invalid or non-existent pool address returns an error or empty result
- Unsupported DEX or chain ID may return a 400 or 404 error
- RPC node timeout causing delayed or failed data retrieval
- Payment failure (402) if USDC payment of ~$0.12 is not included
- Pool with zero liquidity may return null or zero values

## How this service works

BaseBuilder Defi API hub - 22 paid endpoints

## Output

Returns on-chain liquidity metrics for the specified DEX pool, including total liquidity or TVL, token reserve amounts for each side of the pair, and potentially fee tier or pool configuration details.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/basebuilder-defi-dex-pool-liquidity-fc9b1541/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from bbx-defi.vercel.app](https://www.zero.xyz/host/bbx-defi.vercel.app/llms.txt)
