getNFTSales

Gets NFT sales that have happened through on-chain marketplaces

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required
Defaults to docs-demo

For higher throughput, create your own API key

Query Params
string
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 "0".

string
Defaults to latest

String - The block number to start fetching NFT sales data from. Allowed values are decimal and hex integers, and "latest". Defaults to "latest".

string
enum
Defaults to asc

Enum - Whether to return the results ascending from startBlock or descending from startBlock. Defaults to descending (false).

Allowed:
string
enum

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.

Allowed:
string
Defaults to 0xe785E82358879F061BC3dcAC6f0444462D4b5330

String - Contract address for the NFT contract (ERC721 and ERC1155 supported).

string
Defaults to 44

String - The ID of the token. Can be in hex or decimal format.

string

String - The address of the NFT buyer to filter sales by. Defaults to returning sales involving any buyer.

string

String - The address of the NFT seller to filter sales by. Defaults to returning sales involving any seller.

string
enum

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.

Allowed:
integer

Integer - Sets the total number of NFTs returned in the response. Defaults to 100.

string

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

Language
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json