Alchemy — Direct API Endpoints
Alchemy provides 28 unique direct API endpoints across the following categories:- DeFi (3 endpoints)
- Market Data (4 endpoints)
- NFT (24 endpoints)
- Token (4 endpoints)
- Wallets (5 endpoints)
Learn more: Alchemy Documentation
Prefix and Example
Prefix: No prefix is required for Alchemy, an example URL will therefore look like:https://api.uniblock.dev/direct/v1/Alchemy + /[Alchemy_endpoint].
Example Request:
DeFi
GET
| Path | Est. CU | Description |
|---|---|---|
| direct/v1/Alchemy/prices/v1/tokens/by-symbol | 80 | Fetches current prices for multiple tokens using their symbols. Returns a list of token prices, each containing the symbol, prices, and an optional error field. |
POST
| Path | Est. CU | Description |
|---|---|---|
| direct/v1/Alchemy/prices/v1/tokens/by-address | 80 | Fetches current prices for multiple tokens using network and address pairs. Returns a list of token prices, each containing the network, address, prices, and an optional error field. |
| direct/v1/Alchemy/prices/v1/tokens/historical | 80 | Provides historical price data for a single token over a time range. You can identify the token by symbol or by network and contract address. |
Market Data
GET
| Path | Est. CU | Description |
|---|---|---|
| direct/v1/Alchemy/prices/v1/tokens/by-symbol | 80 | Fetches current prices for multiple tokens using their symbols. Returns a list of token prices, each containing the symbol, prices, and an optional error field. |
| direct/v1/Alchemy/{chain}/nft/v3/getFloorPrice | 160 | Retrieves the floor prices of an NFT collection across different marketplaces. |
POST
| Path | Est. CU | Description |
|---|---|---|
| direct/v1/Alchemy/prices/v1/tokens/by-address | 80 | Fetches current prices for multiple tokens using network and address pairs. Returns a list of token prices, each containing the network, address, prices, and an optional error field. |
| direct/v1/Alchemy/prices/v1/tokens/historical | 80 | Provides historical price data for a single token over a time range. You can identify the token by symbol or by network and contract address. |
NFT
GET
| Path | Est. CU | Description |
|---|---|---|
| direct/v1/Alchemy/{chain}/nft/v3 /getCollectionMetadata | 480 | Retrieves high-level collection or contract-level information for an NFT collection. |
| direct/v1/Alchemy/{chain}/nft/v3 /getCollectionsForOwner | 720 | Retrieves all NFT collections held by a specified owner address. |
| direct/v1/Alchemy/{chain}/nft/v3/computeRarity | 160 | Calculates the rarity of each attribute within an NFT. |
| direct/v1/Alchemy/{chain}/nft/v3 /getContractMetadata | 320 | Retrieves high-level collection or contract-level information for an NFT. |
| direct/v1/Alchemy/{chain}/nft/v3 /getContractsForOwner | 640 | Retrieves all NFT contracts held by a specified owner address. |
| direct/v1/Alchemy/{chain}/nft/v3/getFloorPrice | 160 | Retrieves the floor prices of an NFT collection across different marketplaces. |
| direct/v1/Alchemy/{chain}/nft/v3 /invalidateContract | 160 | Marks all cached tokens for the specified contract as stale, ensuring the next query fetches live data instead of cached data. |
| direct/v1/Alchemy/{chain}/nft/v3/isAirdropNFT | 160 | Determines whether a specific token is marked as an airdrop. Airdrops are defined as NFTs minted to a user address in a transaction sent by a different address. |
| direct/v1/Alchemy/{chain}/nft/v3 /isHolderOfContract | 160 | Determines whether a specific wallet holds any NFT from a given contract. |
| direct/v1/Alchemy/{chain}/nft/v3/isSpamContract | 160 | Determines whether a specific contract is marked as spam by Alchemy. |
| direct/v1/Alchemy/{chain}/nft/v3/getNFTMetadata | 160 | Retrieves the metadata associated with a specific NFT. |
| direct/v1/Alchemy/{chain}/nft/v3/getNFTSales | 320 | Retrieves NFT sales that have occurred through on-chain marketplaces. |
| direct/v1/Alchemy/{chain}/nft/v3 /getNFTsForCollection | 20 | Retrieves all NFTs associated with a specific NFT collection. |
| direct/v1/Alchemy/{chain}/nft/v3 /getNFTsForContract | 1200 | Retrieves all NFTs associated with a specific NFT contract. |
| direct/v1/Alchemy/{chain}/nft/v3/getNFTsForOwner | 960 | Retrieves all NFTs currently owned by a specified address. |
| direct/v1/Alchemy/{chain}/nft/v3 /getOwnersForContract | 960 | Retrieves all owners associated with a specific NFT contract. |
| direct/v1/Alchemy/{chain}/nft/v3/getOwnersForNFT | 160 | Retrieves the owner(s) for a specific token. |
| direct/v1/Alchemy/{chain}/nft/v3/reportSpam | 20 | Reports a specific address to the API if it is suspected to be spam. |
| direct/v1/Alchemy/{chain}/nft/v3 /searchContractMetadata | 960 | Searches for a keyword across metadata of all ERC-721 and ERC-1155 smart contracts. |
| direct/v1/Alchemy/{chain}/nft/v3 /getSpamContracts | 960 | Returns a list of all spam contracts marked by Alchemy. |
| direct/v1/Alchemy/{chain}/nft/v3 /summarizeNFTAttributes | 160 | Generates a summary of attribute prevalence for a specific NFT collection. |
POST
| Path | Est. CU | Description |
|---|---|---|
| direct/v1/Alchemy/{chain}/nft/v3 /getContractMetadataBatch | 960 | Retrieves metadata for a list of specified contract addresses in a single request. |
| direct/v1/Alchemy/{chain}/nft/v3 /getNFTMetadataBatch | 960 | Retrieves metadata for up to 100 specified NFT contracts in a single request. |
| direct/v1/Alchemy/{chain}/nft/v3 /refreshNftMetadata | 80 | Submits a request for Alchemy to refresh the cached metadata of a specific NFT token. |
Token
GET
| Path | Est. CU | Description |
|---|---|---|
| direct/v1/Alchemy/prices/v1/tokens/by-symbol | 80 | Fetches current prices for multiple tokens using their symbols. Returns a list of token prices, each containing the symbol, prices, and an optional error field. |
POST
| Path | Est. CU | Description |
|---|---|---|
direct/v1/Alchemy/{chain}/v2 | 20 | |
| direct/v1/Alchemy/prices/v1/tokens/by-address | 80 | Fetches current prices for multiple tokens using network and address pairs. Returns a list of token prices, each containing the network, address, prices, and an optional error field. |
| direct/v1/Alchemy/prices/v1/tokens/historical | 80 | Provides historical price data for a single token over a time range. You can identify the token by symbol or by network and contract address. |
Wallets
GET
| Path | Est. CU | Description |
|---|---|---|
| direct/v1/Alchemy/{chain}/nft/v3 /getCollectionsForOwner | 720 | Retrieves all NFT collections held by a specified owner address. |
| direct/v1/Alchemy/{chain}/nft/v3 /getContractsForOwner | 640 | Retrieves all NFT contracts held by a specified owner address. |
| direct/v1/Alchemy/{chain}/nft/v3 /isHolderOfContract | 160 | Determines whether a specific wallet holds any NFT from a given contract. |
| direct/v1/Alchemy/{chain}/nft/v3/getNFTsForOwner | 960 | Retrieves all NFTs currently owned by a specified address. |
POST
| Path | Est. CU | Description |
|---|---|---|
| direct/v1/Alchemy/prices/v1/tokens/by-address | 80 | Fetches current prices for multiple tokens using network and address pairs. Returns a list of token prices, each containing the network, address, prices, and an optional error field. |