Instagram Scraper avatar

Instagram Scraper

Try for free

Pay $2.30 for 1,000 results

Go to Store
Instagram Scraper

Instagram Scraper

apify/instagram-scraper
Try for free

Pay $2.30 for 1,000 results

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.

Do you want to learn more about this Actor?

Get a demo

Instagram URLs you want to scrape

directUrlsarrayOptional

Add one or more Instagram URLs to scrape. The field is optional, but you need to either use this field or search query below.

What do you want to scrape from each page?

resultsTypeEnumOptional

You can choose to get posts, comments or details from Instagram URLs. Comments can only be scraped from post URLs.

Value options:

"posts": string"comments": string"details": string"mentions": string"stories": string

Default value of this property is "posts"

Max results per URL

resultsLimitintegerOptional

How many posts or comments (max 50 comments per post) you want to scrape from each Instagram URL. If you set this to 1, you will get a single post from each page.

Newer than

onlyPostsNewerThanstringOptional

Limit how far back to the history the scraper should go. The date should be in YYYY-MM-DD or full ISO absolute format or in relative format e.g. 1 days, 2 months, 3 years. All time values are taken in UTC timezone

Tagged posts

isUserTaggedFeedURLbooleanOptional

Get the tagged posts for each profile

Reels posts

isUserReelFeedURLbooleanOptional

Get the reels posts for each profile

searchstringOptional

Provide a search query which will be used to search Instagram for profiles, hashtags or places.

Search type

searchTypeEnumOptional

What type of pages to search for (you can look for hashtags, profiles or places).

Value options:

"user": string"hashtag": string"place": string

Default value of this property is "hashtag"

Search results limit

searchLimitintegerOptional

How many search results (hashtags, users or places) should be returned.

Enhance user search (top 10) with Facebook page & email if available (higher credit usage)

enhanceUserSearchWithFacebookPagebooleanOptional

For each user from the top 10, the scraper extracts their Facebook page that sometimes contains their business email. Please keep in mind that you are forbidden to collect personal data in certain jurisdictions. Please see this article for more details.

Add metadata

addParentDatabooleanOptional

Only for feed items - add data source to results, i.e. for profile posts metadata is profile, for tag posts metadata is hashtag

Default value of this property is false

Developer
Maintained by Apify

Actor Metrics

  • 6k monthly users

  • 629 stars

  • >99% runs succeeded

  • 3.3 days response time

  • Created in Apr 2019

  • Modified 2 days ago