Instagram Scraper (Pay Per Result)
Pricing
from $0.47 / 1,000 posts
Instagram Scraper (Pay Per Result)
Famous for its blazing-fast speed and completeness, it offers rapid and efficient scraping of many URLs such as; location, audio, tag, and profile. It's incredibly cost-effective at only $0.50 for every 1000 posts, capable of scraping 100-200 posts each second!
Pricing
from $0.47 / 1,000 posts
Rating
4.7
(36)
Developer
API Dojo
Maintained by Apify PartnerActor stats
276
Bookmarked
11K
Total users
1.2K
Monthly active users
9.5 hours
Issues response
4 hours ago
Last modified
Categories
Features
Share
Instagram Scraper is an Apify actor that extracts Instagram (IG) posts and reels from profile, hashtag, location, audio, tagged, search, post and reel URLs or from search keywords. It returns captions, likes, comments, plays, owner, location and media URLs for marketers, researchers and lead generation teams. Posts cost $0.50 per 1,000, billed per result, and duplicates are not charged.
The Instagram Scraper accepts 11 input fields, needs no Instagram login, and bills through 1 charge event, post. There is no subscription and no monthly minimum on the actor itself.
| Input | Instagram URLs (startUrls) or search keywords (keywords) |
| Supported URLs | Profile, Tag (hashtag), Location, Audio, Reels, Tagged, Search, single post and single reel |
| Price | $0.50 per 1,000 posts on the Free plan; $0.47 per 1,000 on Gold and above |
| Charged | Each item written to the dataset; duplicate posts are skipped and not charged |
| Output | JSON, CSV, Excel, XML or HTML from the Apify dataset; one item per post or reel |
| Limits | resultsLimit per URL, maxItems per run, until by date; Free plan: 5 runs per month, 10 items per run |
| Delivery | Apify API, MCP server, webhooks, and MCP connectors such as Notion and Todoist |
ℹ️ Disclaimer
We are professionals specializing in data extraction. This actor is exceptionally fine-tuned for scraping Instagram, providing you with a comprehensive suite of tools. Moreover, we provide top-tier maintenance and exceptional support. Pure data - at your fingertips. You name it, we get it.
Important Note About Usage
This scraper is designed to fetch posts from Instagram profiles and hashtags. Please follow these rules:
- Each query or profile must fetch at least 10 posts. Fetching fewer creates unnecessary overhead and may be blocked.
- Do not artificially limit results with a very near
untilparameter, this causes inefficient runs. - Scraping below these limits may trigger our rate-limiter and result in blocked requests.
- Free users: Limited to 5 runs per month, each capped at 10 items
What does the Instagram Scraper do?
The Instagram Scraper collects public Instagram posts and reels from 9 kinds of sources: profiles, hashtags, locations, audio pages, a profile's reels, a profile's tagged posts, search URLs, single posts and single reels. Each keyword in keywords runs its own Instagram post search.
Listed below are the 6 jobs people run the Instagram Scraper for.
- Instagram hashtag monitoring: track posts and reels under a hashtag with a Tag URL,
getReelsanduntil, then readlikeCount,commentCountandcaption. - Instagram profile scraping and competitor tracking: export every post of a brand or creator from Profile and Reels URLs, with
owner.followerCountand engagement counts. - Influencer research: find creators posting about a topic through
keywordsor Tag URLs, then filter onowner.isVerified,owner.followerCountandisPaidPartnership. - Lead generation: collect accounts posting from a place or about a topic with Location URLs and Tag URLs, using
owner.usernameandowner.fullName. - Location and event analysis: measure activity at a venue or city with Location URLs and
location.lat,location.lngandcreatedAt. - Music and audio trend tracking: list the reels that use a sound with Audio URLs and
audio.title,audio.artistandvideo.playCount.
How do you use the Instagram Scraper?
The Instagram Scraper runs in 4 steps and needs only startUrls or keywords.
- Open the Instagram Scraper in Apify Console and click Try for free.
- Paste Instagram URLs into
startUrls, or add search terms tokeywords. - Set
resultsLimitper URL,maxItemsfor the run, anduntilfor the oldest post date. - Run the actor and download the results as JSON, CSV or Excel from the Output tab.
This input returns up to 100 posts from one profile and one hashtag, published after 1 November 2023:
{"startUrls": ["https://www.instagram.com/taylorswift/","https://www.instagram.com/explore/tags/travel"],"resultsLimit": 50,"maxItems": 100,"until": "2023-11-01"}
Each post comes back as one item like this (shortened):
{"id": "3245142029192513970_62815273217","code": "C0JD3tntcmy","url": "https://www.instagram.com/p/C0JD3tntcmy/","createdAt": "2023-11-27T07:48:34.000Z","likeCount": 114,"commentCount": 5,"caption": "Na zajęciach z Pomkami nie brakowało buziaków i przytulasów #pomeranian","owner": { "username": "jogi.lapki.bydgoszcz", "isVerified": false, "followerCount": 5917 },"isVideo": true,"video": { "duration": 28.281, "playCount": 3321 }}
When should you use the Instagram Scraper?
The Instagram Scraper fits jobs built on Instagram posts and reels, and is the wrong tool for comments, profile details and stories.
Use it for:
- Bulk export of posts and reels from profiles, hashtags, locations, audio pages and tagged feeds.
- Keyword search across Instagram posts.
- Recurring monitoring of new posts with
untiland a schedule. - Single post or reel lookups from
/p/{code}/and/reel/{code}/URLs.
Use something else for:
- Comments on a post: use Instagram Comments Scraper.
- Profile details such as bio and links: use Instagram User Scraper.
- An API endpoint for posts, reels, profiles and hashtags: use Instagram Scraper API.
How much does the Instagram Scraper cost?
The Instagram Scraper charges 1 event, post, at $0.0005 per item on the Free plan, which is $0.50 per 1,000 posts. Paid Apify plans get a tier discount.
| Apify plan | Price per post | Price per 1,000 posts |
|---|---|---|
| Free | $0.00050 | $0.50 |
| Bronze | $0.00049 | $0.49 |
| Silver | $0.00048 | $0.48 |
| Gold, Platinum, Diamond | $0.00047 | $0.47 |
The post event fires for each item written to the default dataset. Posts removed as duplicates or by until are not written, so they are not charged.
Instagram Scraper cost examples
The table below prices 4 scenarios at the Free plan rate of $0.50 per 1,000 posts.
| Scenario | Posts | Calculation | Total cost |
|---|---|---|---|
| One profile, recent posts | 100 | 100 × $0.0005 | $0.05 |
| 10 hashtags, 500 posts each | 5,000 | 5,000 × $0.0005 | $2.50 |
| Daily location monitoring for 30 days, 200 posts a day | 6,000 | 6,000 × $0.0005 | $3.00 |
| Large research dataset | 100,000 | 100,000 × $0.0005 | $50.00 |
Is the Instagram Scraper free to try?
Yes, the Instagram Scraper runs in Demo Mode on the Apify Free plan: 5 runs per month, 10 items per run. Full runs need a paid Apify plan.
How is the Instagram Scraper configured?
The Instagram Scraper exposes 11 input fields: 7 for scraping and 4 for MCP connector delivery.
| Field | Type | Required | Description | Default |
|---|---|---|---|---|
startUrls | array | One of startUrls or keywords | Instagram URLs: Profile, Tag, Location, Audio, Reels, Tagged, Search (https://www.instagram.com/explore/search/keyword/?q=earn%20money), single post (https://www.instagram.com/p/{code}/) and single reel (https://www.instagram.com/reel/{code}/). A single post or reel URL returns 1 item, unless another source in the run already returned that post or a run limit is reached. | [] |
keywords | array | One of startUrls or keywords | Search keywords. Each keyword runs a separate search (["travel"]) and stops when its results stop surfacing new posts, so it can return fewer than maxItems. | [] |
resultsLimit | number | No | Results limit per URL. Each start URL and keyword returns at most this many items. A Tag URL with getReels gets the limit for its posts and its reels separately. Posts removed by until or as duplicates do not count. Whole number of at least 1; the form prefills 100. | null |
maxItems | number | No | Maximum items in total for the run. resultsLimit and maxItems both apply; the first one reached stops the source. | Infinity |
until | string | No | Returns only posts newer than this value: a date (2024-01-31), a date-time (2024-01-31T12:00:00Z), or a relative value such as 7 days, 2 weeks, 3 months or 1 year, counted back from the run start in UTC. Not applied to single post or reel URLs, or to hashtag reels. | null |
getReels | boolean | No | Include reels for hashtags. Tag URLs return the hashtag's posts and its reels; a Tag URL alone returns recent posts, which do not include reels. | false |
customMapFunction | string | No | JavaScript function that reshapes each item before it is saved. See the custom map function rules below. | null |
outputConnector | string | No | MCP connector that receives the results. | null |
deliverTarget | string | No | Where the connector writes: a URL or ID, for example a Notion page URL. Some services need none. | null |
deliverMode | string | No | perPost writes one record per item; summary writes one roll-up per run. | perPost |
deliverMaxItems | number | No | Cap on how many records perPost delivers; ignored in summary. | null |
Which input rules does the Instagram Scraper enforce?
The Instagram Scraper enforces 4 usage rules, set by the rate limiter that keeps runs efficient.
- Each URL or keyword fetches at least 10 posts. Smaller requests create overhead and can be blocked.
- An
untildate very close to the run start limits results artificially and makes runs inefficient. - Requests below these limits can trigger the rate limiter and return blocked requests.
- The Free plan is limited to 5 runs per month, 10 items per run.
Which alternative input field names does the Instagram Scraper accept?
The Instagram Scraper accepts 6 field names from other Instagram scrapers and translates them to the inputs above. The run log shows how each one was used. Unsupported fields are ignored with a warning and never fail the run.
| Field | How it is used |
|---|---|
directUrls | Added to startUrls. When it is set, search is ignored. |
search | Comma-separated terms, used with searchType. Each term becomes one source. |
searchType | hashtag (default) turns each term into a Tag URL. profile or user turns each term into a Profile URL; only exact usernames work, because account search is not supported. place is not supported; use a Location URL. |
addParentData | Adds a dataSource field to every post item: profile, reels, hashtag, tagged, location, audio, search or post. No-results and error items do not have it. A customMapFunction keeps it only when it returns it, as { ...object } does. |
onlyPostsNewerThan | Used as until, including relative values. When both are set, until wins. |
resultsType | posts (default). reels: Profile URLs return the profile's reels, and Tag URLs also return the hashtag's reels unless getReels is false. mentions: Profile URLs return the posts the profile is tagged in. stories, details and comments are not supported; see Related actors. |
searchLimit, isUserTaggedFeedURL, isUserReelFeedURL, enhanceUserSearchWithFacebookPage | Not supported, ignored with a warning. |
How does the Instagram Scraper handle duplicates?
The Instagram Scraper removes duplicates at 2 levels, and duplicates are not charged and do not count toward resultsLimit or maxItems.
- Sources: the same URL, username, hashtag or keyword in different forms (letter case,
www, a trailing slash, a query string such as?hl=en,@or#) runs once. The log lists each skipped duplicate. - Posts: a post returned by 2 or more sources, such as a profile and a hashtag, is saved once under the first source that returned it.
What are the custom map function rules?
The Instagram Scraper runs customMapFunction once per item and saves its return value in place of the item.
(object) => { return { ...object } }
The function follows 6 rules:
- One synchronous function: a plain
(object) => { ... }function.asyncfunctions, generators and functions returning aPromiseare rejected. - Returns an object:
null, strings, numbers and other non-object values are rejected. - No filtering: dropping items abuses pay-per-result pricing and the account risks a ban. An empty object
{}turns that item into{ "noResults": true }.null,undefinedand other non-object values reject the function, as in the last rule. Useuntilto limit results by date. - No date logic: source code containing
new Date,1970orDate.nowis blocked. Useuntilfor date filtering. - Defensive field access: not every item has every field, so use optional chaining such as
object.location?.name. - Safe fallback: a function that fails to parse, throws, takes longer than about 1 second on one item, or returns a non-object value is disabled for the rest of the run. A warning is logged, that item and every later item are saved unmodified, and the run does not fail.
The function runs in an isolated sandbox with plain JavaScript only: no network requests, require or console. Each item arrives as plain JSON.
Which fields does the Instagram Scraper return?
The Instagram Scraper returns 1 item per post or reel, with 20 top-level fields and nested owner, location, video, image and audio objects.
| Field | Type | Description |
|---|---|---|
id | string | Instagram post ID |
code | string | Shortcode used in the post URL |
url | string | Post URL |
createdAt | string | Publish time, ISO 8601 |
likeCount | number | Likes |
commentCount | number | Comments |
caption | string | Post caption, including hashtags |
isPinned | boolean | Pinned on the profile |
isLikeAndViewCountsDisabled | boolean | Like and view counts hidden by the owner |
isPaidPartnership | boolean | Marked as a paid partnership |
isCarousel | boolean | Post has more than one media item |
isVideo | boolean | Post is a video or reel |
owner | object | id, username, fullName, profilePicUrl, isPrivate, isVerified, and followerCount, followingCount, postCount when available |
coowners | array | Collaborators on the post, with the same profile fields |
location | object | id, name, slug, address, city, lat, lng |
video | object | id, url, width, height, duration, playCount |
image | object | url, width, height |
audio | object | title, artist |
inputSource | string | The start URL or keyword that returned the post |
dataSource | string | Feed type, added only with addParentData |
The Output tab has 3 views: Overview shows URL, caption, date, likes, comments, plays, username and input; Owner shows the author; Media shows image, video, audio and location. The full dataset holds every field.
Full output example:
{"id": "3245142029192513970_62815273217","code": "C0JD3tntcmy","url": "https://www.instagram.com/p/C0JD3tntcmy/","createdAt": "2023-11-27T07:48:34.000Z","likeCount": 114,"commentCount": 5,"isPinned": false,"isLikeAndViewCountsDisabled": false,"isPaidPartnership": false,"caption": "Na zajęciach z Pomkami nie brakowało buziaków i przytulasów 🥰🤗 \n\n#pomeranian #pomeranianpuppies #szpicminiaturowy #szpic #bydgoszcz #warsztaty #pieski","owner": {"id": "62815273217","username": "jogi.lapki.bydgoszcz","fullName": "Joga z pieskami 📍Bydgoszcz🐾","profilePicUrl": "https://scontent-fra3-2.cdninstagram.com/v/t51.2885-19/400119638_1273742020004099_7576288759792512400_n.jpg","isPrivate": false,"isVerified": false,"followerCount": 5917,"followingCount": 5917,"postCount": 48},"coowners": [{"id": "11830955","username": "taylorswift","fullName": "Taylor Swift","profilePicUrl": "https://scontent-cdg4-1.cdninstagram.com/v/t51.2885-19/558299267_18598352038054956_7239389867355254960_n.jpg","isPrivate": false,"isVerified": true}],"location": {"id": "215927995","name": "Bydgoszcz, Poland","slug": "Bydgoszcz","address": "","city": "","lat": 53.1222,"lng": 17.9986},"isCarousel": false,"isVideo": true,"video": {"id": "235268832770811v","url": "https://scontent-fra5-1.cdninstagram.com/o1/v/t16/f1/m69/GICWmACmUiQOyEkBAIXvggE-hRNYbpR1AAAF.mp4","width": 1078,"height": 1916,"duration": 28.281,"playCount": 3321},"image": {"url": "https://scontent-fra5-1.cdninstagram.com/v/t51.2885-15/404322568_7096724227032530_1699247048939566807_n.jpg","width": 1080,"height": 1920}}
How do you monitor an Instagram hashtag with the Instagram Scraper?
The Instagram Scraper monitors a hashtag when a Tag URL runs on a schedule with a relative until. Each run returns the hashtag's posts from the last day; hashtag reels are not filtered by until, so getReels also adds older reels.
{"startUrls": ["https://www.instagram.com/explore/tags/travel"],"getReels": true,"until": "1 day","resultsLimit": 500}
How do you scrape Instagram profile posts with the Instagram Scraper?
The Instagram Scraper exports a profile's feed, reels and tagged posts when the 3 profile URLs run together. Posts that appear in more than one feed are saved once.
{"startUrls": ["https://www.instagram.com/taylorswift/","https://www.instagram.com/taylorswift/reels","https://www.instagram.com/taylorswift/tagged"],"resultsLimit": 200}
How do you search Instagram posts by keyword with the Instagram Scraper?
The Instagram Scraper searches posts by keyword through keywords or a Search URL. Each keyword runs a separate search.
{"keywords": ["earn money", "travel tips"],"resultsLimit": 100,"until": "3 months"}
How do you scrape Instagram locations with the Instagram Scraper?
The Instagram Scraper reads Location URLs for posts tagged at a place and Audio URLs for reels that use a sound.
{"startUrls": ["https://www.instagram.com/explore/locations/213131048/berlin-germany/","https://www.instagram.com/reels/audio/271328201351336/"],"resultsLimit": 100}
How does the Instagram Scraper report errors and empty results?
The Instagram Scraper writes an error item to the dataset when a source fails, and keeps scraping the other sources. An error item has 4 fields:
{ "noResults": true, "error": true, "code": "C021", "message": "No posts found for tag: travel." }
Codes C020 to C025, C028 and C032 mean the source returned no posts: an empty hashtag, location, audio page, search, profile feed or post. Other codes mean a request to Instagram failed; run the source again later. When a feed reaches its end, the run log records a notice and no item is written.
How do you schedule or integrate the Instagram Scraper?
The Instagram Scraper connects to 4 kinds of tools: Apify schedules, the Apify API, the Apify MCP server, and integrations such as MCP connectors, Make, Zapier, n8n and webhooks.
- Schedules: save the input as a task and run it daily with a relative
until, such as1 day, for hashtag, location or competitor monitoring. - API: start runs and read datasets through the Apify API and its JavaScript and Python clients.
- AI agents (MCP): add
https://mcp.apify.com/?tools=apidojo/instagram-scraperas a remote MCP server in Claude, Cursor or any MCP client. - No-code tools: Make, Zapier, n8n and webhooks through Apify integrations.
How do you send Instagram Scraper results to Notion or Todoist?
The Instagram Scraper delivers results directly into Notion, Todoist and other services through Apify MCP Connectors, in 3 steps.
- Authorize a connector once in Console, Settings, API & Integrations, MCP connectors. Any service whose MCP server offers non-destructive write tools works.
- Pick it in the Send results to Notion, Todoist, … field (
outputConnector). - Fill in
deliverTarget(a URL or ID),deliverMode(perPostorsummary), and optionallydeliverMaxItems.
For Notion, share the page or database with the connector first through Notion's •••, Connections menu. A Notion page URL gives a new database with one typed column per field (URL, number, date, text), and nested fields are flattened into columns such as owner.username. An existing database fills only the columns it already has, matched by name; an empty database receives only the title, and the rest of each record goes to the row body. The full record is always kept in each row's page body.
The connector uses only non-destructive write tools, so it cannot delete or overwrite existing data, and the actor never sees third-party credentials. Delivery runs after scraping and is best effort: a failed delivery is reported in the run log and the run still finishes with all results. Close to the run timeout, delivery stops early and the log states how many records were delivered.
Which Instagram Scraper questions come up most often?
Is the Instagram Scraper free?
No, full runs need a paid Apify plan. The Free plan runs the Instagram Scraper in Demo Mode, with 5 runs per month and 10 items per run, enough to test the output.
Does the Instagram Scraper need an Instagram account or login?
No, the Instagram Scraper takes no Instagram credentials, cookies or session input. It scrapes public posts only.
How is the Instagram Scraper different from the official Instagram API?
The official Instagram Graph API needs a Meta app, an access token and a business or creator account. The Instagram Scraper needs only Instagram URLs or keywords and reads public posts from profiles, hashtags, locations and audio pages.
Can the Instagram Scraper scrape Instagram reels?
Yes, the Instagram Scraper returns reels from Reels URLs (https://www.instagram.com/{username}/reels), single reel URLs, Audio URLs, and Tag URLs with getReels enabled.
Can the Instagram Scraper scrape Instagram comments, stories or profile details?
No, the Instagram Scraper returns posts and reels only. Use Instagram Comments Scraper for comments and Instagram User Scraper for profile details.
How do you export Instagram posts to CSV or Excel?
The Instagram Scraper stores results in an Apify dataset that downloads as CSV, Excel, JSON, XML or HTML from the Output tab or through the API.
Why does the Instagram Scraper return fewer results than expected?
The Instagram Scraper stops each source at resultsLimit and the run at maxItems. Duplicates are removed, so overlapping URLs such as a profile and its reels return fewer items in total. Keyword searches stop when no new posts surface, and a narrow until removes older posts.
Why are some fields missing from the Instagram Scraper output?
The Overview, Owner and Media views show the main fields only. Open the Storage tab and choose Download the results or Open in a new tab to see every field. Fields such as location and video are present only when the post has them.
Why does the Instagram Scraper stop showing new items in the log after a large batch?
The Apify log skips lines when output is very fast and prints "Logging is too fast, some lines were skipped." Scraping smaller amounts per run avoids it.
Is it legal to use the Instagram Scraper?
The Instagram Scraper collects publicly available data. Scraping public data is generally legal, but personal data is protected by regulations such as the GDPR, and Instagram's terms of service apply. Collect personal data only with a legitimate reason, and get legal advice for your use case.
Related actors
The 5 actors below work alongside the Instagram Scraper.
- Instagram Hashtag Scraper: focused hashtag scraping for teams that track tags only.
- Instagram User Scraper: profile details for the
owner.usernamevalues in this actor's output. - Instagram Comments Scraper: comments for the post URLs this actor returns.
- Instagram Location Scraper: location-only scraping for venue and city monitoring.
- Instagram Scraper API: an API version of Instagram scraping for posts, reels, profiles and hashtags.
Support
Open an issue on the Instagram Scraper's Issues tab, or email apidojo10@gmail.com for support and feature requests.