Install
openclaw skills install @datavoyantlab/instagram-following-scraperExtract the accounts followed by public Instagram profiles through Apify. Use when a user asks who an Instagram account follows or needs following-list usernames and public profile fields; do not use for follower lists, Stories, Highlights, posts, or comments.
openclaw skills install @datavoyantlab/instagram-following-scraperUse DataVoyantLab's Instagram Following Scraper on Apify to return the public accounts followed by one or more Instagram profiles.
This skill uses a paid external service on Apify. It requires a paid Apify account or an approved DataVoyantLab Free-user entitlement.
The requested usernames 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.
xDzzMiRH9Ha4YgBUy{"usernames": ["natgeo"]}Do not use this Actor to find who follows the target. That is the
instagram-followers-scraper skill.
APIFY_TOKEN and never display or persist it.@username values, or Instagram profile URLs.jq and include:{
"skill": true,
"skillName": "instagram-following-scraper",
"skillVersion": "1.0.1"
}
Fetch https://api.apify.com/v2/acts/xDzzMiRH9Ha4YgBUy. Select the latest
active entry in .data.pricingInfos, then read:
minimalMaxTotalChargeUsd;following-item-fetched.eventPriceUsd.Use the budget explicitly supplied by the user. Otherwise use 5 USD. Reject a
user budget below minimalMaxTotalChargeUsd; never silently raise it.
Estimate the maximum result count as:
floor((maximum charge - Actor-start price) / following-item price)
Treat this as an estimate. The actual public following list can be smaller. If the active price or required events cannot be read, do not start the run.
Before every billable run, show the user:
APIFY_TOKEN will be billed.Ask the user to explicitly approve that exact charge cap. A request for a following list is not payment authorization. Do not start the run without an affirmative reply. If the usernames, pricing, or cap change, recalculate and ask again.
Start:
POST https://api.apify.com/v2/acts/xDzzMiRH9Ha4YgBUy/runs
?waitForFinish=60
&maxTotalChargeUsd=<user budget or 5>
Authorization: Bearer $APIFY_TOKEN
Content-Type: application/json
Poll GET /v2/actor-runs/<run ID>?waitForFinish=60 until terminal status. On
SUCCEEDED, retrieve:
GET /v2/actor-runs/<run ID>/dataset/items?clean=true&format=json
Run only after the approval above.
Return all retrieved items, run ID, dataset ID, requested usernames, applied maximum charge, and whether the result may be partial because the charge limit was reached.
Do not claim completeness when the cap stopped collection. For a failed terminal status, return the public status and run ID without disclosing private implementation details.
If Apify rejects an unapproved Free account, tell the user to email
datavoyant@gmail.com with their Apify user ID to request access.