# Beggar Bot DEX Search (Base Mainnet)

> Beggar Bot DEX Search (Base Mainnet) is a paid API for AI agents from beggar-bot-demand.beggarbot.workers.dev, paid per call via x402, $0.02/call, status unknown (last checked 2026-11-23).

Searches decentralized exchange (DEX) data on Base mainnet, returning token/pool/swap information for a given query

## Facts

- Endpoint: GET https://beggar-bot-demand.beggarbot.workers.dev/v1/dexsearch?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-23
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/beggar-bot-dex-search-base-mainnet-bd5d4cd6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_MCth3t7eRD2X1V0rj9VE2

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 beggar-bot-dex-search-base-mainnet-bd5d4cd6
```

Example prompt: Can you search the Base mainnet DEX for liquidity pools involving the USDC token at 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 and show me what trading pairs are available?

## When to prefer this

Use this endpoint when you need to search or discover DEX pools, token pairs, or liquidity data specifically on Base mainnet (or Base Sepolia for testing). It is paid via x402 micropayments in USDC, making it suitable for agent workflows with on-chain payment capability. Prefer over free alternatives when you need reliable, structured DEX search results on Base.

## Known failure modes

- Payment required (402) if USDC x402 payment header is not included — costs $0.02 per call
- Invalid or unrecognized token address returns empty results or error
- Network parameter misconfiguration (e.g. wrong chain) returns no results
- Malformed query string may return 400 error
- Token not listed on any Base DEX returns empty result set
- Cloudflare Worker timeout if DEX data source is slow

## How this service works

Paid: /v1/verify, /v1/risk, /v1/receipt cost $0.01 USDC per call on Base mainnet via x402 (payTo 0x719227f384b66BFEF00093D6d8d32fA9dC2B40e7); utilities analyze Base mainnet (USDC 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913) by default, network=base-sepolia optional; /v1/receipt/verify and discovery files are free. Operator: Beggar Bot.

## Output

Returns JSON data about DEX pools, token pairs, liquidity, pricing, or swap routes matching the search query on Base mainnet. Exact fields depend on query but typically include pool addresses, token addresses, reserves, and pricing information.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "properties": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/beggar-bot-dex-search-base-mainnet-bd5d4cd6/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from beggar-bot-demand.beggarbot.workers.dev](https://www.zero.xyz/host/beggar-bot-demand.beggarbot.workers.dev/llms.txt)
