LAGIC
Lead Audience Growth Intelligence Computing
I

Instagram API Scraper — Instagram | Lagic

Built For

Extract Public Instagram Data: Posts, Comments, Profiles, and Hashtags

Curated by Lagic·Verified working

Configure Agent

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

You can choose to get posts, comments or details from Instagram URLs. Comments can only be scraped from post URLs.❗Please note that the stories type has been deprecated. It used to return reels data, which wasn’t aligned with its purpose. Please use reels instead.

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.

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

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

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

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

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

Results to deliver

200 credits

This agent actively searches live listings — results may vary. You are only charged for what is delivered, up to this number.

Lagic Proxy

Country auto-rotated. Need a specific region? Contact support.

Pricing

2 credits per result
✓ 30 free credits on signup✓ Refund if 0 results✓ No card required

Sample Data Preview

Post captions, unique IDs, and timestampsImage and video URLs, dimensions, and product typeNumber of likes, comments, video play counts, and view countsInformation about the post owner: username, full name, ID, and profile picture URLDetails of individual comments: text, owner username, likes count, and timestampProfile details: biography, followers count, following count, total posts, and whether it's a business or verified account
10093https://...10093https://...Sample Text...665
10098https://...10095https://...Sample Text...426
..................
Exports as:CSVXLSXJSON

Overview

This tool extracts publicly available data from Instagram, allowing you to gather details like post captions, likes, comments, video metrics, and comprehensive profile information for competitive analysis, trend tracking, or content strategy.

This Instagram data extraction tool provides a flexible way to collect publicly available information from the platform. Whether you need to monitor competitor activity, track hashtag performance, or analyze user engagement, this tool can help you gather the necessary data without requiring an Instagram Business or Creator account. ### What Data Can You Get? YouYou have several options for the type of data to extract. You can focus on **posts**, pulling details like captions, image and video URLs, like counts, and basic owner information. For deeper insights, you can specifically request **comments** from individual post URLs, including the comment text, owner, and like counts. The tool also allows you to gather **profile details** such as follower and following counts, total posts, biography, and whether an account is verified or a business. ### How to Target Your Data Collection There are two main ways to specify what you want to scrape: 1. **Direct URLs**: Provide specific Instagram URLs for profiles or posts. This is ideal when you have a precise list of targets you want to analyze. 2. **Search Queries**: Use a search term to find relevant profiles, hashtags, or places. For example, you can search for a specific hashtag to gather posts associated with it, or search for a user or place to collect data from those entities. ### Limiting Your Results For efficiency and relevance, you can set limits on the number of results. Specify the maximum number of posts or comments you want to retrieve per URL or per search result. You can also filter results by date, ensuring you only collect data newer than a specific timestamp, which is useful for ongoing monitoring or recent trend analysis. ### Important Notes * Comments can only be extracted from individual post URLs, not from profile or hashtag pages. * The tool supports extracting Reels data directly.

Key Capabilities

  • Post captions, unique IDs, and timestamps
  • Image and video URLs, dimensions, and product type
  • Number of likes, comments, video play counts, and view counts
  • Information about the post owner: username, full name, ID, and profile picture URL
  • Details of individual comments: text, owner username, likes count, and timestamp
  • Profile details: biography, followers count, following count, total posts, and whether it's a business or verified account
  • Music information for reels, including artist and song name
  • Brand monitoring: Track mentions of your brand or relevant hashtags to gauge sentiment and identify user-generated content.
  • Competitor analysis: Collect data on competitor posts, engagement rates, and follower growth to benchmark your performance.
  • Influencer identification: Analyze profile details, follower counts, and post engagement to find relevant influencers for campaigns.
  • Content strategy research: Discover popular hashtags, trending reels, and high-performing posts to inform your content creation.
  • Market research: Gather comments on specific posts or products to understand consumer opinions and feedback.
  • Audience insights: Extract follower/following counts and profile metadata to understand the scale and nature of different communities.
  • Trend analysis: Monitor posts related to specific topics or keywords over time to identify emerging trends.

Field Dictionary

How To Run This Extractor

1

Decide whether you want to scrape specific Instagram URLs (for profiles, posts) or search Instagram using a query (for users, hashtags, or places).

2

If providing URLs, paste one or more Instagram links into the 'Instagram URLs you want to scrape' field.

3

Alternatively, if searching, enter your 'Search query' and select the 'Search type' (user, hashtag, or place).

4

Choose what data to extract: 'posts', 'comments' (from post URLs only), 'details' (for profiles), or 'reels'.

5

Specify the 'Max results per URL' or 'Search results limit' to control the volume of data.

6

Optionally, set a 'Newer than' date to only collect recent data, then run the tool to begin extraction.

Frequently Asked Questions

Do I need an Instagram account to use this tool?
No, you do not need to log into an Instagram account to use this tool. It is designed to extract publicly available data.
What kind of Instagram URLs can I use as input?
Can I scrape private Instagram accounts?
What data formats are the results available in?
Is there a limit to how much data I can scrape?
How fresh is the data I receive?
Can I use this for client work?
How does this tool handle Instagram's anti-scraping measures?
Can I schedule recurring data extractions?
What if Instagram changes its website structure?
Can I get emails or phone numbers from Instagram profiles?
What is the difference between scraping 'posts' and 'reels'?