Sand AISand AI MAGI-2ตอนนี้ MAGI-2 อยู่บน SandBase แล้ว: วิดีโอ 1080p พร้อมเสียงในตัวลองใช้เลย

Instagram Stories (full)

เอกสาร API
https://api.sandbase.ai/v1/api/instagram/stories-full

Fetch a public Instagram account's currently live stories with media, type, dimensions, posting time, and 24-hour expiry by username.

ราคา
เริ่มต้นที่ $0.0022USD / คำขอ
Method
POST
การตอบกลับ
JSON
พารามิเตอร์
1 จำเป็น · 1 ไม่บังคับ

Playground

อินพุต
Instagram username or handle without the @.
Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `soundTitle`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a story that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.
เอาต์พุตพร้อมใช้งาน

เอาต์พุตของคุณจะแสดงที่นี่

กรอกอินพุตให้ครบ แล้วคลิก Run

API README

Instagram Stories (full) API

Returns the stories that a public Instagram account has live right now. Each story includes its media URLs, type, size, posting time, expiry time, and sound details when present. The only required input is a username.

Use cases

  • Archive an account's stories before they expire by saving the image or videoUrl files.
  • Track which stories carry a paid partnership label for sponsorship monitoring.
  • Find stories that use a named sound by reading soundTitle and soundAuthor.
  • Check how often a brand posts stories by comparing createdUtc values.

Request

curl -X POST "https://api.sandbase.ai/v1/api/instagram/stories-full" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"username": "nba"}'

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

Parameters

NameTypeRequiredDescription
usernamestringYesInstagram username or handle without the @.
requireFieldsarrayNoOptional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example soundTitle, and it is served only by a source that returns every one

Example response

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

{
  "data": {
    "items": [
      {
        "audioId": null,
        "avatarUrl": "https://scontent-lax3-2.cdninstagram.com/v/t51.82787-19/870530727_18700682161024…",
        "code": "DfP4jTDgKvK",
        "createdUtc": 1793641838,
        "displayName": "NBA",
        "durationSeconds": 15,
        "expiresUtc": 1793728238,
        "height": 1920,
        "id": "4021681708511308746",
        "image": "https://scontent-lax3-2.cdninstagram.com/v/t51.71878-15/886632526_11417059416508…",
        "mediaType": 2,
        "paidPartnership": true
      }
    ]
  },
  "found": true
}

Response fields

FieldMeaning
data.items[].id / data.items[].codeUnique story ID and short code for the story. Use them to identify or deduplicate stories.
data.items[].createdUtc / data.items[].expiresUtcPosting time and expiry time of the story as Unix timestamps in seconds. In the sample, expiry is 86400 seconds after posting.
data.items[].mediaTypeNumeric media type. In the sample, 1 is a story with only an image and 2 is a story that also has a videoUrl.
data.items[].image / data.items[].videoUrlMedia file URLs. videoUrl appears only on video stories.
data.items[].width / data.items[].heightPixel dimensions of the story media.
data.items[].durationSecondsLength of a video story in seconds. It is null for image stories.
data.items[].audioId / data.items[].soundTitle / data.items[].soundAuthorAudio ID, sound name, and sound author for stories with sound. They are null when the story has no sound data.
data.items[].paidPartnershiptrue when the story is marked as a paid partnership.
data.items[].username / data.items[].displayName / data.items[].userId / data.items[].verifiedAccount that posted the story: handle, display name, numeric user ID, and verified status.
foundtrue when the lookup found the account's stories.

Notes

  • Pass the handle without the @, for example nba.
  • Set requireFields to audioId, soundAuthor, or soundTitle to force a source that returns those fields. This can raise the price.
  • Use Instagram User Highlights for saved stories that stay on a profile after the 24-hour window.
  • Use Instagram Stories (basic) for a lighter version of this data.

Pricing

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

สำรวจเพิ่มเติม

APIs ที่เกี่ยวข้อง

APIs ทั้งหมด
APIราคาการตอบกลับ
Instagramเริ่มต้นที่ $0.0022 ต่อครั้งJSON
Instagramเริ่มต้นที่ $0.0011 ต่อครั้งJSON
Instagramเริ่มต้นที่ $0.001 ต่อครั้งJSON
Instagramเริ่มต้นที่ $0.0011 ต่อครั้งJSON
Instagramเริ่มต้นที่ $0.0012 ต่อครั้งJSON
Instagramเริ่มต้นที่ $0.0011 ต่อครั้งJSON

คู่มือ:Instagram API cost: official limits and per-call pricesBest Instagram API in 2026: Pricing Compared

คำถาม

คำถามที่พบบ่อย

ฉันจะใช้ Instagram Stories (full) API ได้อย่างไร?

ส่งคำขอ POST ไปที่ https://api.sandbase.ai/v1/api/instagram/stories-full โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด

Instagram Stories (full) API ราคาเท่าไร?

เริ่มต้นที่ $0.0022 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน

Instagram Stories (full) API รับพารามิเตอร์อะไรบ้าง?

ที่ต้องระบุ: username (string). ตัวเลือก: requireFields (array). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์

Instagram Stories (full) API ส่งคืนอะไร?

การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส) README บนหน้านี้มีตัวอย่างการตอบกลับ

ฉันจำเป็นต้องมีบัญชีนักพัฒนาหรือ API key ของ Instagram ไหม?

ไม่จำเป็น Instagram Stories (full) ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง Instagram API แยกต่างหาก