Instagram Scraper avatar
Instagram Scraper
Try for free

No credit card required

View all Actors
Instagram Scraper

Instagram Scraper

apify/instagram-scraper
Try for free

No credit card required

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.

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

Default value of this property is "posts"

Max items

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.

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

Tagged posts

isUserTaggedFeedURLbooleanOptional

Get the tagged posts for each profile

Developer
Maintained by Apify
Actor metrics
  • 2.3k monthly users
  • 99.8% runs succeeded
  • 1.2 days response time
  • Created in Apr 2019
  • Modified 6 days ago