Instagram Highlights Scraper avatar

Instagram Highlights Scraper

Pricing

from $2.16 / 1,000 story items

Go to Apify Store
Instagram Highlights Scraper

Instagram Highlights Scraper

Scrape Instagram story highlights from public profiles or highlight IDs: tray, covers and every story item with media URLs and timestamps. No login.

Pricing

from $2.16 / 1,000 story items

Rating

0.0

(0)

Developer

Automation Lab

Automation Lab

Maintained by Community

Actor stats

0

Bookmarked

8

Total users

5

Monthly active users

17 days ago

Last modified

Categories

Features

Limited permissions

Share

Scrape the story highlights of public Instagram profiles without logging in. Get each highlight's ID, title and cover, then every story saved inside it, with image and video URLs, posting dates, durations, link stickers and hashtags.

Give it usernames, profile URLs or highlight IDs. Turn on list-only mode for a cheap inventory of a profile's highlights, or open them all for the full archive.

What does Instagram Highlights Scraper do?

Highlights are the story collections a profile pins under its bio. They stay up after the 24 hours of a normal story, so they are where brands keep product launches, FAQs, reviews and campaign creative. Instagram offers no export for them.

This Actor reads the highlights that Instagram shows to logged-out visitors and saves them as structured rows:

  • One highlight row per highlight: ID, title, cover, owner, tray position and number of stories.
  • One story_item row per story inside it: media URLs, type, size, posting time, duration, links and stickers.

It needs no Instagram account, cookies or session from you.

Who is it for?

  • Brand and creative researchers archiving how competitors present products in their highlights.
  • Social media agencies auditing a client's or a competitor's highlight tray before a pitch.
  • Influencer marketing teams checking which sponsors and links a creator keeps pinned.
  • Market analysts tracking when a brand adds, changes or removes a highlight, by comparing repeat runs.
  • Developers feeding highlight media into their own archive, review tool or AI pipeline.

This Actor does not cover active 24-hour stories.

Why use this Actor?

  • Stable keys for repeat runs. Every row has a key that stays the same between runs (highlight:<id> or <highlightId>:<mediaId>), so you can merge runs and see what changed.
  • Expiry you can act on. Instagram media links are signed and stop working after a while. Each story row has mediaUrlExpiresAt and a mediaExpired flag, so you know when to download.
  • A cheap inventory mode. List-only mode returns the highlights of a profile without opening them, for a fraction of the cost of a full scrape.
  • Honest about gaps. Every private account, missing profile and profile with no visible highlights gets its own row saying so, and truncated trays are flagged on the rows. You are never charged for a row you did not get.
  • Direct links. Link stickers are returned as their real destination, without Instagram's redirect.

What data can you extract?

Highlight rows

FieldDescription
keyStable key: highlight:<highlightId>
highlightIdInstagram highlight ID
highlightTitleTitle under the highlight on the profile
highlightUrlPublic URL of the highlight
highlightCoverUrlCover image (signed URL)
ownerUsername, ownerIdThe profile that owns it
itemCountStories in the highlight. Null in list-only mode
latestItemAtWhen its newest story was posted. Null for profiles in list-only mode
trayPositionPlace in the profile's tray
trayHasMoreTrue if the profile has more than the 10 highlights shown logged out

Story item rows

FieldDescription
keyStable key: <highlightId>:<mediaId>
positionPlace of the story in the highlight, from 1
mediaId, storyId, shortcodeInstagram identifiers
mediaTypeimage or video
imageUrl, videoUrlLargest image and the video file (signed URLs)
width, heightOriginal size in pixels
takenAtWhen the story was posted
durationSeconds, hasAudioFor videos
linkUrls, hashtags, locations, mentionsStickers on the story, when Instagram returns them
caption, accessibilityCaptionText, when Instagram returns it
musicTitle, musicArtistFrom a music sticker, when Instagram returns it
isPaidPartnershipWhether it is labelled as a paid partnership
mediaUrlExpiresAtWhen the signed media URLs stop working
mediaExpiredTrue if the row has no media URL, or its URL had already expired

Story rows also repeat the highlight's ID, title, URL, cover and owner, so each row stands on its own in a spreadsheet.

Target status rows

A target with nothing to return gets one row, with recordType set to target_status, so you can see the result of every name you asked for.

FieldDescription
keyStable key: target:<username or highlightId>
targetThe username or highlight ID
targetStatusprivate, not_found, or no_highlights when a public profile shows none to logged-out visitors

How much does it cost to scrape Instagram highlights?

The Actor uses pay-per-event pricing, with no monthly fee on top of your Apify plan. Proxy costs are included.

EventPrice
Run start$0.001
Each highlight row or target status row$0.0012
Each story item row$0.0027

These are the prices before your plan's volume discount, shown on the Actor's pricing tab.

Examples at these prices:

  • List the highlights of 10 profiles with 8 highlights each: 80 highlight rows, about $0.097.
  • Archive one profile with 10 highlights and 112 stories: $0.315.
  • Open one highlight with 47 stories by ID: $0.129.

Checking a private, missing or empty target has a real cost, so it is charged as one target status row. A run that checks 5 missing usernames costs $0.007. A value that is not a username or highlight ID, a target that failed, and a run that fails cost nothing. You can also cap any run with Maximum charge per run or Maximum total rows.

How to scrape Instagram highlights

  1. Open Instagram Highlights Scraper in Apify Console.
  2. Add one or more usernames or profile URLs under Usernames or profile URLs, or specific highlights under Highlight IDs or URLs.
  3. Turn on List highlights only if you only want the inventory.
  4. Set the limits you want, then click Start.
  5. Download the rows as JSON, CSV or Excel, or read them through the API. Save any media you want to keep before mediaUrlExpiresAt.

Input parameters

ParameterTypeDefaultDescription
usernamesarraynoneUsernames, @handles or profile URLs
highlightIdsarraynoneHighlight IDs, highlight:<id>, highlight URLs or instagram.com/s/ share links
listOnlybooleanfalseReturn highlight rows only and do not open them
maxHighlightsPerProfileinteger10Highlights to take from each profile, in tray order
maxItemsPerHighlightinteger100Stories to return from each highlight
maxTotalRowsinteger1000Stops the run after this many rows of both kinds together

Give at least one username or highlight ID. You can mix both in a run, and duplicates are removed.

{
"usernames": ["nasa", "https://www.instagram.com/sephora/"],
"highlightIds": ["https://www.instagram.com/stories/highlights/18277480240094052/"],
"listOnly": false,
"maxItemsPerHighlight": 100,
"maxTotalRows": 1000
}

Output example

A highlight row and one of its story items, from a real run. Media URLs are shortened here.

{
"recordType": "highlight",
"key": "highlight:18066826616637328",
"highlightId": "18066826616637328",
"highlightTitle": "Zero Excuses",
"highlightUrl": "https://www.instagram.com/stories/highlights/18066826616637328/",
"highlightCoverUrl": "https://scontent.cdninstagram.com/…/621249055_1331231705476033_6958519720051357259_n.jpg?…",
"ownerUsername": "redbull",
"ownerId": "476322",
"itemCount": 7,
"latestItemAt": "2026-02-06T15:24:02.000Z",
"trayPosition": 1,
"trayHasMore": true,
"scrapedAt": "2026-11-06T07:22:16.205Z"
}
{
"recordType": "story_item",
"key": "18420569413022317:3195125504368636533",
"highlightId": "18420569413022317",
"highlightTitle": "Watersports",
"highlightUrl": "https://www.instagram.com/stories/highlights/18420569413022317/",
"highlightCoverUrl": "https://scontent.cdninstagram.com/…/410057471_331838802960386_6355193411914580558_n.jpg?…",
"ownerUsername": "redbull",
"ownerId": "476322",
"position": 3,
"mediaId": "3195125504368636533",
"storyId": "3195125504368636533_476322",
"shortcode": "CxXXbe8rvJ1",
"mediaType": "video",
"imageUrl": "https://instagram.fagc3-2.fna.fbcdn.net/v/t51.71878-15/572443277_24885388507778695_1466885708990286440_n.jpg?stp=dst-jpg_e15_tt6&_nc_cat=110&_nc_map=urlgen_bucketless&ig_cache_key=MzE5NTEyNTUwNDM2ODYzNjUzMw%3D%3D.3-ccb7-5&ccb=7-5&_nc_sid=58cdad&efg=eyJ2ZW5jb2RlX3RhZyI6IlNUT1JZLnhwaWRzLjY0MC5zZHIudmlkZW9fZGVmYXVsdF9jb3Zlcl9mcmFtZS5DMyJ9&_nc_ohc=cbxRrTgjtHkQ7kNvwFtNFYm&_nc_oc=Ado5-AotLa1OikmBFgG6M_Q5-u1txFYCB-s4cR8di-PwL6kmSB7Xpvg1yYfa7CwjW48UoHtRX521jTvsfZ1qJyWx&_nc_zt=23&_nc_ht=instagram.fagc3-2.fna&_nc_gid=Ad78Q7X5tbsq7Oz2sJce5w&_nc_ss=70689&oh=00_AQTiWaxsIeRFwBljn5T20xoAWOndRYIldIE9AT2tzxC9pQ&oe=6AF36786",
"videoUrl": "https://instagram.fagc3-1.fna.fbcdn.net/o1/v/t2/f2/m78/AQO_x-UPe_YFmyMIJePlk5YrHnM6HGzX0cGUKYqZHneyntox9IvDb7GfRguoHwbOA0b32JfesFjpMBl0n-x_4i4SayEYRpFTMums2cc.mp4?_nc_cat=110&_nc_oc=AdoUF4GX8_22vvqsPIocfV63IB-qr3LFdfJRvsAoNzsmIGBRqq_VLazES334NEPmI3Z2EmMq7eqW_W3CGNMT3jdW&_nc_sid=5e9851&_nc_ht=instagram.fagc3-1.fna.fbcdn.net&_nc_ohc=Y_C20uczHRMQ7kNvwETNHrU&efg=eyJ2ZW5jb2RlX3RhZyI6Inhwdl9wcm9ncmVzc2l2ZS5JTlNUQUdSQU0uU1RPUlkuQzMuNzIwLmRhc2hfYmFzZWxpbmVfMV92MSIsInhwdl9hc3NldF9pZCI6NjU3NTIzMDUwNTg4Nzc3NCwiYXNzZXRfYWdlX2RheXMiOjExNDMsInZpX3VzZWNhc2VfaWQiOjEwODI2LCJkdXJhdGlvbl9zIjoxNCwidXJsZ2VuX3NvdXJjZSI6Ind3dyJ9&ccb=17-1&vs=475e8f5b6467e2dd&_nc_vs=HBksFQIYUWlnX3hwdl9wbGFjZW1lbnRfcGVybWFuZW50X3YyLzlENEJFQkI2MDdDNEU4OEVERDNEQzdDODBDNjNDQkE0X3ZpZGVvX2Rhc2hpbml0Lm1wNBUAAsgBEgAVAhg6cGFzc3Rocm91Z2hfZXZlcnN0b3JlL0dLZWFyUmJmdDFFbE92d0NBTW11eUp6MTFvbzNicGt3QUFBRhUCAsgBEgAoABgAGwKIB3VzZV9vaWwBMRJwcm9ncmVzc2l2ZV9yZWNpcGUBMRUAACa8oPXp5IiuFxUCKAJDMywXQC1mZmZmZmYYEmRhc2hfYmFzZWxpbmVfMV92MREAdegHZZSpAQA&_nc_gid=Ad78Q7X5tbsq7Oz2sJce5w&_nc_ss=70689&_nc_map=urlgen_bucketless&_nc_zt=28&oh=00_AQT1X-zgp02h8S0PosNYDHydIMHpmBxmvjX-Kkd00eAJ_Q&oe=6AEF629B",
"width": 720,
"height": 1280,
"takenAt": "2023-09-19T07:30:58.000Z",
"durationSeconds": 14.72,
"hasAudio": true,
"caption": null,
"accessibilityCaption": null,
"musicTitle": null,
"musicArtist": null,
"linkUrls": [
"https://www.redbull.com/int-en/live/red-bull-megaloop-2023"
],
"hashtags": [],
"locations": [],
"mentions": [],
"isPaidPartnership": false,
"mediaUrlExpiresAt": "2026-11-07T17:40:43.000Z",
"mediaExpired": false,
"scrapedAt": "2026-11-06T07:22:16.223Z"
}

Limits and failure behavior

  • 10 highlights per profile. Instagram shows logged-out visitors the first 10 highlights of a profile and refuses the request for more, even in its own website. A profile with more returns its first 10, with trayHasMore: true on the rows and a note in the status message. If you know the ID of a later highlight, you can still open it through Highlight IDs or URLs.
  • Some profiles show no highlights logged out. Instagram hides the tray on some public accounts for logged-out visitors. Each of these profiles returns one target_status row with no_highlights.
  • Private and missing profiles, and highlight IDs that do not exist, return one target_status row each and are listed in the status message.
  • Blocked requests are retried on a new residential address. A target that still fails is named in the status message, and the rows already saved are kept.
  • Signed media links expire, typically within days. Use mediaUrlExpiresAt to plan downloads, or run the Actor again for fresh links.
  • Stickers depend on Instagram. Music, captions and mentions are returned only when Instagram includes them for logged-out visitors, and many stories have none.

Tips for better results

  • Start with list-only mode to see what a profile has, then open only the highlights you want by ID.
  • Schedule a weekly list-only run and compare key values to detect new or removed highlights.
  • Compare itemCount and latestItemAt over time to see when a brand updates a highlight.
  • Lower Maximum story items per highlight when you only need a sample of each highlight.

Integrations

Connect the Actor to the tools you already use:

  • Google Sheets: keep a live inventory of competitor highlights for your creative team.
  • Slack: post a message when a scheduled run finds a new key.
  • Make, Zapier and n8n: download each videoUrl to your own storage before it expires.
  • Webhooks: start your own processing as soon as a run finishes.

Use the Actor through the API

cURL

curl -X POST "https://api.apify.com/v2/acts/automation-lab~instagram-highlights-scraper/run-sync-get-dataset-items?token=$APIFY_TOKEN" \
-H "Content-Type: application/json" \
-d '{"usernames": ["nasa"], "listOnly": true}'

JavaScript

import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: process.env.APIFY_TOKEN });
const run = await client.actor('automation-lab/instagram-highlights-scraper').call({
usernames: ['nasa'],
maxItemsPerHighlight: 50,
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items.filter((row) => row.recordType === 'story_item').length);

Python

import os
from apify_client import ApifyClient
client = ApifyClient(os.environ["APIFY_TOKEN"])
run = client.actor("automation-lab/instagram-highlights-scraper").call(run_input={
"usernames": ["nasa"],
"maxItemsPerHighlight": 50,
})
for row in client.dataset(run["defaultDatasetId"]).iterate_items():
if row["recordType"] == "story_item":
print(row["key"], row["videoUrl"] or row["imageUrl"])

Use with MCP and AI agents

Connect this Actor to Claude Code through the Apify MCP server:

claude mcp add --transport http apify \
"https://mcp.apify.com?tools=automation-lab/instagram-highlights-scraper"

Claude Desktop

Add this server in Claude Desktop settings:

{
"mcpServers": {
"apify": {
"url": "https://mcp.apify.com?tools=automation-lab/instagram-highlights-scraper"
}
}
}

Cursor

Use the same mcpServers JSON in Cursor's MCP settings.

VS Code

Add the same Apify MCP URL through VS Code's MCP server configuration.

Reading results

Selecting this Actor also adds the get-actor-run, get-dataset-items, get-key-value-store-record and abort-actor-run tools. Start one run and keep its run ID. call-actor waits 45 seconds at most, so if the run is still going, check that same run with get-actor-run instead of starting another. Then read the rows with get-dataset-items using the dataset ID, an explicit limit and offset, and only the fields you need. Media URLs are long, so read pages of about 20 rows, and keep full exports outside the model's context.

Example prompts:

Data handling and dependencies

The Actor reads pages and data Instagram serves to logged-out visitors, through Apify residential proxies. It uses no third-party data provider, no AI service and no account of yours. It stores nothing beyond your run's dataset and logs, which follow your Apify retention settings. Scraped rows can contain usernames and whatever people show in their stories, so treat them as personal data where that applies.

Instagram can change what it shows logged-out visitors at any time, which can change what this Actor returns.

Failed operations send sanitized diagnostic input, exceptions and Actor/build/run IDs to our private GlitchTip service for repair. Secret fields and URL queries are removed, and reports are retained for 30 days.

This Actor collects only publicly visible content and does not log in or access private accounts. Whether you may use that data depends on your location and purpose. Personal data is protected by laws such as the GDPR and CCPA, and media belongs to its creators. Use the data responsibly, respect copyright, and ask a lawyer if you are unsure. The Actor is not affiliated with or endorsed by Instagram or Meta.

FAQ

Do I need an Instagram account or cookies?

No. The Actor works only with what Instagram shows to logged-out visitors.

Why did I get only 10 highlights from a profile with more?

Instagram stops at 10 for logged-out visitors. Rows from that profile have trayHasMore: true. Later highlights can still be opened if you have their ID or URL.

Why did a public profile return no highlights?

Either the profile has none, or Instagram does not show them to logged-out visitors. You get one status row saying so, charged as a highlight row, and you can check by opening the profile in a private browser window.

The link has expired. Check mediaUrlExpiresAt on the row, and run the Actor again for fresh links. Download files you want to keep.

How do I find a highlight ID?

Open the highlight on Instagram and copy the number in the URL, or take highlightId from a list-only run. Share links in the instagram.com/s/ form also work.

Does it scrape active stories?

No. This Actor covers highlights only, not active 24-hour stories.