Api Endpoint

base-events

Smart contract event logs on Base mainnet (Base contract events) via eth_getLogs - filter by contract address and up to 4 topics, up to 2,000 blocks, raw logs with topics, data, block and tx hash.

Open interactive test console

Offering

Provider
x402.agentindex.world
Method
POST
Offering type
Api Endpoint
Transport type
http
Category
Blockchain And Crypto
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://x402.agentindex.world/base/events
MIME type
application/json
First seen
2026-10-16T01:50:45.949Z
Last seen
Tags
base rpc, event logs base, eth_getLogs, filter logs, Base mainnet

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.005 USDC
Atomic price: 5000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "5000",
    "payTo": "0xb3F32bdfe8D07825BC0D7387295aB1D7559BA69d"
  }
]

Observed health

Status
Reachable
Latest latency
402 ms
Average latency
860 ms
HTTP status
405
Last checked
Reachability
100% over 14 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "const": "http"
    },
    "method": {
      "type": "string",
      "enum": [
        "POST",
        "PUT",
        "PATCH"
      ]
    },
    "bodyType": {
      "type": "string",
      "enum": [
        "json",
        "form-data",
        "text"
      ]
    },
    "body": {
      "properties": {
        "address": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Address"
        },
        "topics": {
          "items": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "maxItems": 4,
          "title": "Topics",
          "type": "array"
        },
        "from_block": {
          "minimum": 0,
          "title": "From Block",
          "type": "integer"
        },
        "to_block": {
          "minimum": 0,
          "title": "To Block",
          "type": "integer"
        }
      },
      "required": [
        "from_block",
        "to_block"
      ],
      "title": "EventsInput",
      "type": "object"
    }
  },
  "required": [
    "type",
    "method",
    "bodyType",
    "body"
  ],
  "additionalProperties": false
}

Output schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string"
    },
    "example": {
      "type": "object",
      "properties": {
        "address": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Address"
        },
        "topics": {
          "items": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "title": "Topics",
          "type": "array"
        },
        "from_block": {
          "title": "From Block",
          "type": "integer"
        },
        "to_block": {
          "title": "To Block",
          "type": "integer"
        },
        "logs": {
          "items": {
            "properties": {
              "address": {
                "title": "Address",
                "type": "string"
              },
              "topics": {
                "items": {
                  "type": "string"
                },
                "title": "Topics",
                "type": "array"
              },
              "data": {
                "title": "Data",
                "type": "string"
              },
              "block_number": {
                "title": "Block Number",
                "type": "integer"
              },
              "transaction_hash": {
                "title": "Transaction Hash",
                "type": "string"
              },
              "log_index": {
                "title": "Log Index",
                "type": "integer"
              }
            },
            "required": [
              "address",
              "topics",
              "data",
              "block_number",
              "transaction_hash",
              "log_index"
            ],
            "title": "LogEntry",
            "type": "object"
          },
          "title": "Logs",
          "type": "array"
        }
      },
      "required": [
        "address",
        "topics",
        "from_block",
        "to_block",
        "logs"
      ],
      "title": "EventsOutput"
    }
  },
  "required": [
    "type"
  ]
}