# BlackBobs.ai Contract Events API

> BlackBobs.ai Contract Events API is a paid API for AI agents from blackbobs-ai.vercel.app, paid per call via x402, $0.127856/call, status unknown (last checked 2026-09-14).

Fetches on-chain smart contract events from a blockchain, returning structured event log data for a given contract.

## Facts

- Endpoint: POST https://blackbobs-ai.vercel.app/api/contract-events
- Price: $0.127856/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/blackbobs-ai-contract-events-api-9571f3af
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap__KRSzKTHAsDzT-BgqQMTf

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 blackbobs-ai-contract-events-api-9571f3af -d '<json body>'
```

Example prompt: Can you pull all the events emitted by the smart contract at address 0xAbC123... on Base chain so I can see what activity has happened on it recently?

## When to prefer this

Choose this endpoint when you need to programmatically retrieve on-chain smart contract event logs from Base chain without setting up your own RPC node or indexer. It is especially useful for agents that need quick, pay-per-call access to blockchain event data without managing infrastructure, and when querying contracts on Base specifically.

## Known failure modes

- Invalid or malformed contract address returns an error result
- Contract address not deployed on the specified network returns empty or error response
- Block range too large may result in timeout or truncated response
- Network connectivity issues to Base chain RPC may return upstream errors
- Unsupported event type or ABI mismatch may return undecoded raw logs

## How this service works

194 production-ready API endpoints. AI, Search, Social, Finance, Crypto. Pay-per-call with x402 on Base chain.

## Output

Returns a structured result object containing on-chain event logs for the queried smart contract, including event types, transaction hashes, block numbers, emitting addresses, and decoded event parameters where available.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "result": {
   "type": "object",
   "description": "API response data"
  }
 }
}
```

## 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/blackbobs-ai-contract-events-api-9571f3af/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from blackbobs-ai.vercel.app](https://www.zero.xyz/host/blackbobs-ai.vercel.app/llms.txt)
