0xAPI (Beta)
avatar

API Reference3/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

GET
Get Transactions

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

GET
Lookup Transaction By Hash

Fetches the full details of a single transaction, identified by its unique hash.
v2/{chain_name}/transactions/{transaction_hash}
Try it

GET
Get Transactions By Wallet

Retrieves a paginated list of all transactions associated with a specific wallet address.
v2/{chain_name}/wallets/{wallet_address}/transactions
Try it

GET
Get Wallet Transaction Summary

Provides a summary of a wallet's transaction history, including the total transaction count and details of the first and last transactions.
v2/{chain_name}/wallets/{wallet_address}/transactions/summary
Try it