Skip to content
Alchemy Logo

eth_getLogs

POST
/{apiKey}
CUs60

Returns an array of all logs matching the specified filter.

Here are the block ranges you're able to submit in a single query, depending on your plan tier:

⚠️ Note: All responses will be capped at 150MB.

ChainFreePay As You GoEnterprise
Ethereum, Base, Optimism, Arbitrum, Polygon, Worldchain, BNB, HyperEVM Mainnet, Monad Mainnet, Tempo Mainnet, Sei Mainnet10unlimitedunlimited
Monad Testnet1010001000
Berachain101,00010,000***
All Other Chains1010,00010,000***

*** Note: Querying block ranges wider than 10k for these chains is possible but less likely to succeed. Try splitting large queries into smaller parts to boost performance and reduce the likelihood of failure.

Path Parameters

stringrequireddefaults to docs-demo

For higher throughput, create your own API key

Request

objectrequired

The filter options object to specify the criteria for logs retrieval.

Responses

200

An array of log objects matching the filter criteria.

Was this page helpful?