# Beggar Bot Pool Swaps – Base Mainnet

> Beggar Bot Pool Swaps – 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).

Fetches recent swap activity for a specific liquidity pool on Base mainnet over a configurable time window

## Facts

- Endpoint: GET https://beggar-bot-demand.beggarbot.workers.dev/v1/poolswaps?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-pool-swaps-base-mainnet-2119388b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_0L1xZeGfdqwPJjomRxbYI

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-pool-swaps-base-mainnet-2119388b
```

Example prompt: Can you pull the last 90 minutes of swap activity for Base mainnet pool 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 so I can see recent trading volume?

## When to prefer this

Use this endpoint when you need on-chain swap history for a specific 0x v3-style liquidity pool on Base mainnet, particularly for DeFi monitoring, trading analysis, or bot detection workflows. It's priced at $0.02 USDC per call via x402 micropayment on Base, making it suitable for agentic, pay-per-query architectures. Prefer this over general blockchain explorers when you need structured, time-windowed swap data ready for downstream analysis.

## Known failure modes

- Missing or invalid pool address returns an error or empty result
- minutes parameter out of range (not 1–360) may return an error
- Payment not received or x402 payment failure results in 402 response
- Pool address not recognized on Base mainnet returns empty swap list
- Network congestion may cause delayed or incomplete data

## 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 a JSON array or object containing recent swap records for the specified pool on Base mainnet, including swap details such as timestamps, token amounts, and trade direction, covering the requested time window (default 60 minutes, up to 360 minutes).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "pool": {
       "type": "string",
       "description": "0x v3-style pool"
      },
      "minutes": {
       "type": "string",
       "description": "1-360, default 60"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/beggar-bot-pool-swaps-base-mainnet-2119388b/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)
