Sand AISand AI MAGI-2MAGI-2 hiện đã có trên SandBase: video 1080p với âm thanh gốcDùng thử ngay

Instagram User Reels (V2)

Tài liệu API
https://api.sandbase.ai/v1/api/instagram/v2/user-reels

Returns a list of Reels from an Instagram account by username or user ID. Supports cursor-based pagination to browse past video content.

Giá
$0.002USD / lượt gọi
Phương thức
POST
Phản hồi
JSON
Tham số
0 bắt buộc · 3 tùy chọn
100 lượt gọi miễn phí / ngày100 lượt gọi đầu tiên mỗi ngày miễn phí (chia sẻ theo tổ chức) · Đặt lại lúc 00:00 UTC. Sau đó tính phí theo mỗi lượt gọi.

Phòng thử nghiệm

Đầu vào
Pagination token from previous response
User ID (either username or user_id required)
Username (either username or user_id required)
Đầu raSẵn sàng

Đầu ra của bạn sẽ xuất hiện ở đây

Hoàn tất đầu vào, rồi nhấp Run.

README API

Instagram User Reels (V2) API

Returns a list of Reels posted by an Instagram account. Each item holds the caption, comment count, audio details and sharing settings. You pass a username or a user_id.

Use cases

  • Pull the latest Reels from a brand account to track what it posts.
  • Compare comment_count across Reels to find which videos get the most discussion.
  • Collect the hashtags and mentions used in Reel captions to see which creators and tags an account features.
  • Check the audio_type of each Reel to see how often an account uses original sounds versus licensed music.

Request

curl -X POST "https://api.sandbase.ai/v1/api/instagram/v2/user-reels" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"username": "instagram", "user_id": "18527"}'

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

Parameters

NameTypeRequiredDescription
pagination_tokenstringNoPagination token from previous response
user_idstringNoUser ID (either username or user_id required)
usernamestringNoUsername (either username or user_id required)

Example response

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

{
  "data": {
    "count": 12,
    "items": [
      {
        "are_remixes_crosspostable": true,
        "boost_unavailable_identifier": null,
        "boost_unavailable_reason": null,
        "boost_unavailable_reason_v2": null,
        "can_reshare": true,
        "can_save": true,
        "caption": {
          "created_at": 1793647551,
          "created_at_utc": 1793647551,
          "did_report_as_spam": false,
          "hashtags": [],
          "id": "4021726163100932870",
          "is_covered": false,
          "is_ranked_comment": false,
          "mentions": [
            "@troyesivan"
          ]
        },
        "caption_is_edited": false,
        "clips_demotion_control": {
          "confirmation_body": "We'll suggest fewer posts like this.",
          "confirmation_icon": "none",
          "confirmation_style": "bottomsheet",
          "confirmation_title": "Post hidden",
          "confirmation_title_style": "large_left",
          "enable_word_wrapping": true,
          "followup_options": [
            {
              "data": "author_id:25025320",
              "demotion_control": {
                "confirmation_body": "We won't suggest posts from instagram.",
                "confirmation_icon": "eye-off-pano",
                "confirmation_style": "bottomsheet",
                "confirmation_title": "",
                "undo_style": "inline"
              },
              "id": "dislike",
              "show_icon": true,
              "style": null,
              "subtitle": null,
              "text": "Don't suggest posts from instagram"
            }
          ],
          "title": "Not interested"
        },
        "clips_metadata": {
          "achievements_info": {
            "num_earned_achievements": null,
            "show_achievements": false
          },
          "additional_audio_info": {
            "additional_audio_username": null,
            "audio_reattribution_info": {
              "should_allow_restore": false
            }
          },
          "asset_recommendation_info": null,
          "audio_canonical_id": "18418030405089197",
          "audio_ranking_info": {
            "best_audio_cluster_id": "1079281138448348"
          },
          "audio_type": "original_sounds",
          "basel_template_info_for_ig_app": {
            "is_basel_template": null,
            "original_template_media_id": null,
            "should_show_reuse_setting_for_owner": false,
            "use_template_deeplink": null
          },
          "branded_content_tag_info": {
            "can_add_tag": false
          }
        },
        "clips_tab_pinned_user_ids": [],
        "coauthor_producer_can_see_organic_insights": false
      }
    ]
  },
  "pagination_token": "GU1VBBop…"
}

Response fields

FieldMeaning
data.countNumber of Reels in this response.
data.items[].codeShort code of the Reel. It is the part of the Instagram post URL that identifies the Reel.
data.items[].fbidNumeric ID of the Reel as a string.
data.items[].comment_countNumber of comments on the Reel.
data.items[].caption.idID of the caption.
data.items[].caption.created_at / data.items[].caption.created_at_utcTime the caption was created, as a Unix timestamp in seconds.
data.items[].caption.hashtagsList of hashtags in the caption, each with the leading #. The list is empty when the caption has none.
data.items[].caption.mentionsList of accounts mentioned in the caption, each with the leading @.
data.items[].clips_metadata.audio_typeType of audio on the Reel. Values seen include original_sounds and licensed_music.
data.items[].clips_metadata.audio_canonical_idID of the audio track used in the Reel.
data.items[].has_audioWhether the Reel has an audio track.

Notes

  • Send either username or user_id. The example uses instagram and 18527.
  • Pass the pagination_token from a previous response to get the next page of Reels.
  • To get the full details of one Reel, call Instagram Post Details (V2) with its code.
  • To read the comments on a Reel, call Instagram Post Comments (V2).

Pricing

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

Khám phá thêm

APIs liên quan

Tất cả APIs
APIGiáPhản hồi
Instagram$0.002 mỗi lần gọiJSON
Instagram$0.002 mỗi lần gọiJSON
Instagram$0.002 mỗi lần gọiJSON
Instagram$0.002 mỗi lần gọiJSON
Instagram$0.002 mỗi lần gọiJSON
Instagram$0.002 mỗi lần gọiJSON

Hướng dẫn:Instagram API cost: official limits and per-call pricesBest Instagram API in 2026: Pricing Compared

Câu hỏi

FAQ

Làm thế nào để dùng API Instagram User Reels (V2)?

Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/instagram/v2/user-reels với khóa API SandBase của bạn trong tiêu đề Authorization (Bearer) và các tham số trong phần thân JSON. Bạn cũng có thể thử trực tiếp trong Playground trên trang này mà không cần viết code.

API Instagram User Reels (V2) có giá bao nhiêu?

$0.002 mỗi lần gọi. Mỗi tổ chức được 100 lần gọi miễn phí mỗi ngày UTC, dùng chung cho các API SandBase đủ điều kiện, bao gồm API này; sau đó mỗi lần gọi sẽ được tính theo mức giá này từ số dư SandBase của bạn. Không có gói đăng ký.

API Instagram User Reels (V2) chấp nhận những tham số nào?

Không có tham số bắt buộc. Tùy chọn: pagination_token (string), user_id (string) và username (string). Bảng Parameters và Playground trên trang này liệt kê mọi trường.

API Instagram User Reels (V2) trả về gì?

Phản hồi JSON được trả về trong cùng một yêu cầu HTTP (đồng bộ). README trên trang này có ví dụ phản hồi.

Tôi có cần tài khoản nhà phát triển hoặc API key của Instagram không?

Không. Instagram User Reels (V2) chạy thông qua SandBase, nên chỉ cần một API key SandBase là đủ cho endpoint này và mọi API cùng model khác trong danh mục. Bạn không cần đăng ký riêng để có quyền truy cập API của Instagram.