post https://rest-api.hellomoon.io/v0/nft/sales/secondary
The NFT Secondary Sales endpoint captures transactions that occured after the minting of a NFT.
For example, the Primary Sales endpoint visualizes who minted the NFT and the program that was used. While the Secondary Sales endpoint visualizes who the minter sold the NFT to and the price it was transacted at.
Examples
Get seller activity for last 30 days
const axios = require("axios");
const url = "https://rest-api.hellomoon.io/v0/nft/sales/secondary";
async function getSellerActivity() {
const { data } = await axios.post(
url,
{
"seller": "EjJUHgR5NPZEZAVSYZFG2JRCjoriRRqD6qrnvhhKXZtj"
},
{
headers: {
Accept: "application/json",
"Content-Type": "application/json",
Authorization: "Bearer <your_token>",
},
}
);
console.log(data);
}