getNftSales - SDK
Returns NFT sales that have happened through on-chain marketplaces.
Don’t have an API key?
Start using this method in your app today. Get started for free
Please note that this endpoint is only available on Ethereum (Seaport, Wyvern, X2Y2, Blur, LooksRare, Cryptopunks), Polygon (Seaport) & Optimism (Seaport) mainnets
Description
Returns NFT sales that have happened through on-chain marketplaces.
Parameters
options
parameters
Response
GetNftSalesResponse
object properties
nftSales
properties
Example Request and Response
Prerequisite: You will need to install the Alchemy SDK before making requests with it.
The commands for installing it using npm or yarn are given below:
Request
Response
Use Cases
Here are some potential use cases for the getNftSales
method:
-
NFT market analysis: By using
getNftSales
, users can retrieve data about the sales of various NFTs on the blockchain network. This data can be used to analyze market trends and understand the popularity of specific NFTs. Investors and traders can use this information to make informed decisions about buying or selling NFTs. -
Royalty calculation: NFTs often include royalty clauses that enable creators to receive a percentage of the sale price every time the NFT is sold.
getNftSales
can be used to retrieve information about all the sales of a specific NFT, allowing creators to calculate their royalty payments accurately. -
Proof of ownership:
getNftSales
can be used to verify an NFT’s ownership by checking its sales history. This can be helpful in cases where the ownership of an NFT is disputed or when verifying the authenticity of an NFT.