API DocsinstagramDataGet highlight stories
Get highlight stories
What this API is for
- Get Instagram Highlight's detailed story/post content
- Returns all Stories media in the highlight collection
GET
/openapi/api/v1/instagram/v3/get_highlight_storiesPrice:Price unavailable · Actual charges depend on free quota and account discounts
Authentication
All API requests require a Bearer project token in the Authorization header
Authorization header
Authorization: Bearer YOUR_API_TOKENRequest parameters
- highlight_id: Highlight ID, format highlight:xxx (get from get_user_highlights API)
- reel_ids: Highlight ID list, comma separated (optional, if not provided only queries the highlight_id)
- Example: highlight:18064916456320419,highlight:18155682898389765
- Can query multiple highlights at once
- first: Items per page (default 3)
- last: Get last N items (default 2)
| Name | Location / type | Required | Notes | Example |
|---|---|---|---|---|
| highlight_id | query / string | Yes |
| highlight:18064916456320419 |
| reel_ids | query / string | No |
| |
| first | query / integer | No |
| |
| last | query / integer | No |
|
Request body example
highlight_id = "highlight:18064916456320419" # reel_ids = "highlight:18064916456320419,highlight:18155682898389765"
Request examples
curl -X GET "https://api.trmesh.com/openapi/api/v1/instagram/v3/get_highlight_stories" \ -H "Authorization: Bearer sdc_your_project_token" \ -H "Accept: application/json"
Response fields
- data.story_highlight_tray: Highlight story collection
- id: Highlight ID
- title: Highlight title
- items: Story list
- id: Story ID
- pk: Story PK
- taken_at: Published timestamp
- media_type: Media type (1=image, 2=video)
- image_versions2: Image version list
- video_versions: Video version list (exists for videos)
- user: Publisher info
| Field | Type | Notes | Example |
|---|---|---|---|
| data.story_highlight_tray | unknown |
| |
| id | unknown |
| |
| title | unknown |
| |
| items | unknown |
| |
| pk | unknown |
| |
| taken_at | unknown |
| |
| media_type | unknown |
| |
| image_versions2 | unknown |
| |
| video_versions | unknown |
| |
| user | unknown |
|
Common response envelope
Common fields for response status, request identifiers and data
| Field | Type | Notes | Example |
|---|---|---|---|
| code | integer |
| |
| request_id | string | null |
| |
| message | string |
| |
| message_zh | string |
| |
| support | string |
| |
| time | string |
| |
| time_stamp | integer |
| |
| time_zone | string |
| |
| docs | string | null |
| |
| cache_message | string | null |
| |
| cache_message_zh | string | null |
| |
| cache_url | string | null |
| |
| router | string |
| |
| params | unknown |
| |
| data | unknown | null |
|
Errors and limits
The docs cover not only success responses, but also auth failures, rate limits, and data-service errors
| Code | Meaning | Notes |
|---|---|---|
| 200 | Success | The request completed and returned the standard response envelope. |
| 401 | Unauthorized | The token is missing, invalid, or no longer active. |
| 429 | Rate limited | The request exceeded token, user, or plan-level throughput limits. |
| 502 | Service unavailable | The gateway could not obtain a healthy result. Retry in a moment. |
Next steps
New to the API? Read the guide or explore examples