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

Instagram User Highlights (V2)

API 문서
https://api.sandbase.ai/v1/api/instagram/v2/user-highlights

Returns an Instagram user's list of highlights and saved story collections. Query using either a target user ID or account username.

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

Playground

입력
User ID (either username or user_id required)
Username (either username or user_id required)
출력예시
응답outputs · 9.8 KB · 167줄
[
  {
    "data": {
      "data": {
        "count": 7,
        "highlights_tray_type": "DEFAULT",
        "items": [
          {
            "can_gif_quick_reply": true,
            "can_react_with_avatar": false,
            "can_reply": false,
            "can_reshare": true,
            "contains_stitched_media_blocked_by_rm": false,
            "cover_media": {
              "crop_rect": null,
              "cropped_image_version": {
                "height": 150,
                "url": "https://scontent-dfw6-1.cdninstagram.com/v/t51.71878-15/756700225_1653985762331725_8429300849500507026_n.jpg?stp=dst-jpg_s150x150_tt6&_nc_cat=1&ccb=7-5&_nc_sid=acbce5&_nc_ohc=NRirPknCIUoQ7kNvwFs_pKx&_nc_oc=AdpQVi6qoxGwDzA1RZQZoLhHi1VCW7IemM6qqPyZelVe3Oq6TsAvLlORdgv9psEEc3s&_nc_ad=z-m&_nc_cid=0&_nc_zt=23&_nc_ht=scontent-dfw6-1.cdninstagram.com&_nc_gid=GwLBFeZh4oQFlrfWyA2piQ&_nc_ss=723ba&oh=00_AQPivLIjTuqutcc7NkWrHE9MX89wiuKDeXtfzYgAG6LC3A&oe=6AC18EFE",
                "width": 150
              },
              "full_image_version": {
                "height": 1080,
                "url": "https://scontent-dfw6-1.cdninstagram.com/v/t51.71878-15/756700225_1653985762331725_8429300849500507026_n.jpg?stp=dst-jpg_s1080x1080_tt6&_nc_cat=1&ccb=7-5&_nc_sid=acbce5&_nc_ohc=NRirPknCIUoQ7kNvwFs_pKx&_nc_oc=AdpQVi6qoxGwDzA1RZQZoLhHi1VCW7IemM6qqPyZelVe3Oq6TsAvLlORdgv9psEEc3s&_nc_ad=z-m&_nc_cid=0&_nc_zt=23&_nc_ht=scontent-dfw6-1.cdninstagram.com&_nc_gid=GwLBFeZh4oQFlrfWyA2piQ&_nc_ss=723ba&oh=00_AQPs7XpUoBawANIDyChR_I6g60eIa_8TPa5I1VF-JTELxQ&oe=6AC18EFE",
                "width": 1080
              },
              "id": "None",
              "upload_id": null
            },
            "created_at": 1719606671,
            "highlight_pog_unseen": null,
            "highlight_reel_type": "DEFAULT",
            "id": "highlight:18223279177302854",
            "is_archived": false,
            "is_converted_to_clips": false,
            "is_nux": false,
            "is_pinned_highlight": false,
            "latest_reel_media": 1790008940,
            "media_count": 52,
            "prefetch_count": 0,
            "ranked_position": -1790118702,
            "reel_type": "highlight_reel",
            "seen_ranked_position": -1790118702,
            "title": "close friends",
            "updated_timestamp": 1790118702,
            "user": {
              "account_badges": [],
              "fifa_country_code": "CA",
              "full_name": "Instagram",
              "id": "25025320",
              "interop_messaging_user_fbid": "117943452927407",
              "is_creator_agent_enabled": false,
              "is_private": false,
              "is_verified": true,
              "profile_pic_id": "3725434617063385984",
              "profile_pic_url": "https://scontent-dfw6-1.cdninstagram.com/v/t51.82787-19/550891366_18667771684001321_1383210656577177067_n.jpg?stp=dst-jpg_e0_s150x150_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLmRqYW5nby4xMDgwLmMyIn0&_nc_ht=scontent-dfw6-1.cdninstagram.com&_nc_cat=1&_nc_oc=Q6cZ2gGriiE6UjMnnDkprfM34bxZwMIoELMXTquSZRT4IAMlFsg7Ak3hStiTUxYS_cP3KHE&_nc_ohc=f5sphjxPT3EQ7kNvwEbW-CU&_nc_gid=GwLBFeZh4oQFlrfWyA2piQ&edm=APs17CUBAAAA&ccb=7-5&ig_cache_key=GGbv1SApFvlLPVJCAOtF0XrDJjITbmNDAQAB1501500j-ccb7-5&oh=00_AQOj9_wAnatBtLmsiF7ApUhzm1THP0vBiPgAx9L78Alwtg&oe=6AC1A1A7&_nc_sid=10d13b",
              "username": "instagram"
            }
          },
          {
            "can_gif_quick_reply": true,
            "can_react_with_avatar": false,
            "can_reply": false,
            "can_reshare": true,
            "contains_stitched_media_blocked_by_rm": false,
            "cover_media": {
              "crop_rect": null,
              "cropped_image_version": {
                "height": 150,
                "url": "https://scontent-dfw6-1.cdninstagram.com/v/t51.71878-15/755867844_1751720619182762_5430881549273743299_n.jpg?stp=dst-jpg_s150x150_tt6&_nc_cat=1&ccb=7-5&_nc_sid=acbce5&_nc_ohc=XXsKiZVU-g4Q7kNvwHylJ1S&_nc_oc=Ado3TsHFm1rvPC85lDOiFVoPjEg5WqzJ9avkGUzdap8njLbWQZYRz6OJ1-Fnp0szAVg&_nc_ad=z-m&_nc_cid=0&_nc_zt=23&_nc_ht=scontent-dfw6-1.cdninstagram.com&_nc_gid=GwLBFeZh4oQFlrfWyA2piQ&_nc_ss=723ba&oh=00_AQMftQvNJSZF9vJ7hvfmEdie3c4X-WcRCGIkt-_ixqaR7w&oe=6AC1932F",
                "width": 150
              },
              "full_image_version": {
                "height": 1080,
                "url": "https://scontent-dfw6-1.cdninstagram.com/v/t51.71878-15/755867844_1751720619182762_5430881549273743299_n.jpg?stp=dst-jpg_s1080x1080_tt6&_nc_cat=1&ccb=7-5&_nc_sid=acbce5&_nc_ohc=XXsKiZVU-g4Q7kNvwHylJ1S&_nc_oc=Ado3TsHFm1rvPC85lDOiFVoPjEg5WqzJ9avkGUzdap8njLbWQZYRz6OJ1-Fnp0szAVg&_nc_ad=z-m&_nc_cid=0&_nc_zt=23&_nc_ht=scontent-dfw6-1.cdninstagram.com&_nc_gid=GwLBFeZh4oQFlrfWyA2piQ&_nc_ss=723ba&oh=00_AQOgRGgus1jCTcYI3qoznzIetqXlZGIQqh5hp-TxXzXNrg&oe=6AC1932F",
                "width": 1080
              },
              "id": "None",
              "upload_id": null
            },
            "created_at": 1784674239,
            "highlight_pog_unseen": null,
            "highlight_reel_type": "DEFAULT",
            "id": "highlight:18612622252018257",
            "is_archived": false,
            "is_converted_to_clips": false,
            "is_nux": false,
            "is_pinned_highlight": false,
            "latest_reel_media": 1789738467,
            "media_count": 46,
            "prefetch_count": 0,
            "ranked_position": -1790118665,
            "reel_type": "highlight_reel",
            "seen_ranked_position": -1790118665,
            "title": "🎤🎶🎸",
            "updated_timestamp": 1790118665,
            "user": {
              "account_badges": [],
              "fifa_country_code": "CA",
              "full_name": "Instagram",
              "id": "25025320",
              "interop_messaging_user_fbid": "117943452927407",
              "is_creator_agent_enabled": false,
              "is_private": false,
              "is_verified": true,
              "profile_pic_id": "3725434617063385984",
              "profile_pic_url": "https://scontent-dfw6-1.cdninstagram.com/v/t51.82787-19/550891366_18667771684001321_1383210656577177067_n.jpg?stp=dst-jpg_e0_s150x150_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLmRqYW5nby4xMDgwLmMyIn0&_nc_ht=scontent-dfw6-1.cdninstagram.com&_nc_cat=1&_nc_oc=Q6cZ2gGriiE6UjMnnDkprfM34bxZwMIoELMXTquSZRT4IAMlFsg7Ak3hStiTUxYS_cP3KHE&_nc_ohc=f5sphjxPT3EQ7kNvwEbW-CU&_nc_gid=GwLBFeZh4oQFlrfWyA2piQ&edm=APs17CUBAAAA&ccb=7-5&ig_cache_key=GGbv1SApFvlLPVJCAOtF0XrDJjITbmNDAQAB1501500j-ccb7-5&oh=00_AQOj9_wAnatBtLmsiF7ApUhzm1THP0vBiPgAx9L78Alwtg&oe=6AC1A1A7&_nc_sid=10d13b",
              "username": "instagram"
            }
          },
          {
            "can_gif_quick_reply": true,
            "can_react_with_avatar": false,
            "can_reply": false,
            "can_reshare": true,
            "contains_stitched_media_blocked_by_rm": false,
            "cover_media": {
              "crop_rect": null,
              "cropped_image_version": {
                "height": 150,
                "url": "https://scontent-dfw6-1.cdninstagram.com/v/t51.71878-15/755331856_1609699020573638_4426177467586352650_n.jpg?stp=dst-jpg_s150x150_tt6&_nc_cat=1&ccb=7-5&_nc_sid=acbce5&_nc_ohc=a7-mhagr6bkQ7kNvwHfPZdG&_nc_oc=AdrwWheOYVUqGdhd8l21lCe0-QYOMb8jr0jX3ExVMiBhTJ17qJ2AmNck1eQESv4chdc&_nc_ad=z-m&_nc_cid=0&_nc_zt=23&_nc_ht=scontent-dfw6-1.cdninstagram.com&_nc_gid=GwLBFeZh4oQFlrfWyA2piQ&_nc_ss=723ba&oh=00_AQORP1jqVC-adfsjVUxWJj8zVsqtbeglb6SjToTAi8R_7Q&oe=6AC18773",
                "width": 150
              },
              "full_image_version": {
                "height": 1080,
                "url": "https://scontent-dfw6-1.cdninstagram.com/v/t51.71878-15/755331856_1609699020573638_4426177467586352650_n.jpg?stp=dst-jpg_s1080x1080_tt6&_nc_cat=1&ccb=7-5&_nc_sid=acbce5&_nc_ohc=a7-mhagr6bkQ7kNvwHfPZdG&_nc_oc=AdrwWheOYVUqGdhd8l21lCe0-QYOMb8jr0jX3ExVMiBhTJ17qJ2AmNck1eQESv4chdc&_nc_ad=z-m&_nc_cid=0&_nc_zt=23&_nc_ht=scontent-dfw6-1.cdninstagram.com&_nc_gid=GwLBFeZh4oQFlrfWyA2piQ&_nc_ss=723ba&oh=00_AQP-h_4bUaXcn5lO2i5FrBqa2u7q6Wd1iFPeRxjiyCHREQ&oe=6AC18773",
                "width": 1080
              },
              "id": "None",
              "upload_id": null
            },
            "created_at": 1713456841,
            "highlight_pog_unseen": null,
            "highlight_reel_type": "DEFAULT",
            "id": "highlight:18029499352961095",
            "is_archived": false,
            "is_converted_to_clips": false,
            "is_nux": false,
            "is_pinned_highlight": false,
            "latest_reel_media": 1789070386,
            "media_count": 47,
            "prefetch_count": 0,
            "ranked_position": -1789070420,
            "reel_type": "highlight_reel",
            "seen_ranked_position": -1789070420,
            "title": "what’s new",
            "updated_timestamp": 1789070420,
            "user": {
              "account_badges": [],
              "fifa_country_code": "CA",
              "full_name": "Instagram",
              "id": "25025320",
              "interop_messaging_user_fbid": "117943452927407",
              "is_creator_agent_enabled": false,
              "is_private": false,
              "is_verified": true,
              "profile_pic_id": "3725434617063385984",
              "profile_pic_url": "https://scontent-dfw6-1.cdninstagram.com/v/t51.82787-19/550891366_18667771684001321_1383210656577177067_n.jpg?stp=dst-jpg_e0_s150x150_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLmRqYW5nby4xMDgwLmMyIn0&_nc_ht=scontent-dfw6-1.cdninstagram.com&_nc_cat=1&_nc_oc=Q6cZ2gGriiE6UjMnnDkprfM34bxZwMIoELMXTquSZRT4IAMlFsg7Ak3hStiTUxYS_cP3KHE&_nc_ohc=f5sphjxPT3EQ7kNvwEbW-CU&_nc_gid=GwLBFeZh4oQFlrfWyA2piQ&edm=APs17CUBAAAA&ccb=7-5&ig_cache_key=GGbv1SApFvlLPVJCAOtF0XrDJjITbmNDAQAB1501500j-ccb7-5&oh=00_AQOj9_wAnatBtLmsiF7ApUhzm1THP0vBiPgAx9L78Alwtg&oe=6AC1A1A7&_nc_sid=10d13b",
              "username": "instagram"
            }
          },
          "… 4 more items in the full response"
        ]
      },
      "pagination_token": null
    }
  }
]

예시

예시를 선택하면 입력값과 결과가 플레이그라운드에 로드됩니다.

API README

Instagram User Highlights (V2) API

Returns the list of story highlights on a public Instagram profile, with title, cover image, item count and timestamps for each one. Send either username or user_id.

Use cases

  • List every highlight title and cover image to show a profile's highlight row in a custom viewer.
  • Compare media_count across highlights to see which collections hold the most stories.
  • Track updated_timestamp over time to detect when an account adds to or edits a highlight.
  • Collect highlight IDs for an account, then fetch the stories inside each one.

Request

curl -X POST "https://api.sandbase.ai/v1/api/instagram/v2/user-highlights" \
  -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
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": 7,
    "highlights_tray_type": "DEFAULT",
    "items": [
      {
        "can_gif_quick_reply": true,
        "can_react_with_avatar": false,
        "can_reply": false,
        "can_reshare": true,
        "contains_stitched_media_blocked_by_rm": false,
        "cover_media": {
          "crop_rect": null,
          "cropped_image_version": {
            "height": 150,
            "url": "https://scontent-iad3-1.cdninstagram.com/v/t51.71878-15/756700225_16539857623317…",
            "width": 150
          },
          "full_image_version": {
            "height": 1080,
            "url": "https://scontent-iad3-1.cdninstagram.com/v/t51.71878-15/756700225_16539857623317…",
            "width": 1080
          },
          "id": "None",
          "upload_id": null
        },
        "created_at": 1719606671,
        "highlight_pog_unseen": null,
        "highlight_reel_type": "DEFAULT",
        "id": "highlight:18223279177302854",
        "is_archived": false,
        "is_converted_to_clips": false
      }
    ]
  },
  "pagination_token": null
}

Response fields

FieldMeaning
data.countNumber of highlights returned for the account.
data.items[].idHighlight ID in the form highlight:<number>.
data.items[].titleName of the highlight as shown under the profile.
data.items[].media_countNumber of stories inside the highlight.
data.items[].cover_media.cropped_image_version.url / data.items[].cover_media.full_image_version.urlCover image URLs. The cropped version is 150 by 150 pixels and the full version is 1080 by 1080 pixels.
data.items[].created_at / data.items[].updated_timestamp / data.items[].latest_reel_mediaUnix timestamps in seconds. They mark when the highlight was created, when it was last updated, and its latest story media.
data.items[].is_pinned_highlightWhether the highlight is pinned on the profile.
data.items[].user.id / data.items[].user.full_nameID and display name of the account that owns the highlight.
data.items[].user.is_verified / data.items[].user.is_privateWhether the owner account is verified and whether it is private.

Notes

  • Pass username or user_id. The request needs at least one of them.
  • The response has a pagination_token field, and it is null in this example.
  • Highlight IDs look like highlight:18223279177302854. Use them with Instagram Highlight Stories to get the stories inside a highlight.
  • To find a user_id from a name, call Instagram User Profile.

Pricing

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

더 살펴보기

관련 API

모든 API
API가격응답
Instagram$0.002 / 호출JSON
Instagram$0.002 / 호출JSON
Instagram$0.002 / 호출JSON
Instagram$0.002 / 호출JSON
Instagram$0.002 / 호출JSON
Instagram$0.002 / 호출JSON

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

질문

FAQ

Instagram User Highlights (V2) API를 어떻게 사용하나요?

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

Instagram User Highlights (V2) API 비용은 얼마인가요?

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

Instagram User Highlights (V2) API는 어떤 매개변수를 받나요?

필수 매개변수는 없습니다. 선택: user_id (string) 및 username (string). 이 페이지의 Parameters 표와 Playground에 모든 필드가 나와 있습니다.

Instagram User Highlights (V2) API는 무엇을 반환하나요?

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

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

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