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

Instagram User Highlights

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

List an Instagram account's story highlight reels by handle.

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

Playground

อินพุต
Instagram username without the leading @.
Instagram numeric user id (optional, faster than handle).
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 `mediaCount`, 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 highlight 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 User Highlights API

This API returns the story highlight reels of an Instagram account. It needs the account's handle, and it also accepts a numeric userId. Each highlight comes back with its id, title, owner and avatar image.

Use cases

  • Show the titles of an account's highlight reels in a brand monitoring dashboard.
  • Collect highlight ids for a list of accounts, then fetch the stories inside each one.
  • Check whether a creator or brand keeps highlights such as product or campaign collections.
  • Map a handle to its numeric userId and avatar URL in the same call.

Request

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

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

Parameters

NameTypeRequiredDescription
handlestringYesInstagram username without the leading @.
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 mediaCount, and it is served only by a source that returns every one
userIdstringNoInstagram numeric user id (optional, faster than handle).

Example response

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

{
  "data": {
    "highlights": [
      {
        "avatarUrl": "https://scontent-iad6-1.cdninstagram.com/v/t51.2885-19/29090066_159271188110124_…",
        "coverUrl": "",
        "createdUtc": null,
        "id": "18195781759377100",
        "mediaCount": null,
        "ownerHandle": "nasa",
        "title": "Roman",
        "userId": "528817151"
      }
    ]
  },
  "found": true
}

Response fields

FieldMeaning
foundtrue when the account was found. A lookup that finds nothing returns false.
data.highlights[]One entry per highlight reel on the account.
data.highlights[].idIdentifier of the highlight reel. Use it to look up the reel's contents.
data.highlights[].titleName of the highlight as shown on the profile, for example Artemis III.
data.highlights[].ownerHandleInstagram handle of the account that owns the highlight.
data.highlights[].userIdNumeric Instagram id of the owning account.
data.highlights[].avatarUrlURL of the owner's profile picture, not of the highlight cover.
data.highlights[].coverUrlURL of the highlight cover image. It can be an empty string.
data.highlights[].createdUtc / data.highlights[].mediaCountCreation time and number of items in the highlight. Both can be null in the default response.

Notes

  • Pass userId along with handle for a faster lookup. The userId appears in each highlight, so you can reuse it on later calls.
  • createdUtc and mediaCount can be null. Add them to requireFields to get a source that returns them. This can raise the price of the call.
  • Pass a highlight id to Instagram Highlight Detail to get the contents of one reel.

Pricing

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

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

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

APIs ทั้งหมด
APIราคาการตอบกลับ
Instagramเริ่มต้นที่ $0.0012 ต่อครั้ง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 User Highlights API ได้อย่างไร?

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

Instagram User Highlights API ราคาเท่าไร?

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

Instagram User Highlights API รับพารามิเตอร์อะไรบ้าง?

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

Instagram User Highlights API ส่งคืนอะไร?

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

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

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