idstringzorunlu
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.
Çıktınız burada görünecek
Girdileri tamamlayın, ardından Çalıştır'a tıklayın.
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.
Geliştirmeye başlayın
Birleşik kimlik doğrulama ve kullanım takibi sunan Platform API uç noktası.
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 anahtarınızı sunucu ortamınıza ayarlayın. İstekler Bearer kimlik doğrulaması kullanır.
export SANDBASE_API_KEY="YOUR_API_KEY"Anahtarınızı sunucuda tutun. Tarayıcı kodunda açığa çıkarmayın.
idstringzorunluThe id of the highlight to retrieve details for.
Bu API için kaydedilmiş örnek yanıt; görüntülerken canlı istek yapılmaz.
Yayınlanmış bir kaydedilmiş yanıt yok. Yanıtını incelemek için API'yi Playground'da çalıştırın.
Daha fazlasını keşfedin
| API | Fiyat | Yanıt |
|---|---|---|
Instagram | Kullanım başına $0.0012'den itibaren | JSON |
Instagram | Kullanım başına $0.0011'den itibaren | JSON |
Instagram | Kullanım başına $0.001'den itibaren | JSON |
Instagram | Kullanım başına $0.0011'den itibaren | JSON |
Instagram | Kullanım başına $0.0012'den itibaren | JSON |
Instagram | Kullanım başına $0.0011'den itibaren | JSON |
Kılavuzlar:Instagram API cost: official limits and per-call pricesBest Instagram API in 2026: Pricing Compared
Sorular
SandBase API anahtarınızı Authorization başlığında (Bearer) ve parametreleri JSON gövdesi olarak ile https://api.sandbase.ai/v1/api/instagram/highlight-detail adresine bir POST isteği gönderin. Ayrıca bu sayfadaki Playground’da kod yazmadan da deneyebilirsiniz.
çağrı başına $0.0012'dan başlayan, SandBase bakiyenizden tahsil edilir. Yalnızca yaptığınız çağrılar için ücretlendirilirsiniz; abonelik yoktur.
Gerekli: id (string). Parametreler tablosu ve bu sayfadaki Playground, tüm alanları listeler.
Aynı HTTP isteğinde döndürülen bir JSON yanıtı (senkron). Bu sayfadaki README'de örnek bir yanıt yer alır.
Hayır. Instagram Highlight Detail, SandBase üzerinden çalışır; bu nedenle tek bir SandBase API anahtarı bu uç noktayı ve katalogdaki diğer tüm API'leri ve modelleri kapsar. Instagram API erişimi için ayrıca başvuru yapmanız gerekmez.