← API Catalog
Apify·Async
Instagram Scraper
Social$0.0023 / Result
What it does
Extract Instagram posts, reels, profiles, places, hashtags, carousels, and comments. Get data from Instagram using one or more Instagram URLs or search queries: content, context, metrics, metadata. Export scraped data, run the scraper via API, schedule and monitor runs or integrate with other tools.
Returns: Extract Instagram posts, reels, profiles, places, hashtags, carousels, and comments. Get data from Instagram using one or more Instagram URLs or search queries: content, context, metrics, metadata. Export scraped data, run the scraper via API, schedule and monitor runs or integrate with other tools.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
search | text | No | Search for Instagram hashtags, profiles, or places. Use # for hashtags, e.g. #travel. |
directUrls | array | No | Add one or more Instagram URLs to scrape. URL format must match your content type:/p/ for posts and comments /reel/ for reels /username/ for profile details Leave blank if using the search query instead. |
searchType | select | No | Hashtag search returns posts tagged with that term. Profile search returns matching accounts. Place search returns matching locations. |
resultsType | select | No | Posts returns a feed of content. Profile, hashtag, or place details returns metadata about the page: follower count, bio, post count, and profile picture. Comments only work with post URLs, e.g. instagram.com/p/ABC123xyz/ not instagram.com/username/. |
searchLimit | number | No | Set how many profiles, places, or hashtags to find. To limit posts per result, use Results limit per URL. Higher values increase compute usage and cost. |
resultsLimit | number | No | Set how many posts or comments to scrape per Instagram URL. Higher values increase compute usage and cost. ⚠️ Free usage gets only the top 15 comments, sorted by newest, and around 21 mentions. Upgrade to Starter plan for full access. Use 1 to retrieve a single post per page. |
onlyPostsNewerThan | text | No | Limit how far back to scrape. Enter a date in YYYY-MM-DD, ISO format, or as a relative value, e.g. 1 day, 2 months, 3 years. Times are in UTC, not local time. New York is UTC-5 in winter, UTC-4 in summer. Pinned posts may still appear even with this filter set. |
Endpoints
GET
/v1/agents/resources/inspect/apify.apify.instagram-scraperPublicPOST
/v1/agents/resources/estimate/apify.apify.instagram-scraperPublicPOST
/v1/agents/resources/run/apify.apify.instagram-scraperAgent keyGET
/v1/agents/resources/runs/{run_id}Agent keyQuick start
Run it with one Agent One Key over the OpenAI-compatible resource rail.
curl -X POST https://api.deva.me/v1/agents/resources/run/apify.apify.instagram-scraper \
-H "Authorization: Bearer deva_i1_your_key_here" \
-H "Content-Type: application/json" \
--data '{
"params": {}
}'Related in Social
Tweet Scraper V2 - X / Twitter Scraper
Lightning-fast search, URL, list, and profile scraping, with customizable filters. At $0.40 per 1000 tweets, and 30-80 tweets per second, it is ideal for researchers, entrepreneurs, and businesses! Get comprehensive insights from Twitter (X) now!
TikTok Scraper
Extract data from TikTok videos, hashtags, and users. Use URLs or search queries to scrape TikTok profiles, hashtags, posts, URLs, shares, followers, hearts, names, video, and music-related data. Export scraped data, run the scraper via API, schedule and monitor runs or integrate with other tools.
Instagram Profile Scraper
Scrape all Instagram profile info. Just add Instagram usernames, IDs or URLs and extract name, join date, number of followers, location, bio, website, related profiles, video&post count, latest posts. Export scraped data, schedule scraper via API, and integrate with other tools or AI workflows.
Instagram Post Scraper
Scrape Instagram posts. Just add one or more Instagram usernames and get your data in seconds including caption, metrics, images, mentions, coauthors, recent comments, sponsored status, video duration, views. Export scraped data, schedule scraper via API, integrate with other tools or AI workflows.
Facebook Posts Scraper
Extract posts, videos, and engagement metrics from Facebook pages. Get text captions, reactions, video transcripts, images, external links, collaborators, and more from Facebook pages and profiles. Export ad data, schedule runs via API, and integrate with other tools or AI workflows.
YouTube Scraper
YouTube crawler and video scraper. Alternative YouTube API with no limits or quotas. Extract and download channel name, likes, number of views, and number of subscribers.