
iG Profile Scraper
Pricing
$17.99/month + usage

iG Profile Scraper
Under maintenance5.0 (1)
Pricing
$17.99/month + usage
0
5
1
Last modified
12 days ago

Pricing
$17.99/month + usage

5.0 (1)
Pricing
$17.99/month + usage
0
5
1
Last modified
12 days ago
You can access the iG Profile Scraper programmatically from your own applications by using the Apify API. You can also choose the language preference from below. To use the Apify API, you’ll need an Apify account and your API token, found in Integrations settings in Apify Console.
{  "openapi": "3.0.1",  "info": {    "version": "0.0",    "x-build-id": "tn00hZDL7YNwZx5t2"  },  "servers": [    {      "url": "https://api.apify.com/v2"    }  ],  "paths": {    "/acts/ceo.aijaz~ig-profile-scraper/run-sync-get-dataset-items": {      "post": {        "operationId": "run-sync-get-dataset-items-ceo.aijaz-ig-profile-scraper",        "x-openai-isConsequential": false,        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",        "tags": [          "Run Actor"        ],        "requestBody": {          "required": true,          "content": {            "application/json": {              "schema": {                "$ref": "#/components/schemas/inputSchema"              }            }          }        },        "parameters": [          {            "name": "token",            "in": "query",            "required": true,            "schema": {              "type": "string"            },            "description": "Enter your Apify token here"          }        ],        "responses": {          "200": {            "description": "OK"          }        }      }    },    "/acts/ceo.aijaz~ig-profile-scraper/runs": {      "post": {        "operationId": "runs-sync-ceo.aijaz-ig-profile-scraper",        "x-openai-isConsequential": false,        "summary": "Executes an Actor and returns information about the initiated run in response.",        "tags": [          "Run Actor"        ],        "requestBody": {          "required": true,          "content": {            "application/json": {              "schema": {                "$ref": "#/components/schemas/inputSchema"              }            }          }        },        "parameters": [          {            "name": "token",            "in": "query",            "required": true,            "schema": {              "type": "string"            },            "description": "Enter your Apify token here"          }        ],        "responses": {          "200": {            "description": "OK",            "content": {              "application/json": {                "schema": {                  "$ref": "#/components/schemas/runsResponseSchema"                }              }            }          }        }      }    },    "/acts/ceo.aijaz~ig-profile-scraper/run-sync": {      "post": {        "operationId": "run-sync-ceo.aijaz-ig-profile-scraper",        "x-openai-isConsequential": false,        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",        "tags": [          "Run Actor"        ],        "requestBody": {          "required": true,          "content": {            "application/json": {              "schema": {                "$ref": "#/components/schemas/inputSchema"              }            }          }        },        "parameters": [          {            "name": "token",            "in": "query",            "required": true,            "schema": {              "type": "string"            },            "description": "Enter your Apify token here"          }        ],        "responses": {          "200": {            "description": "OK"          }        }      }    }  },  "components": {    "schemas": {      "inputSchema": {        "type": "object",        "required": [          "mode"        ],        "properties": {          "mode": {            "title": "1. Choose Operation Mode",            "enum": [              "MODE1",              "MODE2",              "MODE3",              "MODE4"            ],            "type": "string",            "description": "Select how you want to scrape Instagram profiles",            "default": "MODE1"          },          "targetUsername": {            "title": "Target Account",            "type": "string",            "description": "Instagram handle to scrape (without @). Example: instagram"          },          "scrapeFollowers": {            "title": "Scrape Followers",            "type": "boolean",            "description": "Extract followers of the target account",            "default": true          },          "scrapeFollowing": {            "title": "Scrape Following",            "type": "boolean",            "description": "Extract following list of the target account",            "default": false          },          "maxProfilesMode1": {            "title": "Max profiles to process (cost control)",            "minimum": 1,            "maximum": 100000,            "type": "integer",            "description": "Maximum number of profiles to scrape",            "default": 100          },          "targetUsernames": {            "title": "List of Target Profiles",            "type": "array",            "description": "Instagram handles for batch processing (one per line, without @)",            "items": {              "type": "string"            }          },          "scrapeFollowersMode2": {            "title": "Scrape Followers",            "type": "boolean",            "description": "Extract followers from each account",            "default": true          },          "scrapeFollowingMode2": {            "title": "Scrape Following",            "type": "boolean",            "description": "Extract following from each account",            "default": false          },          "maxProfilesPerAccount": {            "title": "Max profiles to process per account (cost control)",            "minimum": 1,            "maximum": 10000,            "type": "integer",            "description": "Maximum profiles to extract per account",            "default": 100          },          "usernamesToAnalyze": {            "title": "List of Profiles to Analyze",            "type": "array",            "description": "Specific Instagram handles to enrich with data (one per line, without @)",            "items": {              "type": "string"            }          },          "maxProfilesMode3": {            "title": "Max profiles to process (cost control)",            "minimum": 1,            "maximum": 100000,            "type": "integer",            "description": "Maximum number of profiles to analyze",            "default": 100          },          "seedUsernames": {            "title": "Start Profiles",            "type": "array",            "description": "Seed profiles to start network expansion (one per line, without @)",            "items": {              "type": "string"            }          },          "expansionDepth": {            "title": "Search Depth",            "minimum": 1,            "maximum": 3,            "type": "integer",            "description": "How many levels deep to expand (1 recommended for cost efficiency)",            "default": 1          },          "maxProfilesMode4": {            "title": "Max profiles to process (cost control)",            "minimum": 1,            "maximum": 100000,            "type": "integer",            "description": "Maximum number of profiles to discover",            "default": 200          },          "extractEmail": {            "title": "Extract Email",            "type": "boolean",            "description": "Try to extract email addresses from bio and business contact info",            "default": true          },          "extractPhone": {            "title": "Extract Phone Number",            "type": "boolean",            "description": "Try to extract phone numbers from bio and business contact info",            "default": true          },          "extractWebsite": {            "title": "Extract Website URL",            "type": "boolean",            "description": "Extract website/external links from profile",            "default": true          },          "extractBusinessCategory": {            "title": "Extract Business Category",            "type": "boolean",            "description": "Extract business category/niche (if available)",            "default": true          },          "extractAddress": {            "title": "Extract Physical Address",            "type": "boolean",            "description": "Extract business address from location info",            "default": false          },          "calculateEngagementRate": {            "title": "Calculate Engagement Rate (ER)",            "type": "boolean",            "description": "Calculate engagement rate based on recent posts (may increase processing time)",            "default": true          },          "extractPostCaptions": {            "title": "Extract Latest Post Captions",            "type": "boolean",            "description": "Get text content from recent posts",            "default": false          },          "deepContactSearch": {            "title": "Deep Search for Contacts in Posts",            "type": "boolean",            "description": "Search for additional contact info in post captions and comments (slower)",            "default": false          },          "keywords": {            "title": "Filter by Keywords",            "type": "array",            "description": "Only include profiles containing these keywords (leave empty to disable)",            "items": {              "type": "string"            }          },          "keywordSearchIn": {            "title": "Search Keywords In",            "enum": [              "bio",              "fullName",              "both"            ],            "type": "string",            "description": "Where to search for keywords",            "default": "bio"          },          "locationKeywords": {            "title": "Filter by Location Keywords",            "type": "array",            "description": "Filter by location mentioned in bio (e.g., New York, London, Dubai)",            "items": {              "type": "string"            }          },          "language": {            "title": "Filter by Profile Language",            "enum": [              "any",              "en",              "es",              "fr",              "de",              "it",              "pt",              "ar",              "hi",              "ja",              "ko"            ],            "type": "string",            "description": "Filter profiles by detected language in bio",            "default": "any"          },          "minFollowers": {            "title": "Follower Count Range: Min",            "minimum": 0,            "type": "integer",            "description": "Minimum number of followers (0 = no minimum)",            "default": 0          },          "maxFollowers": {            "title": "and Max",            "minimum": 0,            "type": "integer",            "description": "Maximum number of followers (0 = unlimited)",            "default": 0          },          "lastPostAfter": {            "title": "Filter by Last Post Date",            "type": "string",            "description": "Only include profiles that posted after this date (YYYY-MM-DD)"          },          "minPostsInPeriod": {            "title": "Filter by Posting Frequency: Min Posts",            "minimum": 0,            "type": "integer",            "description": "Minimum number of posts required in the specified period",            "default": 0          },          "postingPeriodDays": {            "title": "in the last (days)",            "minimum": 1,            "maximum": 365,            "type": "integer",            "description": "Time period in days to check posting frequency",            "default": 30          },          "reelsFilter": {            "title": "Filter by Recent Reels",            "enum": [              "disabled",              "hasReels",              "noReels"            ],            "type": "string",            "description": "Filter by presence of recent Reels/video content",            "default": "disabled"          },          "minMedianViews": {            "title": "Filter by Median Views",            "minimum": 0,            "type": "integer",            "description": "Minimum median views on recent posts (0 = disabled)",            "default": 0          },          "highEngagementOnly": {            "title": "Filter by Views/Followers Ratio >= 30%",            "type": "boolean",            "description": "Only include accounts with high engagement (views >= 30% of followers)",            "default": false          },          "contactInfoFilter": {            "title": "Filter by Contact Info Presence",            "enum": [              "any",              "hasEmail",              "hasPhone",              "hasWebsite",              "hasAny",              "hasEmailOrPhone"            ],            "type": "string",            "description": "Filter profiles by availability of contact information",            "default": "any"          },          "requireWebsite": {            "title": "Filter by Website Presence",            "type": "boolean",            "description": "Only include profiles with website links",            "default": false          },          "accountTypeFilter": {            "title": "Filter by Account Type",            "enum": [              "any",              "business",              "creator",              "personal"            ],            "type": "string",            "description": "Filter by Instagram account type",            "default": "any"          },          "influencersOnly": {            "title": "Filter for Influencers Only (by Category)",            "type": "boolean",            "description": "Only include accounts identified as influencers",            "default": false          },          "businessCategories": {            "title": "Filter by Specific Business Category",            "type": "array",            "description": "Specific business categories/niches to filter (e.g., Fashion, Fitness, Food)",            "items": {              "type": "string"            }          },          "verificationFilter": {            "title": "Filter by Verification",            "enum": [              "any",              "verified",              "notVerified"            ],            "type": "string",            "description": "Filter by Instagram verification status (blue checkmark)",            "default": "any"          },          "proxy": {            "title": "Proxy Configuration",            "type": "object",            "description": "Proxy settings - Residential proxies strongly recommended for Instagram",            "default": {              "useApifyProxy": true,              "apifyProxyGroups": [                "RESIDENTIAL"              ]            }          },          "sessionCookie": {            "title": "Instagram Session Cookie (Recommended)",            "type": "string",            "description": "Your Instagram sessionid cookie for better access and data quality. See documentation for how to get this."          }        }      },      "runsResponseSchema": {        "type": "object",        "properties": {          "data": {            "type": "object",            "properties": {              "id": {                "type": "string"              },              "actId": {                "type": "string"              },              "userId": {                "type": "string"              },              "startedAt": {                "type": "string",                "format": "date-time",                "example": "2025-01-08T00:00:00.000Z"              },              "finishedAt": {                "type": "string",                "format": "date-time",                "example": "2025-01-08T00:00:00.000Z"              },              "status": {                "type": "string",                "example": "READY"              },              "meta": {                "type": "object",                "properties": {                  "origin": {                    "type": "string",                    "example": "API"                  },                  "userAgent": {                    "type": "string"                  }                }              },              "stats": {                "type": "object",                "properties": {                  "inputBodyLen": {                    "type": "integer",                    "example": 2000                  },                  "rebootCount": {                    "type": "integer",                    "example": 0                  },                  "restartCount": {                    "type": "integer",                    "example": 0                  },                  "resurrectCount": {                    "type": "integer",                    "example": 0                  },                  "computeUnits": {                    "type": "integer",                    "example": 0                  }                }              },              "options": {                "type": "object",                "properties": {                  "build": {                    "type": "string",                    "example": "latest"                  },                  "timeoutSecs": {                    "type": "integer",                    "example": 300                  },                  "memoryMbytes": {                    "type": "integer",                    "example": 1024                  },                  "diskMbytes": {                    "type": "integer",                    "example": 2048                  }                }              },              "buildId": {                "type": "string"              },              "defaultKeyValueStoreId": {                "type": "string"              },              "defaultDatasetId": {                "type": "string"              },              "defaultRequestQueueId": {                "type": "string"              },              "buildNumber": {                "type": "string",                "example": "1.0.0"              },              "containerUrl": {                "type": "string"              },              "usage": {                "type": "object",                "properties": {                  "ACTOR_COMPUTE_UNITS": {                    "type": "integer",                    "example": 0                  },                  "DATASET_READS": {                    "type": "integer",                    "example": 0                  },                  "DATASET_WRITES": {                    "type": "integer",                    "example": 0                  },                  "KEY_VALUE_STORE_READS": {                    "type": "integer",                    "example": 0                  },                  "KEY_VALUE_STORE_WRITES": {                    "type": "integer",                    "example": 1                  },                  "KEY_VALUE_STORE_LISTS": {                    "type": "integer",                    "example": 0                  },                  "REQUEST_QUEUE_READS": {                    "type": "integer",                    "example": 0                  },                  "REQUEST_QUEUE_WRITES": {                    "type": "integer",                    "example": 0                  },                  "DATA_TRANSFER_INTERNAL_GBYTES": {                    "type": "integer",                    "example": 0                  },                  "DATA_TRANSFER_EXTERNAL_GBYTES": {                    "type": "integer",                    "example": 0                  },                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {                    "type": "integer",                    "example": 0                  },                  "PROXY_SERPS": {                    "type": "integer",                    "example": 0                  }                }              },              "usageTotalUsd": {                "type": "number",                "example": 0.00005              },              "usageUsd": {                "type": "object",                "properties": {                  "ACTOR_COMPUTE_UNITS": {                    "type": "integer",                    "example": 0                  },                  "DATASET_READS": {                    "type": "integer",                    "example": 0                  },                  "DATASET_WRITES": {                    "type": "integer",                    "example": 0                  },                  "KEY_VALUE_STORE_READS": {                    "type": "integer",                    "example": 0                  },                  "KEY_VALUE_STORE_WRITES": {                    "type": "number",                    "example": 0.00005                  },                  "KEY_VALUE_STORE_LISTS": {                    "type": "integer",                    "example": 0                  },                  "REQUEST_QUEUE_READS": {                    "type": "integer",                    "example": 0                  },                  "REQUEST_QUEUE_WRITES": {                    "type": "integer",                    "example": 0                  },                  "DATA_TRANSFER_INTERNAL_GBYTES": {                    "type": "integer",                    "example": 0                  },                  "DATA_TRANSFER_EXTERNAL_GBYTES": {                    "type": "integer",                    "example": 0                  },                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {                    "type": "integer",                    "example": 0                  },                  "PROXY_SERPS": {                    "type": "integer",                    "example": 0                  }                }              }            }          }        }      }    }  }}OpenAPI is a standard for designing and describing RESTful APIs, allowing developers to define API structure, endpoints, and data formats in a machine-readable way. It simplifies API development, integration, and documentation.
OpenAPI is effective when used with AI agents and GPTs by standardizing how these systems interact with various APIs, for reliable integrations and efficient communication.
By defining machine-readable API specifications, OpenAPI allows AI models like GPTs to understand and use varied data sources, improving accuracy. This accelerates development, reduces errors, and provides context-aware responses, making OpenAPI a core component for AI applications.
You can download the OpenAPI definitions for iG Profile Scraper from the options below:
If you’d like to learn more about how OpenAPI powers GPTs, read our blog post.
You can also check out our other API clients: