alchemy-nft
v1.0.3Retrieve NFT metadata, ownership, and contract details across blockchains
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
list_nfts_by_owner List NFTs by Owner
Retrieves all NFTs currently owned by a specified wallet address. Supports Ethereum, Polygon, Arbitrum, Optimism, Base, and other major networks with optional filtering, metadata inclusion, and custom ordering.
| Parameter | Type | Description |
|---|---|---|
network * | string | Target blockchain network. Determines which chain to query for NFT data. |
owner * | string | The wallet address to query for NFT ownership. Accepts standard hex addresses or ENS names (Ethereum Mainnet only). |
contractAddresses | array | Optional list of NFT contract addresses to filter results. Specify up to 45 contract addresses to narrow the response to specific collections. |
orderBy | string | Sort NFTs in the response by transfer time (newest first) or by default contract address and token ID. Transfer time ordering is available on major networks including Ethereum, Polygon, Arbitrum, Opti… |
pageSize | integer | Number of NFTs to return per page, up to a maximum of 100. Defaults to 100 if not specified. |
spamConfidenceLevel | string | Filter out suspected spam NFTs based on confidence level. Higher levels (VERY_HIGH, HIGH) remove more spam but may exclude legitimate tokens. Defaults vary by network and requires a paid tier. |
withMetadata | boolean | Include full NFT metadata in the response. Set to false to reduce payload size and improve response speed if metadata is not needed. |
list_nfts_for_contract List NFTs for Contract
Retrieves all NFTs associated with a specific NFT contract address. Supports ERC721 and ERC1155 standards across Ethereum and multiple Layer 2 networks including Polygon, Arbitrum, Optimism, and Base.
| Parameter | Type | Description |
|---|---|---|
contractAddress * | string | The contract address of the NFT collection. Must be a valid ERC721 or ERC1155 contract address. |
network * | string | Target blockchain network. Determines which chain to query for NFT data. |
limit | integer | Maximum number of NFTs to return per request. Defaults to 100 if not specified. |
startToken | string | Token ID offset for pagination, allowing you to start from a specific position or fetch multiple token ranges in parallel. Accepts hexadecimal or decimal format. |
withMetadata | boolean | Whether to include full NFT metadata in the response. Set to false to reduce payload size and improve response speed if metadata is not needed. |
list_nfts_for_collection List NFTs for Collection
Retrieves all NFTs associated with a specific NFT collection across Ethereum and supported Layer 2 networks including Polygon, Arbitrum, Optimism, and Base. Supports pagination and optional metadata inclusion.
| Parameter | Type | Description |
|---|---|---|
network * | string | Target blockchain network. Determines which chain to query for NFT data. |
collectionSlug | string | String - OpenSea slug for the NFT collection. |
contractAddress | string | String - Contract address for the NFT contract (ERC721 and ERC1155 supported). |
limit | integer | Maximum number of NFTs to return per request. Defaults to 100. |
startToken | string | Token ID offset for pagination, specified as either a hexadecimal or decimal string. Use this to resume from a previous position or fetch multiple token ranges in parallel. |
withMetadata | boolean | When true, includes full NFT metadata in the response; when false, reduces payload size for faster queries. Defaults to true. |
get_nft_metadata Get NFT Metadata
Retrieve detailed metadata for a specific NFT by its token ID and contract address. Supports ERC721 and ERC1155 tokens across Ethereum and multiple Layer 2 networks including Polygon, Arbitrum, Optimism, and Base.
| Parameter | Type | Description |
|---|---|---|
contractAddress * | string | The contract address of the NFT collection. Must be a valid ERC721 or ERC1155 contract address. |
network * | string | Target blockchain network. Determines which chain to query for NFT data. |
tokenId * | string | The unique identifier of the NFT token. Can be provided in either hexadecimal or decimal format. |
tokenType | string | The token standard type: either 'ERC721' or 'ERC1155'. Specifying this improves query performance. |
batch_retrieve_nft_metadata Batch Retrieve NFT Metadata
Retrieve metadata for multiple NFT contracts in a single request. Supports up to 100 tokens across Ethereum, Polygon, Arbitrum, Optimism, Base, World Chain, and other supported networks.
| Parameter | Type | Description |
|---|---|---|
network * | string | Target blockchain network. Determines which chain to query for NFT data. |
tokens * | array | Array of token objects to fetch metadata for, with a maximum of 100 items per request. Each token object should specify the contract address and token ID. |
get_nft_contract_metadata Get NFT Contract Metadata
Retrieve high-level metadata for an NFT contract or collection, including details about the contract itself. Supports ERC721 and ERC1155 contracts across Ethereum and multiple Layer 2 networks.
| Parameter | Type | Description |
|---|---|---|
contractAddress * | string | The blockchain address of the NFT contract. Must be a valid contract address for ERC721 or ERC1155 token standards. |
network * | string | Target blockchain network. Determines which chain to query for NFT data. |
get_collection_metadata Get Collection Metadata
Retrieve high-level metadata and contract information for an NFT collection using its OpenSea slug. Supported across Ethereum and multiple Layer 2 networks including Polygon, Arbitrum, Optimism, and Base.
| Parameter | Type | Description |
|---|---|---|
collectionSlug * | string | The OpenSea collection slug—a URL-friendly identifier for the NFT collection (e.g., 'boredapeyachtclub'). |
network * | string | Target blockchain network. Determines which chain to query for NFT data. |
batch_get_contract_metadata Batch Get Contract Metadata
Retrieve metadata for multiple contract addresses in a single request. Efficiently fetch contract information such as name, symbol, and decimals for a batch of addresses.
| Parameter | Type | Description |
|---|---|---|
network * | string | Target blockchain network. Determines which chain to query for NFT data. |
contractAddresses | array | Array of contract addresses to retrieve metadata for. Each address should be a valid Ethereum address format. If not provided, defaults to a sample set of addresses. |
get_nft_owners Get NFT Owners
Retrieves the current owner(s) of a specific NFT token. Supports ERC721 and ERC1155 contracts across Ethereum, Polygon, Arbitrum, Optimism, Base, World Chain, and other supported networks.
| Parameter | Type | Description |
|---|---|---|
contractAddress * | string | The contract address of the NFT collection. Must be a valid ERC721 or ERC1155 contract address. |
network * | string | Target blockchain network. Determines which chain to query for NFT data. |
tokenId * | string | The unique identifier of the token within the contract. Can be provided in either hexadecimal or decimal format. |
list_nft_contract_owners List NFT Contract Owners
Retrieves all wallet addresses that own NFTs from a specific contract. Supports ERC721 and ERC1155 tokens across Ethereum and multiple Layer 2 networks including Polygon, Arbitrum, Optimism, and Base.
| Parameter | Type | Description |
|---|---|---|
contractAddress * | string | The blockchain address of the NFT contract to query. Must be a valid ERC721 or ERC1155 contract address. |
network * | string | Target blockchain network. Determines which chain to query for NFT data. |
withTokenBalances | boolean | When enabled, includes the token balance for each token ID owned by each address. Disabled by default for faster responses. |
list_spam_contracts List Spam Contracts
Retrieve a list of all spam contracts identified and marked by Alchemy. This endpoint is available only on paid tier accounts and supports multiple blockchain networks including Ethereum, Polygon, Arbitrum, Optimism, Base, and others.
| Parameter | Type | Description |
|---|---|---|
network * | string | Target blockchain network. Determines which chain to query for NFT data. |
check_spam_contract Check Spam Contract
Checks whether a specific NFT contract is flagged as spam by Alchemy. This helps identify potentially fraudulent or low-quality NFT collections across supported blockchain networks.
| Parameter | Type | Description |
|---|---|---|
contractAddress * | string | The blockchain address of the NFT contract to check. Supports ERC721 and ERC1155 contract standards. |
network * | string | Target blockchain network. Determines which chain to query for NFT data. |
check_nft_airdrop Check NFT Airdrop
Determines whether a specific NFT token was received as an airdrop, defined as an NFT minted to a user address in a transaction sent by a different address. Available on Ethereum mainnet and Polygon (mainnet, amoy, and mumbai).
| Parameter | Type | Description |
|---|---|---|
contractAddress * | string | The contract address of the NFT collection. Supports both ERC721 and ERC1155 token standards. |
network * | string | Target blockchain network. Determines which chain to query for NFT data. |
tokenId * | string | The unique identifier of the token within the contract. Can be provided in either hexadecimal or decimal format. |
get_nft_collection_attribute_summary Get NFT Collection Attribute Summary
Retrieve a summary of attribute prevalence and distribution for an NFT collection. This endpoint analyzes trait frequency across all NFTs in a contract to provide insights into attribute rarity and composition. Available on Ethereum mainnet and Polygon (mainnet and Mumbai).
| Parameter | Type | Description |
|---|---|---|
contractAddress * | string | The blockchain contract address for the NFT collection to analyze. Supports both ERC721 and ERC1155 token standards. |
network * | string | Target blockchain network. Determines which chain to query for NFT data. |
get_nft_collection_floor_prices Get NFT Collection Floor Prices
Retrieves the current floor prices for an NFT collection across supported marketplaces (OpenSea and Looksrare on Ethereum mainnet). Use this to monitor pricing trends and compare floor prices across different trading platforms.
| Parameter | Type | Description |
|---|---|---|
contractAddress * | string | The contract address of the NFT collection (supports both ERC721 and ERC1155 standards). This identifies which collection's floor prices to retrieve. |
network * | string | Target blockchain network. Determines which chain to query for NFT data. |
search_contract_metadata Search Contract Metadata
Search for keywords across metadata of ERC-721 and ERC-1155 smart contracts. Currently available on Ethereum, Polygon, Arbitrum, Optimism, and Base networks.
| Parameter | Type | Description |
|---|---|---|
network * | string | Target blockchain network. Determines which chain to query for NFT data. |
query * | string | The search keyword or phrase to find within contract metadata fields. |
check_nft_holder Check NFT Holder
Verify whether a wallet address holds any NFTs from a specific contract. Supports ERC721 and ERC1155 tokens across Ethereum and multiple Layer 2 networks including Polygon, Arbitrum, Optimism, and Base.
| Parameter | Type | Description |
|---|---|---|
contractAddress * | string | The NFT contract address to check against. Must be a valid ERC721 or ERC1155 contract. |
network * | string | Target blockchain network. Determines which chain to query for NFT data. |
wallet * | string | The wallet address to check for NFT holdings from the specified contract. |
calculate_nft_attribute_rarity Calculate NFT Attribute Rarity
Calculates the rarity score for each attribute of a specific NFT by analyzing how uncommon each attribute is within the collection. Available on Ethereum mainnet and Polygon (mainnet and Mumbai testnet).
| Parameter | Type | Description |
|---|---|---|
contractAddress * | string | The contract address of the NFT collection. Supports both ERC721 and ERC1155 token standards. |
network * | string | Target blockchain network. Determines which chain to query for NFT data. |
tokenId * | string | The unique identifier of the NFT token within the contract. Can be provided in either hexadecimal or decimal format. |
list_nft_sales List NFT Sales
Retrieves NFT sales transactions that have occurred through on-chain marketplaces. Supports filtering by block range, marketplace, collection, token ID, and trade participant role. Available on Ethereum (Seaport, Wyvern, X2Y2, Blur, LooksRare, Cryptopunks), Polygon (Seaport), and Optimism (Seaport) mainnets.
| Parameter | Type | Description |
|---|---|---|
network * | string | Target blockchain network. Determines which chain to query for NFT data. |
fromBlock | string | The starting block number for fetching NFT sales data. Accepts decimal integers, hexadecimal integers (prefixed with 0x), or 'latest'. Defaults to block 0. |
limit | integer | Maximum number of NFT sales to return in the response. Accepts values up to 1000, which is also the default. |
marketplace | string | Filter sales by a specific NFT marketplace. Supported values are seaport, looksrare, x2y2, wyvern, blur, and cryptopunks. Omit to return sales from all supported marketplaces. |
order | string | Sort order for results relative to the block range. Choose 'asc' for ascending order from the start block or 'desc' for descending order. Defaults to descending. |
taker | string | Filter by the participant role in the trade. Use 'BUYER' to return sales where the specified address was the buyer, or 'SELLER' for the seller role. Omit to return both buyer and seller trades. |
toBlock | string | The ending block number for fetching NFT sales data. Accepts decimal integers, hexadecimal integers (prefixed with 0x), or 'latest'. Defaults to the latest block. |
tokenId | string | Filter sales to a specific NFT token ID within the collection. Omit to return sales for all token IDs in the collection. |
list_nft_contracts_by_owner List NFT Contracts by Owner
Retrieves all NFT contracts owned by a specified address. Optionally returns detailed metadata and supports filtering by spam confidence level and custom ordering.
| Parameter | Type | Description |
|---|---|---|
network * | string | Target blockchain network. Determines which chain to query for NFT data. |
owner * | string | The wallet address to query for NFT contracts. Accepts standard Ethereum addresses or ENS names (on Ethereum Mainnet). |
orderBy | string | Sort contracts by transfer time (newest first) or by default contract address and token ID ordering. Transfer time ordering is supported on major networks including Ethereum, Optimism, Polygon, Base,… |
pageSize | integer | Number of contracts to return per page, up to a maximum of 100. Defaults to 100. |
spamConfidenceLevel | string | Filter out spam contracts based on confidence level. Higher confidence levels filter more aggressively (e.g., HIGH filters both HIGH and VERY_HIGH confidence spam). Defaults vary by network: VERY_HIGH… |
withMetadata | boolean | Include detailed NFT metadata in the response. Disabling this reduces payload size and may improve response speed. Defaults to true. |
list_nft_collections_by_owner List NFT Collections by Owner
Retrieves all NFT collections owned by a specified address on Ethereum. Returns collection details with optional metadata to support portfolio analysis and collection discovery.
| Parameter | Type | Description |
|---|---|---|
network * | string | Target blockchain network. Determines which chain to query for NFT data. |
owner * | string | The wallet address to query for NFT collections. Accepts standard Ethereum addresses or ENS names (on Ethereum Mainnet only). |
pageSize | integer | Number of collections to return per page, ranging from 1 to 100. Defaults to 100 for maximum results per request. |
withMetadata | boolean | Include full NFT metadata in the response when enabled. Disable to reduce payload size and improve response speed if metadata is not needed. |
report_spam_address Report Spam Address
Report a blockchain address as spam to help protect the network. This operation flags addresses suspected of malicious activity on supported chains including Ethereum, Polygon, Base, Arbitrum, Optimism, and others.
| Parameter | Type | Description |
|---|---|---|
address * | string | The blockchain address to report, provided as a hexadecimal string (e.g., starting with 0x). |
isSpam * | boolean | Set to true to mark the address as spam, or false to remove a previous spam report. |
network * | string | Target blockchain network. Determines which chain to query for NFT data. |
refresh_nft_metadata Refresh NFT Metadata
Submits a request to refresh the cached metadata for a specific NFT token. Supported on Ethereum (Mainnet & Sepolia), Polygon (Mainnet, Mumbai & Amoy), Arbitrum One, Optimism, and Base mainnets.
| Parameter | Type | Description |
|---|---|---|
contractAddress * | string | The contract address of the NFT collection containing the token you want to refresh. Must be a valid Ethereum-format address. |
network * | string | Target blockchain network. Determines which chain to query for NFT data. |
tokenId * | string | The unique token ID within the specified contract that you want to refresh. Must correspond to an existing token in the contract. |
list_nfts List NFTs
Retrieves all NFTs currently owned by a specified address, with optional filtering by contract, metadata inclusion, and spam confidence levels.
| Parameter | Type | Description |
|---|---|---|
network * | string | Target blockchain network. Determines which chain to query for NFT data. |
owner * | string | The wallet address to query for NFT ownership. Accepts standard Ethereum addresses or ENS names (on Ethereum Mainnet). |
contractAddresses | array | Optional list of contract addresses to filter results. Specify up to 45 contract addresses to narrow the response to specific NFT collections. |
orderBy | string | How to order NFTs in the response. Use 'transferTime' to sort by most recent transfers first (supported on major networks). If unspecified, NFTs are ordered by contract address and token ID. |
pageSize | integer | Number of NFTs to return per page, up to a maximum of 100. Defaults to 100. |
spamConfidenceLevel | string | Filter spam NFTs by confidence level. Choose from VERY_HIGH, HIGH, MEDIUM, or LOW—any spam at that level or higher will be excluded. Defaults vary by network (VERY_HIGH for Ethereum Mainnet, MEDIUM… |
withMetadata | boolean | Whether to include full NFT metadata in the response. Set to false to reduce payload size and improve response speed; defaults to true. |
get_token_owners Get Token Owners
Retrieve the owner(s) of a specific NFT token by contract address and token ID. Supports pagination to handle multiple owners.
| Parameter | Type | Description |
|---|---|---|
contractAddress * | string | The blockchain contract address of the NFT collection. Must be a valid Ethereum address (e.g., ERC-721 or ERC-1155 contract). |
network * | string | Target blockchain network. Determines which chain to query for NFT data. |
tokenId * | string | The unique identifier of the token within the contract. Accepts both hexadecimal and decimal formats. |
pageSize | integer | Maximum number of owner records to return per page. Use this to control response size when a token has multiple owners. |
list_nft_collection_owners List NFT Collection Owners
Retrieves all wallet addresses that own NFTs from a specified ERC721 or ERC1155 contract, with optional token balance details per owner.
| Parameter | Type | Description |
|---|---|---|
contractAddress * | string | The blockchain contract address for the NFT collection. Supports both ERC721 and ERC1155 token standards. |
network * | string | Target blockchain network. Determines which chain to query for NFT data. |
withTokenBalances | boolean | When enabled, includes the token balance for each token ID owned by each address. Disabled by default for faster responses. |
check_token_airdrop Check Token Airdrop
Determines whether an NFT token was distributed as an airdrop by checking if it was minted to a user address in a transaction sent by a different address.
| Parameter | Type | Description |
|---|---|---|
contractAddress * | string | The blockchain contract address for the NFT collection. Supports both ERC721 and ERC1155 token standards. |
network * | string | Target blockchain network. Determines which chain to query for NFT data. |
tokenId * | string | The unique identifier of the token within the contract. Can be provided in either hexadecimal or decimal format. |
check_wallet_nft_collection_ownership Check Wallet NFT Collection Ownership
Verifies whether a specific wallet address holds at least one NFT from a given collection. Supports both ERC721 and ERC1155 token standards, and accepts wallet addresses in ENS format on Ethereum Mainnet.
| Parameter | Type | Description |
|---|---|---|
contractAddress * | string | The contract address of the NFT collection to check. Must be a valid ERC721 or ERC1155 contract address. |
network * | string | Target blockchain network. Determines which chain to query for NFT data. |
wallet * | string | The wallet address to check for NFT ownership. Can be a standard hexadecimal address or an ENS name (Ethereum Mainnet only). |