Highlights
List an account’s story highlights, then fetch the items of one.
Endpoint
GET
/s/instagram/highlightsSend your API key in the X-API-Key header. instagram is the usual service slug; use the one shown on your subscription if it differs.
Query parameters
| Name | Description |
|---|---|
usernamerequired | Account name, with or without the leading @.Example: natgeo |
Example request
curl '/s/instagram/highlights?username=natgeo' \
-H 'X-API-Key: YOUR_API_KEY'Example response
The result is in data. Fields the platform didn't report are left out. Field reference: response shapes.
{
"data": {
"items": [
{
"id": "17900000000000001",
"title": "Travel",
"cover": "https://scontent.cdninstagram.example/hl1.jpg"
},
{
"id": "17900000000000002",
"title": "Food",
"cover": "https://scontent.cdninstagram.example/hl2.jpg",
"count": 4
}
]
}
}Notes
- Pass a highlight’s id to GET /highlight?id=<id> to get its stories (same shape as /stories).