# BaseBuilder DeFi DEX Trending Endpoint

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

Returns trending tokens or pairs on decentralized exchanges (DEX), surfacing what is currently popular or gaining volume on-chain

## Facts

- Endpoint: POST https://bbx-defi.vercel.app/api/dex/trending
- Price: $0.114175/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/basebuilder-defi-dex-trending-endpoint-7792559b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_JHTdZQzq10LvzvjnY_Uxh

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-trending-endpoint-7792559b -d '<json body>'
```

Example prompt: What tokens are trending on DEX right now — show me the top movers by volume across decentralized exchanges on Base chain.

## When to prefer this

Use this endpoint when you need real-time or near-real-time trending token data from decentralized exchanges, particularly on Base chain or EVM-compatible networks. Prefer this over centralized exchange APIs when the user specifically wants DeFi/DEX activity, on-chain volume, or Base ecosystem token trends.

## Known failure modes

- Invalid or missing chain/DEX parameter returns 400 bad request
- Payment not received or insufficient USDC returns 402 Payment Required
- Upstream on-chain data unavailable returns 503 or empty result set
- Malformed POST body returns 422 unprocessable entity
- Rate limit exceeded returns 429 too many requests

## How this service works

BaseBuilder Defi API hub - 22 paid endpoints

## Output

A ranked list of trending tokens or trading pairs on decentralized exchanges, including metrics such as volume, price change, and activity signals that indicate which assets are gaining momentum.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/basebuilder-defi-dex-trending-endpoint-7792559b/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)
