idstringआवश्यक
The id of the highlight to retrieve details for.
https://api.sandbase.ai/v1/api/instagram/highlight-detailFetch the details and media items of a single Instagram story highlight by id.
आपका आउटपुट यहाँ दिखाई देगा
इनपुट पूरा करें, फिर Run पर क्लिक करें।
This API returns the details of one Instagram story highlight: its title, owner handle, cover image, and the media items inside it. It needs the highlight id as input.
title and mediaCount over time.curl -X POST "https://api.sandbase.ai/v1/api/instagram/highlight-detail" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"id": "18201653992314974"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | The id of the highlight to retrieve details for. |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"data": {
"avatarUrl": "https://scontent-sea5-1.cdninstagram.com/v/t51.2885-19/29090066_159271188110124_…",
"coverUrl": "https://scontent-sea5-1.cdninstagram.com/v/t51.71878-15/718648521_12119525676283…",
"createdUtc": 1780937715,
"id": "18201653992314974",
"items": [
{
"code": "DZTBP2mCTYj",
"createdUtc": 1780862187,
"durationSeconds": 45.8,
"hasAudio": true,
"height": 1920,
"id": "3914477988573951523",
"image": "https://scontent-sea5-1.cdninstagram.com/v/t51.71878-15/720146318_86724670251437…",
"mediaType": 2,
"paidPartnership": false,
"productType": "story",
"videoUrl": "https://scontent-sea5-1.cdninstagram.com/o1/v/t2/f2/m78/AQMNdjoi8emz-9Ae21X6Ohss…",
"width": 1080
}
],
"mediaCount": 20,
"ownerHandle": "nasa",
"title": "Artemis III"
},
"found": true
}
| Field | Meaning |
|---|---|
found | true when the highlight exists. A lookup that finds nothing returns false. |
data.id / data.title | The highlight id and the title shown on the profile. |
data.ownerHandle | Instagram username of the account that owns the highlight. |
data.createdUtc | Time the highlight was created, as a Unix timestamp in seconds (UTC). |
data.mediaCount | Total number of media items in the highlight. The items list in the response can hold fewer entries than this number. |
data.coverUrl / data.avatarUrl | Image URL of the highlight cover and of the owner's profile picture. |
data.items[].id / data.items[].code | The id and the short code of each story item. |
data.items[].mediaType | Numeric media type. In this response 1 marks an image item and 2 marks a video item. |
data.items[].image / data.items[].videoUrl | Image URL of the item. Video items also include a videoUrl. |
data.items[].durationSeconds / data.items[].hasAudio | Length of a video item in seconds and whether it has an audio track. Both appear only on video items. |
data.items[].width / data.items[].height | Pixel size of the item as given in the response. |
createdUtc Unix timestamp in seconds, which is the time that story was posted.data.items[].productType is story for the items in this highlight.Billed at the actual cost of each call, about $0.0012 for the request above. Failed calls are not charged.
बिल्डिंग शुरू करें
एकीकृत authentication और usage tracking के साथ Platform API endpoint.
curl -X POST "https://api.sandbase.ai/v1/api/instagram/highlight-detail" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"id": "18201653992314974"
}'अपने SandBase API key को अपने सर्वर environment में सेट करें। Requests Bearer authentication का उपयोग करती हैं।
export SANDBASE_API_KEY="YOUR_API_KEY"अपना key सर्वर पर रखें। इसे browser code में expose न करें।
idstringआवश्यकThe id of the highlight to retrieve details for.
इस API के लिए सेव किया गया example response; इसे देखते समय कोई live request नहीं की जाती।
कोई सेव response प्रकाशित नहीं किया गया है। इसका response देखने के लिए Playground में API चलाएँ।
और जानें
| 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
प्रश्न
https://api.sandbase.ai/v1/api/instagram/highlight-detail पर Authorization header (Bearer) में अपनी SandBase API key और parameters को JSON body के रूप में भेजें। आप इस पेज के Playground में बिना code लिखे भी इसे आज़मा सकते हैं।
$0.0012 से प्रति call, आपकी SandBase balance से बिल किया जाएगा। आपसे केवल आपके किए गए calls के लिए शुल्क लिया जाता है; कोई subscription नहीं है।
आवश्यक: id (string)। Parameters table और इस पेज का Playground हर field सूचीबद्ध करते हैं।
एक JSON response जो उसी HTTP request में लौटाया जाता है (synchronous)। इस पेज का README एक sample response शामिल करता है।
नहीं। Instagram Highlight Detail SandBase के माध्यम से चलता है, इसलिए एक SandBase API key इस endpoint और catalog के हर अन्य API और model को कवर करती है। आपको अलग से Instagram API access के लिए आवेदन करने की आवश्यकता नहीं है।