# Beggar Bot Protocol Comparison Utility (Base mainnet)

> Beggar Bot Protocol Comparison Utility (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-10).

Compares multiple blockchain protocols by slug on Base mainnet, returning a structured side-by-side analysis via a paid x402 GET endpoint.

## Facts

- Endpoint: GET https://beggar-bot-demand.beggarbot.workers.dev/v1/protcompare?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/beggar-bot-protocol-comparison-utility-base-mainnet-a9f47959
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_EF4ijh4hgL6BQ-FOIVLi_

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-protocol-comparison-utility-base-mainnet-a9f47959
```

Example prompt: Compare Uniswap, Aave, and Compound on Base mainnet — give me a side-by-side breakdown of those protocols using the Beggar Bot comparison tool.

## When to prefer this

Use this endpoint when you need a structured, machine-readable side-by-side comparison of 2-5 DeFi protocols by slug on Base mainnet or base-sepolia. Prefer this over individual /v1/risk or /v1/verify calls when you want comparative output in a single request. Best suited for agents performing protocol selection, due diligence, or strategy evaluation tasks on the Base ecosystem.

## Known failure modes

- Missing required 'protocols' query param — returns error indicating slugs are required
- Invalid or unrecognized protocol slugs — may return empty or partial results
- Payment not provided or insufficient — x402 payment required, returns 402 Payment Required
- Too many protocols requested (more than 5 slugs) — may be rejected or truncated
- Network param typo (e.g. 'base-sepolya') — may default to base mainnet or return error

## 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 structured JSON object with a side-by-side comparison of the requested protocols (up to 2-5 by slug), including attributes, metrics, and descriptive data relevant to each protocol on Base mainnet (or base-sepolia if specified). Payment of $0.02 USDC via x402 is required per call.

## 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": {
      "protocols": {
       "type": "string",
       "description": "2-5 slugs, comma-separated"
      }
     }
    }
   },
   "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-protocol-comparison-utility-base-mainnet-a9f47959/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)
