{"slug":"api-zato-org-api-chain-events-4ef5dd","title":"Query Ethereum contract event logs via eth_getLogs","host":"api.zato.org","method":"GET","resource":"https://api.zato.org/api/chain/events","category":"market","description":"Query Ethereum contract event logs via eth_getLogs - filter by contract, optional topic0 (event signature hash) and block range (max 800 blocks; default: last 100 blocks). Cheaper drop-in: same path, params and response.","price_listed":0.002,"price_asked":0.002,"state":"answering","state_label":"Answering","checked_on":"2026-12-02","checks_7d":2,"answered_7d":2,"latency_ms_median":336,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"method":"GET","queryParams":{"contract":"0xdac17f958d2ee523a2206206994597c13d831ec7","network":"ethereum"},"type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"properties":{"contract":{"description":"contract address that emitted the events","type":"string"},"from_block":{"description":"optional start block (decimal or hex); default latest-99","type":"string"},"network":{"description":"ethereum","type":"string"},"to_block":{"description":"optional end block (decimal, hex or latest)","type":"string"},"topic0":{"description":"optional event signature hash (topic0)","type":"string"}},"required":["contract"],"type":"object"},"type":{"const":"http","type":"string"}},"required":["type","method"],"type":"object"},"output":{"properties":{"example":{"properties":{"data":{"properties":{"count":{"type":"integer"},"from_block":{"type":"string"},"logs":{"items":{"properties":{"address":{"type":"string"},"blockHash":{"type":"string"},"blockNumber":{"type":"string"},"blockTimestamp":{"type":"string"},"data":{"type":"string"},"logIndex":{"type":"string"},"removed":{"type":"boolean"},"topics":{"type":"array"},"transactionHash":{"type":"string"},"transactionIndex":{"type":"string"}},"type":"object"},"type":"array"},"to_block":{"type":"string"},"truncated":{"type":"boolean"}},"type":"object"},"meta":{"type":"object"}},"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-12-02","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.002,"price_match":true,"latency_ms":345,"error":null},{"day":"2026-12-01","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.002,"price_match":true,"latency_ms":327,"error":null}],"description_full":"Query Ethereum contract event logs via eth_getLogs - filter by contract, optional topic0 (event signature hash) and block range (max 800 blocks; default: last 100 blocks). Cheaper drop-in: same path, params and response.","last_updated":"2026-12-01T08:52:12.688Z","schemes":["exact"]}