Instagram Scraper – Profiles, Posts & Reels avatar

Instagram Scraper – Profiles, Posts & Reels

Pricing

from $3.00 / 1,000 media scrapeds

Go to Apify Store
Instagram Scraper – Profiles, Posts & Reels

Instagram Scraper – Profiles, Posts & Reels

Extract public Instagram profiles, recent posts, Reels and carousels using usernames or URLs. Export available captions, dates and engagement metrics as JSON or CSV. Clear per-target coverage and no Instagram login required; availability varies.

Pricing

from $3.00 / 1,000 media scrapeds

Rating

0.0

(0)

Developer

OverBifrost

OverBifrost

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

6 days ago

Last modified

Categories

Features

Limited permissions

Share

Instagram Scraper for profiles, posts and Reels

Extract public Instagram profiles, recent posts, Reels and carousels from a list of usernames or links. Get captions, publication dates, available engagement counts and media URLs, then export the results to JSON, CSV or Excel. No Instagram account, password or session cookie is required.

Use Instagram Scraper to research a list of creators, compare recent content from known competitors, or collect post data for a spreadsheet or application. You can mix profile and individual post URLs in one run. Repeated media is saved once, with its contributing inputs preserved in the full output.

This tool works with profiles and posts you supply. It does not discover accounts through keyword or hashtag search. Profile feeds cover the recent items exposed publicly, not an account's complete history.

How to scrape Instagram data

  1. Open Input and enter a username such as nasa, a public profile URL, or an individual post/Reel link.
  2. Start with 3 recent posts/Reels per profile. Set this to 0 for profile details only.
  3. Choose Residential under Connection for profiles and feeds. For direct post links only, Datacenter is also available. The per-result prices are the same for either connection.
  4. Set a maximum cost per run in Apify's run options and start the Actor. The small example below costs $0.01305 if it delivers one profile and three media records.
  5. Open Instagram records and Run summary. Export your Dataset, or enable Create an additional media CSV file if you want a separate media.csv.

Copy-and-paste example

This is the small example supplied by the input form:

{
"targets": ["nasa"],
"maxMediaPerProfile": 3,
"resultsLimit": 10,
"proxyStrategy": "APIFY_RESIDENTIAL",
"writeCsv": false
}

It requests one profile and up to three posts or Reels. Maximum media results (resultsLimit) counts saved media across the run; profile rows are separate. Limits are ceilings, so inaccessible posts, filters or source coverage can produce fewer results.

The example chooses Residential explicitly. Existing saved inputs retain their connection setting; use Restore example input to load the current example. API calls that omit proxyStrategy use AUTO, which means datacenter. Datacenter can return a login requirement for profiles even when direct post links work. The Actor does not switch connections automatically after a failure.

What Instagram data can you extract?

DataFields available when the public source exposes them
Profile identityUsername, Instagram user ID, canonical profile URL and display name
Profile detailsBiography, external website, profile photo, verification, privacy and business flags
Profile countsFollowers, following and media count
Posts and ReelsShortcode, media ID, owner, canonical URL, type, caption, hashtags, mentions and publication time
EngagementLikes, comments, views, plays and shares when available; no guarantee of every count
Media referencesImage, video and thumbnail URLs, plus observable carousel children
Result contextAcquisition state, observed fields, contributing input indexes and coverage notes in the full record

Missing values remain null, rather than becoming zero. An observed zero stays zero. Media links can expire; the Actor returns references and does not download video or image files.

Example Instagram post output

This is a shortened FULL record from the NASA test collected on 16 November 2026. The counts are a historical snapshot, not current statistics. The actual full record also includes source details, observed fields and coverage notes.

{
"recordType": "MEDIA",
"identity": {
"shortcode": "DfahZrMjAqq",
"canonicalMediaUrl": "https://www.instagram.com/p/DfahZrMjAqq/",
"igMediaId": "4024676116912147114",
"ownerUsername": "nasa",
"ownerIgUserId": "528817151",
"inputRefs": [0]
},
"media": {
"mediaType": "IMAGE",
"takenAt": "2026-11-06T21:00:08.000Z",
"likeCount": 249698,
"commentCount": 833,
"viewCount": null,
"playCount": null
},
"state": "PARTIAL",
"chargeable": true
}

A PARTIAL record contains usable data with incomplete fields or coverage. A run can save useful results while other targets fail, so inspect the summary as well as the run's overall status.

Instagram profile and post examples

Export public profile details

Set maxMediaPerProfile to 0 to collect profile metadata without a media feed:

{
"targets": ["nasa", "nasahubble"],
"maxMediaPerProfile": 0,
"includeProfileInfo": true,
"proxyStrategy": "APIFY_RESIDENTIAL",
"outputFormat": "FLAT"
}

Scrape individual posts, Reels and carousels

Standard /p/ and /reel/ URLs work without a username in the path. Replace these example links with the public posts you want:

{
"targets": [
"https://www.instagram.com/p/DfahZrMjAqq/",
"https://www.instagram.com/reel/Dfc1mYxFevS/",
"https://www.instagram.com/p/DfSi56IFwZK/"
],
"maxMediaPerProfile": 0,
"includeProfileInfo": false,
"resultsLimit": 3,
"proxyStrategy": "AUTO",
"writeCsv": true
}

Each accepted post must match its requested shortcode and have an identifiable owner. A carousel is one media record with available child items. A direct post request does not also retrieve the owner's profile.

Filter recent Reels by date

{
"targets": ["nasa"],
"maxMediaPerProfile": 12,
"resultsLimit": 12,
"proxyStrategy": "APIFY_RESIDENTIAL",
"mediaTypes": ["REEL"],
"dateFrom": "-7 days",
"unknownDate": "DROP",
"writeCsv": true
}

This keeps Reels from the acquired sample with an observed date in the last seven days. It can return no media when that sample contains no matching Reels. Filters do not extend the public feed or make the Actor keep searching until the requested number of matches is found.

Optional filterBehavior
dateFrom, dateToFilter publication time using a date, ISO timestamp or relative value such as -7 days for seven days ago
unknownDateKEEP_FLAGGED retains undated items; DROP excludes them when a date filter is active
mediaTypesSelect IMAGE, VIDEO, CAROUSEL, REEL or UNKNOWN
minLikes, minComments, minViewsRequire an observed count at least as large as the minimum; an unknown count cannot meet a positive minimum

Dates use UTC. A date-only upper bound includes that entire UTC day. Relative dates resolve when the run starts.

Export Instagram posts to CSV or JSON

The default Dataset contains PROFILE and MEDIA rows. Choose the output format for your workflow:

outputFormatBest forContents
FULL — defaultDetailed analysis and integrationsNested profile/media fields, carousel details, observed fields, input references and coverage
FLATSpreadsheets and scalar-column importsFlattened fields; lists become pipe-separated text and carousels expose a child count
COMPACTSmall exports and simple summariesCore identity, selected fields/counts and state; omits the detailed provenance and media asset lists

Export the Dataset as JSON, CSV or Excel using Apify's export controls. With writeCsv: true, the Actor also saves media.csv, a separate export of media rows only. Profile-only results remain in the Dataset. The media CSV has sixteen columns; unknown values are blank and cells are protected against spreadsheet formulas. Very long cells are truncated to 32,000 characters; use the full Dataset for complete saved captions.

Additional run outputs:

OutputUse
Run summary — RUN_SUMMARYInput counts, saved records, filters, duplicates, access failures and feed coverage
HTML run report — REPORT.htmlReadable profile and media cards with available metrics and coverage
Charge journal — CHARGE_JOURNALPer-result eligibility, persistence and billing decisions
Media CSV — media.csvOptional media-only spreadsheet export

media.candidates in the summary separates discovered, attempted, accepted, rejected and unattempted candidates. Unattempted candidates can be expected when you request only a few posts. Accepted candidates can still be excluded by your filters or result limit.

Instagram scraper pricing

Charged resultPrice per 1,000Event
Public profile$4.00profile-scraped
Post or Reel, including a carousel parent$3.00media-scraped
Actor start$0.05 — $0.00005 per run at up to 1 GBapify-actor-start

Platform usage is included in these event prices. The rate per result does not change with the selected connection. Check the Pricing tab for the active rates before running a larger job.

Example: one profile and three posts cost 0.004 + (3 × 0.003) + 0.00005 = $0.01305. A carousel counts once, not once per image. Profile and media results are separate units.

Only eligible, saved results trigger the profile/post charges. Useful PARTIAL results can be charged. Duplicates, filtered-out items and failed lookups do not trigger those successful-result events. The start fee still applies if a run returns no usable results. Deduplication applies within one run; fetching the same record in a later run is a new result.

A minimum maximum cost per run setting, such as $0.01, is a spending-cap floor, not a minimum bill. Set a cap appropriate for the number of profiles and posts you request.

Instagram scraper API

Run the Actor from Python, JavaScript, Apify Tasks or your own HTTP workflow. Use an Apify API token; no Instagram API token is needed. Keep your token in the APIFY_TOKEN environment variable.

JavaScript example

Install apify-client (npm install apify-client@2) and run this as an ES module. It waits for the run, then reads the small result set:

import { ApifyClient } from "apify-client";
const client = new ApifyClient({ token: process.env.APIFY_TOKEN });
const run = await client.actor("overbifrost/instagram-scraper").call(
{
targets: ["nasa"],
maxMediaPerProfile: 3,
resultsLimit: 10,
proxyStrategy: "APIFY_RESIDENTIAL",
writeCsv: false,
},
{ memory: 1024, maxTotalChargeUsd: 0.05 },
);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);

Python example

Use Python 3.11+ with pip install "apify-client>=3.5,<4". This example uses the version 3 client's typed run object:

import os
from decimal import Decimal
from apify_client import ApifyClient
client = ApifyClient(os.environ["APIFY_TOKEN"])
run = client.actor("overbifrost/instagram-scraper").call(
run_input={
"targets": ["nasa"],
"maxMediaPerProfile": 3,
"resultsLimit": 10,
"proxyStrategy": "APIFY_RESIDENTIAL",
"writeCsv": False,
},
memory_mbytes=1024,
max_total_charge_usd=Decimal("0.05"),
)
if run is None:
raise RuntimeError("No completed run was returned; check Apify Console.")
for item in client.dataset(run.default_dataset_id).iterate_items():
print(item)

Both examples request the same input as the form example, with a $0.05 spending cap and 1,024 MB memory. Memory and spending limits are run options, not Actor input fields. Inspect RUN_SUMMARY when results are partial or a target fails. For larger datasets, use pagination or item iteration.

For direct HTTP calls, see this Actor's API endpoints. The official JavaScript client and Python client document authentication, datasets and run options.

Scheduled exports and integrations

Save your inputs as an Apify Task and attach a schedule for recurring exports. Send completed-run data to your workflow through the API or Apify integrations. Each run collects a new snapshot; this version does not maintain an only-new-posts history or guarantee discovery of every post published between runs.

Troubleshooting and FAQ

Why did I receive fewer posts than requested?

The profile feed is limited to the recent items Instagram exposes publicly. Some candidates may be unavailable, fail identity checks or be removed by your filters. The Actor does not promise a chronological list or complete profile history.

Posts clearly owned by a different account are skipped while the remaining candidates within your limit are checked. Ambiguous identity or access failures can stop that feed; previously verified results are retained. A different owner is not automatically treated as a collaboration.

What do PARTIAL and LOGIN_REQUIRED mean?

PARTIAL means the checked source supplied usable but incomplete data or coverage. LOGIN_REQUIRED, BLOCKED and RATE_LIMITED describe access failures for that attempt. INCONCLUSIVE means a matching usable result could not be established; it does not prove that a profile is empty or a post is deleted.

For profile requests that fail with a login requirement on Datacenter, select Residential explicitly for a later run. There is no automatic proxy escalation, Instagram login or CAPTCHA bypass. Access can still vary by target, region and time.

Can this scrape followers, comments, Stories or hashtags?

It can return a follower count, available comment counts, and hashtags found in captions. It does not extract follower/following lists, comment threads, Stories, highlights, DMs, private content, hashtag search or location search.

Does this replace the official Instagram API?

This is an independent public-data extraction tool accessed through the Apify API. It does not grant Instagram account access or provide publishing, messaging or account-management functions. It is not affiliated with Instagram or Meta.

How do I get help?

Use the Actor's Issues tab or contact OverBifrost support. Include the run ID, input, build and run summary so the issue can be reproduced. Remove API tokens and signed private links before sharing a report publicly.

For public Facebook keyword or hashtag discovery, see Facebook Post Search & Keyword Scraper API. Find more tools at OverBifrost.