How is the Floor Price Updated with getFloorPrice?
The getFloorPrice
provides the floor price of an NFT collection at the time of the request. Understanding how often this data is updated and why there might be slight delays can help ensure you’re accessing the most accurate information!
Below are common questions about how the floor price is refreshed and cached:
How often is the floor price updated with getFloorPrice?
The floor price is queried per collection at the time of your request and cached for 5 minutes. After that, the floor price is refreshed with a best-effort fetch from the marketplace. The retrievedAt
field shows the timestamp of when the collection’s floor price was last updated for a specific marketplace.
Why does getFloorPrice return an older floor price?
The cache for the getFloorPrice
is refreshed every 15 minutes. If a transaction affecting the floor price happened within the last 15 minutes, there may be a slight delay in getting the most up-to-date data. We recommend waiting up to 15 minutes for the latest floor price data.
📘 For more details, check out the full documentation on the getFloorPrice endpoint: Alchemy API Documentation - getFloorPrice