# Beggar Bot Event Topic Lookup (Base mainnet)

> Beggar Bot Event Topic Lookup (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).

Looks up Ethereum/Base event topic hashes and their corresponding event signatures for given topic0 values or event signature strings

## Facts

- Endpoint: GET https://beggar-bot-demand.beggarbot.workers.dev/v1/eventtopic?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-event-topic-lookup-base-mainnet-7bdcbaca
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Y4R9bGBMe_wCJXcwuwspv

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-event-topic-lookup-base-mainnet-7bdcbaca
```

Example prompt: What event signature corresponds to topic0 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef on Base mainnet — can you look that up for me?

## When to prefer this

Use this endpoint when you need to resolve EVM event topic0 hashes to human-readable event signatures (or vice versa) on Base mainnet, without maintaining your own ABI registry. Particularly useful for agents indexing or analyzing on-chain event logs who encounter unknown topic hashes and need to identify the event type programmatically.

## Known failure modes

- Unknown topic hash — returns empty or null result if the topic is not in the database
- Missing required query parameter — returns an error if neither topic nor signature is provided
- Payment failure — x402 payment not completed results in 402 response requiring $0.02 USDC on Base mainnet
- Rate limiting or worker timeout on Cloudflare edge
- Invalid CSV format for multiple topic0 values causing parse 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 JSON object mapping the queried topic0 hash(es) to their corresponding event signatures, allowing agents and developers to decode EVM event logs on Base mainnet without maintaining a local ABI database.

## 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": {
      "topic": {
       "type": "string",
       "description": "csv 0x topic0"
      },
      "signature": {
       "type": "string",
       "description": "event sig(s), ; 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-event-topic-lookup-base-mainnet-7bdcbaca/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)
