# BaseBrain DEX Search

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

Searches decentralized exchange (DEX) data, likely returning token pairs, liquidity pools, or trade information based on a search query

## Facts

- Endpoint: POST https://basebrain-ai.vercel.app/api/dex/search
- Price: $0.18/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-search-aaa2ab0b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Ftxhmu7XEH4vGJLxhBjZr

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-search-aaa2ab0b -d '<json body>'
```

Example prompt: Search the BaseBrain DEX for information on the USDC/ETH trading pair and show me what liquidity pools or swap routes are available.

## When to prefer this

Use this endpoint when you need to search for token or trading pair information on decentralized exchanges and want a paid, low-latency lookup. Best suited for DeFi workflows where on-chain DEX data discovery is needed without building direct blockchain integrations.

## Known failure modes

- Invalid or malformed search query returns empty results
- Token or pair not found on indexed DEXes returns no data
- Schema is underdocumented so required query parameters may be unclear
- Rate limiting or payment failure returns 402 error
- Backend DEX data source unavailable returns 500 error

## How this service works

Generated by create next app

## Output

Returns a result object containing DEX search data, which may include matching token pairs, liquidity pool details, pricing information, or available swap routes for the queried token or pair.

## 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-search-aaa2ab0b/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)
