Actor is under maintenance

This Actor may be unreliable while under maintenance. Would you like to try a similar Actor instead?

Opensea Collection Scraper

  • dhrumil/opensea-collection-scraper
  • Modified
  • Users 264
  • Runs 1.6k
  • Created by Author's avatarDhrumil Bhankhar

Opensea NFT collection scraper for Apify which helps you extract complete list of all assets from given collection.

Free trial for 3 days

Then $30.00/month

No credit card required now

Opensea Collection Scraper

Free trial for 3 days

Then $30.00/month


This OpenSea collection Scraper will enable you scrape any collection from

OpenSea is also providing APIs but they come with unexplained throttling & community is screaming about it! More about it on this github issue

So, OpenSea API doesn't help here reliably if you want to get complete list of all tokens in particular collection. Moreover, if you visit any collection on website, you will find same token listed more than once on listing page.

So, even with website users there is no official way to get complete detail of collection tokens. Whether you are doing this for your next analysis project, investment analysis or even if you are owner of the collection, this scraper will help you to get complete list of all the tokens in particular collection.


For simple usecase, you just need to provide browser url of opensea collection & that's all. You can leave other fields as they are to be sensible defaults.

Input example

{ "startUrls": [ { "url": "" } ], "maxItemsPerCollection" : 20, "scrapeProperties": false, "generateAssetFile": false, "downloadImages": false, "extendOutputFunction": "(asset) => { const result = {}; // Uncomment to add a asset id to the output // =; return result; }", }

If you want some more customization :

  • scrapeProperties : This option will enable scraper to go deeper into scraping to retrive more information about each asset. Please consider that turning this on will take more scraping time

  • generateAssetFile : This option will generate separate JSON file for each asset. You can find zipped file under Apify 'assets' key value store output once process is complete. This zip will contain all json files under single folder.

  • downloadImages : This option will download image for each asset and generate zip folder of the same. You can find zipped file under Apify 'images' key value store output once process is complete. This zip will contain all image files under single folder. This option will take considerable amount of memory. Please provide enough memory to the actor if you are enabling it. (4GB memory required)

  • maxItemsPerCollection : You can limit number of items to be scraped on per collection basis with the help of this input.


The scraped data is stored in the dataset of each run. The data can be viewed or downloaded in many popular formats, such as JSON, CSV, Excel, XML, RSS, and HTML.

Output example

The result for scraping a single token like this:

{ "tokenId": "6", "name": null, "collection": "Bored Ape Yacht Club", "collectionSlug": "boredapeyachtclub", "imageUrl": "", "contractAddress": "0xbc4ca0eda7647a8ab7c2061c2e118a18a936f13d", "chain": "ETHEREUM", "favoritesCount": 114, "ownersCount": 3, "bestAsk": 199.69, "bestAskUsd": 257560.16, "url": "", "imageName": "boredapeyachtclub-6.avif", "owner": "820425", "ownerLink": "", "creator": "BoredApeYachtClub", "creatorLink": "", "views": "9.0K", "attributes": [ { "trait_type": "Background", "value": "Yellow", "rarity": "13%" }, { "trait_type": "Clothes", "value": "Tweed Suit", "rarity": "1%" }, { "trait_type": "Eyes", "value": "Crazy", "rarity": "4%" }, { "trait_type": "Fur", "value": "Cream", "rarity": "6%" }, { "trait_type": "Hat", "value": "S&m Hat", "rarity": "2%" }, { "trait_type": "Mouth", "value": "Bored", "rarity": "23%" } ] }

Modify the output

There is an additional input extendOutputFunction provided using which you can customize the output JSON. If you are good with Javascript, you can simply edit this default function to your use-case and override the output.


Since opensea supports browsing only upto 10K items in collection, it's advisible to use this actor for collection upto the size of 10K & max upto 20K.

For custom solutions

In case you need some custom solution, you can contact me :

Or learn more about me on github :