0xAPI (Beta)
avatar

API Reference2/5

Clear
0xAPI provides a comprehensive suite of multichain data APIs and development tools designed to simplify Web3 integration across more than 20 blockchain networks.
search

GET
Get Blocks

Retrieves a paginated list of the most recent blocks on the blockchain.
v2/{chain_name}/blocks
Try it

GET
Lookup Block By Timestamp

Finds and retrieves the details of the closest block to a given timestamp. The lookup can be directed to find the block immediately before or after the specified time.
v2/{chain_name}/blocks/by-timestamp/{timestamp}
Try it

GET
Lookup Block By Number

Retrieves the full details of a specific block, identified by its block number or the "latest" tag.
v2/{chain_name}/blocks/{block_number}
Try it

GET
Get Events

Fetches a paginated list of smart contract event logs. Can be filtered by contract address and event signatures (topic0).
v2/{chain_name}/events
Try it