Instagram Comment Scraper: Extract Comments from Instagram Posts via API

Instagram Comment Scraper: Extract Comments from Instagram Posts via API

Instagram comments are a primary source of audience feedback, brand sentiment data, and user-generated content for research and analytics. Syphoon's Instagram Scraper API returns comments from any public Instagram post through a cursor-based pagination request, returning comment text, commenter usernames, timestamps, and reply counts.

Tools built on Instagram comment data include sentiment analysis platforms, brand monitoring systems, audience research tools, customer feedback aggregators, and NLP training dataset builders.

Need to scrape Instagram comments at scale?

Enterprise datasets, custom parsing schemas, and high-concurrency scraping infrastructure.

What the API Returns

The API returns structured comment data in a standardized JSON format.

FieldDescription
comment_textThe full text of the comment
commenter_usernameUsername of the account that posted the comment
commenter_idUnique ID of the commenter
timestampWhen the comment was posted
like_countNumber of likes on the comment
reply_countNumber of replies to the comment
comment_idUnique identifier for the comment

Making a Request

Pass the Instagram post URL with data_type set to comments. Pagination uses cursor_id.

python
1import requests
2
3payload = {  
4    "url": "https://www.instagram.com/p/POST_SHORTCODE/",  
5    "data_type": "comments",  
6    "cursor_id": None,  
7    "key": "YOUR_SYPHOON_KEY",  
8    "method": "GET"  
9}  
10response = requests.post("https://api.syphoon.com", json=payload)  
11if response.status_code == 200:  
12    data = response.json()  
13    # Pass cursor from response to get the next page of comments

Set cursor_id to null for the first request. Pass the cursor returned in the response to retrieve subsequent pages.

Response Status Codes

  • 200Success
  • 400Invalid response from Instagram (charged)
  • 404Incorrect URL (charged)
  • 429Concurrency exceeded
  • 5xxServer error

For other Instagram data extraction needs, check out our guides on Instagram Scraper and Instagram Post Scraper.

Ready to start collecting Instagram comment data?

Enterprise datasets, custom parsing schemas, and high-concurrency scraping infrastructure.

Frequently Asked Questions

Community Channels

Join Our Developer Community

Connect directly with our engineering team, discuss complex crawling architectures, ask technical questions, and share insights with hundreds of data engineers.

Related Resources

Visit our Blog
LinkedIn Company Scraper: Extract Company Data via API
Scraper

LinkedIn Company Scraper: Extract Company Data via API

Extract LinkedIn company data via API: headcount, employees, posts, similar and affiliated companies. Full field reference and real use cases.

Anton WonOctober 8, 2026
Syphoon LLM Scraper: How Google, ChatGPT, Gemini & Perplexity Answer Search Queries
AI

Syphoon LLM Scraper: How Google, ChatGPT, Gemini & Perplexity Answer Search Queries

Track how Google, ChatGPT, Gemini, and Perplexity actually answer search queries, including AI Overview and AI Mode. Six dedicated endpoints, one clean data layer.

Priya MaheshwariSeptember 23, 2026
Best Expedia Scraper APIs in 2026: 6 Options Compared
Scraper

Best Expedia Scraper APIs in 2026: 6 Options Compared

A field-by-field, pricing-model comparison of six ways to pull Expedia hotel data. What each one actually returns, how it's billed, and where each one breaks.

Daniel GSeptember 16, 2026