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

Instagram User Stories (V2)

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

Returns active stories posted by an Instagram user within the last 24 hours. The request accepts either an account username or a user identifier.

가격
$0.002USD / 호출
메서드
POST
응답
JSON
매개변수
필수 0개 · 선택 사항 2개
하루 100회 무료 호출하루 첫 100회 호출은 무료입니다(조직별 공유) · UTC 00:00에 초기화됩니다. 이후에는 호출당 요금이 부과됩니다.

Playground

입력
User ID (either username or user_id required)
Username (either username or user_id required)
출력준비됨

출력이 여기에 표시됩니다

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

API README

Instagram User Stories (V2) API

Returns the active stories an Instagram account posted in the last 24 hours. Each story includes image links, expiry times and sharing flags. The input is a username or a user_id.

Use cases

  • Show the current stories of a brand account in a dashboard or feed.
  • Save story image links before the stories expire.
  • Check how many stories an account has live and when the newest one was posted.
  • Track which stories a verified account allows others to reshare.

Request

curl -X POST "https://api.sandbase.ai/v1/api/instagram/v2/user-stories" \
  -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": {
    "additional_data": {
      "ad_expiry_timestamp_in_millis": null,
      "can_gif_quick_reply": true,
      "can_react_with_avatar": false,
      "can_reply": false,
      "can_reshare": true,
      "disabled_reply_types": [
        "story_remix_reply"
      ],
      "expiring_at": 1793742535,
      "id": "25025320",
      "is_archived": false,
      "latest_reel_media": 1793656135,
      "reel_type": "user_reel",
      "show_expiration_tray_signal": false
    },
    "count": 3,
    "items": [
      {
        "archive_story_deletion_ts": 0,
        "boost_unavailable_identifier": null,
        "boost_unavailable_reason": null,
        "boost_unavailable_reason_v2": null,
        "can_extend_expiration": null,
        "can_hype": false,
        "can_mention_back": false,
        "can_mention_share": false,
        "can_play_spotify_audio": false,
        "can_reply": false,
        "can_reshare": true,
        "can_reshare_to_story": true
      }
    ]
  }
}

Response fields

FieldMeaning
data.countNumber of stories returned in data.items.
data.items[].id / data.items[].codeStory identifiers. id is the numeric story ID and code is a short alphanumeric code for the same story.
data.items[].expiring_atUnix timestamp in seconds that shows when the story expires.
data.items[].device_timestampTimestamp from the posting device. The value is much larger than expiring_at, so it is not in seconds.
data.items[].image_versions.items[].urlLink to an image of the story.
data.items[].image_versions.items[].width / data.items[].image_versions.items[].heightPixel size of each image version, so you can pick the size you need.
data.items[].has_audiotrue when the story has audio. The field appears only on some items.
data.items[].can_reshare / data.items[].can_replyFlags that show whether the story can be reshared or replied to.
data.additional_data.latest_reel_mediaUnix timestamp in seconds of the newest story in the set.
data.additional_data.user.full_name / data.additional_data.user.is_verifiedDisplay name of the account and whether it is verified.

Notes

  • Send either username or user_id. The example response used both values together.
  • data.additional_data.user.id holds the account ID. Use it as user_id in other calls.
  • Story links are image versions in image_versions.items. Each story lists several sizes.
  • To see saved stories that stay on a profile, call Instagram User Highlights (V2) or Instagram Highlight Stories.

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 Stories (V2) API를 어떻게 사용하나요?

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

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

호출당 $0.002. 모든 조직은 UTC 기준 하루에 100회의 무료 호출을 받으며, 이 API를 포함한 사용 가능 SandBase API 전반에서 공유됩니다. 이후에는 각 호출이 SandBase 잔액에서 이 요금으로 청구됩니다. 구독은 없습니다.

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

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

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

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

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

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