Links
💻

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();

Get all listings currently on Solanart

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();