Instagram Comments
Instagram Comments are public responses to posts and Reels, with text, author details, timestamps, visible likes, reply counts, media, and source links. These conversation signals support feedback analysis, moderation review, community research, and campaign reporting.
Instagram Comments API Features
- Multi-post comment collectionCollect comments from one or more public Instagram post URLs in a single Instagram Comments API request.
- Normalized comment recordsReturn comment IDs, text, author identity, publishing times, collection times, and source URLs in a consistent structure.
- Visible discussion metricsExpose public like and reply counts in normalized metrics fields for comparing discussion activity.
- Traceable conversation contextPreserve post, parent-comment, and submitted input references for joins, deduplication, and conversation analysis.
- Public data boundaryKeep private, restricted, removed, and login-only comments outside the result scope.
Instagram Comments API Parameters
| Parameters | Required | Description |
|---|---|---|
urls | Required | Public Instagram post URLs, separated by commas or new lines. |
results_limit | Optional | Maximum total comments returned across all URLs, from 1 through 20,000. If omitted, up to 20,000 comments are returned, limited to what your available credits can cover. |
How to Use the Instagram Comments API
Hand public Instagram post URLs to the Instagram Comments API as an asynchronous task, poll its task ID, then read normalized comment records with cursor pagination.
- Prepare one or more public Instagram post URLs.
- POST urls to /v1/instagram/comments.
- Poll /v1/tasks/{task_id} until the status is succeeded or failed.
- Read /v1/tasks/{task_id}?limit=50 and follow results.next_cursor when more records exist.
curl -X POST "https://api.socq.ai/v1/instagram/comments" \
-H "Authorization: Bearer $SOCQ_API_KEY" \
-H "Content-Type: application/json" \
-d '{"urls":["https://www.instagram.com/p/POST_CODE/"]}'
# Poll GET /v1/tasks/{task_id}, then read /v1/tasks/{task_id}?limit=50 and use data.results.Instagram Comments API Use Cases
- Consumer sentiment monitoring: Analyze public comment text, emojis, and visible engagement signals to track how audiences respond to selected posts.
- Trend and opportunity discovery: Find emerging topics, product feedback, feature requests, recurring questions, and early demand signals in public discussions.
- Campaign response analysis: Compare public reactions across campaign posts, creatives, launches, or announcements using consistent comment records.
- Brand and reputation monitoring: Track praise, complaints, recurring concerns, and changes in audience response around selected public posts.
- Competitive and creator research: Study public discussion on competitor and creator posts to compare topics, questions, and visible engagement.
- Engaged audience discovery: Use public author context, comment likes, and reply counts to identify comments and participants driving discussion.
- Analytics and data pipelines: Load normalized records from the Instagram Comments API into text-analysis, reporting, dashboard, or warehouse workflows.
Instagram Comments API Pro Tips
- Submit canonical Instagram Post URLs for the posts you want to analyze.
- Start with a small URL batch to confirm Instagram Comments API coverage before increasing the number of submitted posts.
- Keep the returned task_id and resume polling the same task after a login or network interruption instead of submitting it again.
- After a task succeeds, follow results.next_cursor until has_more is false rather than assuming the first result page is complete.
- Store the comment id together with post_id, post_url, parent_comment_id, and input_url for reliable joins and deduplication.
- Build downstream schemas around comment id, text, author, created_at, collected_at, and source references, then use media and metrics as enrichment fields.
- Use replies_count to rank active discussions and parent_comment_id to preserve comment relationships.
- Apply bounded exponential backoff to temporary failures and honor retry-after when a 429 response provides it.
- Validate and escape comment text before rendering it or sending it into automated analysis workflows.
- Use the Posts API when you also need the parent post text, media, publishing time, or post-level engagement context.
Related APIs
Beyond the Instagram Comments API, use these APIs when you need a different type of public Instagram data.
- Instagram Followers Count API — Retrieve public profile identity and visible follower, following, and post counts.
- Instagram Posts API — Collect public posts, media, hashtags, mentions, timestamps, and engagement by username.
- Instagram Reels API — Collect public Reels, media, audio, hashtags, mentions, and engagement by username.
- Instagram Profiles API — Retrieve public profile identity, biographies, links, account flags, categories, and visible counts by username.
- Instagram Post Info API — Look up known public post, Reel, or legacy IGTV URLs with captions, author identity, media, timestamps, visible engagement, and input context.
- Instagram Comment Replies API — Collect replies under one comment from its post URL and comment ID, with reply text, authors, likes, and timestamps.
- Instagram Search API
- Instagram Followers List API
- Instagram Following List API
- Instagram Hashtag Posts API
- Instagram Tagged Posts API
- Instagram Transcript API
- Instagram Audio Reels API
- Instagram Highlight Items API
- Instagram Reels Search API
- Instagram Story Highlights API
- Instagram Trending Reels API
- Instagram Stories API
- Instagram Similar Accounts API
- Instagram Post Likers API
- Instagram Location Info API
- Instagram Location Posts API
- Instagram Location Search API
- Instagram Hashtag Search API
- Instagram Account Age Checker API