Logs
Get Event Logs by Address and Topics
Retrieves event logs from a specified address, filtered by topics and block range.
GET
Get Event Logs by Address and Topics
Documentation Index
Fetch the complete documentation index at: https://docs.etherscan.io/llms.txt
Use this file to discover all available pages before exploring further.
Query Parameters
Your Etherscan API key.
Chain ID to query, eg
1 for Ethereum, 8453 for Base from our supported chains.Set to
logs for this endpoint.Set to
getLogs for this endpoint.Starting block number to search from.
Ending block number to search to.
Address to check for logs.
First topic to filter by, such as an event signature.
Topic operator between
topic0 and topic1, either and or or.Second topic to filter by.
Page number for pagination.
Number of records per page. Use the
page parameter for subsequent records.