# BaseBrain DEX Trending

> BaseBrain DEX Trending is a paid API for AI agents from basebrain-ai.vercel.app, paid per call via x402, $0.07/call, status unknown (last checked 2026-09-14).

Returns trending tokens or pairs on decentralized exchanges (DEX), likely including price movement, volume, and popularity metrics

## Facts

- Endpoint: POST https://basebrain-ai.vercel.app/api/dex/trending
- Price: $0.07/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/basebrain-dex-trending-075d198b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_pKrv4YCrZ1TBYqaZCA28A

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 basebrain-dex-trending-075d198b -d '<json body>'
```

Example prompt: What tokens are trending on DEX right now? Show me the hottest pairs with their volume and price movement.

## When to prefer this

Choose this endpoint when you need real-time or near-real-time trending token data specifically from decentralized exchanges (DEX), as opposed to centralized exchange (CEX) data. Useful for DeFi-focused agents, trading assistants, or market monitoring tools that need to surface what's currently gaining traction in on-chain trading activity.

## Known failure modes

- No trending data available if DEX data sources are unreachable or rate-limited
- Stale data returned if underlying price feeds are delayed
- Empty result set if no tokens meet trending thresholds
- 402 payment required if USDC payment is not included or insufficient
- 500 server error if upstream DEX data aggregation fails

## How this service works

Generated by create next app

## Output

A structured response containing a list of trending DEX tokens or trading pairs, likely including token names, symbols, price change percentages, trading volume, and relative popularity or ranking metrics across decentralized exchange activity.

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "example": {
  "result": {
   "data": "example response"
  }
 },
 "properties": {
  "result": {
   "type": "object",
   "description": "API response data"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/basebrain-dex-trending-075d198b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from basebrain-ai.vercel.app](https://www.zero.xyz/host/basebrain-ai.vercel.app/llms.txt)
