Get NFT Price in python and react native (expo CLI)

Hi,

Sorry if this sounds like a dumb question. However Ive been breaking my head over this. Ill keep it brief.

How do I get the price of a specific NFT from a collection? (I’m using python right now but will use this solution in my react native app too).

I’ve read the documantation and watched a bunch of moralis video’s however I can’t seem to figure this out.

Thanks!
Kindest regards,

We don’t have an endpoint that returns directly the price for a specific NFT. You could try to use the endpoint specific to nft trades, and it works only with trades done on opensea marketplace.

Hi thanks for your reply, trades done on the opensea marketplace are all I need. If i understand correctly: If a nft is listed for sale on opensea I would be able to retrieve the price?

Also, If it is possible to get the floor price. How come it is not possible to get the price of a specifically listed nft?

there is an endpoint for floor price too, we only parse the trades from opensea, we don’t know what is current listing price for a specific NFT