Instagram Post Comments (V3)

https://api.sandbase.ai/v1/api/instagram/v3/post-comments

Returns a list of comments for an Instagram post specified by its shortcode. Supports pagination and ordering by popular or newest comments.

Price
$0.01USD / callFirst 100 calls per day free (shared per organization)
Method
POST
Response
JSON
Parameters
1 required · 2 optional
Production route

Try the model

Playground

Open playground
Input
Post shortcode (e.g., DUajw4YkorV, required)
Pagination cursor, omit for first request, get from previous response `data.next_min_id`
Sort order Allowed values: popular, newest.
OutputExample
Responseoutputs · 21.6 KB · 490 lines
[
  {
    "data": {
      "_rid": "11a4b5642b474",
      "ai_topic_filters": [],
      "can_view_more_preview_comments": false,
      "caption": {
        "bit_flags": 0,
        "content_type": "comment",
        "created_at": 1770377722,
        "created_at_for_fb_app": 1770377722,
        "created_at_utc": 1770377722,
        "did_report_as_spam": false,
        "is_covered": false,
        "is_created_by_media_owner": true,
        "is_ranked_comment": true,
        "media_id": "3826528124109228757",
        "pk": "18066362081641928",
        "private_reply_status": 0,
        "share_enabled": true,
        "status": "Active",
        "strong_id__": "18066362081641928",
        "text": "breeze breeze breeze 🌀🌀🌀",
        "type": 1,
        "user": {
          "fbid_v2": "17841464450204076",
          "full_name": "Gigi",
          "id": "64352612340",
          "is_private": false,
          "is_unpublished": false,
          "is_verified": false,
          "pk": "64352612340",
          "pk_id": "64352612340",
          "profile_pic_id": "3946880307500807853_64352612340",
          "profile_pic_url": "https://instagram.flas1-2.fna.fbcdn.net/v/t51.82787-19/754250350_17963106291148341_7483633330144180762_n.jpg?stp=dst-jpg_s150x150_tt6&_nc_cat=102&_nc_map=urlgen_bucketless&ccb=7-5&_nc_sid=f7ccc5&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLnd3dy42NTkuQzMifQ%3D%3D&_nc_ohc=J6aAV0S8ML8Q7kNvwFrs-ti&_nc_oc=Adpm3yfygp2Gcjq2O1h35n-LQ7tgPi1IudtE1WsulkHufWBjACXSs0UCPcQfKADbqvM&_nc_zt=24&_nc_ht=instagram.flas1-2.fna&_nc_gid=nQJf45D2JYiEKHycO4yC6A&_nc_ss=72aaf&oh=00_AQNtSTBFot8U_ELGPpqCanYAoDVyplLE0kN4j2nNMOhOtQ&oe=6ACAC23F",
          "strong_id__": "64352612340",
          "username": "hiyroze"
        },
        "user_id": "64352612340"
      },
      "caption_is_edited": false,
      "comment_count": 49,
      "comment_cover_pos": "bottom",
      "comment_filter_param": "no_filter",
      "comment_likes_enabled": true,
      "comments": [
        {
          "bit_flags": 0,
          "child_comment_count": 0,
          "comment_index": 0,
          "comment_like_count": 1,
          "content_type": "comment",
          "created_at": 1770465430,
          "created_at_for_fb_app": 1770465430,
          "created_at_utc": 1770465430,
          "did_report_as_spam": false,
          "has_disliked_comment": false,
          "has_liked_comment": false,
          "inline_composer_display_condition": "never",
          "is_covered": false,
          "is_edited": false,
          "is_photo_comments_enabled_for_comment_author": false,
          "is_ranked_comment": true,
          "is_text_editable": false,
          "keywords_data": [],
          "liked_by_media_coauthors": [],
          "media_id": "3826528124109228757",
          "meta_ai_comment_type": "NONE",
          "other_preview_users": [],
          "pk": "18020751824801830",
          "preview_child_comments": [],
          "private_reply_status": 0,
          "share_enabled": true,
          "status": "Active",
          "strong_id__": "18020751824801830",
          "text": "So incredibly beautiful ❤️",
          "type": 0,
          "user": {
            "aigm_account_label_info": {
              "is_auto_detected": false,
              "is_enabled": false,
              "is_manually_enabled": false
            },
            "fbid_v2": "17841478113898658",
            "full_name": "jim blaze",
            "id": "78149267796",
            "is_mentionable": true,
            "is_private": false,
            "is_verified": false,
            "latest_reel_media": 0,
            "pk": "78149267796",
            "pk_id": "78149267796",
            "profile_pic_id": "3764395301835210036_78149267796",
            "profile_pic_url": "https://instagram.flas1-1.fna.fbcdn.net/v/t51.82787-19/581679422_17846129121603797_59515419485813003_n.jpg?stp=dst-jpg_s150x150_tt6&_nc_cat=106&_nc_map=urlgen_bucketless&ccb=7-5&_nc_sid=f7ccc5&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLnd3dy45NjAuQzMifQ%3D%3D&_nc_ohc=vMKlccx1yKYQ7kNvwErgi-r&_nc_oc=AdrWUHXE6atAPVw91PFUMGvB2H-vUOey6ra6TOIfypQi_QnG3MCYPzsZxhctLkCAd5g&_nc_zt=24&_nc_ht=instagram.flas1-1.fna&_nc_gid=nQJf45D2JYiEKHycO4yC6A&_nc_ss=72aaf&oh=00_AQOghZUzmqiSBX4-b6_jjzIpzMguhLEv__hiVxBewjnijQ&oe=6ACACEA1",
            "qe_use_smaller_comment_like_tap_target": false,
            "strong_id__": "78149267796",
            "username": "sockmonkey79"
          },
          "user_id": "78149267796"
        },
        {
          "bit_flags": 0,
          "child_comment_count": 0,
          "comment_index": 1,
          "comment_like_count": 2,
          "content_type": "comment",
          "created_at": 1770378260,
          "created_at_for_fb_app": 1770378260,
          "created_at_utc": 1770378260,
          "did_report_as_spam": false,
          "has_disliked_comment": false,
          "has_liked_comment": false,
          "inline_composer_display_condition": "never",
          "is_covered": false,
          "is_edited": false,
          "is_photo_comments_enabled_for_comment_author": false,
          "is_ranked_comment": true,
          "is_text_editable": false,
          "keywords_data": [],
          "liked_by_media_coauthors": [],
          "media_id": "3826528124109228757",
          "meta_ai_comment_type": "NONE",
          "other_preview_users": [],
          "pk": "17970092114852855",
          "preview_child_comments": [],
          "private_reply_status": 0,
          "share_enabled": true,
          "status": "Active",
          "strong_id__": "17970092114852855",
          "text": "luvvvvvvv🖤🖤🖤",
          "type": 0,
          "user": {
            "aigm_account_label_info": {
              "is_auto_detected": false,
              "is_enabled": false,
              "is_manually_enabled": false
            },
            "fbid_v2": "17841403408954840",
            "full_name": "Lingga S. P.",
            "id": "3558721631",
            "is_mentionable": true,
            "is_private": false,
            "is_verified": false,
            "latest_reel_media": 1791258994,
            "pk": "3558721631",
            "pk_id": "3558721631",
            "profile_pic_id": "3955241250307294885_3558721631",
            "profile_pic_url": "https://instagram.flas1-2.fna.fbcdn.net/v/t51.82787-19/762008208_18466154488113632_2591129171500260587_n.jpg?stp=dst-jpg_s150x150_tt6&_nc_cat=101&_nc_map=urlgen_bucketless&ccb=7-5&_nc_sid=f7ccc5&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLnd3dy4xMDgwLkMzIn0%3D&_nc_ohc=efdE1myYa4cQ7kNvwGsIzib&_nc_oc=AdrJGFzLYZ-Jm_orHk_AJJ0YzgdufVbuwcDqCwqlYNUr6cZDr1x7nS0oUiU9UlI_Abs&_nc_zt=24&_nc_ht=instagram.flas1-2.fna&_nc_gid=nQJf45D2JYiEKHycO4yC6A&_nc_ss=72aaf&oh=00_AQOOB3nSNgE7HR_wc8dJ9G5MyOp_8e-JEFgNXiCBaDx1Og&oe=6ACAADEE",
            "qe_use_smaller_comment_like_tap_target": false,
            "strong_id__": "3558721631",
            "username": "xxggaandwx"
          },
          "user_id": "3558721631"
        },
        {
          "bit_flags": 0,
          "child_comment_count": 0,
          "comment_index": 2,
          "comment_like_count": 1,
          "content_type": "comment",
          "created_at": 1770764573,
          "created_at_for_fb_app": 1770764573,
          "created_at_utc": 1770764573,
          "did_report_as_spam": false,
          "has_disliked_comment": false,
          "has_liked_comment": false,
          "inline_composer_display_condition": "never",
          "is_covered": false,
          "is_edited": false,
          "is_photo_comments_enabled_for_comment_author": false,
          "is_ranked_comment": true,
          "is_text_editable": false,
          "keywords_data": [],
          "liked_by_media_coauthors": [],
          "media_id": "3826528124109228757",
          "meta_ai_comment_type": "NONE",
          "other_preview_users": [],
          "pk": "18068278451216170",
          "preview_child_comments": [],
          "private_reply_status": 0,
          "share_enabled": true,
          "status": "Active",
          "strong_id__": "18068278451216170",
          "text": "👍👏🔥",
          "type": 0,
          "user": {
            "aigm_account_label_info": {
              "is_auto_detected": false,
              "is_enabled": false,
              "is_manually_enabled": false
            },
            "fbid_v2": "17841439968891557",
            "full_name": "Mike Lee",
            "id": "39932460296",
            "is_mentionable": false,
            "is_private": true,
            "is_verified": false,
            "pk": "39932460296",
            "pk_id": "39932460296",
            "profile_pic_id": "3650160973446687441_39932460296",
            "profile_pic_url": "https://instagram.flas1-2.fna.fbcdn.net/v/t51.75761-19/504825050_18060105917332297_2887372760428814514_n.jpg?stp=dst-jpg_s150x150_tt6&_nc_cat=110&_nc_map=urlgen_bucketless&ccb=7-5&_nc_sid=f7ccc5&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLnd3dy4zMjAuQzMifQ%3D%3D&_nc_ohc=zReJR-l2rAMQ7kNvwHKwPxl&_nc_oc=AdoiRASj_CS6CQt5f4PYAYkevj30uRORCO5zKb7fgC93CR2lqSMTbAR7C8vzoH5DIGY&_nc_zt=24&_nc_ht=instagram.flas1-2.fna&_nc_gid=nQJf45D2JYiEKHycO4yC6A&_nc_ss=72aaf&oh=00_AQPCRQPbxKD-icQW4Wwa9vSX5lhLQo1zVwxjROgCHDalwQ&oe=6ACACEC9",
            "qe_use_smaller_comment_like_tap_target": false,
            "strong_id__": "39932460296",
            "username": "mike_lee_520"
          },
          "user_id": "39932460296"
        },
        {
          "bit_flags": 0,
          "child_comment_count": 0,
          "comment_index": 3,
          "comment_like_count": 1,
          "content_type": "comment",
          "created_at": 1770562799,
          "created_at_for_fb_app": 1770562799,
          "created_at_utc": 1770562799,
          "did_report_as_spam": false,
          "giphy_media_info": {
            "gif_media_id": "ZFjIWyd9kbd1raHpqv",
            "id": "772984535331591",
            "images": {
              "fixed_height": {
                "height": 200,
                "mp4": "https://cdn.fbsbx.com/v/t59.2708-21/631358670_1574044263856509_3247198323812426877_n.mp4?_nc_cat=100&ccb=1-7&_nc_sid=9dcd69&_nc_ohc=TYDV3iKXAwAQ7kNvwEGqzbu&_nc_oc=Ado4bOKsJeQvbKLRWqrXVUC-_3wAjJPgImf0HLEeX9OpfZw6Q_rQTw8RF1et6OGJG-w&_nc_zt=7&_nc_ht=cdn.fbsbx.com&_nc_gid=nQJf45D2JYiEKHycO4yC6A&_nc_ss=72a8c&oh=03_Q7cD6gHQ9dmGd0RTadh4IMaCoGqdtT2zvOA1551ij0vY1xzGRg&oe=6AC6C68B",
                "mp4_size": 64457,
                "size": 439170,
                "url": "https://cdn.fbsbx.com/v/t59.2708-21/632411090_1574044257189843_2322637245849507885_n.gif?_nc_cat=106&ccb=1-7&_nc_sid=9dcd69&_nc_ohc=bAZFLicz9RAQ7kNvwEPLx4k&_nc_oc=AdoVUaRBRdcDE7utZOg_RFXo3xEp30crpv_FLbQR7K_OxKz46-xmV5x6klTDZkCSL5k&_nc_zt=7&_nc_ht=cdn.fbsbx.com&_nc_gid=nQJf45D2JYiEKHycO4yC6A&_nc_ss=72a8c&oh=03_Q7cD6gEttG82RceQyhMWa6zs2p0m6X3xB8fOG2Op7PkTkdARMw&oe=6AC6DB27",
                "webp": "https://cdn.fbsbx.com/v/t59.2708-21/631526667_1574044260523176_951496064481465795_n.webp?_nc_cat=103&ccb=1-7&_nc_sid=9dcd69&_nc_ohc=3ma0qew7wd8Q7kNvwFxJjmV&_nc_oc=Adrzw8umKPl6SNLb4A04LKoWajKZEQHwJn-6yxAtbDWkt8o3PSJUOiRJSv0bILXyXkE&_nc_zt=7&_nc_ht=cdn.fbsbx.com&_nc_gid=nQJf45D2JYiEKHycO4yC6A&_nc_ss=72a8c&oh=03_Q7cD6gEJNMx8JSGd_oWnlrqU3LM_RLBw6vSRpBlQ_hKl4QV-eQ&oe=6AC6D02C",
                "webp_size": 244932,
                "width": 282
              }
            },
            "is_sticker": false,
            "strong_id__": "772984535331591",
            "title": "Love It Reaction GIF by Rosanna Pansino",
            "username": "RosannaPansino"
          },
          "has_disliked_comment": false,
          "has_liked_comment": false,
          "inline_composer_display_condition": "never",
          "is_covered": false,
          "is_edited": false,
          "is_photo_comments_enabled_for_comment_author": false,
          "is_ranked_comment": true,
          "is_text_editable": false,
          "keywords_data": [],
          "liked_by_media_coauthors": [],
          "media_id": "3826528124109228757",
          "meta_ai_comment_type": "NONE",
          "other_preview_users": [],
          "pk": "17860155684534232",
          "preview_child_comments": [],
          "private_reply_status": 0,
          "share_enabled": true,
          "status": "Active",
          "strong_id__": "17860155684534232",
          "text": "",
          "type": 0,
          "user": {
            "aigm_account_label_info": {
              "is_auto_detected": false,
              "is_enabled": false,
              "is_manually_enabled": false
            },
            "fbid_v2": "17841404216689927",
            "full_name": "Alessa Lyah",
            "id": "4159420556",
            "is_mentionable": true,
            "is_private": false,
            "is_verified": false,
            "latest_reel_media": 0,
            "pk": "4159420556",
            "pk_id": "4159420556",
            "profile_pic_id": "3883277048546649071_4159420556",
            "profile_pic_url": "https://instagram.flas1-1.fna.fbcdn.net/v/t51.82787-19/681599758_18437984587140557_6333248352639673766_n.jpg?stp=dst-jpg_s150x150_tt6&_nc_cat=100&_nc_map=urlgen_bucketless&ccb=7-5&_nc_sid=f7ccc5&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLnd3dy4xMDgwLkMzIn0%3D&_nc_ohc=W2mxRG95EEAQ7kNvwGhUW-O&_nc_oc=AdqEg0GSCsw6HgUBsU3k3nQ6Lh2OgC0V3VpQgPkkqYAC8zFBWP0csuGT-kYGiJTmVXw&_nc_zt=24&_nc_ht=instagram.flas1-1.fna&_nc_gid=nQJf45D2JYiEKHycO4yC6A&_nc_ss=72aaf&oh=00_AQN4QKwbAU2umWxYRK0BRIH1pIie9dz1bpL_dBzfnNnqpQ&oe=6ACAA505",
            "qe_use_smaller_comment_like_tap_target": false,
            "strong_id__": "4159420556",
            "username": "alessalya"
          },
          "user_id": "4159420556"
        },
        {
          "bit_flags": 0,
          "child_comment_count": 0,
          "comment_index": 4,
          "comment_like_count": 1,
          "content_type": "comment",
          "created_at": 1770380760,
          "created_at_for_fb_app": 1770380760,
          "created_at_utc": 1770380760,
          "did_report_as_spam": false,
          "has_disliked_comment": false,
          "has_liked_comment": false,
          "inline_composer_display_condition": "never",
          "is_covered": false,
          "is_edited": false,
          "is_photo_comments_enabled_for_comment_author": false,
          "is_ranked_comment": true,
          "is_text_editable": false,
          "keywords_data": [],

Examples

Select an example to load its inputs and result into the playground.

Model card

Specifications

Pricing

Base price
$0.01 / run
Daily free calls
First 100 calls per day free (shared per organization)

Request & response

Method
POST
Request body
application/json
Response
application/json
Execution
sync

Parameters

code
string · required
min_id
string · optional
sort_order
string (popular, newest) · optional

Access

Provider
Instagram
API
Platform API
Base URL
https://api.sandbase.ai
Endpoint
/v1/api/instagram/v3/post-comments
Authentication
Bearer API key

API README

Instagram Post Comments (V3) API

Retrieve comments on an Instagram post by providing the post shortcode in code. You can optionally paginate results using min_id and set comment ordering with sort_order.

Use cases

  • Analyze user feedback and sentiment on public Instagram posts.
  • Monitor engagement and track replies across high-performing media.
  • Collect popular or recent viewer discussions for community reporting.

Request

curl -X POST "https://api.sandbase.ai/v1/api/instagram/v3/post-comments" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"code": "DUajw4YkorV"}'

Parameters

NameTypeRequiredDescription
codestringYesPost shortcode (e.g., DUajw4YkorV, required)
min_idstringNoPagination cursor, omit for first request, get from previous response data.next_min_id
sort_orderstringNoSort order

Example response

Real response for the request above, trimmed to the main fields. User names and long IDs are masked.

{
  "comments": [
    {
      "child_comment_count": 0,
      "comment_like_count": 1,
      "content_type": "comment",
      "media_id": "3826528124109228757",
      "meta_ai_comment_type": "NONE",
      "private_reply_status": 0,
      "status": "Active",
      "text": "So incredibly beautiful ❤️",
      "type": 0,
      "user_id": "<user>",
      "user": {
        "full_name": "jim blaze",
        "id": "78149267796",
        "pk_id": "78149267796",
        "profile_pic_id": "3764395301835210036_78149267796",
        "profile_pic_url": "https://instagram.flas1-1.fna.fbcdn.net/v/t51.82787-19/581679422_178461291216037…",
        "username": "<user>"
      }
    }
  ]
}

Notes

  • Use min_id from the previous response data.next_min_id to paginate through comments.
  • Set sort_order to either popular or newest.

Related APIs

Start building

Send your first request

Platform API endpoint with unified authentication and usage tracking.

Production API
Platform API endpoint
https://api.sandbase.ai/v1/api/instagram/v3/post-comments
Authorization header
Authorization: Bearer $SANDBASE_API_KEY
# The quoted heredoc keeps Unicode and shell metacharacters unchanged.
result=$(curl --fail-with-body --silent \
  -X POST "https://api.sandbase.ai/v1/api/instagram/v3/post-comments" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  --data-binary @- <<'SANDBASE_JSON'
{
  "code": "DUajw4YkorV",
  "sort_order": "popular"
}
SANDBASE_JSON
)
printf '%s\n' "$result"

Explore more

Related APIs

All APIs
APIPriceResponseReleased
Instagram$0.01 per callJSONJul 31, 2026
Instagram$0.01 per callJSONJul 31, 2026
Instagram$0.01 per callJSONJul 31, 2026
Instagram$0.01 per callJSONJul 31, 2026
Instagram$0.003 per callJSONJul 31, 2026
Instagram$0.01 per callJSONJul 31, 2026

Questions

FAQ

How do I use the Instagram Post Comments (V3) API?

Send a POST request to https://api.sandbase.ai/v1/api/instagram/v3/post-comments with your SandBase API key in the Authorization header (Bearer) and the parameters as a JSON body. You can also try it in the Playground on this page without writing code.

How much does the Instagram Post Comments (V3) API cost?

$0.01 per call. Every organization gets 100 free calls per UTC day, shared across eligible SandBase APIs including this one; after that each call is billed at this price from your SandBase balance. There is no subscription.

What parameters does the Instagram Post Comments (V3) API accept?

Required: code (string). Optional: min_id (string) and sort_order (one of popular, newest). The Parameters table and the Playground on this page list every field.

What does the Instagram Post Comments (V3) API return?

A JSON response returned in the same HTTP request (synchronous). The README on this page includes a sample response.

Do I need a Instagram developer account or API key?

No. Instagram Post Comments (V3) runs through SandBase, so one SandBase API key covers this endpoint and every other API and model in the catalog. You do not need to apply for Instagram API access separately.