> ## Documentation Index
> Fetch the complete documentation index at: https://composio-preview.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Alchemy

> Alchemy is a blockchain development platform that provides powerful APIs and developer tools for building and scaling Ethereum applications

![Alchemy logo](https://mintcdn.com/composio-preview/qzegrvAapILigeDI/images/toolkits/alchemy.svg?fit=max\&auto=format\&n=qzegrvAapILigeDI\&q=85\&s=cf3de414e1fc94f94a52f681abf77843)

* **Category:** developer tools
* **Auth:** API\_KEY
* **Composio-managed OAuth available?** N/A
* **Tools:** 36
* **Triggers:** 0
* **Slug:** `ALCHEMY`
* **Version:** 20261101\_00

## Tools

> [accordion] Compute NFT Rarity
>
> **Slug:** `ALCHEMY_COMPUTE_RARITY_V3`
>
> Tool to compute the rarity of each attribute for a specific NFT based on its collection. Returns prevalence data for each trait, indicating how common or rare each attribute is compared to other NFTs in the same collection. Use when analyzing NFT rarity for trading decisions, collection analysis, or valuation purposes.
>
> #### Input Parameters
>
> **tokenId** `string` *required*
>
> The ID of the specific NFT token within the collection. Can be provided in hexadecimal (e.g., '0x2c') or decimal format (e.g., '44').
>
> **contractAddress** `string` *required*
>
> The Ethereum contract address for the NFT collection. Supports both ERC721 and ERC1155 standards.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Get NFT Collection Metadata
>
> **Slug:** `ALCHEMY_GET_COLLECTION_METADATA`
>
> Get NFT collection metadata by OpenSea slug on Ethereum mainnet, including available name, description, social links, and floor price, without requiring a contract address.
>
> #### Input Parameters
>
> **collectionSlug** `string` *required*
>
> OpenSea slug for the NFT collection (e.g., 'boredapeyachtclub', 'cryptopunks')
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Get Collections for Owner
>
> **Slug:** `ALCHEMY_GET_COLLECTIONS_FOR_OWNER`
>
> Tool to retrieve all NFT collections held by a specified owner address. Use when you need to get a comprehensive view of what NFT collections a wallet owns, including collection metadata, ownership counts, and spam classification. Only supported on Ethereum. Supports pagination for large collections and filtering options to include or exclude spam/airdrops.
>
> #### Input Parameters
>
> **owner** `string` *required*
>
> Address for NFT owner (can be in ENS format for Ethereum Mainnet). This is the wallet address whose NFT collections you want to retrieve
>
> **pageKey** `string`
>
> Key for pagination. If more results are available, a pageKey will be returned in the response. Pass back the pageKey to fetch the next page of results
>
> **pageSize** `integer`
>
> Number of NFT collections to be returned per page. Defaults to 100. Max is 100
>
> **withMetadata** `boolean`
>
> If set to true, returns NFT metadata. Setting to false reduces payload size and may result in faster API calls. Defaults to true
>
> **excludeFilters** `array`
>
> Array of filters that will be applied to the query. NFTs matching one or more of these filters will be excluded. Options: SPAM (NFTs classified as spam), AIRDROPS (NFTs that were airdropped). May not be used with includeFilters. Note: SPAM filter is available exclusively on paid tiers
>
> **includeFilters** `array`
>
> Array of filters that will be applied to the query. Only NFTs matching one or more of these filters will be included. Options: SPAM (NFTs classified as spam), AIRDROPS (NFTs that were airdropped). May not be used with excludeFilters. Note: SPAM filter is available exclusively on paid tiers
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Get Contract Metadata Batch V3
>
> **Slug:** `ALCHEMY_GET_CONTRACT_METADATA_BATCH_V3`
>
> Retrieve metadata for multiple Ethereum mainnet NFT contracts in a single batch request.
>
> #### Input Parameters
>
> **contractAddresses** `array` *required*
>
> List of contract addresses to batch metadata requests for. Supports both ERC721 and ERC1155 contracts.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Get Contract Metadata V3
>
> **Slug:** `ALCHEMY_GET_CONTRACT_METADATA_V3`
>
> Get metadata for an Ethereum mainnet NFT contract, including available name, symbol, total supply, token type, deployer, deployment block, and OpenSea collection details.
>
> #### Input Parameters
>
> **contractAddress** `string` *required*
>
> Contract address for the NFT contract (ERC721 and ERC1155 supported).
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Get Contracts for Owner (NFT API v3)
>
> **Slug:** `ALCHEMY_GET_CONTRACTS_FOR_OWNER_V3`
>
> Retrieve NFT contracts from which an Ethereum mainnet wallet holds tokens, with available contract metadata, spam classification, and OpenSea metadata. Supports pagination.
>
> #### Input Parameters
>
> **owner** `string` *required*
>
> Address for NFT owner (can be in ENS format for Eth Mainnet)
>
> **orderBy** `string ("transferTime")`
>
> Ordering scheme for NFTs
>
> **pageKey** `string`
>
> Key for pagination. If more results are available, a pageKey will be returned in the response. Pass back the pageKey as a param to fetch the next page of results
>
> **pageSize** `integer`
>
> Number of NFTs to be returned per page. Defaults to 100. Max is 100
>
> **withMetadata** `boolean`
>
> If set to true, returns NFT metadata. Setting this to false will reduce payload size and may result in a faster API call. Defaults to true
>
> **excludeFilters** `array`
>
> Array of filters that will be applied to the query. NFTs that match one or more of these filters will be excluded from the response. May not be used in conjunction with includeFilters. Filter Options: SPAM (NFTs classified as spam), AIRDROPS (NFTs that were airdropped to the user). Note: SPAM filter is available exclusively on paid tiers
>
> **includeFilters** `array`
>
> Array of filters that will be applied to the query. Only NFTs that match one or more of these filters will be included in the response. May not be used in conjunction with excludeFilters. Filter Options: SPAM (NFTs classified as spam), AIRDROPS (NFTs that were airdropped to the user). Note: SPAM filter is available exclusively on paid tiers
>
> **spamConfidenceLevel** `string ("VERY_HIGH" | "HIGH" | "MEDIUM" | "LOW")`
>
> Spam confidence levels
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Get NFT Floor Price
>
> **Slug:** `ALCHEMY_GET_FLOOR_PRICE_V3`
>
> Get Ethereum mainnet NFT collection floor prices from OpenSea and LooksRare, including available price, currency, collection URL, and retrieval timestamp. Prices may be cached.
>
> #### Input Parameters
>
> **collectionSlug** `string`
>
> OpenSea slug for the NFT collection. Optional parameter to help identify the collection
>
> **contractAddress** `string` *required*
>
> Contract address for the NFT contract (ERC721 and ERC1155 supported)
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Get Historical Token Prices
>
> **Slug:** `ALCHEMY_GET_HISTORICAL_PRICES`
>
> Retrieves historical price data for a token over a specified time range with configurable intervals. Identify the token either by symbol (e.g., ETH, BTC) or by network and contract address. Use this to build price charts, analyze price trends, calculate historical returns, or display historical price information in your application. Important: Provide either symbol OR both network and address (not both methods simultaneously). Time range is specified with start\_time and end\_time (Unix timestamps or ISO 8601 strings). The interval parameter controls data point granularity (5m, 1h, or 1d).
>
> #### Input Parameters
>
> **symbol** `string`
>
> Token symbol to query (e.g., 'ETH', 'BTC', 'USDC'). Required if network and address are not provided. Cannot be used together with network/address.
>
> **address** `string`
>
> Token contract address on the specified network. Required if symbol is not provided. Must be used together with network.
>
> **network** `string`
>
> Blockchain network identifier (e.g., 'eth-mainnet', 'polygon-mainnet'). Required if symbol is not provided. Must be used together with address.
>
> **end\_time** `string` *required*
>
> End of the time range for historical data. Can be either a Unix timestamp (integer, seconds since epoch) or ISO 8601 formatted string. Example Unix timestamp: 1707782400 for Feb 13, 2024.
>
> **interval** `string ("5m" | "1h" | "1d")`
>
> Supported interval types for historical price data
>
> **start\_time** `string` *required*
>
> Start of the time range for historical data. Can be either a Unix timestamp (integer, seconds since epoch) or ISO 8601 formatted string. Example Unix timestamp: 1707696000 for Feb 12, 2024.
>
> **with\_market\_data** `boolean`
>
> Whether to include market capitalization and total volume data in the response. Defaults to false. Set to true if you need market cap and volume metrics alongside price data.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Get NFT Contracts By Address
>
> **Slug:** `ALCHEMY_GET_NFT_CONTRACTS_BY_ADDRESS`
>
> Tool to retrieve NFT contracts associated with one or more wallet addresses across multiple blockchain networks. Use when you need to discover which NFT collections a wallet owns tokens from, across networks like Ethereum, Base, Polygon, Arbitrum, and Optimism. Returns contract details including metadata, spam classification, and OpenSea data.
>
> #### Input Parameters
>
> **pageKey** `string`
>
> Pagination cursor from a previous response. Use this to retrieve the next page of results.
>
> **pageSize** `integer`
>
> Number of results to return per page. Default is 100 if not specified.
>
> **addresses** `array` *required*
>
> Array of address-network pairs to query. Maximum 2 addresses, each with up to 15 networks.
>
> **withMetadata** `boolean`
>
> Include detailed metadata for each contract (OpenSea data, spam info, etc.). Defaults to true.
>
> **excludeFilters** `array`
>
> Filter out specific categories from results (e.g., SPAM, AIRDROPS). Excludes matching contracts.
>
> **includeFilters** `array`
>
> Include only specific categories in results (e.g., SPAM, AIRDROPS). If set, only matching contracts are returned.
>
> **spamConfidenceLevel** `string ("VERY_HIGH" | "HIGH" | "MEDIUM" | "LOW")`
>
> Spam confidence level filter options.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Get NFT Metadata
>
> **Slug:** `ALCHEMY_GET_NFT_METADATA`
>
> Retrieves metadata for a specific NFT on Ethereum mainnet, including available contract details, media URLs, attributes, and OpenSea data.
>
> #### Input Parameters
>
> **tokenId** `string` *required*
>
> The ID of the token. Can be in hex or decimal format.
>
> **tokenType** `string ("ERC721" | "ERC1155")`
>
> NFT token standard types
>
> **refreshCache** `boolean`
>
> If true, will refresh metadata for the given token. If false (default), will check cache first and use it or refresh if cache doesn't exist.
>
> **contractAddress** `string` *required*
>
> Contract address for the NFT contract (ERC721 and ERC1155 supported). Must be a valid Ethereum address.
>
> **tokenUriTimeoutInMs** `integer`
>
> Timeout (in milliseconds) for the website hosting the metadata to respond. Set to 0 to only access cache and not live fetch metadata for cache misses.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Get NFT Metadata Batch
>
> **Slug:** `ALCHEMY_GET_NFT_METADATA_BATCH`
>
> Retrieves metadata for up to 100 NFTs on Ethereum mainnet in a single request, including available contract details, media URLs, attributes, and collection data.
>
> #### Input Parameters
>
> **tokens** `array` *required*
>
> List of token objects to batch request NFT metadata for. Maximum 100 tokens per request.
>
> **refreshCache** `boolean`
>
> If true, will refresh metadata for the given tokens. If false (default), will check cache first and use it or refresh if cache doesn't exist.
>
> **tokenUriTimeoutInMs** `integer`
>
> Timeout (in milliseconds) for the website hosting the metadata to respond. Set to 0 to only access cache and not live fetch metadata for cache misses.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Get NFT Sales V3
>
> **Slug:** `ALCHEMY_GET_NFT_SALES_V3`
>
> Retrieves Ethereum mainnet NFT sales through on-chain marketplaces using Alchemy's v3 API, including fees and transaction details. Supports filtering by block range, marketplace, contract, token, buyer, seller, and taker role.
>
> #### Input Parameters
>
> **limit** `integer`
>
> Maximum number of sales to return. Defaults to 100
>
> **order** `string ("asc" | "desc")`
>
> Sort order for NFT sales results.
>
> **taker** `string ("BUYER" | "SELLER")`
>
> Taker role in NFT trade.
>
> **page\_key** `string`
>
> Pagination key returned from a previous response. Use to fetch the next page of results
>
> **to\_block** `string`
>
> Ending block number to fetch NFT sales to. Accepts decimal integers, hex integers, or 'latest'. Defaults to 'latest'
>
> **token\_id** `string`
>
> Filter by specific token ID. Can be in hex or decimal format. Must be used with contract\_address
>
> **from\_block** `string`
>
> Starting block number to fetch NFT sales from. Accepts decimal integers, hex integers (e.g., '0x0'), or 'latest'. Defaults to '0'
>
> **marketplace** `string ("seaport" | "looksrare" | "x2y2" | "wyvern" | "blur" | "cryptopunks")`
>
> Supported NFT marketplaces.
>
> **buyer\_address** `string`
>
> Filter sales by buyer's Ethereum address. Returns sales involving any buyer if not specified
>
> **seller\_address** `string`
>
> Filter sales by seller's Ethereum address. Returns sales involving any seller if not specified
>
> **contract\_address** `string`
>
> Filter by NFT contract address (supports ERC721 and ERC1155). Returns sales for all contracts if not specified
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Get NFTs for Collection V3
>
> **Slug:** `ALCHEMY_GET_NF_TS_FOR_COLLECTION_V3`
>
> Retrieves NFTs in an Ethereum mainnet collection using an OpenSea collection slug or contract address. Supports pagination and optional metadata.
>
> #### Input Parameters
>
> **limit** `integer`
>
> Number of NFTs to return. Defaults to 100
>
> **start\_token** `string`
>
> Token ID offset for pagination. Can be hex or decimal. Use nextToken from previous response
>
> **with\_metadata** `boolean`
>
> If true, returns NFT metadata. Setting to false reduces payload size and may result in faster response. Defaults to true
>
> **collection\_slug** `string`
>
> OpenSea slug for the NFT collection. Required if contract\_address is not provided
>
> **contract\_address** `string`
>
> Contract address for the NFT collection (ERC721 and ERC1155 supported). Required if collection\_slug is not provided
>
> **token\_uri\_timeout\_ms** `integer`
>
> Timeout in milliseconds for fetching token metadata. Set to 0 to only use cached data. No timeout by default
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Get NFTs for Contract
>
> **Slug:** `ALCHEMY_GET_NF_TS_FOR_CONTRACT`
>
> Retrieves NFTs for an Ethereum mainnet NFT contract, supporting ERC721 and ERC1155. Results can include token IDs, metadata, images, and attributes, with pagination for up to 100 NFTs per request.
>
> #### Input Parameters
>
> **limit** `integer`
>
> Sets the total number of NFTs returned in the response. Defaults to 100. Maximum is 100
>
> **start\_token** `string`
>
> Token ID to start pagination from. Supports both hex (0x...) and decimal format. Use the pageKey from previous response
>
> **with\_metadata** `boolean`
>
> When true, returns NFT metadata. Set to false to reduce payload size. Defaults to true
>
> **contract\_address** `string` *required*
>
> The contract address of the NFT collection (supports ERC721 and ERC1155)
>
> **token\_uri\_timeout\_ms** `integer`
>
> Timeout in milliseconds for fetching token metadata. Set to 0 to only use cached data
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Get NFTs for Owner
>
> **Slug:** `ALCHEMY_GET_NF_TS_FOR_OWNER`
>
> Retrieves NFTs owned by an address on Ethereum mainnet, supporting ERC721 and ERC1155 tokens, optional metadata, filtering, and pagination.
>
> #### Input Parameters
>
> **owner** `string` *required*
>
> Address for NFT owner (can be in ENS format for Eth Mainnet)
>
> **orderBy** `string ("transferTime")`
>
> Ordering scheme for NFTs in the response
>
> **pageKey** `string`
>
> Key for pagination. If more results are available, a pageKey will be returned in the response. Pass back the pageKey as a param to fetch the next page of results
>
> **pageSize** `integer`
>
> Number of NFTs to be returned per page. Defaults to 100. Max is 100
>
> **withMetadata** `boolean`
>
> If set to true, returns NFT metadata. Setting this to false will reduce payload size and may result in a faster API call. Defaults to true
>
> **excludeFilters** `array`
>
> Array of filters that will be applied to the query. NFTs that match one or more of these filters will be excluded from the response. May not be used in conjunction with includeFilters. Options: SPAM (NFTs classified as spam), AIRDROPS (NFTs that were airdropped to the user)
>
> **includeFilters** `array`
>
> Array of filters that will be applied to the query. Only NFTs that match one or more of these filters will be included in the response. May not be used in conjunction with excludeFilters. Options: SPAM (NFTs classified as spam), AIRDROPS (NFTs that were airdropped to the user)
>
> **contractAddresses** `array`
>
> Array of contract addresses to filter the responses with. Max limit 45 contracts
>
> **spamConfidenceLevel** `string ("VERY_HIGH" | "HIGH" | "MEDIUM" | "LOW")`
>
> Confidence level for spam filtering
>
> **tokenUriTimeoutInMs** `integer`
>
> Timeout in milliseconds for the website hosting the metadata to respond when metadata is requested. Set to 0 to only access the cache and not live fetch any metadata for cache misses
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Get Owners for Collection
>
> **Slug:** `ALCHEMY_GET_OWNERS_FOR_COLLECTION`
>
> Retrieves owner addresses for an Ethereum mainnet NFT collection contract, with optional token balances per owner and pagination. Supports ownership analysis for ERC721 and ERC1155 contracts.
>
> #### Input Parameters
>
> **pageKey** `string`
>
> Key for pagination. If more results are available, a pageKey will be returned in the response. Pass back the pageKey as a param to fetch the next page of results
>
> **contractAddress** `string` *required*
>
> Contract address for the NFT contract (ERC721 and ERC1155 supported)
>
> **withTokenBalances** `boolean`
>
> If set to true, the query will include the token balances per token id for each owner. False by default
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Get Owners for Contract
>
> **Slug:** `ALCHEMY_GET_OWNERS_FOR_CONTRACT`
>
> Retrieves owners of NFTs in an Ethereum mainnet contract, with optional token balances and pagination. Use for NFT holder distribution and ownership analysis.
>
> #### Input Parameters
>
> **pageKey** `string`
>
> Key for pagination. Pass back the pageKey from previous response to fetch the next page of results
>
> **contractAddress** `string` *required*
>
> Contract address for the NFT contract (supports ERC721 and ERC1155)
>
> **withTokenBalances** `boolean`
>
> If true, includes token balances per token ID for each owner. Defaults to false
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Get NFT Owners (v3)
>
> **Slug:** `ALCHEMY_GET_OWNERS_FOR_NFTV3`
>
> Retrieves owner addresses for a specific Ethereum mainnet NFT using Alchemy's v3 API.
>
> #### Input Parameters
>
> **tokenId** `string` *required*
>
> The ID of the token. Can be in hex or decimal format
>
> **contractAddress** `string` *required*
>
> Contract address for the NFT contract (ERC721 and ERC1155 supported). Must be a valid Ethereum address
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Get Portfolio NFTs By Address
>
> **Slug:** `ALCHEMY_GET_PORTFOLIO_NF_TS_BY_ADDRESS`
>
> Tool to fetch NFTs owned by multiple wallet addresses across different blockchain networks. Returns comprehensive NFT metadata including contract details, images, attributes, and ownership information. Use when you need to retrieve NFT portfolio data for wallets across multiple chains.
>
> #### Input Parameters
>
> **orderBy** `string ("transferTime")`
>
> Order by field.
>
> **pageKey** `string`
>
> Pagination key from previous response to fetch next page of results
>
> **pageSize** `integer`
>
> Number of results per page (default 100, max 100)
>
> **addresses** `array` *required*
>
> Array of address and networks pairs (limit 2 pairs, max 15 networks each)
>
> **sortOrder** `string ("asc" | "desc")`
>
> Sort order for results.
>
> **withMetadata** `boolean`
>
> Include NFT metadata in response. Default true
>
> **excludeFilters** `array`
>
> Filter out SPAM or AIRDROPS. Default: SPAM
>
> **includeFilters** `array`
>
> Include SPAM or AIRDROPS in results
>
> **spamConfidenceLevel** `string ("VERY_HIGH" | "HIGH" | "MEDIUM" | "LOW")`
>
> Spam confidence levels.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Get Token Prices By Symbol
>
> **Slug:** `ALCHEMY_GET_PRICES_BY_SYMBOL`
>
> Tool to get current token prices by symbol (e.g., ETH, USDC, BTC) using aggregated CEX and DEX data. Use when you need real-time cryptocurrency prices in USD or other currencies. Supports up to 25 symbols per request. Note: Response succeeds even if some tokens are missing - check the error field in each result item.
>
> #### Input Parameters
>
> **symbols** `array` *required*
>
> Array of token symbols to fetch prices for (e.g., \['ETH', 'BTC', 'USDC']). Maximum 25 symbols per request. Symbols are case-insensitive.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Get Token Balances
>
> **Slug:** `ALCHEMY_GET_TOKEN_BALANCES`
>
> This tool retrieves ERC20 token balances for a specified Ethereum address. It can either return balances for all tokens an address has ever interacted with or for a specific set of token contract addresses. It is useful for checking token balances for wallets, monitoring ERC20 token holdings, portfolio tracking, and DeFi applications.
>
> #### Input Parameters
>
> **address** `string` *required*
>
> The Ethereum wallet address (40 hex characters with 0x prefix) to get ERC-20 token balances for
>
> **page\_key** `string`
>
> Pagination key from a previous response's pageKey field. Use this to retrieve the next page of results when there are more tokens than max\_count.
>
> **max\_count** `integer`
>
> Maximum number of token balances to return per request. Must be between 1 and 1000. Default is 100 if not specified.
>
> **contract\_addresses** `array`
>
> Optional list of specific ERC-20 token contract addresses to check balances for. If not provided, returns balances for all tokens the address has interacted with. Each address must be a 40 hex character string with 0x prefix.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Get Token Balances By Address
>
> **Slug:** `ALCHEMY_GET_TOKEN_BALANCES_BY_ADDRESS`
>
> Tool to get token balances for wallet addresses across multiple networks using Alchemy's Portfolio API. Use when you need lightweight balance checks for one or more addresses without full token metadata. Supports up to 3 address/network pairs per request with pagination for large result sets.
>
> #### Input Parameters
>
> **pageKey** `string`
>
> Cursor for pagination through results. Use the pageKey returned from a previous request to get the next page of results.
>
> **addresses** `array` *required*
>
> Array of address and network pairs to check balances for. Maximum 3 address pairs, with up to 20 networks per address.
>
> **includeErc20Tokens** `boolean`
>
> Whether to include ERC-20 tokens. Default is true.
>
> **includeNativeTokens** `boolean`
>
> Whether to include chain native tokens (e.g., ETH on Ethereum). Default is true.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Get Token Metadata
>
> **Slug:** `ALCHEMY_GET_TOKEN_METADATA`
>
> Retrieves Ethereum mainnet ERC-20 token metadata, including available name, symbol, decimals, and logo URL, for display and token amount conversion.
>
> #### Input Parameters
>
> **contract\_address** `string` *required*
>
> The Ethereum contract address of the ERC-20 token (e.g., '0xdAC17F958D2ee523a2206206994597C13D831ec7' for USDT). Must be a valid 20-byte hexadecimal address starting with '0x'.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Get Token Prices By Address
>
> **Slug:** `ALCHEMY_GET_TOKEN_PRICES_BY_ADDRESS`
>
> Retrieves current token prices by contract address and network from decentralized exchanges (DEXes). Use when you need real-time token price data for specific contract addresses across multiple networks. Price data is aggregated from DEXes only (not CEXes) and weighted by total volume. Supports up to 25 addresses per request across maximum 3 different networks. Returns price in USD by default with timestamp. Response succeeds even if some prices are unavailable.
>
> #### Input Parameters
>
> **addresses** `array` *required*
>
> Array of token network and address pairs. Maximum 25 addresses per request, maximum 3 different networks. Each entry specifies a network and contract address to fetch price for.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Get Tokens By Address
>
> **Slug:** `ALCHEMY_GET_TOKENS_BY_ADDRESS`
>
> Tool to fetch fungible tokens (native, ERC-20, SPL) for multiple wallet addresses across networks. Returns comprehensive token information including balances, metadata (name, symbol, decimals, logo), and current prices. Use when you need complete token portfolio data for wallets across multiple chains (Ethereum, Polygon, Arbitrum, Base, Optimism, Solana, and 30+ EVM chains). Supports up to 2 addresses with 5 networks each per request, with pagination for large result sets.
>
> #### Input Parameters
>
> **pageKey** `string`
>
> Cursor for pagination through results. Use the pageKey returned from a previous request to get the next page of results.
>
> **addresses** `array` *required*
>
> Array of address and network pairs to fetch tokens for. Maximum 2 addresses, with up to 5 networks per address.
>
> **withPrices** `boolean`
>
> Whether to include token prices in USD and other currencies. Default is true. Set to false for faster responses with smaller payloads.
>
> **withMetadata** `boolean`
>
> Whether to include token metadata (decimals, logo, name, symbol). Default is true. Set to false for faster responses with smaller payloads.
>
> **includeErc20Tokens** `boolean`
>
> Whether to include ERC-20 tokens. Default is true. Set to false for faster responses with smaller payloads.
>
> **includeNativeTokens** `boolean`
>
> Whether to include chain native tokens (e.g., ETH on Ethereum, MATIC on Polygon). Default is true. Native tokens have a null contract address.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Get Transaction Count
>
> **Slug:** `ALCHEMY_GET_TRANSACTION_COUNT`
>
> Retrieves an Ethereum mainnet address's transaction count (nonce) at a specified block tag or hexadecimal block number using eth\_getTransactionCount. The count is returned in hexadecimal.
>
> #### Input Parameters
>
> **address** `string` *required*
>
> The Ethereum address to get the transaction count for
>
> **block\_tag** `string`
>
> The block number or tag to get the transaction count from
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Get Transactions History By Address
>
> **Slug:** `ALCHEMY_GET_TRANSACTIONS_HISTORY_BY_ADDRESS`
>
> Retrieves transaction history for one wallet address across up to two networks using Alchemy's Data API. Results can include logs and internal transactions, and support pagination with a maximum of 50 transactions per request.
>
> #### Input Parameters
>
> **after** `string`
>
> Cursor pointing to the end of the current result set for forward pagination.
>
> **limit** `integer`
>
> Number of items to return per page. Maximum 50, defaults to 25 if not specified.
>
> **before** `string`
>
> Cursor pointing to the start of the previous result set for backward pagination.
>
> **pageKey** `string`
>
> Pagination key for fetching the next page of results. Use the pageKey returned from a previous request.
>
> **addresses** `array` *required*
>
> Array of address and network pairs to query transaction history for. Maximum 1 address pair, with up to 2 networks per address.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Invalidate NFT Contract Cache
>
> **Slug:** `ALCHEMY_INVALIDATE_CONTRACT_V3`
>
> Tool to invalidate the cached metadata for an NFT contract. Use when you need to force a refresh of stale or outdated NFT metadata on the next request. This is useful after contract updates or when metadata changes are expected.
>
> #### Input Parameters
>
> **network** `string`
>
> The blockchain network to use. Examples: 'eth-mainnet', 'eth-sepolia', 'polygon-mainnet', 'arb-mainnet', 'opt-mainnet', 'base-mainnet'.
>
> **contractAddress** `string` *required*
>
> Contract address for the NFT contract (ERC721 and ERC1155 supported). Invalidating the cache forces a refresh of metadata on the next request.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Check If NFT Is Airdrop
>
> **Slug:** `ALCHEMY_IS_AIRDROP`
>
> Tool to check if a specific NFT token is marked as an airdrop. Use when you need to determine whether an NFT was distributed via airdrop mechanism. Returns true if the token is identified as an airdrop, false otherwise.
>
> #### Input Parameters
>
> **tokenId** `string` *required*
>
> The ID of the token. Can be in hex or decimal format.
>
> **contractAddress** `string` *required*
>
> Contract address for the NFT contract (ERC721 and ERC1155 supported). Must be a valid Ethereum address.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Check If NFT Is Airdrop
>
> **Slug:** `ALCHEMY_IS_AIRDROP_NFT`
>
> Check whether a specified NFT is marked as an airdrop using its contract address and token ID on Ethereum mainnet.
>
> #### Input Parameters
>
> **tokenId** `string` *required*
>
> The ID of the token. Can be in hex or decimal format
>
> **contractAddress** `string` *required*
>
> Contract address for the NFT contract (ERC721 and ERC1155 supported)
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Check Collection Ownership
>
> **Slug:** `ALCHEMY_IS_HOLDER_OF_COLLECTION`
>
> Tool to check if a wallet address owns any token from a specific NFT collection. Use this when you need to verify collection ownership without retrieving full NFT details, supporting both ERC721 and ERC1155 standards.
>
> #### Input Parameters
>
> **wallet** `string` *required*
>
> Address for NFT owner (can be in ENS format for Eth Mainnet)
>
> **contractAddress** `string` *required*
>
> Contract address for the NFT contract (ERC721 and ERC1155 supported)
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Check NFT Holder Status
>
> **Slug:** `ALCHEMY_IS_HOLDER_OF_CONTRACT`
>
> Tool to check if a wallet address holds any NFTs from a specific contract. Use when you need to verify NFT ownership for access control, membership verification, or token-gating features. Supports both ERC721 and ERC1155 contracts.
>
> #### Input Parameters
>
> **wallet** `string` *required*
>
> Wallet address to check for contract ownership
>
> **contract\_address** `string` *required*
>
> Contract address for the NFT contract (ERC721 and ERC1155 supported)
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Check if Contract is Spam
>
> **Slug:** `ALCHEMY_IS_SPAM_CONTRACT`
>
> Tool to check if an NFT contract is marked as spam by Alchemy. Use when you need to verify the legitimacy of an NFT contract before interacting with it or displaying its assets. Returns true if the contract is flagged as spam, false if it's valid or hasn't been evaluated yet.
>
> #### Input Parameters
>
> **contractAddress** `string` *required*
>
> Contract address for the NFT contract (ERC721 and ERC1155 supported). Must be a valid Ethereum address.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Check if Contract is Spam (V3)
>
> **Slug:** `ALCHEMY_IS_SPAM_CONTRACT_V3`
>
> Tool to determine if a specific NFT contract is marked as spam by Alchemy. Use when you need to verify the legitimacy of an NFT contract address before interacting with it. Available on paid Alchemy tiers only.
>
> #### Input Parameters
>
> **contractAddress** `string` *required*
>
> Contract address for the NFT contract (ERC721 and ERC1155 supported). Must be a valid Ethereum address.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Search NFT Contract Metadata
>
> **Slug:** `ALCHEMY_SEARCH_CONTRACT_METADATA_V3`
>
> Search Ethereum mainnet NFT contract metadata by keywords to find collections. Results may include contract addresses, names, symbols, token types, deployer information, and OpenSea metadata.
>
> #### Input Parameters
>
> **query** `string` *required*
>
> The search string to search for in contract metadata. Searches across contract names, symbols, and descriptions
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Summarize NFT Attributes
>
> **Slug:** `ALCHEMY_SUMMARIZE_NFT_ATTRIBUTES`
>
> Retrieves a summary of NFT attributes for an Ethereum mainnet collection, including trait value counts. Use it to analyze collection composition and build trait filters.
>
> #### Input Parameters
>
> **contract\_address** `string` *required*
>
> The contract address of the NFT collection (supports ERC721 and ERC1155)
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not
