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

# NFT

> Alchemy NFT endpoints via Uniblock Direct API.

### GET

| Path                                                                                                                                                                                              | Description                                                                                                                                                      | Est. CU |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------: |
| [direct/v1/Alchemy/{chain}/nft/v3<br />/getCollectionMetadata](https://www.alchemy.com/docs/reference/nft-api-endpoints/nft-api-endpoints/nft-metadata-endpoints/get-collection-metadata-v-3)     | Retrieves high-level collection or contract-level information for an NFT collection.                                                                             |     480 |
| [direct/v1/Alchemy/{chain}/nft/v3<br />/getCollectionsForOwner](https://www.alchemy.com/docs/reference/nft-api-endpoints/nft-api-endpoints/nft-ownership-endpoints/get-collections-for-owner-v-3) | Retrieves all NFT collections held by a specified owner address.                                                                                                 |     720 |
| [direct/v1/Alchemy/{chain}/nft/v3/computeRarity](https://www.alchemy.com/docs/reference/nft-api-endpoints/nft-api-endpoints/nft-metadata-endpoints/compute-rarity-v-3)                            | Calculates the rarity of each attribute within an NFT.                                                                                                           |     160 |
| [direct/v1/Alchemy/{chain}/nft/v3<br />/getContractMetadata](https://www.alchemy.com/docs/reference/nft-api-endpoints/nft-api-endpoints/nft-metadata-endpoints/get-contract-metadata-v-3)         | Retrieves high-level collection or contract-level information for an NFT.                                                                                        |     320 |
| [direct/v1/Alchemy/{chain}/nft/v3<br />/getContractsForOwner](https://www.alchemy.com/docs/reference/nft-api-endpoints/nft-api-endpoints/nft-ownership-endpoints/get-contracts-for-owner-v-3)     | Retrieves all NFT contracts held by a specified owner address.                                                                                                   |     640 |
| [direct/v1/Alchemy/{chain}/nft/v3/getFloorPrice](https://www.alchemy.com/docs/reference/nft-api-endpoints/nft-api-endpoints/nft-sales-endpoints/get-floor-price-v-3)                              | Retrieves the floor prices of an NFT collection across different marketplaces.                                                                                   |     160 |
| [direct/v1/Alchemy/{chain}/nft/v3<br />/invalidateContract](https://www.alchemy.com/docs/reference/nft-api-endpoints/nft-api-endpoints/nft-metadata-endpoints/invalidate-contract-v-3)            | Marks all cached tokens for the specified contract as stale, ensuring the next query fetches live data instead of cached data.                                   |     160 |
| [direct/v1/Alchemy/{chain}/nft/v3/isAirdropNFT](https://www.alchemy.com/docs/reference/nft-api-endpoints/nft-api-endpoints/nft-spam-endpoints/is-airdrop-nft-v-3)                                 | 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. |     160 |
| [direct/v1/Alchemy/{chain}/nft/v3<br />/isHolderOfContract](https://www.alchemy.com/docs/reference/nft-api-endpoints/nft-api-endpoints/nft-ownership-endpoints/is-holder-of-contract-v-3)         | Determines whether a specific wallet holds any NFT from a given contract.                                                                                        |     160 |
| [direct/v1/Alchemy/{chain}/nft/v3/isSpamContract](https://www.alchemy.com/docs/reference/nft-api-endpoints/nft-api-endpoints/nft-spam-endpoints/is-spam-contract-v-3)                             | Determines whether a specific contract is marked as spam by Alchemy.                                                                                             |     160 |
| [direct/v1/Alchemy/{chain}/nft/v3/getNFTMetadata](https://www.alchemy.com/docs/reference/nft-api-endpoints/nft-api-endpoints/nft-metadata-endpoints/get-nft-metadata-v-3)                         | Retrieves the metadata associated with a specific NFT.                                                                                                           |     160 |
| [direct/v1/Alchemy/{chain}/nft/v3/getNFTSales](https://www.alchemy.com/docs/reference/nft-api-endpoints/nft-api-endpoints/nft-sales-endpoints/get-nft-sales-v-3)                                  | Retrieves NFT sales that have occurred through on-chain marketplaces.                                                                                            |     320 |
| [direct/v1/Alchemy/{chain}/nft/v3<br />/getNFTsForCollection](https://www.alchemy.com/docs/reference/nft-api-endpoints/nft-api-endpoints/nft-metadata-endpoints/get-nf-ts-for-collection-v-3)     | Retrieves all NFTs associated with a specific NFT collection.                                                                                                    |    1200 |
| [direct/v1/Alchemy/{chain}/nft/v3<br />/getNFTsForContract](https://www.alchemy.com/docs/reference/nft-api-endpoints/nft-api-endpoints/nft-metadata-endpoints/get-nf-ts-for-contract-v-3)         | Retrieves all NFTs associated with a specific NFT contract.                                                                                                      |     960 |
| [direct/v1/Alchemy/{chain}/nft/v3/getNFTsForOwner](https://www.alchemy.com/docs/reference/nft-api-endpoints/nft-api-endpoints/nft-ownership-endpoints/get-nf-ts-for-owner-v-3)                    | Retrieves all NFTs currently owned by a specified address.                                                                                                       |     960 |
| [direct/v1/Alchemy/{chain}/nft/v3<br />/getOwnersForContract](https://www.alchemy.com/docs/reference/nft-api-endpoints/nft-api-endpoints/nft-ownership-endpoints/get-owners-for-contract-v-3)     | Retrieves all owners associated with a specific NFT contract.                                                                                                    |     960 |
| [direct/v1/Alchemy/{chain}/nft/v3/getOwnersForNFT](https://www.alchemy.com/docs/reference/nft-api-endpoints/nft-api-endpoints/nft-ownership-endpoints/get-owners-for-nft-v-3)                     | Retrieves the owner(s) for a specific token.                                                                                                                     |     160 |
| [direct/v1/Alchemy/{chain}/nft/v3/reportSpam](https://www.alchemy.com/docs/reference/nft-api-endpoints/nft-api-endpoints/nft-spam-endpoints/report-spam-v-3)                                      | Reports a specific address to the API if it is suspected to be spam.                                                                                             |      20 |
| [direct/v1/Alchemy/{chain}/nft/v3<br />/searchContractMetadata](https://www.alchemy.com/docs/reference/nft-api-endpoints/nft-api-endpoints/nft-metadata-endpoints/search-contract-metadata-v-3)   | Searches for a keyword across metadata of all ERC-721 and ERC-1155 smart contracts.                                                                              |     960 |
| [direct/v1/Alchemy/{chain}/nft/v3<br />/getSpamContracts](https://www.alchemy.com/docs/reference/nft-api-endpoints/nft-api-endpoints/nft-spam-endpoints/get-spam-contracts-v-3)                   | Returns a list of all spam contracts marked by Alchemy.                                                                                                          |     960 |
| [direct/v1/Alchemy/{chain}/nft/v3<br />/summarizeNFTAttributes](https://www.alchemy.com/docs/reference/nft-api-endpoints/nft-api-endpoints/nft-metadata-endpoints/summarize-nft-attributes-v-3)   | Generates a summary of attribute prevalence for a specific NFT collection.                                                                                       |     160 |

### POST

| Path                                                                                                                                                                                                 | Description                                                                           | Est. CU |
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------: |
| [direct/v1/Alchemy/{chain}/nft/v3<br />/getContractMetadataBatch](https://www.alchemy.com/docs/reference/nft-api-endpoints/nft-api-endpoints/nft-metadata-endpoints/get-contract-metadata-batch-v-3) | Retrieves metadata for a list of specified contract addresses in a single request.    |     960 |
| [direct/v1/Alchemy/{chain}/nft/v3<br />/getNFTMetadataBatch](https://www.alchemy.com/docs/reference/nft-api-endpoints/nft-api-endpoints/nft-metadata-endpoints/get-nft-metadata-batch-v-3)           | Retrieves metadata for up to 100 specified NFT contracts in a single request.         |     960 |
| [direct/v1/Alchemy/{chain}/nft/v3<br />/refreshNftMetadata](https://www.alchemy.com/docs/reference/nft-api-endpoints/nft-api-endpoints/nft-metadata-endpoints/refresh-nft-metadata-v-3)              | Submits a request for Alchemy to refresh the cached metadata of a specific NFT token. |      80 |
