Fast Instagram Scraper API - Posts, Reels, Profiles & Hashtags
Pricing
from $0.50 / 1,000 instagram post items
Fast Instagram Scraper API - Posts, Reels, Profiles & Hashtags
Instagram Scraper API - extract posts, reels, profiles, hashtags, locations & audio FASTat 100-200 posts/sec. Transparent event-based pricing from $0.005/query + $0.0005/post, FREE posts per query, no login, proxies or API keys. Perfect for influencer analysis, brand & social media monitoring.
Pricing
from $0.50 / 1,000 instagram post items
Rating
5.0
(9)
Developer
API Dojo
Maintained by Apify PartnerActor stats
52
Bookmarked
3.2K
Total users
443
Monthly active users
22 hours
Issues response
44 minutes ago
Last modified
Features
Share
Instagram Scraper API is an Apify actor that scrapes public Instagram (IG) posts, reels and stories from profile, hashtag, location, audio, tagged and search URLs or plain keywords, and returns them as JSON, CSV or Excel. It is built for marketers, influencer researchers and data teams. Posts cost $0.50 per 1,000 after a query fee from $0.005, and paid plan users get the first page of each query free.
The Instagram Scraper API accepts 8 kinds of Instagram URLs plus keywords, user handles and user IDs, and bills through 7 charge events. Every price below is a per-event charge with no subscription and no monthly minimum.
| Input | Profile, hashtag, location, audio, reels, tagged, search, single post or reel URLs; keywords; handles or user IDs for stories |
| Price | $0.0005 per post ($0.50 per 1,000) plus one query fee per source, from $0.005 |
| Free posts | Paid plans: the first page of each query, at least 10 posts per profile query, and the first 10 stories |
| Output | One item per post, reel or story: IDs, URL, caption, timestamps, likes, comments, video views, owner, location, audio |
| Formats | JSON, CSV, Excel and the other Apify dataset formats |
| Filters | Date filter (until), per source limit (resultsLimit), run limit (maxItems) |
| Not charged | Duplicate sources and duplicate posts |
| Agent access | Apify API, Apify MCP server, MCP connectors for Notion and Todoist |
What Does the Instagram Scraper API Do?
The Instagram Scraper API extracts public Instagram posts in 9 ways: from a user profile, a profile's reels, a profile's tagged posts, a hashtag, a hashtag's reels, a location, an audio track, a keyword search, and a single post or reel URL. It also returns the active stories of profiles, handles or user IDs.
Listed below are the 7 jobs people run the Instagram Scraper API for.
- Instagram influencer analysis: profile posts and reels with
likeCount,commentCount,video.playCountandowner.followerCountfor engagement rate and creator benchmarking. - Instagram hashtag tracking: posts and reels for a campaign or brand hashtag, filtered to recent content with
until. - Brand mention monitoring: posts a brand account is tagged in, from its
/tagged/URL, withcaptionandownerdata. - Instagram location data: geo-tagged posts from a venue, city or attraction, with
location.nameand coordinates, for local marketing and tourism research. - Trending audio research: reels that use a sound, from its audio URL, with
audio.titleandaudio.artist. - Instagram keyword search: posts that match a topic through
keywords, without knowing any profile or hashtag in advance. - Social listening datasets: captions, timestamps and engagement counts exported to CSV or sent to Notion for sentiment analysis and reporting.
How Do You Use the Instagram Scraper API?
The Instagram Scraper API runs in 4 steps and needs only one URL in startUrls or one term in keywords. For stories alone, handles or userIds with getStories is enough.
- Open the Instagram Scraper API in Apify Console.
- Paste Instagram URLs into
startUrls, or type terms intokeywords. - Set
maxItemsto cap the run, anduntilto keep only recent posts. - Run it and download the results as JSON, CSV or Excel, or read them through the API.
{"startUrls": ["https://www.instagram.com/nike/"],"until": "30 days","maxItems": 100}
{"inputSource": "https://www.instagram.com/nike/","id": "3778391303919634400","code": "DRvit9Ejgel","url": "https://www.instagram.com/p/DRvit9Ejgel/","createdAt": "2025-12-02T01:37:34.000Z","likeCount": 2193254,"commentCount": 0,"caption": "Just 11 days until the final show...","owner": {"username": "nike","fullName": "Nike","isVerified": true,"followerCount": 281339445},"isVideo": true,"video": {"url": "https://...","duration": 97.555,"playCount": 31055940,"igPlayCount": 30498077,"fbPlayCount": 557863}}
The Python client calls the same actor in 5 lines:
from apify_client import ApifyClientclient = ApifyClient("YOUR_TOKEN")run = client.actor("apidojo/instagram-scraper-api").call(run_input={"startUrls": ["https://www.instagram.com/explore/tags/marketing/"],"maxItems": 50,})items = client.dataset(run["defaultDatasetId"]).list_items().items
When Should You Use the Instagram Scraper API?
The Instagram Scraper API fits post, reel and story collection and is the wrong tool for 3 other jobs.
Use it for:
- Collecting posts and reels from many profiles, hashtags or locations in one run
- Tracking new posts on a schedule with a relative date such as
"until": "7 days" - Pulling engagement counts, captions and media URLs into a spreadsheet, database or AI agent
- Finding posts by keyword when no profile or hashtag is known
Use something else for:
- Profile details, follower and following lists: use Instagram User Scraper · Fast & Affordable.
- Comment text and replies: use Fast Instagram Comments Scraper API. The Instagram Scraper API returns only
commentCount. - Private accounts: no tool on this page reads them. The Instagram Scraper API returns public content only.
How Much Does the Instagram Scraper API Cost?
The Instagram Scraper API charges $0.0005 per post (dataset-item) plus one query event per source, priced by source type.
| Event | Price | Free on paid plans | When it is charged |
|---|---|---|---|
location-query | $0.025 | First page of posts | Once per location URL |
tag-query | $0.015 | First page of posts | Once per hashtag URL |
tag-query | $0.015 | First page of posts | Once per keyword or search URL |
user-query | $0.005 | First page of posts, and at least 10 | Once per profile, reels or tagged URL |
audio-query | $0.005 | First page of posts | Once per audio URL |
story-query | $0.005 | First 10 stories | Once per profile, handle or user ID with getStories |
story-query | $0.005 | None | Once per hashtag with getReels, for its reels |
single-item-query | $0.005 | None | Once per single post or reel URL |
dataset-item | $0.0005 | Each post, reel or story that is not free |
The free posts apply only to users on a paid Apify plan. Free plan users pay dataset-item for every item.
The first page holds as many posts as Instagram returns for it, so its size varies by source. In test runs on 20 November 2026, the first page held 30 posts for a hashtag, 60 for a location, 12 for an audio track and 8 for a keyword. A profile, reels or tagged query that returns fewer than 10 posts on its first page carries the rest of its 10 free posts over to the next pages.
Query events are charged at the start of the run. Duplicate sources are charged once, and duplicate posts are not charged. A single post or reel URL costs $0.0055: the query event plus one dataset-item.
Instagram Scraper API Cost Examples
The table below prices 8 scenarios on a paid plan. Each total is the maximum: it counts only the free posts every query is sure to get, so the free first page lowers most totals.
| Scenario | Charge events | Calculation | Maximum cost |
|---|---|---|---|
| 1 profile, 10 posts | 1 user-query | $0.005 | $0.005 |
| 1 profile, 100 posts | 1 user-query + 90 items | $0.005 + ($0.0005 × 90) | $0.050 |
| 1 location, 200 posts | 1 location-query + 200 items | $0.025 + ($0.0005 × 200) | $0.125 |
| 1 hashtag, 500 posts | 1 tag-query + 500 items | $0.015 + ($0.0005 × 500) | $0.265 |
1 hashtag with getReels, 100 posts and 50 reels | 1 tag-query + 1 story-query + 150 items | $0.015 + $0.005 + ($0.0005 × 150) | $0.095 |
| 2 keywords, 100 posts each | 2 tag-query + 200 items | ($0.015 × 2) + ($0.0005 × 200) | $0.130 |
| 10 profiles, 100 posts each | 10 user-query + 900 items | ($0.005 × 10) + ($0.0005 × 900) | $0.500 |
| 1 single post URL | 1 single-item-query + 1 item | $0.005 + $0.0005 | $0.0055 |
Instagram Scraper API Unit Economics
The 5 figures below are derived from the rate card above. The per source figures include the query fee and are maximums on a paid plan.
| Metric | Value |
|---|---|
| Cost per charged post | $0.0005 |
| Posts per $1 at the item rate | 2,000 |
| 1,000 posts from 1 profile, reels or tagged URL | at most $0.50 |
| 1,000 posts from 1 audio URL | at most $0.505 |
| 1,000 posts from 1 hashtag, keyword or location | at most $0.515 (hashtag, keyword) or $0.525 (location) |
Is the Instagram Scraper API free to try?
Yes, on the Apify Free plan. Free plan users get 5 runs per month, each capped at 10 items. A paid Apify plan removes both caps. See Apify pricing.
How Is the Instagram Scraper API Configured?
The Instagram Scraper API exposes 14 input fields in 4 groups: sources, stories and reels, limits and filters, and delivery.
| Field | Type | Required | Description | Default |
|---|---|---|---|---|
startUrls | array | One source required (see input rules) | Instagram URLs: profile, hashtag, location, audio, reels, tagged, search, single post /p/{code}/ or reel /reel/{code}/ | |
keywords | array | One source required (see input rules) | Terms to search posts by. Each keyword runs a separate search | |
getStories | boolean | No | Returns active stories for the profiles, handles and userIds given | false |
handles | array | One source required (see input rules) | Usernames whose stories are fetched with getStories | |
userIds | array | One source required (see input rules) | User IDs whose stories are fetched with getStories | |
getReels | boolean | No | Hashtag URLs also return the hashtag's reels. until is not applied to them | false |
until | string | No | Keeps posts created on or after this date: 2024-01-31, 2024-01-31T12:00:00Z, or a relative value such as 7 days, 2 weeks, 3 months, 1 year (UTC, counted back from the run start) | |
resultsLimit | integer | No | Maximum items per source: each URL, keyword, handle and user ID. Whole number of at least 1 | |
maxItems | integer | No | Maximum items for the whole run | |
customMapFunction | string | No | JavaScript function that transforms each item | |
outputConnector | string | No | MCP connector that receives the results | |
deliverTarget | string | No | URL or ID the connector writes to | |
deliverMode | string | No | perPost (one record per item) or summary (one roll-up per run) | perPost |
deliverMaxItems | integer | No | Cap on records perPost delivers; ignored in summary |
Which URL types does the Instagram Scraper API accept?
The Instagram Scraper API accepts 8 URL types in startUrls.
| URL type | Format | Example |
|---|---|---|
| Profile | https://www.instagram.com/{username}/ | https://www.instagram.com/nike/ |
| Hashtag | https://www.instagram.com/explore/tags/{hashtag}/ | https://www.instagram.com/explore/tags/travel/ |
| Location | https://www.instagram.com/explore/locations/{id}/{name}/ | https://www.instagram.com/explore/locations/213131048/ |
| Audio | https://www.instagram.com/reels/audio/{id}/ | https://www.instagram.com/reels/audio/271328201351336/ |
| Profile reels | https://www.instagram.com/{username}/reels/ | https://www.instagram.com/@nike/reels/ |
| Tagged posts | https://www.instagram.com/{username}/tagged/ | https://www.instagram.com/@nike/tagged/ |
| Keyword search | https://www.instagram.com/explore/search/keyword/?q={keyword} | https://www.instagram.com/explore/search/keyword/?q=earn%20money |
| Single post or reel | https://www.instagram.com/p/{code}/ or /reel/{code}/ | https://www.instagram.com/p/DRvit9Ejgel/ |
Which Input Rules Does the Instagram Scraper API Enforce?
The Instagram Scraper API enforces 6 input rules.
- At least one source: one URL in
startUrls, one term inkeywords, or one entry inhandlesoruserIdswithgetStoriesset totrue. - Two limits together:
resultsLimitcaps each source andmaxItemscaps the run; whichever is reached first stops collection. - Separate limits per feed: a hashtag URL with
getReelsgetsresultsLimitfor its posts and again for its reels; a profile withgetStoriesgets it for posts and again for stories. - Uncounted items: posts removed by
untilor as duplicates do not count towardresultsLimitormaxItems. - Date filter scope:
untildoes not apply to single post or reel URLs, hashtag reels or stories. - Duplicate sources: the same URL, username, hashtag or keyword written in different forms (letter case,
www, a trailing slash,?hl=en,@or#) runs once and is charged once. The run log lists each skipped duplicate.
Which alternative field names does the Instagram Scraper API accept?
The Instagram Scraper API translates 8 alternative field names, so an input written for another Instagram scraper runs as is. The run log reports how each field was used, and unsupported fields are ignored with a warning.
| Field | How it is used |
|---|---|
directUrls | Added to startUrls. With at least one URL, search is ignored; an empty list leaves search as is |
search | Comma separated terms, used with searchType. Each term becomes one source |
searchType | hashtag (default) makes each term a hashtag URL. profile or user makes each term a profile URL; only exact usernames work, as account search is not supported. place is not supported; use a location URL |
onlyPostsNewerThan | Used as until, including relative values. When both are set, until wins |
resultsType | posts (default). reels: profile URLs return reels and hashtag URLs also return reels. mentions: profile URLs return tagged posts. stories: same as getStories. details and comments are not supported |
addParentData | Adds a dataSource field to every item: profile, reels, hashtag, tagged, location, audio, search, post or story |
searchLimit, isUserTaggedFeedURL, isUserReelFeedURL, enhanceUserSearchWithFacebookPage | Not supported; ignored with a warning |
Which Fields Does the Instagram Scraper API Return?
The Instagram Scraper API returns one item per post, reel or story, with 5 fields always present and the rest present when Instagram shows them.
| Field | Type | Present | Description |
|---|---|---|---|
inputSource | string | Always | The URL, keyword or handle that returned the item |
id | string | Always | Instagram post ID |
code | string | Always | Post shortcode |
url | string | Always | Post URL |
createdAt | ISO 8601 | Always | Publication time |
owner | object | Always | username, fullName, id, profilePicUrl, isPrivate, isVerified, followerCount, followingCount, postCount |
caption | string | When set | Caption with hashtags and mentions |
likeCount | integer | When visible | Likes; hidden on some posts |
commentCount | integer | When enabled | Comments; disabled on some posts |
isVideo | boolean | Always for posts | Video flag |
video | object | Video posts | url, duration, playCount (Instagram and Facebook views), igPlayCount, fbPlayCount |
image | object | Image posts | Image URL and dimensions |
coowners | array | Collab posts | Co-authors with id, username, fullName, profilePicUrl, isPrivate, isVerified |
location | object | Geo-tagged posts | Name, ID, latitude and longitude |
audio | object | Posts with audio | title, artist and audio ID |
dataSource | string | With addParentData | The feed the item came from |
The Overview tab in Apify Console shows 19 of these fields as a table; the Storage tab holds every field.
How Do You Track an Instagram Hashtag with the Instagram Scraper API?
The Instagram Scraper API returns a hashtag's recent posts, which do not include reels. Set getReels to true to add the hashtag's reels in the same run.
{"startUrls": ["https://www.instagram.com/explore/tags/sneakers/"],"getReels": true,"until": "7 days","resultsLimit": 200}
How Do You Monitor Instagram Profiles with the Instagram Scraper API?
The Instagram Scraper API runs profile, reels and tagged URLs each as one user-query. On a paid plan, the first page and at least 10 posts are free. resultsLimit keeps each profile to the same number of posts.
{"startUrls": ["https://www.instagram.com/nike/","https://www.instagram.com/@nike/reels/","https://www.instagram.com/@nike/tagged/"],"resultsLimit": 50}
How Do You Scrape Locations and Audio with the Instagram Scraper API?
The Instagram Scraper API returns geo-tagged posts from location URLs and reels that use a sound from audio URLs. On a paid plan, the first page of each is free.
{"startUrls": ["https://www.instagram.com/explore/locations/213131048/","https://www.instagram.com/reels/audio/271328201351336/"],"maxItems": 300}
How Do You Search Instagram by Keyword with the Instagram Scraper API?
The Instagram Scraper API runs each keyword as its own search and paginates until it stops finding new posts or a limit is reached. A search URL with ?q=earn%20money equals "keywords": ["earn money"].
{"keywords": ["travel", "street food"],"maxItems": 200}
How Do You Scrape Instagram Stories with the Instagram Scraper API?
The Instagram Scraper API returns stories when getStories is set with profile URLs, handles or userIds. Each account is one story-query, and on a paid plan its first 10 stories are free.
{"getStories": true,"handles": ["nike", "adidas"]}
How Does the Instagram Scraper API Transform Output?
The Instagram Scraper API runs customMapFunction on each item to add, rename or remove fields. It is for transformation, not filtering: an empty object is saved as { "noResults": true }, and filtering through it leads to automatic restrictions.
(object) => ({...object,engagementRate: ((object.likeCount + object.commentCount) / object.owner?.followerCount * 100).toFixed(2),username: object.owner?.username,video: undefined,image: undefined})
The function must be one synchronous function. It runs in a sandbox with plain JavaScript only (no network, require or console) and about 1 second per item.
How Does the Instagram Scraper API Handle Errors and Limits?
The Instagram Scraper API never fails a run because of an unusable customMapFunction. It logs a warning that starts with Your "customMapFunction" input was rejected: and saves the original items.
| Situation | What happens |
|---|---|
Not valid JavaScript, not a function, or an async or generator function | Rejected before the first request; original items are saved |
| Returns a Promise or a non object, or throws | Rejected at that item; remaining items are saved unmodified |
| Takes longer than about 1 second on one item | Rejected at that item; remaining items are saved unmodified |
Uses new Date, Date.now or 1970 | Rejected; use until to filter by date |
The Instagram Scraper API also applies 3 run behaviours.
- Fewer posts than expected:
maxItems,resultsLimit,until, duplicate removal and private accounts all reduce the count. - Cost limit: a run whose maximum cost per run cannot cover its query fees stops at the start with an error in the log.
- Server migration: posts are tracked in memory. A run moved to another server restarts from the input, so posts saved before the move can appear again.
How Do You Schedule or Integrate the Instagram Scraper API?
The Instagram Scraper API connects to 4 kinds of tools: Apify schedules, the Apify API, the Apify MCP server, and MCP connectors.
- Schedules: save the input as a task with a relative
untilsuch as"1 day"and run it daily for hashtag or brand monitoring. - API: start runs and read datasets from Python, JavaScript or any HTTP client.
- AI agents (MCP): add
https://mcp.apify.com/?tools=apidojo/instagram-scraper-apias a remote MCP server. - No code tools: Make, Zapier, n8n and webhooks through Apify integrations.
How does the Instagram Scraper API send results to Notion or Todoist?
The Instagram Scraper API writes results into Notion, Todoist or any service whose MCP server offers non destructive write tools, through Apify MCP Connectors.
- Authorize a connector once in Console, Settings, API & Integrations, MCP connectors.
- Pick it in
outputConnector. - Paste the page URL or ID into
deliverTarget, and share that Notion page with the connector first. - Choose
perPostorsummaryindeliverMode, and setdeliverMaxItemsto cap records.
A Notion page target gets a new database with one typed column per field, including flattened nested fields such as owner.username. An existing database fills the columns it already has; an empty database gets only the title, with the rest of each record in the row body. The actor never sees your third party credentials and never deletes or overwrites data. Delivery runs after scraping and is best effort: a failed delivery leaves the run successful with a warning.
Which Instagram Scraper API Questions Come Up Most Often?
The Instagram Scraper API questions below cover pricing, login, data coverage and legality.
What is an Instagram scraper API?
An Instagram scraper API is a service that returns public Instagram posts, profiles and engagement data as structured JSON. The Instagram Scraper API does this through the Apify API, without an Instagram account.
Can the Instagram Scraper API scrape Instagram without login?
Yes. The Instagram Scraper API takes no Instagram login, cookies or API keys; it needs only an Apify account.
How is the Instagram Scraper API different from the official Instagram Graph API?
The Instagram Scraper API reads public posts from any public account, hashtag or location. The official Instagram Graph API needs a Facebook Business account setup, API keys and quota management.
How much does it cost to scrape 10,000 Instagram posts?
The Instagram Scraper API charges at most $5.00 for 10,000 posts from ten profiles with 1,000 posts each: ($0.005 × 10) + ($0.0005 × 9,900). On a paid plan, free first pages lower that total.
Can the Instagram Scraper API scrape Instagram Reels?
Yes. Profile reels URLs (/{username}/reels/), audio URLs, single /reel/{code}/ URLs and hashtags with getReels all return reels.
Can the Instagram Scraper API scrape Instagram comments?
No. The Instagram Scraper API returns commentCount only. Use Fast Instagram Comments Scraper API for comment text.
Can the Instagram Scraper API scrape Instagram followers?
No. Use Instagram User Scraper · Fast & Affordable for profile data.
Can I export Instagram data to CSV or Excel?
Yes. Every Instagram Scraper API run stores a dataset that downloads from Apify Console or the API as JSON, CSV, Excel, XML or HTML.
Can I scrape many Instagram profiles in one run?
Yes. Put every profile URL in startUrls. Each one is a separate user-query, and on a paid plan each gets its own free first page.
Can I get only recent Instagram posts?
Yes. Set until to a date or a relative value such as "7 days". Profile, reels, tagged, hashtag, location, audio and search feeds drop older posts before item charges. The query charge applies at the start of the run for every feed, even when until removes all of its posts. Single post or reel URLs, hashtag reels and stories ignore until, so their query and item charges apply as usual.
Why did my run return fewer posts than expected?
The usual causes are maxItems, resultsLimit, a strict until, duplicate posts removed across sources, a private account, or the Free plan cap of 10 items per run.
Does the Instagram Scraper API work with business accounts?
Yes. The Instagram Scraper API reads public personal, creator and business accounts alike.
Is it legal to scrape Instagram?
Legality depends on the data, its use and the jurisdiction. Instagram's terms of service and data protection laws such as GDPR apply to personal data in the results, so get legal advice for your case.
Related Actors
The 5 actors below work alongside the Instagram Scraper API.
- Instagram User Scraper · Fast & Affordable: profile details for the owners found in this actor's posts.
- Fast Instagram Comments Scraper API: comment text for the post URLs this actor returns.
- Instagram Hashtag Scraper: a dedicated hashtag scraper for hashtag only workloads.
- Instagram Location Scraper: a dedicated location scraper for geo-tagged posts.
- Instagram Scraper: apidojo's pay per result Instagram post scraper.
Support
Open an issue on the Instagram Scraper API's Issues tab, or email apidojo10@gmail.com.