To fetch an NFT's Collection Floor Price, you only need to call a function like List Collection Nfts or Fetch Collection to obtain information on a collection. Inside the return of this function is the floor_price key, which is the information you're ultimately trying to obtain.

⚠️

NFTs share the same price as their collection

Right now, NFT items are assumed to have the same price as the floor price of their collection. We're currently working on a more effective way to calculate the price of an NFTItem, thank you for your patience.

You can also use the SDK to get the floor price like this:

import PulsarSDK from 'pulsar_sdk_js'

const sdk = new PulsarSDK(API_KEY)
sdk.nfts.fetch_collection('YOUR COLLECTION ID').then((collection) => {
    const { floor_price } = collection
    console.log(floor_price)
})
from pulsar_sdk_py import PulsarSDK

sdk = PulsarSDK(api_key=API_KEY)
collection = sdk.nfts.fetch_collection(collection_id="YOU NFT COLLECTION ID")
floor_price = collection.floor_price