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 Reposts

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

List the posts a public Instagram account has reposted to its feed, with cursor pagination.

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

Phòng thử nghiệm

Đầu vào
Instagram's numeric account id, as returned by instagram.profile.
Pagination cursor from a previous response's nextCursor.
Đầ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 Reposts API

This API lists the posts a public Instagram account has reposted to its feed. It needs the account's numeric userId and returns one page of posts with the original author, caption, counts and media links.

Use cases

  • Track which creators and brands an account amplifies by reading the author and authorId of each reposted post.
  • Measure the reach of reposted content using likes, comments, views and reshares.
  • Collect the hashtags, mentions and coauthors in reposted posts to map partnerships around an account.
  • Download the videoUrl or image of reposted reels and photos for review or archiving.

Request

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

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

Parameters

NameTypeRequiredDescription
userIdstringYesInstagram's numeric account id, as returned by instagram.profile.
cursorstringNoPagination cursor from a previous response's nextCursor.

Example response

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

{
  "data": {
    "nextCursor": "cur_iDvx70kyFbcBgthA-w9g_A",
    "posts": [
      {
        "audioId": "29204579829182362",
        "author": "natgeotravel",
        "authorId": "23947096",
        "authorName": "National Geographic Travel",
        "authorPrivate": false,
        "authorVerified": true,
        "avatarUrl": "https://scontent-lax3-2.cdninstagram.com/v/t51.82787-19/685024507_18593567491011…",
        "caption": "Lose yourself in the green heart of northern Peru, where ancient civilizations, …",
        "captionEdited": true,
        "coauthors": [],
        "comments": 70,
        "countsHidden": false
      }
    ]
  },
  "found": true
}

Response fields

FieldMeaning
data.posts[]The reposted posts. Each item is one post from the original author's feed.
data.posts[].author / authorId / authorNameUsername, numeric id and display name of the account that published the original post.
data.posts[].authorVerified / authorPrivateWhether the original author is verified and whether the author account is private.
data.posts[].id / shortcode / urlThe post's numeric id, its shortcode and the full Instagram link to the post.
data.posts[].mediaType / productTypeThe post format, such as video or carousel, and the Instagram product type, such as clips or carousel_container.
data.posts[].captionThe post caption text. captionEdited shows whether the caption was edited.
data.posts[].likes / comments / views / resharesEngagement counts for the post. views and reshares appear on video posts only.
data.posts[].createdUtcWhen the post was created, as a Unix timestamp in seconds.
data.posts[].coauthors[] / taggedUsers[]Accounts credited as coauthors or tagged in the post, with username, userId and displayName.
data.posts[].videoUrl / image / videoDurationSecondsLinks to the video file and the preview image, and the video length in seconds. videoUrl appears on videos only.
data.nextCursorCursor for the next page of reposts.

Notes

  • Get userId from Instagram Profile. The userId is a numeric string such as 787132.
  • To get the next page, pass data.nextCursor as cursor in the next request with the same userId.
  • Some fields appear only on some posts. For example, carouselCount appears on carousels, and audioId and soundTitle appear on videos with audio.
  • An older variant is also listed as Instagram User Reposts.

Pricing

Billed at the actual cost of each call, about $0.0011 for the request above. Failed calls are not charged.

Khám phá thêm

APIs liên quan

Tất cả APIs
APIGiáPhản hồi
InstagramTừ $0.0011 mỗi lần gọiJSON
InstagramTừ $0.0011 mỗi lần gọiJSON
InstagramTừ $0.001 mỗi lần gọiJSON
InstagramTừ $0.0011 mỗi lần gọiJSON
InstagramTừ $0.0012 mỗi lần gọiJSON
InstagramTừ $0.0011 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 Reposts?

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

Từ $0.0011 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 Reposts chấp nhận những tham số nào?

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

API Instagram User Reposts 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 Reposts 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.