Create Instagram Followers/Following Scraper task
Authorizations
X-API-Key or AuthorizationstringheaderrequiredWe recommend sending your Personal API Key in x-api-key. Datablist handles token renewal for you. Optionally, use an access token as Authorization: Bearer <token> if your application manages tokens itself. Send only one credential header.
Generate followers or following users for one or more Instagram profiles, without input rows or a Datablist collection. Results are flat objects, not per-input enrichment outcomes.
Public ID: instagram-source. Get the current definition. You can read it without authentication.
Settings
Send profiles as an array of usernames, numeric user ID strings, or profile URLs. Each element is one profile.
Set scrapingType to followers (default) or following. To limit the request, set limitPerProfile to a positive integer. Without it, there is no requested total limit, including across pagination. API tasks can return more than 100,000 results. Provider pages can exceed a smaller requested limit.
The task handles Instagram pagination for you. Do not send collection resume settings.
Followers results identify the starting profile through followerSourceProfileId, followerSourceProfileUsername, and followerSourceProfileUrl. Following mode uses the equivalent followingSource… fields.
resumeScrapestringResume a followers/following scrape started in this workspace within the last 7 days. When you resume a scrape, the selected profile and scrape type are reused automatically. ⚠️ A Datablist collection can contain up to 100k scraped profiles. To scrape more, resume this scrape in a different collection.
profilesstring[] | stringInstagram profiles to scrape, as an array of usernames, numeric user ID strings, or Instagram profile URLs.
Enabled when: resumeScrape==false.
Show child attributes
One or more of these schemas:
string[]Instagram profiles to scrape, as an array of usernames, numeric user ID strings, or Instagram profile URLs.
scrapingTypestringChoose whether to scrape Instagram followers or following users. Defaults to followers.
Enabled when: resumeScrape==false.
"followers", "following"limitPerProfilenumberDefine the max number of followers/following to scrape for each profile. Default to no limit. 📘 Startup estimate: 1.25 credits for 1 source profile(s). Actual charges depend on returned results.
Additional properties are supported.
Credits and limits
Cost: 0.01 credits per follower/following
Profile resolution and returned objects can consume credits, including work that generates no objects. Use credits.used on the task for actual usage. A requested result limit is not a price cap; maxCredits is a best-effort budget.
Available credits are checked before each execution, including pagination. Within an execution, profile resolution and returned rows reduce the allowance before another provider page starts. If credits run out, generated results and their charges are preserved and the task stops with error.reason: "credits_error". In-flight provider pages and concurrent work can exceed the available balance; these checks do not reserve credits. No requested result limit does not mean unlimited credits or execution time.
Tasks can run for up to 24 hours; completed, failed, or stopped tasks are kept for 90 days. Enrichment and source tasks share your account balance and task limits. Set maxCredits to stop starting new work after a credit threshold; work already underway can still exceed it. See limits and errors.
Accepted task
The API returns 202 Accepted with a task ID. Save it and check links.self every few seconds. Once the task is completed, failed, or stopped, get Instagram Followers/Following Scraper task results. The response below is sample data.
Instagram Followers/Following Scraper overview · Shared task reference