
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?
What the API Returns
The API returns structured comment data in a standardized JSON format.
| Field | Description |
|---|---|
| comment_text | The full text of the comment |
| commenter_username | Username of the account that posted the comment |
| commenter_id | Unique ID of the commenter |
| timestamp | When the comment was posted |
| like_count | Number of likes on the comment |
| reply_count | Number of replies to the comment |
| comment_id | Unique identifier for the comment |
Making a Request
Pass the Instagram post URL with data_type set to comments. Pagination uses cursor_id.
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 commentsSet 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?
Frequently Asked Questions
Join Our Community
Connect with our team, discuss your use case, ask technical questions, and share feedback with a community of people working on similar problems.



