Install
openclaw skills install @datavoyantlab/instagram-highlights-scraperExtract public Instagram Highlights from Highlight URLs through Apify, including their story media and available metadata. Use when a user supplies instagram.com/stories/highlights URLs or asks to download Highlight contents; do not use for current Stories, followers, following lists, posts, or comments.
openclaw skills install @datavoyantlab/instagram-highlights-scraperUse DataVoyantLab's Instagram Highlights Scraper on Apify to extract story items from public Instagram Highlight URLs.
This skill uses a paid external service on Apify. It requires a paid Apify account or an approved DataVoyantLab Free-user entitlement.
The validated Highlight URLs are sent to Apify to perform the scrape. Tell the user this before execution. Never send the Apify token anywhere except the documented Apify API.
sUluczVbvIYrxH5n7{"links": ["https://www.instagram.com/stories/highlights/1234567890/"]}This Actor expects Highlight URLs, not profile URLs or usernames. Route current
24-hour Stories to instagram-stories-scraper.
APIFY_TOKEN and never display or persist it./stories/highlights/ followed by a numeric Highlight ID.jq and include:{
"skill": true,
"skillName": "instagram-highlights-scraper",
"skillVersion": "1.0.1"
}
Fetch https://api.apify.com/v2/acts/sUluczVbvIYrxH5n7. Select the latest
active entry in .data.pricingInfos and read the Actor-start price plus
link-request.eventPriceUsd.
Calculate:
maximum charge = actor start + (unique link count × link-request) + $0.01
Round up to the next cent. If active pricing or either required event is missing, do not start the run.
Before every billable run, show the user:
maxTotalChargeUsd cap; andAPIFY_TOKEN will be billed.Ask the user to explicitly approve that exact charge cap. A request to extract Highlights is not payment authorization. Do not send a run request without an affirmative reply. If the links, pricing, or cap change, recalculate and ask again.
For 10 or fewer Highlight links, use:
POST https://api.apify.com/v2/acts/sUluczVbvIYrxH5n7/run-sync-get-dataset-items
?timeout=300
&clean=true
&format=json
&maxTotalChargeUsd=<calculated cap>
Authorization: Bearer $APIFY_TOKEN
Content-Type: application/json
For larger batches, use
POST /v2/acts/sUluczVbvIYrxH5n7/runs?waitForFinish=60&maxTotalChargeUsd=<cap>,
poll the run to terminal status, then fetch its default dataset.
Run only after the approval above.
Return the complete dataset items, the maximum authorized charge, and the run and dataset identifiers when available. Group or count the returned story items by submitted Highlight URL without removing the raw fields.
An empty successful result can mean that a Highlight is unavailable, private, expired, or contains no retrievable public items. Report that fact without inventing data.
If Apify rejects an unapproved Free account, tell the user to email
datavoyant@gmail.com with their Apify user ID to request access.