Provide an API for retrieving listing information
- current listings(the result shown with the
Buy Nowfilter on)
I was quite surprised to find out that such information are not in the existing APIs. I would be happy even with just the number of listings, but that's sadly not available either...
Just to clarify, you would want the "buy now" option to be a parameter when fetching listings?
Just to clarify, you would want the "buy now" option to be a parameter when fetching listings?
Right. The main problem now is that there doesn't seen to be an API to fetch listings for a collection at all. The current API is only for fetching listings for a single asset(collection with an token_id).
+1
+1
Is there a query parameter that can implement status filtering? @esteban-OpenSea
It's easy enough ti implement a scraper to full the listing off the page although it would be great if the api provided this info.
An option would to retrieve all items for a collection and count once retrieved.
It's easy enough ti implement a scraper to full the listing off the page although it would be great if the api provided this info.
An option would to retrieve all items for a collection and count once retrieved.
Did you actually implement a scraper to do so?
I did some testing and it seems OS does a lot of detection for this kind of page visit. Using puppeteer headless mode would be detected and blocked, unless you change the user agent header manually, also OS would prompt CAPTCHA i guess
It's easy enough ti implement a scraper to full the listing off the page although it would be great if the api provided this info. An option would to retrieve all items for a collection and count once retrieved.
Did you actually implement a scraper to do so?
I did some testing and it seems OS does a lot of detection for this kind of page visit. Using puppeteer headless mode would be detected and blocked, unless you change the user agent header manually, also OS would prompt CAPTCHA i guess
I use Selenium in both headless and normal modes. One of the main things is ensuring you are NOT sending requests to quickly. That's one of the main ways to get blocked. Load a page and wait a second or so the scraper seems like a human. Scraping should be slow as you have to mimic a human for many sights.
It is always good practice to change the headers if you use to avoid bot detection.
Thank you everyone for your feedback! We will look into this and adding an option to filter by buy now. In the meantime, check this out for collections
- Fetch Collections: https://docs.opensea.io/reference/retrieving-a-single-collection
- Collection Stats: https://docs.opensea.io/reference/retrieving-collection-stats
- Stream API: https://docs.opensea.io/reference/stream-api-overview
Any update on this?
something new?
@esteban-OpenSea is there a timeline for this?
@esteban-OpenSea i would like to test it but cannot get an API key. Tried several times but always no reply... someone can help me to get it??? Thanks
Has this been implemented yet? Any updates?
Hi @esteban-OpenSea any view to add listing data to the Collections endpoint? Thanks, Scott
Thank you everyone for your feedback! We will look into this and adding an option to filter by buy now. In the meantime, check this out for collections
- Fetch Collections: https://docs.opensea.io/reference/retrieving-a-single-collection
- Collection Stats: https://docs.opensea.io/reference/retrieving-collection-stats
- Stream API: https://docs.opensea.io/reference/stream-api-overview
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions. If you believe this was a mistake, please comment.