Support needed? Reach out! 📧

Instagram Comments API

Scrape Instagram comment data at scale, useful for sentiment analysis, community research, and tracking customer feedback on any post.

python-logo Python
Instagram Post Comments
1 import requests
2  
3 root = "https://ensembledata.com/apis"
4 endpoint = "/instagram/post/comments"
5 params = {
6   "media_id""3511510130787749851",
7   "cursor""",
8   "sorting""popular",
9   "token""YOUR-TOKEN-HERE"
10 }
11  
12 res = requests.get(root+endpoint, params=params)
13 print(res.json())
14  

Parameters

media_id (integer) Media ID can be found using the other APIs. REQUIRED
cursor (string) Parameter to manually handle pagination. Each response contains a `nextCursor` which can be used to retrieve the next page of results by sending it as the next `cursor`. If the `nextCursor` is not present in the response, it means that there are no more results to retrieve. REQUIRED
sorting Fetch TOP comments (only 15 allowed) OR RECENT (start from most recent and iterate) REQUIRED
token (string) Private token assigned to each client to access the APIs. REQUIRED

Scrape Instagram Data Effortlessly

Extract Instagram comment threads, usernames, and timestamps in bulk with our comments API, everything you need for sentiment work or community analysis.

deco-icon

Plug & Play API

Integrate in minutes with clear docs and code samples. Get started with a single REST call.

deco-icon

Real-Time Results

Every request scrapes the latest data in seconds. No stale datasets, just up-to-date insights.

deco-icon

Flexible APIs

Need something special? We tailor endpoints and data delivery to your unique business needs.

Instagram Scraping Features

Find out what Instagram audiences are saying about your brand or niche. Our comment scraper makes large-scale feedback analysis far more manageable.

  • Instagram Comments Api
  • Instagram Comment Scraper
  • Instagram Sentiment Analysis Data
  • Bulk Instagram Comment Extractor
  • Instagram Reply Thread Api
  • Instagram Comment Text Scraper
  • Instagram Brand Feedback Api
  • Social Listening Instagram Comments

Starting crawling Instagram now!

deco-icon

Get Your API Key in Minutes

Create a free account (no credit card required) and receive an API token instantly to test endpoints, pull live data, and rapidly prototype integrations. Upgrade as your needs grow.

Get started free
deco-icon

Developer Support

Need help integrating or customizing data for your workflows? Our developer success team offers onboarding, guidance, and enterprise support to get your project production-ready.

Contact us

Frequently Asked Questions

A Instagram data scraping API allows you to programmatically collect and analyze public data from Instagram and other platforms. This helps businesses, researchers, and marketers gain insights, monitor trends, and automate data collection for various use cases.

We only collect publicly available data, nothing behind a login wall or marked as private. We're GDPR-compliant and follow applicable data protection laws. That said, you're responsible for how you use the data on your end.

Yes, though some basic comfort with HTTP requests helps. We have copy-paste code snippets in Python, JavaScript, and cURL, plus a dashboard where you can test endpoints without writing any code. Most non-technical users get up and running within an afternoon.

You can fetch different type of public data from Instagram, including user profiles, posts, videos, comments, hashtags, followers, and engagement statistics.

Our platform delivers real-time Instagram data with high reliability and minimal downtime. Most requests are processed in under 5 seconds, ensuring you always have access to the latest public Instagram data for your needs.