How to Scrape and Find New Cryptos To Buy
Do you want to scrape new cryptos and find what coins to invest in next?
Cryptos have been a very popular investment in recent times. Their volatile nature allows investors to make a lot of money in a short period. However, just like most investments, it’s better to get into the market early. In this blog post, we will show you how to scrape new cryptos with ParseHub, our free and easy-to-use visual web scraping tool!
We want to note that cryptos can be risky investments, especially with new coins. Please do your research before investing in crypto, and make sure you only invest money you’re willing to lose.
Before you begin this tutorial, download ParseHub for free.
There are many websites that list cryptocurrencies, and most of them have a section for new coins that have been added to the crypto market. Some of these websites include CoinMarketCap, CoinGecko and Binance.
For this tutorial, we will be using CoinMarketCap. You can view our other blog post on scraping CoinGecko.
Starting Your Project
To begin scraping, follow these steps to start your project:
- Firstly, download our free web scraper.
- Open ParseHub and login/signup.
- Click ‘New Project’ to create your project.
- Enter the URL you wish to scrape, we will use: https://coinmarketcap.com/new/ to scrape new cryptos.
- You will now see the web page load on the ParseHub browser:
Scraping CoinMarketCap
There is a lot of data we can scrape from this web page, as well as additional information if we click each coin. Follow these steps to start scraping new coins:
- Begin by clicking on the first coin’s name, you will see its border turn green and the rest of the coins will turn yellow. Rename this selection to ‘coin’ on the left-hand side.
- Now let's extract more data, such as the coin’s symbol and price. Click the PLUS(+) symbol next to the coin selection, and you should see and click ‘Relative Select’. Now click on the first coin, and point the arrow to the coin’s symbol code. Rename this selection on the left to ‘symbol’.
- Click the expand symbol next to this selection, and remove the symbol’s URL by clicking the delete button. We already have the URL of the coin from the first step, so we can remove redundant URLs.
- Repeat step 2 for other details you see in the columns, such as the current price, the market cap and the volume. Your results should look like this:
Getting Additional Coin Data
There is more data that can be extracted from each coin. One indicator of a good coin might be how many people are on the ‘watchlist’. You might be wondering how ParseHub can go to each coin’s page and extract more data. This is how you do it!
- First, click the PLUS(+) button next to your coin selection.
- Now press the ‘Click’ function.
- A popup will appear asking if this is a next page button, click “No” as we are trying to go into this coin’s page.
- You will now be asked which template to go to, create a new one called “coin_details”.
- You will now be taken to the first coin’s detailed page. Click the ‘watchlist’ element to extract it.
- Expand the selection to apply regex (to remove the text around the number of watchlisted users). In the regex field, enter (\d+) - this will remove everything but the digits as seen below:
You can repeat step 5 to get more details on the coin’s detailed page. Once you have selected the rest of the data, such as its market rank, you are ready to scrape all the coins and their respective pages!
Running The New Coin Scraping
Now that you have everything set up, it’s time for scraping!
To begin, click the green “Get Data” button on the left-hand side. You will be presented with three options, Test, Run and Schedule. If you are a paid user of ParseHub, we recommend scheduling the scrape, so you can get data on new coins as they come.
In our case, we clicked “Run” and after a few minutes, our scrape was complete. Here is what the CSV looks like in Excel:
Analyzing Which Coins To Buy
Now that you have your data, it’s time to see which coins are worthy to invest in. Note that new cryptos are very risky to invest in, and there are many scams such as honeypots and rug-pulls which occur with a lot of them. In fact, even high market cap coins can crash, such as Terra LUNA which went from $119 per coin to zero. We recommend you use the data scraped with fundamental analysis to better understand which coins to invest in. Some quick tips for your scraped data:
- Use the watchlist amount to see which coins are gaining popularity.
- Use the market cap to know how much is invested.
- Use the volume and check to see if users are also selling the coin (so it’s not a honeypot scam).
Closing Thoughts
Investing in crypto is exciting and risky, which makes it fun for investors who have spare money to throw at it.
Using a free web scraper such as ParseHub, you can make more informed decisions, and even create your own analysis apps with the scraped data. We also blogged about using ParseHub’s API to extract data to Google Sheets.
If you made it this far, we hope ParseHub helps you find profitable coins!
Happy Scraping!