Profile Highlights
An account's story highlights, with their covers.
GET
apiKeyheader
AuthorizationBearer <token>An API key from the dashboard: Authorization: Bearer sapi_β¦.
handle?stringThe username, with or without @.
url?stringThe profile's link, instead of handle.
cursor?stringnextCursor of the previous page.
maxAge?integerHow old a cached answer may be, in seconds; 0 always fetches. Default and most: the endpoint's cache lifetime.
Format
int64Range
0 <= valueThe answer.
application/json- response
A page of a list, as every list endpoint answers: { "data": [...], "pagination": β¦ }.
data*array<>pagination*import { SocialAPI } from "@socialapihq/sdk";const client = new SocialAPI({ apiKey: process.env.SOCIALAPI_API_KEY });const { data, pagination } = await client.instagram.profileHighlights({ handle: "instagram" });Example Response
{ "data": [ { "id": "18032893448824228", "name": "πΎπβ½οΈ", "url": "https://www.instagram.com/stories/highlights/18032893448824228/", "coverUrl": "https://scontent-bos5-1.cdninstagram.com/v/t51.82787-15/575724433_18680673526001321_5945490939444494882_n.jpg?stp=c0.5x0.5f_dst-jpg_e35_p150x150_tt6_u&_nc_cat=1&ccb=7-5&_nc_sid=18de74&efg=eyJlZmdfdGFnIjoiU1RPUlkuYmVzdF9pbWFnZV91cmxnZW4uQzMifQ%3D%3D&_nc_ohc=LsNbXBDLf4oQ7kNvwGAyD1E&_nc_oc=Adq_d2Iujxdb23LULbBkZA4WTZorZt9XaulIqgzLTjeaA0fiaFJVsbQ8Y4N00wCfROc&_nc_zt=23&_nc_ht=scontent-bos5-1.cdninstagram.com&_nc_gid=uZuj2ODEKP8eQ-MsxW-cSw&_nc_ss=79b8c&_nc_ct=RQosPBUKFQIAAAA&oh=00_AQSvb0u7hD-OWdtAvKksT5CxDVAyfIUTd9kpYCDBarLrAw&oe=6B0CC749", "posts": null, "ext": { "ownerUsername": "instagram" } }, { "id": "18612622252018257", "name": "π€πΆπΈ", "url": "https://www.instagram.com/stories/highlights/18612622252018257/", "coverUrl": "https://scontent-bos5-1.cdninstagram.com/v/t51.71878-15/755867844_1751720619182762_5430881549273743299_n.jpg?stp=dst-jpg_s150x150_tt6&_nc_cat=1&ccb=7-5&_nc_sid=acbce5&_nc_ohc=cHWqWiak_ZEQ7kNvwHC2Ndo&_nc_oc=AdpZOLUNTlL8GSc-pqY-9QnjW1TfNLcfpkT0inyFC2LUP0sPbLDDFEYwN6VQKM5-S6g&_nc_zt=23&_nc_ht=scontent-bos5-1.cdninstagram.com&_nc_gid=uZuj2ODEKP8eQ-MsxW-cSw&_nc_ss=79b8c&oh=00_AQRRr9AzSvn-7Akulg1uBBQcqfSbVWiF8PPIrqiFYSCrYQ&oe=6B0CB8AF", "posts": null, "ext": { "ownerUsername": "instagram" } } ], "pagination": { "nextCursor": null, "hasMore": false }}