Instagram Scraper

7 days trial then $35.00/month - No credit card required now

Scrape and download Instagram posts, profiles, places, hashtags, photos, and comments. Get data from Instagram using one or more Instagram URLs or search queries. Export scraped data, run the scraper via API, schedule and monitor runs or integrate with other tools.

What does Instagram Scraper do?

Instagram Scraper allows you to scrape posts from a user's profile page, hashtag page, or place. When a link to an Instagram post is provided, it can scrape Instagram comments.

This unofficial Instagram API is designed to give you back the functionality to access public data that was removed from the Instagram API in 2020. It also enables anyone to extract public data from Instagram without imposing limits on whether you are an Instagram Business or Creator, or whether you are accessing public consumer account data.

The Instagram data scraper supports the following features:

  • Scrape profiles - you can either scrape posts or get metadata from the profile.
  • Scrape hashtags - query hashtags matched by search keyword - you can either scrape posts or scrape metadata from each hashtag.
  • Scrape places/locations - query places matched by search keyword - you can either scrape posts or scrape metadata from each place.
  • Scrape comments - you can scrape comments from any post.

What are other Instagram scraping tools?

If you want to scrape specific Instagram data, you can use any of the dedicated scrapers with fewer settings to change and faster results. Just enter one or more Instagram usernames or URLs and click to scrape.

  • 👤 Instagram Profile Scraper
  • 🎞️ Instagram Reel Scraper
  • #️⃣ Instagram Hashtag Scraper
  • 📷 Instagram Post Scraper
  • 🏷️ Instagram Mentions Scraper
  • ✅ Quick Instagram Posts Checker
  • 👥 Instagram Followers Count Scraper
  • 💬 Instagram Comments Scraper
  • 📊 Instagram Hashtag Stats

Why scrape Instagram?

Instagram has about 1 billion monthly active users and is especially popular with younger users, a demographic that can otherwise be difficult for brands to reach. With so many active users, you can imagine that there is a lot of useful data on the site.

So what can you do with that data? Here are some ideas:

  • Scrape hashtags and likes to see what's becoming popular. Maybe you can get involved early or create a niche product to take advantage of short-term trends.
  • Get data based on location to discover opportunities or risks that might affect your investment or business decisions.
  • Scrape comments to understand how real customers see your brand or business.
  • Find Instagram influencers who could help you promote your products, and track their engagement in real time.
  • Collect a constantly updated dataset on your industry, city, or interests and gain insights into ongoing change.
  • Carry out market or academic research that goes beyond surveys and polls.

How to use Instagram Scraper

If you want to know more about how Instagram Scraper works, here's a detailed explanation and step-by-step guide with screenshots and examples.

How many results can you scrape with Instagram scraper?

The number of results Instagram scraper can return varies heavily based on the content you want to scrape. To get an idea you can always open the required url in an incognito window in your browser (Chrome, for example) and check what Instagram shows users who are not logged in.

You have to keep in mind that scraping Instagram is dynamic and subject to change. There’s no one-size-fits-all-use-cases number. The maximum number of results may vary depending on the complexity of the input, location, and other factors.

Therefore, while we regularly run Actor tests to keep the benchmarks in check, the results may also fluctuate without our knowing. The best way to know for sure for your particular use case is to do a test run yourself.

How much will scraping Instagram cost you?

When it comes to scraping, it can be challenging to estimate the resources needed to extract data as use cases may vary significantly. That's why the best course of action is to run a test scrape with a small sample of input data and limited output. You’ll get your price per scrape, which you’ll then multiply by the number of scrapes you intend to do.

Our Instagram scrapers are ethical and do not extract any private user data, such as email addresses, gender, or location. They only extract what the user has chosen to share publicly. We therefore believe that our scrapers, when used for ethical purposes by Onescraper users, are safe. However, you should be aware that your results could contain personal data. Personal data is protected by the GDPR in the European Union and by other regulations around the world. You should not scrape personal data unless you have a legitimate reason to do so. If you're unsure whether your reason is legitimate, consult your lawyers.

Input

The input of this scraper should be JSON containing the list of pages on Instagram that should be visited. Check the input tab for detailed list.


{
    "search": "Niagara Falls",
    "searchType": "place",
    "searchLimit": 10,
    "resultsType": "posts",
    "resultsLimit": 100,
}

Output sample

You can manage the results in any language (Python, PHP, Node.js/NPM). See our API reference to learn more about getting results from the Instagram Scraper:


[{
    "inputUrl": "https://www.instagram.com/humansofny",
    "url": "https://www.instagram.com/p/C3TTthZLoQK/",
    "type": "Image",
    "shortCode": "C3TTthZLoQK",
    "caption": "“Biology gives you a brain. Life turns it into a mind.” Jeffrey Eugenides\n\nCongolese Refugees\n\n#congolese #congo #drc #refugee #refugees #bw #bwphotography #sony #sonyalpha #humanity #mind",
    "hashtags": [],
    "mentions": [],
    "commentsCount": 1,
    "firstComment": "We love your posts blend ! Message us to be featured! 🔥",
    "latestComments": [],
    "dimensionsHeight": 720,
    "dimensionsWidth": 1080,
    "displayUrl": "https://scontent-lga3-2.cdninstagram.com/v/t51.2885-15/426457868_1775839306212473_2684687436495806019_n.jpg?stp=dst-jpg_e35_s1080x1080&_nc_ht=scontent-lga3-2.cdninstagram.com&_nc_cat=105&_nc_ohc=UxY2B6TAloEAX9nHKi1&edm=AP_V10EBAAAA&ccb=7-5&oh=00_AfBSNWqMiaU24y8nOwL5sx-NC7TuvyXB6jzOXhs7oaNvHQ&oe=65D3DB7E&_nc_sid=2999b8",
    "images": [],
    "alt": "Photo shared by Brian René Bergeron on February 13, 2024 tagging @natgeo, @life, @people, @humansofny, @voiceofcongo, @sonyalpha, @congo_on_the_map, and @sony. May be a black-and-white image of 2 people, child and text.",
    "likesCount": 40,
    "timestamp": "2024-02-13T20:49:57.000Z",
    "childPosts": [],
    "ownerFullName": "Brian René Bergeron",
    "ownerUsername": "blend603",
    "ownerId": "5566937141",
    "isSponsored": false,
}]

What is Facebook Posts Scraper? It's a simple and powerful tool that allows you to extract data from Facebook posts. To get that data, just insert the URL of Facebook page, Facebook post or Facebook profile and click "Save & Start" button.
Why scrape Facebook posts? 🤺 Competition monitoring to identify what they're doing right, or wrong, and how you can do it better 🔍 Market research or analysis 🔥 Monitoring trends and brand sentiment and use the data to inform your investment strategy 🥸 Social media analysis and identifying hot spots of misinformation