alchemy-nft

v1.0.3
com.mcparmory/alchemy-nft Checked 3 days ago Published 6 months ago

Retrieve 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.

ParameterTypeDescription
network *stringTarget blockchain network. Determines which chain to query for NFT data.
owner *stringThe wallet address to query for NFT ownership. Accepts standard hex addresses or ENS names (Ethereum Mainnet only).
contractAddressesarrayOptional list of NFT contract addresses to filter results. Specify up to 45 contract addresses to narrow the response to specific collections.
orderBystringSort 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…
pageSizeintegerNumber of NFTs to return per page, up to a maximum of 100. Defaults to 100 if not specified.
spamConfidenceLevelstringFilter 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.
withMetadatabooleanInclude 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.

ParameterTypeDescription
contractAddress *stringThe contract address of the NFT collection. Must be a valid ERC721 or ERC1155 contract address.
network *stringTarget blockchain network. Determines which chain to query for NFT data.
limitintegerMaximum number of NFTs to return per request. Defaults to 100 if not specified.
startTokenstringToken ID offset for pagination, allowing you to start from a specific position or fetch multiple token ranges in parallel. Accepts hexadecimal or decimal format.
withMetadatabooleanWhether 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.

ParameterTypeDescription
network *stringTarget blockchain network. Determines which chain to query for NFT data.
collectionSlugstringString - OpenSea slug for the NFT collection.
contractAddressstringString - Contract address for the NFT contract (ERC721 and ERC1155 supported).
limitintegerMaximum number of NFTs to return per request. Defaults to 100.
startTokenstringToken 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.
withMetadatabooleanWhen 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.

ParameterTypeDescription
contractAddress *stringThe contract address of the NFT collection. Must be a valid ERC721 or ERC1155 contract address.
network *stringTarget blockchain network. Determines which chain to query for NFT data.
tokenId *stringThe unique identifier of the NFT token. Can be provided in either hexadecimal or decimal format.
tokenTypestringThe 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.

ParameterTypeDescription
network *stringTarget blockchain network. Determines which chain to query for NFT data.
tokens *arrayArray 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.

ParameterTypeDescription
contractAddress *stringThe blockchain address of the NFT contract. Must be a valid contract address for ERC721 or ERC1155 token standards.
network *stringTarget 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.

ParameterTypeDescription
collectionSlug *stringThe OpenSea collection slug—a URL-friendly identifier for the NFT collection (e.g., 'boredapeyachtclub').
network *stringTarget 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.

ParameterTypeDescription
network *stringTarget blockchain network. Determines which chain to query for NFT data.
contractAddressesarrayArray 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.

ParameterTypeDescription
contractAddress *stringThe contract address of the NFT collection. Must be a valid ERC721 or ERC1155 contract address.
network *stringTarget blockchain network. Determines which chain to query for NFT data.
tokenId *stringThe 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.

ParameterTypeDescription
contractAddress *stringThe blockchain address of the NFT contract to query. Must be a valid ERC721 or ERC1155 contract address.
network *stringTarget blockchain network. Determines which chain to query for NFT data.
withTokenBalancesbooleanWhen 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.

ParameterTypeDescription
network *stringTarget 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.

ParameterTypeDescription
contractAddress *stringThe blockchain address of the NFT contract to check. Supports ERC721 and ERC1155 contract standards.
network *stringTarget 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).

ParameterTypeDescription
contractAddress *stringThe contract address of the NFT collection. Supports both ERC721 and ERC1155 token standards.
network *stringTarget blockchain network. Determines which chain to query for NFT data.
tokenId *stringThe 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).

ParameterTypeDescription
contractAddress *stringThe blockchain contract address for the NFT collection to analyze. Supports both ERC721 and ERC1155 token standards.
network *stringTarget 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.

ParameterTypeDescription
contractAddress *stringThe contract address of the NFT collection (supports both ERC721 and ERC1155 standards). This identifies which collection's floor prices to retrieve.
network *stringTarget 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.

ParameterTypeDescription
network *stringTarget blockchain network. Determines which chain to query for NFT data.
query *stringThe 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.

ParameterTypeDescription
contractAddress *stringThe NFT contract address to check against. Must be a valid ERC721 or ERC1155 contract.
network *stringTarget blockchain network. Determines which chain to query for NFT data.
wallet *stringThe 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).

ParameterTypeDescription
contractAddress *stringThe contract address of the NFT collection. Supports both ERC721 and ERC1155 token standards.
network *stringTarget blockchain network. Determines which chain to query for NFT data.
tokenId *stringThe 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.

ParameterTypeDescription
network *stringTarget blockchain network. Determines which chain to query for NFT data.
fromBlockstringThe starting block number for fetching NFT sales data. Accepts decimal integers, hexadecimal integers (prefixed with 0x), or 'latest'. Defaults to block 0.
limitintegerMaximum number of NFT sales to return in the response. Accepts values up to 1000, which is also the default.
marketplacestringFilter sales by a specific NFT marketplace. Supported values are seaport, looksrare, x2y2, wyvern, blur, and cryptopunks. Omit to return sales from all supported marketplaces.
orderstringSort 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.
takerstringFilter 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.
toBlockstringThe ending block number for fetching NFT sales data. Accepts decimal integers, hexadecimal integers (prefixed with 0x), or 'latest'. Defaults to the latest block.
tokenIdstringFilter 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.

ParameterTypeDescription
network *stringTarget blockchain network. Determines which chain to query for NFT data.
owner *stringThe wallet address to query for NFT contracts. Accepts standard Ethereum addresses or ENS names (on Ethereum Mainnet).
orderBystringSort 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,…
pageSizeintegerNumber of contracts to return per page, up to a maximum of 100. Defaults to 100.
spamConfidenceLevelstringFilter 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…
withMetadatabooleanInclude 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.

ParameterTypeDescription
network *stringTarget blockchain network. Determines which chain to query for NFT data.
owner *stringThe wallet address to query for NFT collections. Accepts standard Ethereum addresses or ENS names (on Ethereum Mainnet only).
pageSizeintegerNumber of collections to return per page, ranging from 1 to 100. Defaults to 100 for maximum results per request.
withMetadatabooleanInclude 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.

ParameterTypeDescription
address *stringThe blockchain address to report, provided as a hexadecimal string (e.g., starting with 0x).
isSpam *booleanSet to true to mark the address as spam, or false to remove a previous spam report.
network *stringTarget 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.

ParameterTypeDescription
contractAddress *stringThe contract address of the NFT collection containing the token you want to refresh. Must be a valid Ethereum-format address.
network *stringTarget blockchain network. Determines which chain to query for NFT data.
tokenId *stringThe 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.

ParameterTypeDescription
network *stringTarget blockchain network. Determines which chain to query for NFT data.
owner *stringThe wallet address to query for NFT ownership. Accepts standard Ethereum addresses or ENS names (on Ethereum Mainnet).
contractAddressesarrayOptional list of contract addresses to filter results. Specify up to 45 contract addresses to narrow the response to specific NFT collections.
orderBystringHow 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.
pageSizeintegerNumber of NFTs to return per page, up to a maximum of 100. Defaults to 100.
spamConfidenceLevelstringFilter 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…
withMetadatabooleanWhether 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.

ParameterTypeDescription
contractAddress *stringThe blockchain contract address of the NFT collection. Must be a valid Ethereum address (e.g., ERC-721 or ERC-1155 contract).
network *stringTarget blockchain network. Determines which chain to query for NFT data.
tokenId *stringThe unique identifier of the token within the contract. Accepts both hexadecimal and decimal formats.
pageSizeintegerMaximum 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.

ParameterTypeDescription
contractAddress *stringThe blockchain contract address for the NFT collection. Supports both ERC721 and ERC1155 token standards.
network *stringTarget blockchain network. Determines which chain to query for NFT data.
withTokenBalancesbooleanWhen 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.

ParameterTypeDescription
contractAddress *stringThe blockchain contract address for the NFT collection. Supports both ERC721 and ERC1155 token standards.
network *stringTarget blockchain network. Determines which chain to query for NFT data.
tokenId *stringThe 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.

ParameterTypeDescription
contractAddress *stringThe contract address of the NFT collection to check. Must be a valid ERC721 or ERC1155 contract address.
network *stringTarget blockchain network. Determines which chain to query for NFT data.
wallet *stringThe wallet address to check for NFT ownership. Can be a standard hexadecimal address or an ENS name (Ethereum Mainnet only).