Get highlight stories

Browse registered social-data routes across platforms, then dive into detailed reference docs

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_stories

Price: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 headerAuthorization: Bearer YOUR_API_TOKEN

Request 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)
NameLocation / typeRequiredNotesExample
highlight_idquery / stringYes
  • Highlight ID (格式/format: highlight:xxx)
highlight:18064916456320419
reel_idsquery / stringNo
  • Highlight ID list, comma separated, if not provided only query highlight_id
firstquery / integerNo
  • Items per page
lastquery / integerNo
  • Get last N items

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
FieldTypeNotesExample
data.story_highlight_trayunknown
  • Highlight story collection
idunknown
  • Story ID
titleunknown
  • Highlight title
itemsunknown
  • Story list
pkunknown
  • Story PK
taken_atunknown
  • Published timestamp
media_typeunknown
  • Media type (1=image, 2=video)
image_versions2unknown
  • Image version list
video_versionsunknown
  • Video version list (exists for videos)
userunknown
  • Publisher info

Common response envelope

Common fields for response status, request identifiers and data

FieldTypeNotesExample
codeinteger
  • HTTP status code | HTTP状态码
request_idstring | null
  • Unique request identifier | 唯一请求标识符
messagestring
  • Response message (EN-US) | 响应消息 (English)
message_zhstring
  • Response message (ZH-CN) | 响应消息 (中文)
supportstring
  • Support message | 支持消息
timestring
  • The time the response was generated | 生成响应的时间
time_stampinteger
  • The timestamp the response was generated | 生成响应的时间戳
time_zonestring
  • The timezone of the response time | 响应时间的时区
docsstring | null
  • Link to the API Swagger documentation for this endpoint | 此端点的 API Swagger 文档链接
cache_messagestring | null
  • Cache message (EN-US) | 缓存消息 (English)
cache_message_zhstring | null
  • Cache message (ZH-CN) | 缓存消息 (中文)
cache_urlstring | null
  • The URL to access the cached result | 访问缓存结果的 URL
routerstring
  • The endpoint that generated this response | 生成此响应的端点
paramsunknown
  • The parameters used in the request | 请求中使用的参数
dataunknown | null
  • The response data | 响应数据

Errors and limits

The docs cover not only success responses, but also auth failures, rate limits, and data-service errors

CodeMeaningNotes
200SuccessThe request completed and returned the standard response envelope.
401UnauthorizedThe token is missing, invalid, or no longer active.
429Rate limitedThe request exceeded token, user, or plan-level throughput limits.
502Service unavailableThe gateway could not obtain a healthy result. Retry in a moment.
Next steps

New to the API? Read the guide or explore examples