0xAPI (Beta)
avatar

API Reference4/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 NFTs By Collection

Fetches a paginated list of all NFTs that belong to a specific collection contract address.
v2/{chain_name}/collections/{collection_address}/nfts
Try it

GET
Lookup NFT By Token ID

Retrieves detailed information about a specific NFT token within a collection, identified by its token ID.
v2/{chain_name}/collections/{collection_address}/nfts/{token_id}
Try it

GET
Get NFT Collection Traits

Retrieves a list of all trait types and their values for a specific NFT collection.
v2/{chain_name}/collections/{collection_address}/traits
Try it

GET
Get NFTs By Wallet

Fetches a paginated list of all Non-Fungible Tokens (NFTs) currently owned by a specific wallet address.
v2/{chain_name}/wallets/{wallet_address}/nfts
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