# KiteEndpoints.ai - Contract Events Lookup

> KiteEndpoints.ai - Contract Events Lookup is a paid API for AI agents from kite-hub-v2.vercel.app, paid per call via x402, $0.17/call, status unknown (last checked 2026-11-25).

Fetches on-chain contract events for a given smart contract address via a pay-per-request API hub

## Facts

- Endpoint: POST https://kite-hub-v2.vercel.app/api/contract-events?utm_source=zero.xyz
- Price: $0.17/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-25
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/kiteendpoints-ai-contract-events-lookup-ffca9314
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_gYt1iAJINtsHdbBVA3Bk_

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 kiteendpoints-ai-contract-events-lookup-ffca9314 -d '<json body>'
```

Example prompt: Can you pull all contract events emitted by the Ethereum smart contract at 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 from block 19000000 to 19100000?

## When to prefer this

Use this endpoint when you need to retrieve historical or recent on-chain event logs for a specific smart contract without setting up your own blockchain node or indexer. It is well-suited for one-off or low-frequency queries where pay-per-request pricing ($0.17 USDC) is acceptable, especially in agentic workflows that need blockchain data alongside other API types available in the KiteEndpoints hub.

## Known failure modes

- Invalid or non-existent contract address returns an error or empty result
- Block range too large may cause timeout or truncated results
- Unsupported blockchain network returns an error
- Missing required parameters such as contract address or block range returns a 400-level error
- Payment failure (insufficient USDC) blocks the request at the x402 payment layer

## How this service works

400+ paid API endpoints. Social media, AI, crypto, finance, weather, ecommerce, tools. Pay per request with USDC on Base chain.

## Output

Returns a JSON object containing an array of contract event logs, including event names, transaction hashes, block numbers, emitting contract addresses, and decoded event parameters for the queried smart contract and block range.

## 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/kiteendpoints-ai-contract-events-lookup-ffca9314/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from kite-hub-v2.vercel.app](https://www.zero.xyz/host/kite-hub-v2.vercel.app/llms.txt)
