> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stackone.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Alchemy

> How to set up the Alchemy connector, plus the actions that are available.

![Alchemy](https://stackone-logos.com/api/alchemy/filled/svg)

v1.0.0[See changelog](https://docs.stackone.com/connectors/alchemy/changelog.md)

[39 actions](#actions) · 1 auth method

## Getting Started

**1. Create or Select a Project**

Set up a new project or select an existing one. See [Organizations & Projects](https://docs.stackone.com/gateway/concepts/organizations-and-projects.md).

**2. Configure the Connector**

Enable the connector and create a Connector Profile in your project. See [Setup Connector Profile](https://docs.stackone.com/gateway/quickstart.md#setup-connector-profile).

> [card] [API Key · Connector Profile](https://docs.stackone.com/connectors/alchemy/guides/connector-profile/api-key.md)
>
> Requires an Alchemy App API key and a chain subdomain (e.g. \`eth-mainnet\`) that has been enabled on the App.

**3. Link an Account**

Link an account [from the dashboard](https://docs.stackone.com/connect/managing-connectors/linking-accounts.md#link-from-the-dashboard) (or via [StackOne Hub](https://docs.stackone.com/embed/account-linking/overview)).

See the guide for the authentication type chosen in the Connector Profile:

> [card] [API Key · Link Account](https://docs.stackone.com/connectors/alchemy/guides/link-account/api-key.md)

**4. Use Actions**

Connect an AI platform to the linked account's actions. See [AI Platforms](https://docs.stackone.com/ai-platforms/overview.md).

Other ways to call actions are listed in [Protocols & SDKs](https://docs.stackone.com/connect/protocols-and-sdks.md).

## Actions

39 actions

ActionDescription

Get NFTs For Owner`alchemy_get_nfts_for_owner`

Retrieve all NFTs currently owned by a specified wallet address on the selected EVM network, with optional metadata and...

Get NFTs For Contract`alchemy_get_nfts_for_contract`

Retrieve all NFTs associated with a specific NFT contract on the selected EVM network, with optional metadata and pagina...

Get Owners For NFT`alchemy_get_owners_for_nft`

Retrieve the current owner(s) of a specific NFT token identified by contract address and token ID.

Get Owners For Contract`alchemy_get_owners_for_contract`

Retrieve all wallet addresses that own at least one token from an NFT contract, with optional per-token balances and pag...

Get Contracts For Owner`alchemy_get_contracts_for_owner`

Retrieve all NFT contracts (collections) from which a wallet address holds at least one token, with optional metadata an...

Get NFT Metadata`alchemy_get_nft_metadata`

Retrieve full metadata (name, image, attributes, token URI) for a single NFT identified by contract address and token ID...

Get NFT Metadata Batch`alchemy_get_nft_metadata_batch`

Retrieve metadata for up to 100 NFTs across multiple contracts in a single batched request.

Get Contract Metadata`alchemy_get_contract_metadata`

Retrieve collection-level metadata (name, symbol, total supply, OpenSea data) for a single NFT contract.

Get Contract Metadata Batch`alchemy_get_contract_metadata_batch`

Retrieve collection-level metadata for multiple NFT contracts in a single batched request.

Search Contract Metadata`alchemy_search_contract_metadata`

Search for NFT contracts by keyword across all ERC-721 and ERC-1155 contract metadata (name, symbol, description).

Get Floor Price`alchemy_get_floor_price`

Retrieve the current floor prices for an NFT collection across supported marketplaces (OpenSea, LooksRare). Provide EITH...

Compute Rarity`alchemy_compute_rarity`

Compute the rarity score of each attribute for a specific NFT token within an NFT contract.

Summarize NFT Attributes`alchemy_summarize_nft_attributes`

Generate a summary of how frequently each attribute value appears across all NFTs in a collection.

Invalidate Contract`alchemy_invalidate_contract`

Mark all cached tokens for the specified NFT contract as stale so the next read fetches fresh on-chain data.

Is Spam Contract`alchemy_is_spam_contract`

Check whether a specific NFT contract is classified as spam by Alchemy.

Get Spam Contracts`alchemy_get_spam_contracts`

Retrieve the complete list of NFT contracts that Alchemy has classified as spam. Requires the Growth tier or higher — fr...

Report Spam`alchemy_report_spam`

Report an NFT contract address to Alchemy as suspected spam. Requires the Enterprise tier or higher — lower tiers receiv...

Is Airdrop NFT`alchemy_is_airdrop_nft`

Check whether a specific NFT token was airdropped (minted to the owner via a transaction sent by a different address).

Get NFT Sales`alchemy_get_nft_sales`

Retrieve historical NFT sales data across supported on-chain marketplaces, filterable by block range, marketplace, contr...

Get Tokens By Address`alchemy_get_tokens_by_address`

Get tokens (fungible + native) held by one or more wallet addresses across specified EVM networks in a single chain-agno...

Get Token Balances By Address`alchemy_get_token_balances_by_address`

Get token balances (native + ERC-20) held by one or more wallet addresses across specified EVM networks in a single chai...

Get NFTs By Address`alchemy_get_nfts_by_address`

Get NFTs held by one or more wallet addresses across specified EVM networks, with optional spam/airdrop filters, in a si...

Get NFT Contracts By Address`alchemy_get_nft_contracts_by_address`

Get NFT contracts (collections) that one or more wallet addresses hold at least one token from, across specified EVM net...

Get Token Prices By Symbol`alchemy_get_token_prices_by_symbol`

Fetch current market prices for up to 25 tokens identified by their ticker symbols (e.g. ETH, BTC, USDC).

Get Token Prices By Address`alchemy_get_token_prices_by_address`

Fetch current DEX-sourced prices for up to 25 tokens identified by network and contract address pairs.

Get Historical Token Prices`alchemy_get_historical_token_prices`

Fetch time-series price history for a single token over a caller-specified time window at 5-minute, hourly, or daily gra...

Get Native Balance`alchemy_get_balance`

Get the native token balance (ETH / MATIC / BNB / etc.) for an address on the selected EVM network.

Read Contract State (eth\_call)`alchemy_eth_call`

Execute a read-only contract call (view/pure function) against the current chain state, returning the raw ABI-encoded re...

Get Block By Number`alchemy_get_block_by_number`

Get block information (timestamp, hash, transactions, gas usage) for a specific block number on the selected EVM network...

Get Transaction By Hash`alchemy_get_transaction_by_hash`

Get transaction details (from, to, value, input data, gas, block) for a specific transaction hash.

Get Transaction Receipt`alchemy_get_transaction_receipt`

Get the transaction receipt (status, gas used, logs, block hash) for a single transaction hash.

Get Event Logs`alchemy_get_logs`

Get contract event logs matching filter criteria (block range, address, topics) — the core method for indexing token tra...

Get Gas Price`alchemy_get_gas_price`

Get the current gas price (in wei, hex-encoded) on the selected EVM network.

Estimate Gas`alchemy_estimate_gas`

Estimate the gas required to execute a transaction, without submitting it to the network.

Get Token Allowance`alchemy_get_token_allowance`

Returns the ERC-20 token allowance granted by an owner to a spender for a given contract.

Get Token Balances`alchemy_get_token_balances`

Returns ERC-20 token balances for a given wallet address, optionally filtered to specific contracts or token type.

Get Token Metadata`alchemy_get_token_metadata`

Returns metadata (name, symbol, decimals, logo) for a given ERC-20 token contract.

Get Asset Transfers`alchemy_get_asset_transfers`

Fetch historical asset transfer events (external, internal, ERC-20, ERC-721, ERC-1155, special NFT) for any address on t...

Get Transaction Receipts`alchemy_get_transaction_receipts`

Batch-fetch all transaction receipts for an entire block in a single call, identified by block number or block hash.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.