Sand AISand AI MAGI-2MAGI-2가 이제 SandBase에서 제공됩니다: 네이티브 오디오가 포함된 1080p 동영상지금 사용해 보기

Instagram Post Comment List

API 문서
https://api.sandbase.ai/v1/api/instagram/post-comments

Get top-level comments for an Instagram post by shortcode, with cursor pagination and popular or newest sorting. Use it to review audience feedback or analyze discussion around a known post.

가격
$0.014286USD / 호출
메서드
POST
응답
JSON
매개변수
필수 1개 · 선택 사항 2개

Playground

입력
The unique shortcode for the Instagram post.
Pagination cursor returned as next_min_id from the previous response.
Sort order for the comments.
출력준비됨

출력이 여기에 표시됩니다

입력을 완료한 다음 Run을 클릭하세요.

API README

Instagram Post Comment List API

Returns top-level comments for an Instagram post, plus the post caption and the total comment count. It needs the post shortcode as code. You can sort by popular or newest.

Use cases

  • Pull the latest comments on a known post to review audience feedback.
  • Sort by popular to find the comments that drew the most likes.
  • Collect comment text and commenter names to analyze the discussion around a campaign post.
  • Find comments that have replies and fetch those threads with a separate call.

Request

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

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
codestringYesThe unique shortcode for the Instagram post.
minIdstringNoPagination cursor returned as next_min_id from the previous response.
sortOrderstringNoSort order for the comments.

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "_rid": "1318fda1bfbe9",
  "ai_topic_filters": [],
  "can_view_more_preview_comments": false,
  "caption": {
    "bit_flags": 0,
    "content_type": "comment",
    "created_at": 1793116772,
    "created_at_for_fb_app": 1793116772,
    "created_at_utc": 1793116772,
    "did_report_as_spam": false,
    "is_covered": false,
    "is_created_by_media_owner": true,
    "is_ranked_comment": true,
    "media_id": "4017275189435174347",
    "pk": "18115995458110011",
    "private_reply_status": 0
  },
  "caption_is_edited": false,
  "comment_count": 14729,
  "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": 5,
      "content_type": "comment",
      "created_at": 1793544285,
      "created_at_for_fb_app": 1793544285,
      "created_at_utc": 1793544285,
      "did_report_as_spam": false,
      "has_disliked_comment": false,
      "has_liked_comment": false,
      "inline_composer_display_condition": "never"
    }
  ],
  "fb_comments": [],
  "filter_options": []
}

Response fields

FieldMeaning
comments[]List of top-level comments on the post.
comments[].pkID of the comment, as a string.
comments[].textText of the comment, including emoji.
comments[].created_at_utcTime the comment was posted, as a Unix timestamp.
comments[].comment_like_countNumber of likes on the comment.
comments[].child_comment_countNumber of replies to the comment. 0 means no replies.
comments[].user.id / comments[].user.full_nameID and display name of the person who wrote the comment.
comments[].user.is_verifiedWhether the commenter has a verified account.
comment_countTotal number of comments on the post.
caption.textCaption of the post. The text can be cut short.
next_min_idCursor for the next page. Pass it as minId in the next request.

Notes

  • The shortcode is the part of a post URL after /p/ or /reel/, for example DfAOoAXRg3L.
  • For the next page, send the next_min_id value from the response as minId. Keep the same sortOrder.
  • next_min_id is a JSON string. Pass it back as is.
  • To read replies under a comment with child_comment_count above 0, use Instagram Comment Replies.

Pricing

$0.014286 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

더 살펴보기

관련 API

모든 API
API가격응답
Instagram$0.014286 / 호출JSON
Instagram호출당 $0.0011부터JSON
Instagram호출당 $0.001부터JSON
Instagram호출당 $0.0011부터JSON
Instagram호출당 $0.0012부터JSON
Instagram호출당 $0.0011부터JSON

가이드:Instagram API cost: official limits and per-call pricesBest Instagram API in 2026: Pricing Compared

질문

FAQ

Instagram Post Comment List API를 어떻게 사용하나요?

Authorization 헤더(Bearer)에 SandBase API 키를 넣고, 매개변수를 JSON 본문으로 담아 https://api.sandbase.ai/v1/api/instagram/post-comments에 POST 요청을 보내세요. 이 페이지의 Playground에서도 코드를 작성하지 않고 직접 테스트할 수 있습니다.

Instagram Post Comment List API 비용은 얼마인가요?

호출당 $0.014286, SandBase 잔액에서 청구됩니다. 사용한 호출에 대해서만 요금이 부과되며, 구독은 없습니다.

Instagram Post Comment List API는 어떤 매개변수를 받나요?

필수: code (string). 선택: minId (string) 및 sortOrder(popular, newest 중 하나). 이 페이지의 Parameters 표와 Playground에 모든 필드가 나와 있습니다.

Instagram Post Comment List API는 무엇을 반환하나요?

같은 HTTP 요청에서 반환되는 JSON 응답입니다(동기식). 이 페이지의 README에 샘플 응답이 포함되어 있습니다.

Instagram 개발자 계정이나 API 키가 필요한가요?

아니요. Instagram Post Comment List은 SandBase를 통해 실행되므로, SandBase API 키 하나로 이 엔드포인트와 카탈로그의 다른 모든 API 및 모델을 사용할 수 있습니다. Instagram API 액세스를 별도로 신청할 필요는 없습니다.