getNFTSales
Gets NFT sales that have happened through on-chain marketplaces
Path parameters
Query parameters
String - The block number to start fetching NFT sales data from. Allowed values are decimal and hex integers, and “latest”. Defaults to “0”.
String - The block number to start fetching NFT sales data from. Allowed values are decimal and hex integers, and “latest”. Defaults to “latest”.
Enum - Whether to return the results ascending from startBlock or descending from startBlock. Defaults to descending (false).
Enum - The name of the NFT marketplace to filter sales by. The endpoint currently supports “seaport”, “wyvern”, “looksrare”, “x2y2”, “blur”, and “cryptopunks”. Defaults to returning sales from all supported marketplaces.
String - The contract address of a NFT collection to filter sales by. Defaults to returning all NFT contracts.
String - The token ID of an NFT within the collection specified by contractAddress to filter sales by. Defaults to returning all token IDs.
String - The address of the NFT buyer to filter sales by. Defaults to returning sales involving any buyer.
String - The address of the NFT seller to filter sales by. Defaults to returning sales involving any seller.
Enum - Filter by whether the buyer or seller was the taker in the NFT trade. Allowed filter values are “BUYER” and “SELLER”. Defaults to returning both buyer and seller taker trades.
Integer - The maximum number of NFT sales to return. Maximum and default values are 1000.
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.
Response
List of NFT sales that match the query
String - The page key to use to fetch the next page of results. Returns null if there are no more results.