idstringrequerido
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.
Su salida aparecerá aquí
Complete las entradas y luego haga clic en Ejecutar.
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.
Empiece a construir
Endpoint de la API de la plataforma con autenticación unificada y seguimiento de uso.
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"
}'Configure su clave de API de SandBase en el entorno de su servidor. Las solicitudes usan autenticación Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Conserve su clave en el servidor. No la exponga en código del navegador.
idstringrequeridoThe id of the highlight to retrieve details for.
Respuesta de ejemplo guardada para esta API; no se realiza ninguna solicitud en vivo al verla.
No se ha publicado ninguna respuesta guardada. Ejecute la API en Playground para inspeccionar su respuesta.
Explorar más
| API | Precio | Respuesta |
|---|---|---|
Instagram Highlight DetailEsta API Instagram | Desde $0.0012 por llamada | JSON |
Instagram | Desde $0.0011 por llamada | JSON |
Instagram | Desde $0.001 por llamada | JSON |
Instagram | Desde $0.0011 por llamada | JSON |
Instagram | Desde $0.0012 por llamada | JSON |
Instagram | Desde $0.0011 por llamada | JSON |
Guías:Instagram API cost: official limits and per-call pricesBest Instagram API in 2026: Pricing Compared
Preguntas
Envía una solicitud POST a https://api.sandbase.ai/v1/api/instagram/highlight-detail con tu clave API de SandBase en el encabezado Authorization (Bearer) y los parámetros como un cuerpo JSON. También puedes probarlo en el Playground de esta página sin escribir código.
Desde $0.0012 por llamada, facturado desde tu saldo de SandBase. Solo se te cobra por las llamadas que haces; no hay suscripción.
Requeridos: id (string). La tabla de Parámetros y el Playground de esta página enumeran todos los campos.
Una respuesta JSON devuelta en la misma solicitud HTTP (sincrónica). El README de esta página incluye una respuesta de ejemplo.
No. Instagram Highlight Detail funciona a través de SandBase, así que una sola clave API de SandBase cubre este endpoint y todas las demás APIs y modelos del catálogo. No necesitas solicitar acceso a la API de Instagram por separado.