Fast Instagram Scraper API - Posts, Reels, Profiles & Hashtags avatar

Fast Instagram Scraper API - Posts, Reels, Profiles & Hashtags

Pricing

from $0.50 / 1,000 instagram post items

Go to Apify Store
Fast Instagram Scraper API - Posts, Reels, Profiles & Hashtags

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

API Dojo

Maintained by Apify Partner

Actor stats

52

Bookmarked

3.2K

Total users

443

Monthly active users

22 hours

Issues response

44 minutes ago

Last modified

Features

Limited permissions

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.

InputProfile, 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 postsPaid plans: the first page of each query, at least 10 posts per profile query, and the first 10 stories
OutputOne item per post, reel or story: IDs, URL, caption, timestamps, likes, comments, video views, owner, location, audio
FormatsJSON, CSV, Excel and the other Apify dataset formats
FiltersDate filter (until), per source limit (resultsLimit), run limit (maxItems)
Not chargedDuplicate sources and duplicate posts
Agent accessApify 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.playCount and owner.followerCount for 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, with caption and owner data.
  • Instagram location data: geo-tagged posts from a venue, city or attraction, with location.name and coordinates, for local marketing and tourism research.
  • Trending audio research: reels that use a sound, from its audio URL, with audio.title and audio.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.

  1. Open the Instagram Scraper API in Apify Console.
  2. Paste Instagram URLs into startUrls, or type terms into keywords.
  3. Set maxItems to cap the run, and until to keep only recent posts.
  4. 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 ApifyClient
client = 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:

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.

EventPriceFree on paid plansWhen it is charged
location-query$0.025First page of postsOnce per location URL
tag-query$0.015First page of postsOnce per hashtag URL
tag-query$0.015First page of postsOnce per keyword or search URL
user-query$0.005First page of posts, and at least 10Once per profile, reels or tagged URL
audio-query$0.005First page of postsOnce per audio URL
story-query$0.005First 10 storiesOnce per profile, handle or user ID with getStories
story-query$0.005NoneOnce per hashtag with getReels, for its reels
single-item-query$0.005NoneOnce per single post or reel URL
dataset-item$0.0005Each 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.

ScenarioCharge eventsCalculationMaximum cost
1 profile, 10 posts1 user-query$0.005$0.005
1 profile, 100 posts1 user-query + 90 items$0.005 + ($0.0005 × 90)$0.050
1 location, 200 posts1 location-query + 200 items$0.025 + ($0.0005 × 200)$0.125
1 hashtag, 500 posts1 tag-query + 500 items$0.015 + ($0.0005 × 500)$0.265
1 hashtag with getReels, 100 posts and 50 reels1 tag-query + 1 story-query + 150 items$0.015 + $0.005 + ($0.0005 × 150)$0.095
2 keywords, 100 posts each2 tag-query + 200 items($0.015 × 2) + ($0.0005 × 200)$0.130
10 profiles, 100 posts each10 user-query + 900 items($0.005 × 10) + ($0.0005 × 900)$0.500
1 single post URL1 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.

MetricValue
Cost per charged post$0.0005
Posts per $1 at the item rate2,000
1,000 posts from 1 profile, reels or tagged URLat most $0.50
1,000 posts from 1 audio URLat most $0.505
1,000 posts from 1 hashtag, keyword or locationat 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.

FieldTypeRequiredDescriptionDefault
startUrlsarrayOne source required (see input rules)Instagram URLs: profile, hashtag, location, audio, reels, tagged, search, single post /p/{code}/ or reel /reel/{code}/
keywordsarrayOne source required (see input rules)Terms to search posts by. Each keyword runs a separate search
getStoriesbooleanNoReturns active stories for the profiles, handles and userIds givenfalse
handlesarrayOne source required (see input rules)Usernames whose stories are fetched with getStories
userIdsarrayOne source required (see input rules)User IDs whose stories are fetched with getStories
getReelsbooleanNoHashtag URLs also return the hashtag's reels. until is not applied to themfalse
untilstringNoKeeps 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)
resultsLimitintegerNoMaximum items per source: each URL, keyword, handle and user ID. Whole number of at least 1
maxItemsintegerNoMaximum items for the whole run
customMapFunctionstringNoJavaScript function that transforms each item
outputConnectorstringNoMCP connector that receives the results
deliverTargetstringNoURL or ID the connector writes to
deliverModestringNoperPost (one record per item) or summary (one roll-up per run)perPost
deliverMaxItemsintegerNoCap 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 typeFormatExample
Profilehttps://www.instagram.com/{username}/https://www.instagram.com/nike/
Hashtaghttps://www.instagram.com/explore/tags/{hashtag}/https://www.instagram.com/explore/tags/travel/
Locationhttps://www.instagram.com/explore/locations/{id}/{name}/https://www.instagram.com/explore/locations/213131048/
Audiohttps://www.instagram.com/reels/audio/{id}/https://www.instagram.com/reels/audio/271328201351336/
Profile reelshttps://www.instagram.com/{username}/reels/https://www.instagram.com/@nike/reels/
Tagged postshttps://www.instagram.com/{username}/tagged/https://www.instagram.com/@nike/tagged/
Keyword searchhttps://www.instagram.com/explore/search/keyword/?q={keyword}https://www.instagram.com/explore/search/keyword/?q=earn%20money
Single post or reelhttps://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 in keywords, or one entry in handles or userIds with getStories set to true.
  • Two limits together: resultsLimit caps each source and maxItems caps the run; whichever is reached first stops collection.
  • Separate limits per feed: a hashtag URL with getReels gets resultsLimit for its posts and again for its reels; a profile with getStories gets it for posts and again for stories.
  • Uncounted items: posts removed by until or as duplicates do not count toward resultsLimit or maxItems.
  • Date filter scope: until does 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.

FieldHow it is used
directUrlsAdded to startUrls. With at least one URL, search is ignored; an empty list leaves search as is
searchComma separated terms, used with searchType. Each term becomes one source
searchTypehashtag (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
onlyPostsNewerThanUsed as until, including relative values. When both are set, until wins
resultsTypeposts (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
addParentDataAdds a dataSource field to every item: profile, reels, hashtag, tagged, location, audio, search, post or story
searchLimit, isUserTaggedFeedURL, isUserReelFeedURL, enhanceUserSearchWithFacebookPageNot 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.

FieldTypePresentDescription
inputSourcestringAlwaysThe URL, keyword or handle that returned the item
idstringAlwaysInstagram post ID
codestringAlwaysPost shortcode
urlstringAlwaysPost URL
createdAtISO 8601AlwaysPublication time
ownerobjectAlwaysusername, fullName, id, profilePicUrl, isPrivate, isVerified, followerCount, followingCount, postCount
captionstringWhen setCaption with hashtags and mentions
likeCountintegerWhen visibleLikes; hidden on some posts
commentCountintegerWhen enabledComments; disabled on some posts
isVideobooleanAlways for postsVideo flag
videoobjectVideo postsurl, duration, playCount (Instagram and Facebook views), igPlayCount, fbPlayCount
imageobjectImage postsImage URL and dimensions
coownersarrayCollab postsCo-authors with id, username, fullName, profilePicUrl, isPrivate, isVerified
locationobjectGeo-tagged postsName, ID, latitude and longitude
audioobjectPosts with audiotitle, artist and audio ID
dataSourcestringWith addParentDataThe 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.

SituationWhat happens
Not valid JavaScript, not a function, or an async or generator functionRejected before the first request; original items are saved
Returns a Promise or a non object, or throwsRejected at that item; remaining items are saved unmodified
Takes longer than about 1 second on one itemRejected at that item; remaining items are saved unmodified
Uses new Date, Date.now or 1970Rejected; 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 until such 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-api as 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.

  1. Authorize a connector once in Console, Settings, API & Integrations, MCP connectors.
  2. Pick it in outputConnector.
  3. Paste the page URL or ID into deliverTarget, and share that Notion page with the connector first.
  4. Choose perPost or summary in deliverMode, and set deliverMaxItems to 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.

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.

The 5 actors below work alongside the Instagram Scraper API.

Support

Open an issue on the Instagram Scraper API's Issues tab, or email apidojo10@gmail.com.