---
title: "Base contract event logs"
method: POST
path: "/v1/crypto/base-event-logs"
tags: ["crypto"]
---

# Base contract event logs

`POST /v1/crypto/base-event-logs`

## Request

- Base URL: `https://apiacre.com`
- URL: `https://apiacre.com/v1/crypto/base-event-logs`
- Auth: none required

Query validated eth_getLogs events from one Base mainnet contract using a required event signature and optional indexed topic filters across a bounded resolved block range.

Price: **$0.003 USDC** via x402 exact payment on Base and Solana.

## Request body

- BaseEventLogsInput
  - `contract` string, required: The 20-byte Base mainnet contract whose event logs are queried
  - `topics` string[], required: One required event-signature topic followed by optional indexed topic values or null wildcards. Signature-only scans are limited to 100 resolved blocks; adding an indexed value permits up to 2,000.
  - `lookback_blocks` integer: Inclusive resolved Base blocks to scan; defaults to the 100-block signature-only ceiling and may be raised to 2,000 with an indexed topic value
  - `limit` integer: Maximum newest-first validated logs returned
  - `block_tag` 'latest' | 'safe' | 'finalized': Base block tag resolved once as the inclusive upper bound

## Response `200`

Successful Response

- ServiceResponse
  - `request_id` string, required
  - `service` string, required
  - `version` string
  - `data` object, required
  - `meta` ServiceMeta, required
    - `duration_ms` integer, required
    - `cached` boolean
    - `sources` string[]
    - `warnings` string[]
    - `next_actions` ServiceNextAction[]
      - `service` string, required
      - `title` string, required
      - `reason` string, required
      - `method` 'POST'
      - `path` string, required
      - `price` string, required
      - `input_template` object, required
      - `use_output` string, required
      - `handoff_path` string, required
      - `checkout_path` string, required
      - `sample_path` string, nullable, required
      - `maximum_atomic_usdc` string, required
      - `handoff_payment_required` false
      - `executes_automatically` false
      - `authorization_required` boolean

## Other responses

- `402`: Payment Required. Decode PAYMENT-REQUIRED, satisfy the x402 requirement, and retry with PAYMENT-SIGNATURE.
- `422`: Validation Error

---

[API](https://skmtc.dev/apiacre/apis/api-acre.md) · [All operations](https://skmtc.dev/apiacre/apis/api-acre/llms.txt) · [OpenAPI document](https://skmtc.dev/apiacre/apis/api-acre/revisions/0ba942b920ad?raw)
