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 (V1)

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

Returns a paginated list of Instagram Reels associated with a specific user account. Supports custom page sizes and cursor-based navigation.

Giá
$0.001USD / lượt gọi
Phương thức
POST
Phản hồi
JSON
Tham số
1 bắt buộc · 2 tùy chọn

Phòng thử nghiệm

Đầu vào
Instagram user ID
150
Count per page, default 12 Phạm vi: 1 đến 50.
Pagination cursor, omit for first request
Đầ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 (V1) API

Returns a paginated list of Reels for one Instagram account. You pass the numeric Instagram user_id, and each item in items holds a media object for one Reel.

Use cases

  • Pull the latest Reels from a creator profile to review their recent video output.
  • Build a posting timeline for an account from the caption created_at values.
  • Page through an account's full Reels history with max_id and store the media IDs.
  • Check which Reels allow resharing or saving by reading the can_viewer_reshare and can_viewer_save flags.

Request

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

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

Parameters

NameTypeRequiredDescription
user_idstringYesInstagram user ID
countintegerNoCount per page, default 12
max_idstringNoPagination cursor, omit for first request

Example response

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

{
  "attempts": "0",
  "items": [
    {
      "media": {
        "are_remixes_crosspostable": true,
        "boost_unavailable_identifier": null,
        "boost_unavailable_reason": null,
        "boost_unavailable_reason_v2": [],
        "can_see_insights_as_brand": false,
        "can_viewer_reshare": true,
        "can_viewer_save": true,
        "caption": {
          "bit_flags": 0,
          "content_type": "comment",
          "created_at": 1793647551,
          "created_at_utc": 1793647551,
          "did_report_as_spam": false,
          "is_covered": false,
          "is_ranked_comment": false,
          "media_id": 4021726163100932870
        }
      }
    }
  ],
  "paging_info": {
    "max_id": "QVFESzFzMkVFcTJZS0NNa3ZiMGktQ2NMaS01N0k2VmlRcTNncm1iZW5DaUlmQ3NNVi1hX0kwc0pFa19W…",
    "more_available": true
  },
  "status": "ok"
}

Response fields

FieldMeaning
items[].mediaOne Reel. All other per-Reel fields sit inside this object.
items[].media.caption.media_idNumeric ID of the Reel that the caption belongs to.
items[].media.caption.created_at / items[].media.caption.created_at_utcTime the caption was created, as a Unix timestamp in seconds. Both fields hold the same value in this response.
items[].media.caption.content_typeType of the caption object. It shows comment in this response.
items[].media.can_viewer_reshare / items[].media.can_viewer_saveBooleans that show whether the viewer can reshare or save the Reel.
items[].media.are_remixes_crosspostableBoolean that shows whether remixes of the Reel can be crossposted.
paging_info.max_idCursor for the next page. Send it as max_id in the next request.
paging_info.more_availableBoolean that is true when more Reels can be fetched with the cursor.
statusRequest status. The value is ok on success.

Notes

  • Omit max_id on the first request. For the next page, send the value of paging_info.max_id.
  • Keep paging while paging_info.more_available is true.
  • count sets the page size from 1 to 50 and defaults to 12.
  • To find a user_id from a username, call Instagram User Info by Username.

Pricing

$0.001 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.001 mỗi lần gọiJSON
Instagram$0.001 mỗi lần gọiJSON
Instagram$0.001 mỗi lần gọiJSON
Instagram$0.001 mỗi lần gọiJSON
Instagram$0.001 mỗi lần gọiJSON
Instagram$0.001 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 (V1)?

Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/instagram/v1/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 (V1) có giá bao nhiêu?

$0.001 mỗi lần gọi, được tính từ số dư SandBase của bạn. Bạn chỉ bị tính phí cho các lần gọi bạn thực hiện; không có gói đăng ký.

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

Bắt buộc: user_id (string). Tùy chọn: count (integer) và max_id (string). Bảng Parameters và Playground trên trang này liệt kê mọi trường.

API Instagram User Reels (V1) 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 (V1) 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.