ProjectOpenSea / stream-js

A TypeScript SDK to receive pushed updates from OpenSea over websocket.

Home Page:https://docs.opensea.io/reference/stream-api-overview

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to get floor price ?

bluetyphoon77 opened this issue · comments

Hi,

I succeeded to get ID, name, url,.. of any listed item from a collection. But I don't see the floor price endpoint for the collection where this item belongs ? Is it something we cannot get in this "onItemListed" event ? or from the stream api ?
Do we have to get it outside of the stream api ?
Thanks in advance

You can get the floor price from opensea-js or the API directly using https://docs.opensea.io/v1.0/reference/retrieving-collection-stats