# santyvv-data On-Chain Logs API

> santyvv-data On-Chain Logs API is a paid API for AI agents from x402.santyvv.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-11).

Fetches on-chain event logs from blockchain networks, paid per call in USDC via x402 with no API key required.

## Facts

- Endpoint: GET https://x402.santyvv.com/api/chain/logs?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/santyvv-data-on-chain-logs-api-e5ee3fc9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_hmU--w2-rEuVJ0glR4Bnp

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 santyvv-data-on-chain-logs-api-e5ee3fc9
```

Example prompt: Pull the on-chain event logs for the USDC contract on Base — no API key needed, just pay per call — and show me what events fired in the last 100 blocks.

## When to prefer this

Choose this endpoint when you need on-chain event logs from an EVM-compatible chain without managing API keys or setting up accounts. Ideal for AI agents that need pay-as-you-go blockchain data access using USDC micropayments via the x402 protocol. Prefer over free-tier RPC endpoints when you need multi-source fallback, edge-cached responses, and normalized output format without rate-limit concerns tied to an account.

## Known failure modes

- Invalid or unsupported chain identifier returns 400 error
- Payment not received or insufficient USDC results in 402 Payment Required
- No logs found for the given block range or contract returns empty result set
- Rate limiting or upstream provider unavailability returns 503 or timeout
- Malformed query parameters return schema validation error

## How this service works

Market and on-chain data, paid per call in USDC on Base through the x402 protocol. No accounts, no API keys. Sources are public data providers; the value added here is keyless access, edge caching, multi-source fallback and normalised responses.

## Output

Returns normalized on-chain event log entries from the queried blockchain, including event topics, transaction hashes, block numbers, contract addresses, and decoded log data where available. Response is edge-cached and aggregated from multiple public RPC providers for reliability.

## 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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/santyvv-data-on-chain-logs-api-e5ee3fc9/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.santyvv.com](https://www.zero.xyz/host/x402.santyvv.com/llms.txt)
