# BaseBrain DEX Token Pairs

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

Retrieves trading pairs data for decentralized exchange (DEX) tokens

## Facts

- Endpoint: POST https://basebrain-ai.vercel.app/api/dex/token-pairs
- Price: $0.06/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-token-pairs-db53ad20
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_EwOWAFjfHhnb2lN9XIXlZ

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-token-pairs-db53ad20 -d '<json body>'
```

Example prompt: Can you find all the DEX trading pairs available for the WETH token so I can see what I can swap it with?

## When to prefer this

Choose this endpoint when you need to discover available trading pairs for a specific token on decentralized exchanges, particularly when building DeFi trading tools, liquidity analysis dashboards, or swap route finders. Best suited for on-demand pair lookups rather than continuous market monitoring.

## Known failure modes

- Invalid or unrecognized token address returns empty result or error
- Malformed request body causes 400 error
- Service unavailable or vercel deployment cold start causes timeout
- Token with no DEX pairs returns empty data set
- Payment failure (x402) prevents request from being processed

## How this service works

Generated by create next app

## Output

Returns an object containing DEX token pair data, including available trading pairs, token addresses, and related metadata for the queried token on decentralized exchanges.

## 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-token-pairs-db53ad20/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)
