{
  "openapi": "3.0.1",
  "info": {
    "title": "Instagram Followers: With Bot Profile checker",
    "description": "📸 Instagram Followers & Following Scraper gathers accurate follower/following lists from public profiles. 🔍 Perfect for audience analysis, influencer vetting & competitor research. 📥 Export CSV/JSON, API-ready, proxy support, rate-limit aware. ⚡ Fast, reliable. 🚀 Grow smarter.",
    "version": "0.1",
    "x-build-id": "GqHpRp9veGKrel2pQ"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/simpleapi~instagram-followers-and-following-scrapper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-simpleapi-instagram-followers-and-following-scrapper",
        "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/simpleapi~instagram-followers-and-following-scrapper/runs": {
      "post": {
        "operationId": "runs-sync-simpleapi-instagram-followers-and-following-scrapper",
        "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/simpleapi~instagram-followers-and-following-scrapper/run-sync": {
      "post": {
        "operationId": "run-sync-simpleapi-instagram-followers-and-following-scrapper",
        "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",
        "properties": {
          "profileTargets": {
            "title": "🎯 Target Instagram Profiles",
            "type": "array",
            "description": "List of Instagram profile URLs or usernames whose followers/following you want to scrape.\n\nExamples:\n• https://www.instagram.com/cristiano/\n• https://www.instagram.com/nike/\n• cristiano\n• nike\n\nAdd multiple profiles to process them all in one run. (Also accepts the base actor's original 'startUrls' key.)",
            "items": {
              "type": "string"
            }
          },
          "listMode": {
            "title": "🔄 List Mode",
            "enum": [
              "followers",
              "following"
            ],
            "type": "string",
            "description": "Choose what to collect:\n• followers - accounts that follow the target profile(s)\n• following - accounts the target profile(s) follow\n\n(Also accepts the base actor's original 'scrapeMode' key.)"
          },
          "maxProfilesPerTarget": {
            "title": "📈 Max Profiles per Target",
            "minimum": 0,
            "maximum": 100000,
            "type": "integer",
            "description": "Maximum number of followers/following to collect per target profile.\n\nRange: 0-100,000. Default: 100. 0 = unlimited (collect until pagination ends).\n\n(Also accepts the base actor's original 'maxData' key.)"
          },
          "resultsPerPage": {
            "title": "📄 Results per API Page",
            "minimum": 1,
            "maximum": 50,
            "type": "integer",
            "description": "Advanced: page size used for each underlying followers/following API request. Lower is gentler on rate limits, higher means fewer round-trips.\n\nDefault: 12. (Also accepts the base actor's original hidden 'pageSize' input, which this variant now exposes.)"
          },
          "igSessionCookie": {
            "title": "🍪 Instagram sessionid (recommended)",
            "type": "string",
            "description": "Optional but strongly recommended for better success rates.\n\nHow to get it:\n1. Log into Instagram in your browser\n2. Open Developer Tools (F12) → Application/Storage → Cookies → https://www.instagram.com\n3. Copy the 'sessionid' cookie value\n\nWithout it, the scraper still runs (logged-out) but may get blocked more often.\n\n(Also accepts the base actor's original 'sessionId' key.)"
          },
          "excludeLowQuality": {
            "title": "🚫 Exclude Low-Quality Rows",
            "type": "boolean",
            "description": "When enabled, rows scored qualityTier='low' are computed (and still counted in the quality-summary row) but NOT pushed as individual output rows. Default: false (keep everything).",
            "default": false
          },
          "minQualityScore": {
            "title": "🎚️ Minimum Quality Score",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "Drop individual rows whose qualityScore is below this value (0-100). The row is still counted in the run's quality-summary breakdown. Default: 0 (no filtering). Combine with excludeLowQuality if you want both rules applied.",
            "default": 0
          },
          "proxyConfiguration": {
            "title": "🔒 Proxy Configuration",
            "type": "object",
            "description": "Configure proxy settings for enhanced reliability and bypassing restrictions.\n\nSmart fallback: 1) no proxy (default, direct) 2) datacenter proxy 3) residential proxy (sticky, automatic on repeated blocks, 3 retries).\n\nRecommended: enable proxy for better success rates."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}