Instagram Comments API: avatar

Instagram Comments API:

Under maintenance

Pricing

from $1.80 / 1,000 results

Go to Apify Store
Instagram Comments API:

Instagram Comments API:

Under maintenance

Fast & anonymous Instagram Comments API. Extract comments with metadata from Posts & Reels without login. Export to JSON/CSV instantly!

Pricing

from $1.80 / 1,000 results

Rating

0.0

(0)

Developer

Frajola Inc

Frajola Inc

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

a day ago

Last modified

Share

📸 Instagram Comments Scraper (Apify Actor) — Fast & Anonymous GraphQL Scraper

Apify Actor Python 3.11 Playwright License: MIT

The Instagram Comments Scraper is a high-speed, asynchronous Apify Actor designed to extract comments with metadata (user metadata, like counts...), from public Instagram Posts and Reels without requiring login credentials.

It leverages headless Playwright for session token generation (X-CSRFToken, LSD, and Cookies) and HTTPX Async for rapid GraphQL pagination.


🔥 Key Features & SEO Benefits

  • No Instagram Login Required: Safely scrape Instagram comments without login, avoiding account bans or credential exposure.
  • Asynchronous & Fast Data Extraction: Powered by asyncio and httpx for high-throughput GraphQL comment extraction.
  • Single-URL Scraping Precision: Target specific Instagram Posts or Reels URLs effortlessly.
  • Customizable Scraping Limits: Set a comment limit (maxComments) or scrape all comments from any Instagram post.
  • Complete Metadata Retrieval: Extract user IDs, profile pictures, verification status, comment timestamps, like counts, and parent/child reply threads.
  • Export Options: Instantly export data to CSV, JSON, XLSX, Excel, XML, or HTML via the Apify Dataset interface.

💡 Use Cases

  • Sentiment Analysis: Analyze user sentiment, brand perception, and audience feedback on Instagram posts and Reels.
  • Influencer Marketing & Campaign Tracking: Track user engagement, comment density, and top fans on sponsored content.
  • Social Listening & Market Research: Monitor competitor posts, product launches, and trending topics across social media.
  • Bot & Spam Detection: Identify automated comment spam or network patterns using user IDs and creation timestamps.

📥 Input Schema (input_schema.json)

Configure your scraping job using the parameters below:

ParameterTypeRequiredDefaultDescription
urlStringYesDirect public link to an Instagram Post or Reel.
maxCommentsIntegerNo0Max number of comments to extract (0 = scrape all comments).

Input Example (JSON)

{
"url": "https://www.instagram.com/p/DadkE2wKA12/",
"maxComments": 100
}

📊 Output Schema (output_schema.json) The dataset output is defined according to the Apify Dataset Schema specifications. Below is the full JSON schema definition used by the Actor to structure and display scraped comment data in the Apify Console.

{
"title": "Instagram Comments Scraper Dataset",
"type": "object",
"schemaVersion": 1,
"properties": {
"Link_post": {
"title": "Post URL",
"type": "string",
"description": "URL of the scraped Instagram Post or Reel."
},
"Usuario": {
"title": "Username",
"type": "string",
"description": "Username of the commenter."
},
"ID_Usuario": {
"title": "User ID",
"type": "string",
"description": "Permanent numeric ID of the user."
},
"Foto_Perfil": {
"title": "Profile Picture",
"type": "string",
"description": "URL to the user's profile picture."
},
"Is_Verified": {
"title": "Verified Badge",
"type": "boolean",
"description": "Indicates if the user has a verified badge."
},
"ID_Comentario": {
"title": "Comment ID",
"type": "string",
"description": "Unique numeric ID of the comment."
},
"Data": {
"title": "Date & Time",
"type": "string",
"description": "Formatted creation date (DD/MM/YYYY HH:MM:SS)."
},
"Timestamp_Unix": {
"title": "Unix Timestamp",
"type": "integer",
"description": "Creation time in raw Unix seconds."
},
"Likes": {
"title": "Likes Count",
"type": "integer",
"description": "Number of likes received by the comment."
},
"Comentario": {
"title": "Comment Text",
"type": "string",
"description": "Full text content of the comment."
}
}
}