View raw JSON
{
"type": "object",
"required": [],
"properties": {
"body": {
"type": "object",
"title": "Input schema for Instagram scraper",
"required": [],
"properties": {
"search": {
"type": "string",
"title": "Search query",
"editor": "textfield",
"description": "Optional text to find profile, hashtag or place pages. Search combines Instagram or Facebook Ads sources with Google, so matches may differ from logged-in Instagram search.",
"sectionCaption": "Scrape based on search query instead of URL",
"sectionDescription": "Instagram search is available indirectly. The scraper gets the data combining results from Instagram (or Facebook Ads) and Google search. For that reason results might be slightly different from what you see on Instagram as a logged in user."
},
"directUrls": {
"type": "array",
"items": {
"type": "string",
"pattern": "https:\\/\\/(www\\.)?instagram\\.com\\/.+"
},
"title": "Instagram URLs you want to scrape",
"editor": "stringList",
"prefill": [
"https://www.instagram.com/humansofny/"
],
"description": "Optional list of distinct HTTPS Instagram URLs for selected profiles, posts, hashtags or places. Use URLs or a search query to identify targets. The prefilled humansofny URL is an example, not a default.",
"uniqueItems": true,
"placeholderValue": "URL"
},
"searchType": {
"enum": [
"user",
"hashtag",
"place"
],
"type": "string",
"title": "Search type",
"editor": "select",
"default": "hashtag",
"prefill": "hashtag",
"enumTitles": [
"Search users",
"Search hashtags",
"Search places"
],
"description": "Optional choice of user for profiles, hashtag for hashtag pages, or place for locations. Defaults to hashtag and applies when using a search query."
},
"resultsType": {
"enum": [
"posts",
"comments",
"details",
"mentions",
"reels",
"stories"
],
"type": "string",
"title": "What do you want to scrape from each page?",
"editor": "select",
"default": "posts",
"prefill": "posts",
"enumTitles": [
"Scrape posts",
"Scrape comments",
"Scrape details of a profile, post, hashtag or place",
"Scrape profile mentions",
"Scrape profile reels",
" "
],
"description": "Optional mode, default posts. comments requires post URLs; details collects profile, post, hashtag or place information; mentions and reels collect the respective posts from profiles. stories is deprecated and does not provide a supported Stories mode; use reels for Reels."
},
"searchLimit": {
"type": "integer",
"title": "Search results limit",
"editor": "number",
"maximum": 250,
"minimum": 1,
"prefill": 1,
"description": "Optional maximum number of matching pages requested in search mode, from 1 to 250. The prefilled 1 is an example, not a default. This counts profiles, hashtags or places, not posts across the request."
},
"resultsLimit": {
"type": "integer",
"title": "Max results per URL",
"editor": "number",
"minimum": 1,
"prefill": 200,
"description": "Optional post or comment limit for each Instagram URL, at least 1. The prefilled 200 is an example, not a default; no maximum is specified for this setting. Comments are separately limited to at most 50 per post. This is not a total request limit or a guarantee of the number returned."
},
"addParentData": {
"type": "boolean",
"title": "Add metadata",
"editor": "hidden",
"default": false,
"description": "Optional, default false. For feed items, adds context about the parent source: the profile for profile posts or the hashtag for hashtag posts. It does not request a separate complete profile report."
},
"onlyPostsNewerThan": {
"type": "string",
"title": "Newer than",
"editor": "datepicker",
"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?$",
"dateType": "absoluteOrRelative",
"description": "Optional filter requesting posts published after the chosen time, interpreted in UTC. Use an absolute YYYY-MM-DD date or full ISO time, or a relative value such as 1 days, 2 months or 3 years. Exact boundary inclusion and complete coverage are not guaranteed; this refers to publication, not retrieval time."
}
},
"description": "Optional settings for collecting public records from selected Instagram URLs or a search query. Choose a result mode suitable for the target; use a URL or query to make a useful request.",
"schemaVersion": 1
}
},
"additionalProperties": false
}