💻
NFT Listings
Get all active listings for the ABC Collection
const axios = require('axios')
const url = `https://api.helius.xyz/v1/active-listings?api-key=<api_key>`
const getActiveListings = async () => {
const { data } = await axios.post(url, {
"query": {
// ABC collection
"firstVerifiedCreators": ["GVkb5GuwGKydA4xXLT9PNpx63h7bhFNrDLQSxi6j5NuF"]
}
});
console.log("Active listings: ", data.result);
};
getActiveListings();
const axios = require('axios')
const url = `https://api.helius.xyz/v1/active-listings?api-key=<api_key>`
const getActiveListings = async () => {
const { data } = await axios.post(url, {
"query": {
"marketplaces": ["SOLANART"]
}
});
console.log("Active listings: ", data.result);
};
getActiveListings();
Last modified 3mo ago