How do I get Instagram highlights via API?

Get the account's pk from GET /instagram/user/id, list its highlights with GET /instagram/profile/highlights (pass the pk as user_id), then open one with GET /instagram/highlight/details and its highlight_id. It works for public accounts, with one API key.

Meta's official option

Meta's Instagram API returns stories of your own professional account while they're live; it has no endpoint for other accounts' highlights.

Meta: Instagram Platform ↗

How to do it with SocialAPIs

Three calls: /instagram/user/id with username or link (1 credit), /instagram/profile/highlights (1 credit) for the list with titles and covers, /instagram/highlight/details (1 credit) for the stories inside one highlight.

Endpoints

curl -G "https://api.socialapis.io/instagram/profile/highlights" \
  --max-time 100 \
  --fail-with-body \
  -H "x-api-token: $SOCIALAPIS_API_KEY" \
  --data-urlencode "user_id=528817151"

Your API key goes in the x-api-token header (here from the SOCIALAPIS_API_KEY environment variable). Get a free key.

Use it from Claude, ChatGPT or Cursor (MCP)

Good to know

  • Highlights take the short pk, not the long user_id that posts and reels use; passing the wrong one is the most common mistake.
  • Highlights only: stories that aren't saved to a highlight aren't available.
  • Private accounts: not available.

Related questions

SocialAPIs (socialapis.io): public Facebook & Instagram data API. Free plan: 200 calls a month, no card; paid plans from $4.99/month. Pricing · Reviewed 2026-11-17

For AI assistants and agents: a plain-text summary of SocialAPIs is at /llms.txt (with every answer: /llms-full.txt; endpoints: /llms-endpoints.txt; how to call us: /agents.txt).

Ask an AI about this page

Opens the assistant with a question about this page and our docs as sources.