{"uid":"cap_xxl4SCsBkebQOTw4nZ1Z_","slug":"apify-instagram-scraper-e86ee306","name":"Apify Instagram Scraper","description":"","url":"https://apify-api-git-br-better-actor-pay-merit-systems.vercel.app/api/actors/apify/instagram-scraper/call","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"type":"object","required":["resultsType","searchType","addParentData"],"properties":{"search":{"type":"string","description":"Search for Instagram hashtags, profiles, or places. Use `#` for hashtags, e.g. `#travel`."},"directUrls":{"type":"array","items":{"type":"string"},"description":"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":{"enum":["hashtag","profile","place","user"],"type":"string","default":"hashtag","description":"Hashtag search returns posts tagged with that term. Profile search returns matching accounts. Place search returns matching locations."},"resultsType":{"enum":["posts","details","comments","reels","mentions","stories"],"type":"string","default":"posts","description":"**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":{"type":"integer","maximum":250,"minimum":1,"description":"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":{"type":"integer","maximum":9007199254740991,"minimum":1,"description":"Set how many posts or comments to scrape per Instagram URL. Higher values increase compute usage and cost. Maximum 50 comments per post. Instagram may return fewer than 15 comments on some posts. Use `1` to retrieve a single post per page."},"addParentData":{"type":"boolean","default":false,"description":"This applies only to feed items. Adds a dataSource field to each result: profile posts are labeled `profile`, and tag posts are labeled `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 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."}},"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}},"additionalProperties":false},"type":{"type":"string","const":"http"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false}}},"responseSchema":null,"example":{"request":{"input":{"startUrls":[{"url":"https://www.instagram.com/p/ABC123xyz/"}],"maxResults":1}},"response":{"run":{"id":"I2PKA1apaXAarvpGf","status":"READY","actorId":"shu8hvrXbJbY3Eb9W","startedAt":"2026-06-09T04:34:43.695Z","usageTotalUsd":0,"defaultDatasetId":"SNjIegN1r9RbBWsAL"},"token":"eyJhbGciOiJIUzI1NiJ9.eyJydW5JZCI6IkkyUEtBMWFwYVhBYXJ2cEdmIiwiYWN0b3JJZCI6ImFwaWZ5L2luc3RhZ3JhbS1zY3JhcGVyIiwiZGVmYXVsdERhdGFzZXRJZCI6IlNOakllZ04xcjlSYkJXc0FMIiwidyI6IjB4OWNjNDJmM2Q5MjQ1Yjg2N2FjY2NkNjMwYjQzZjkwNmMxNjY1YjE3NiIsImlhdCI6MTc4MDk3OTY4MywiZXhwIjoxNzgzNTcxNjgzfQ.AEs9oJFkImS3hiRUz4iY_A3aGhMQcmcLWjY0ZdunX9U"}},"exampleRequest":{"input":{"startUrls":[{"url":"https://www.instagram.com/p/ABC123xyz/"}],"maxResults":1}},"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.95","reviews":0,"stars":null,"state":"rated"},"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_2-9iEAfdO498B-qHWmqYU","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Starts the Apify instagram-scraper actor to scrape posts, profiles, hashtags, places, photos, and comments from Instagram URLs or search queries","exampleAgentPrompt":"Scrape the last 50 posts from the Instagram profile @natgeo and give me the image URLs, captions, likes, and comment counts for each.","exampleUseCases":null,"resultDescription":"Returns a signed token for polling the actor run status and fetching results; results include structured Instagram data such as post content, media URLs, captions, likes, comments, profile info, and hashtag/place metadata depending on input.","failureModes":["Invalid or private Instagram URL returns empty or error result","Instagram rate limiting may cause partial results","Actor timeout for very large scraping jobs","Payment failure or insufficient USDC balance prevents execution","Invalid actor input schema returns 400 error"],"whenToPreferThis":"Use this endpoint when you need to programmatically extract structured data from Instagram — posts, profiles, hashtags, places, or comments — at scale, especially when a single API call with payment via x402/USDC is preferred over managing Apify platform credentials directly.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":47,"lastUsedAt":"2026-08-13T16:01:23.341Z","lastSuccessfullyRanAt":"2026-08-13T16:01:23.341Z","lastHealthCheckAt":"2026-09-14T18:35:25.474Z","isFirstParty":false}