instagram/
comments

Use the Instagram Comments API to collect public Instagram comments from one or more post URLs, returning normalized text, author details, timestamps, post references, and visible like and reply counts.

Instagram Comments API

Comments
Public data
Post URLs
0.3 credits / result
Ready
Ready

Enter parameters and send a request. The task status and normalized results will appear here.

README

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

ParametersRequiredDescription
urlsRequiredPublic Instagram post URLs, separated by commas or new lines.
results_limitOptionalMaximum 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.

  1. Prepare one or more public Instagram post URLs.
  2. POST urls to /v1/instagram/comments.
  3. Poll /v1/tasks/{task_id} until the status is succeeded or failed.
  4. 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.

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.

Explore other platforms

Combine Instagram data with public data from other supported social platforms.

Instagram Comments API — FAQ

Instagram Comments API collects publicly visible comments from one or more Instagram post URLs. It returns normalized text, author details, timestamps, post references, media, and visible like and reply counts.

Submit one or more canonical Instagram Post URLs in the urls array. Add each URL on a new line or separate URLs with commas.

Each normalized record provides id, text, author, url, metrics, media, created_at, collected_at, and source references such as post_id, post_url, parent_comment_id, and input_url.

Yes. Pass multiple public post URLs in the urls array of the same request.

Use replies_count to compare discussion activity and parent_comment_id to connect a comment with its parent context.

Use comment text, author context, timestamps, likes, reply counts, and post references for sentiment monitoring, trend discovery, campaign analysis, audience research, and reporting.

No account connection is required. Authenticate Instagram Comments API requests with your API key and submit the Instagram Post URLs you want to collect.

Read the normalized JSON results through the task endpoint, then send them to analytics, dashboards, databases, text-processing jobs, or reporting pipelines.

Read /v1/tasks/{task_id}?limit=50 after the task succeeds and continue with results.next_cursor until has_more is false.

The Instagram Comments API charges 0.3 credits for each returned comment result, and an empty result is not charged. Task details show the final charge based on the actual result count.

By SocQ · Updated

From the official Instagram API documentation:

“[The Instagram API with Instagram Login] allows app users to use your app to manage their Instagram Business or Creator accounts…”
Meta for Developers: Instagram Platform · accessed November 2026