OpenAny
Get API keyAPI Key
APIScrapersSocial Media

instagram logo
Instagram Comments API

Get Instagram Comments data via REST or OpenAny MCP—with pay-per-use pricing, no subscription, and no cookies required. Powered by ScrapeCreators, pass parameters such as url, and retrieve structured data including pagination cursor, identifier, text, creation timestamp, and returned replies field for content research and account lookup, and integration reference, ready for production pipelines and AI agent automation.

Selected price
$0.00188 / billing creditPublished pricing
Sellers / APIs
1 / 1
Requests · 30d
1Selected implementation · last 30 days
Success rate · 30d
100.00%Selected implementation · last 30 days
USE THIS API

Instagram Comments API

Prepare your request, then continue with your agent.

Selected price

$0.00188 / billing credit

A billing credit measures provider usage. Credits consumed depend on the operation and request options; one credit is not necessarily one call.

Provider
API
Pricing
Connect your agent
On this page

Overview

Overview
Instagram Comments API

Instagram Post Comments API

Retrieve comments on a public Instagram post or reel. Provide url in query. Read the response using the field paths below, preserving identifiers and the declared value types when mapping results.

Quick Facts

Fact Value
Access OpenAny REST
Authentication OpenAny API key in the Authorization header
Core inputs query: url, cursor, include_replies
Selected implementation scrapecreators · Instagram Post Comments
Billing Follow the selected implementation pricing, billing unit, quantity and charge rules

What You Can Build

  • Content research and account lookup: Keep source records connected to their content and account identifiers.
  • Integration reference: Use the selected request format and keep source identifiers with the returned result.

Documented Response Fields

Field Meaning
cursor Pagination cursor
comments[].id Identifier
comments[].text Text
comments[].child_comment_count Returned child comment count field
comments[].comment_like_count Returned comment like count field
comments[].created_at Creation timestamp
comments[].has_more_replies Returned has more replies field
comments[].replies Returned replies field

Quick Start

  1. Set OPENANY_API_KEY to your OpenAny API key.
  2. Review the supported inputs and set any required query value shown in the template.
  3. Check the HTTP response and business result before reading optional fields.
bash
curl \
  'https://api.openany.si/v1/agent-apis/scrapecreators/v2/instagram/post/comments?url=https%3A%2F%2Fwww.instagram.com%2Freel%2FDOq6eV6iIgD' \
  -X GET \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json'

Request and Response Examples

The response is a published documentation reference; its values may be historical. The request is an independent calling template. Use current returned identifiers and optional fields for your target resource.

Published Instagram Post Comments API implementation contract.

Pricing and Billing

The pricing area reflects the selected API implementation. Review its billing unit and any request-dependent rules before calling; a source service's public availability does not determine OpenAny billing.

Frequently Asked Questions

View FAQ

Related APIs

Playground

Run sends a real API request. Charges follow the published API contract.

Request parameters
The URL of the post or reel to get comments from
The cursor to get more comments. Get 'cursor' from previous response.
Set to true to include replies for every returned comment. Costs 15 credits when comments are returned, even if no replies are found; successful pages with no comments cost 0 credits. This is much slower and may time out at 29 seconds.

Sample response

Run a request to see the actual response. Published samples are in Examples.

Response result

Sellers

SellerPricingRequests · 30dPerformanceAccess
Instagram Post Comments · GET · View API reference$0.00188 / billing credit1
100.00%successP503.83s
Selected implementation traffic · 11/3/2026 – 12/3/2026 (UTC)
Selected pricing · scrapecreatorsUSD / billing credit
Unit price
$0.00188

A billing credit measures provider usage. Credits consumed depend on the operation and request options; one credit is not necessarily one call.

Statistics use persisted gateway logs from the last 30 days up to now, including today.
Success rate = successful requests / all requests;
P50 = median latency of successful requests.
Prices reflect the published API contract. Contract revision: 6. Price update time: not supplied.

API

Method
GET
Endpoint
https://api.openany.si/v1/agent-apis/scrapecreators/v2/instagram/post/comments
Content type
application/json
Authentication
Authorization: Bearer $OPENANY_API_KEY
View request and response examples

Input parameters

Fields in this listing; additional options and input encoding can vary by provider.

ParameterLocationTypeRequiredDescription
urlURL query parametersquerystringYes

The URL of the post or reel to get comments from

cursorURL query parametersquerystringNo

The cursor to get more comments. Get 'cursor' from previous response.

include_repliesURL query parametersquerybooleanNo

Set to true to include replies for every returned comment. Costs 15 credits when comments are returned, even if no replies are found; successful pages with no comments cost 0 credits. This is much slower and may time out at 29 seconds.

Required markers inside a nested object or variant apply when that object or variant is used.

Response structure

Inferred from examples
  • commentsobject[]
    • child_comment_countinteger
    • comment_like_countinteger
    • created_atstring
    • has_more_repliesboolean
    • idstring
    • repliesunknown[]
    • replies_cursornull
    • textstring
    • userobject
      • fbid_v2string
      • idstring
      • is_unpublishednull
      • is_verifiedboolean
      • pkstring
      • profile_pic_urlstring
      • usernamestring
  • credits_chargedinteger
  • credits_remaininginteger
  • cursorstring
  • successboolean

Usage billing

A billing credit measures provider usage. Credits consumed depend on the operation and request options; one credit is not necessarily one call.

Agent integration

Copy the resource contract without sharing an API key.

Download MDView API Markdown

Error handling

StatusNext step
400Check the offering and request fields.
401 / 403Verify your credentials and access permissions.
402Inspect the selected access mode and returned payment requirements.
429Respect the returned rate limit and retry guidance.
5xxInspect the error and usage record before retrying a paid operation.

Examples

Official example · Basic request

Example from the provider's documentation. Field values in your results will differ.

  1. Prepare your environment

    Use a terminal with cURL installed.

    Use an OpenAny API key with shared-balance access. Confirm availability and price before running; a call may charge your balance.

    Set the key in your terminal using the hidden prompt below. Keep its value out of source files and logs.

    Terminal · macOS / Linux
    printf 'OpenAny API key: '
    read -r -s OPENANY_API_KEY
    export OPENANY_API_KEY
    printf '\n'
  2. Run the request

    Paste the complete command below into your terminal.

    Values to replace before running 3

    Review these request fields before running. Keep the published provider and request method unchanged.

    url
    The URL of the post or reel to get comments from
    cursor
    The cursor to get more comments. Get 'cursor' from previous response.
    include_replies
    Set to true to include replies for every returned comment. Costs 15 credits when comments are returned, even if no replies are found; successful pages with no comments cost 0 credits. This is much slower and may time out at 29 seconds.
    Terminal · cURL
    curl \
      'https://api.openany.si/v1/agent-apis/scrapecreators/v2/instagram/post/comments?url=https%3A%2F%2Fwww.instagram.com%2Freel%2FDOq6eV6iIgD' \
      -X GET \
      -H "Authorization: Bearer $OPENANY_API_KEY" \
      -H 'Content-Type: application/json'
  3. Check the response

    Sample response · Documented HTTP 200

    Sample response
    {
      "comments": [
        {
          "child_comment_count": 0,
          "comment_like_count": 0,
          "created_at": "2025-09-16T17:03:04.000Z",
          "has_more_replies": false,
          "id": "18051843701642870",
          "replies": [],
          "replies_cursor": null,
          "text": "\"...but who wants to know people who don't love animals anyway?\". ❤️",
          "user": {
            "fbid_v2": "17841446780736699",
            "id": "46773599357",
            "is_unpublished": null,
            "is_verified": false,
            "pk": "46773599357",
            "profile_pic_url": "https://scontent-dfw5-1.cdninstagram.com/v/t51.2885-19/542013919_18051324464559358_4060586438619554592_n.jpg?stp=dst-jpg_s150x150_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLmRqYW5nby4xMDgwLmMyIn0&_nc_ht=scontent-dfw5-1.cdninstagram.com&_nc_cat=110&_nc_oc=Q6cZ2QEVOAPWq7DXE6cVfhoMQb0GTMvPo_vizELP9TUgQylvA5jBW1WSonDzvjeTQpAGJ3w&_nc_ohc=b__bzrMG6kYQ7kNvwGXM67R&_nc_gid=oDBffhoPbGLAq2tbCGpGKg&edm=AKp6CbIBAAAA&ccb=7-5&oh=00_AflThVwZ86n6DiACA5-zJCNFQZWBwHfaG6AXZclgea57BA&oe=695A3139&_nc_sid=d62176",
            "username": "catherina_thijs"
          }
        }
      ],
      "credits_charged": 15,
      "credits_remaining": 33929114,
      "cursor": "AQHSpoi6HyDbzYRMzrD.........",
      "success": true
    }

Common questions

Which inputs identify this request?

Provide url in query (string). Keep identifiers and URLs in the formats documented for this implementation.

Which pagination or result-size inputs are exposed?

cursor is string. Use only the exposed inputs and the continuation metadata returned by this endpoint; a size limit is not automatically a page or cursor.

What type does include_replies use?

include_replies uses the JSON type boolean in query. Preserve that type; strings, numbers, booleans and arrays are not interchangeable.

Where do URL parameters belong?

Use the documented path and query inputs. This GET implementation does not use a JSON request body; keep path values and URL query values in their declared locations.

Which API key should I use?

Use your OpenAny API key as Bearer authentication on the documented OpenAny route.

Where can I check the current request price?

Check the pricing area for the selected API implementation. Follow its billing unit, quantity and any request-dependent rules before sending the request.

Use Instagram Comments API with your agent

Inspect endpoint contracts and confirm availability and pricing before a paid call.