Get logs matching filter criteria
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Returns an array of logs that match the filter criteria specified in the params. The filter object supports filtering by block range, addresses, and topics.
Block range limits (changed in the 29 August 2026 upgrade).
The node applies two different caps depending on whether the query can use the log index:
- unindexed query (neither
addressnortopicsgiven): max 100 blocks. Unchanged. - indexed query (
addressand/ortopicsgiven): max 100 000 blocks, down from an effectively unlimited 999 999 999 999 999 999 before that upgrade.
Exceeding either cap returns -32000 too wide blocks range, the limit is <N>. Range is inclusive: toBlock - fromBlock must not exceed the cap. blockHash may be used instead of fromBlock/toBlock to query a single block.
Page in windows of 100 000 blocks or fewer.
Body
jsonrpcstringrequiredJSON-RPC version.
methodstringrequiredJSON-RPC method name.
paramsArray<object>requiredParameters array with one element: the filter object.
idintegerrequiredRequest identifier.
Response
Array of log objects matching the filter
Method not served by this endpoint. The body is the plain-text string
Method Not Allowed, not JSON.
Missing API key - the api-key header was absent. The body is the
plain-text string Missing API_key, not JSON.