{"uid":"cap_7mAAjqOli4AKuzyDogrmx","slug":"instagram-api-scraper-apify-via-stableapify-a928b334","name":"Instagram API Scraper (Apify via StableApify)","description":"Start the \"Instagram API Scraper\" Apify actor (apify/instagram-api-scraper). Scrape and download Instagram posts, profiles, places, hashtags, photos without login. Supports search keywords and URL lists. Download your data as HTML table…","url":"https://stableapify.dev/api/actors/apify/instagram-api-scraper/call","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"input":{"type":"object","required":["resultsType","searchType","addParentData"],"properties":{"search":{"type":"string","description":"Provide a search query which will be used to search Instagram for profiles, hashtags or places."},"directUrls":{"type":"array","items":{"type":"string"},"description":"Add one or more Instagram URLs to scrape. The field is optional, but you need to either use this field or search query below."},"searchType":{"enum":["user","hashtag","place"],"type":"string","default":"hashtag","description":"What type of pages to search for (you can look for hashtags, profiles or places)."},"resultsType":{"enum":["posts","comments","details","mentions","reels","stories"],"type":"string","default":"posts","description":"You can choose to get posts, comments or details from Instagram URLs. Comments can only be scraped from post URLs. ❗Please note that the stories type has been deprecated. It used to return reels data, which wasn’t aligned with its purpose. Please use reels instead."},"searchLimit":{"type":"integer","maximum":250,"minimum":1,"description":"How many search results (hashtags, users or places) should be returned."},"resultsLimit":{"type":"integer","maximum":9007199254740991,"minimum":1,"description":"How many posts or comments (max 50 comments per post) you want to scrape from each Instagram URL. If you set this to 1, you will get a single post from each page."},"addParentData":{"type":"boolean","default":false,"description":"Only for feed items - add data source to results, i.e. for profile posts metadata is profile, for tag posts metadata is hashtag"},"onlyPostsNewerThan":{"type":"string","pattern":"^(\\d{4})-(0[1-9]|1[0-2])-(0[1-9]|[12]\\d|3[01])(T[0-2]\\d:[0-5]\\d(:[0-5]\\d)?(\\.\\d+)?Z?)?$|^(\\d+)\\s*(minute|hour|day|week|month|year)s?$","description":"Limit how far back to the history the scraper should go. The date should be in YYYY-MM-DD or full ISO absolute format or in relative format e.g. 1 days, 2 months, 3 years. All time values are taken in UTC timezone"}},"description":"Normalized actor input. See field descriptions for the simplified shape; native Apify input also accepted (passed through).","additionalProperties":{}},"options":{"type":"object","properties":{"build":{"type":"string","maxLength":100,"minLength":1},"memory":{"type":"integer","maximum":32768,"minimum":128},"maxItems":{"type":"integer","maximum":100000,"minimum":1}},"description":"Optional Apify run options.","additionalProperties":false}}},"responseSchema":null,"example":{"request":{"input":{"username":"sarptecimer","includeEmail":false},"options":{"memory":1024,"maxItems":100}},"response":{"run":{"id":"25esyd0xKbuqOEUoR","status":"READY","actorId":"RB9HEZitC8hIUXAha","startedAt":"2026-06-16T17:44:42.619Z","usageTotalUsd":0,"defaultDatasetId":"vlMp6nsUsRRDUp3Jb"},"token":"eyJhbGciOiJIUzI1NiJ9.eyJydW5JZCI6IjI1ZXN5ZDB4S2J1cU9FVW9SIiwiYWN0b3JJZCI6ImFwaWZ5L2luc3RhZ3JhbS1hcGktc2NyYXBlciIsImRlZmF1bHREYXRhc2V0SWQiOiJ2bE1wNm5zVXNSUkRVcDNKYiIsInciOiIweDljYzQyZjNkOTI0NWI4NjdhY2NjZDYzMGI0M2Y5MDZjMTY2NWIxNzYiLCJpYXQiOjE3ODE2MzE4ODIsImV4cCI6MTc4NDIyMzg4Mn0.gcKBJZ93dWJrKXzSSFMo1FSV8yNQjCv17F_AJzRRMi4"}},"exampleRequest":{"input":{"username":"sarptecimer","includeEmail":false},"options":{"memory":1024,"maxItems":100}},"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_y8WabHmL8mxhATlT6s9Ca","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Starts an Apify actor run that scrapes Instagram profiles, posts, hashtags, places, and photos without requiring login credentials.","exampleAgentPrompt":"Scrape the public Instagram profile for username 'natgeo' — pull up to 100 posts and keep memory at 1024 MB.","exampleUseCases":[{"title":"Competitor Instagram profile audit","prompt":"Scrape the Instagram profile and last 100 posts for the account 'nikefootball' — I want to analyze their posting frequency and content, use 1024 MB memory."},{"title":"Hashtag trend data collection","prompt":"Can you pull posts from the Instagram hashtag 'veganfood' — grab up to 200 items with 2048 MB memory so I can analyze trending content in that niche?"},{"title":"Influencer research for brand partnership","prompt":"Get me the public Instagram profile data for 'humansofnewyork' including their recent posts, limit it to 50 items — I'm evaluating them as a potential brand partner."}],"resultDescription":"Returns an actor run object containing the run ID, status (e.g. READY), actor ID, start timestamp, total USD usage, default dataset ID for retrieving results, and a short-lived JWT token to fetch the scraped dataset once the run completes.","failureModes":["Private or restricted Instagram account returns no data","Invalid username or URL causes actor run to fail or return empty dataset","Memory limit too low for large scrape jobs causes actor to crash","Rate limiting or Instagram anti-bot measures result in incomplete data","Token expiry before dataset is fetched (token valid ~30 days)","Run may stay in READY/RUNNING state for extended time with no callback"],"whenToPreferThis":"Choose this endpoint when you need to scrape public Instagram data (profiles, posts, hashtags, places) without managing Instagram login credentials or maintaining a scraping infrastructure. Ideal for agents that need structured Instagram data on-demand with a pay-per-call model using USDC. Prefer over direct Apify API calls when you want a simplified x402-payment-enabled interface without managing Apify API keys.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T12:54:18.901Z","isFirstParty":false}