{
  "openapi": "3.0.1",
  "info": {
    "title": "Instagram Profile Scraper No Login - Bio + Emails + 25 Fields",
    "description": "No login no cookies Instagram profile scraper for B2B lead generation. Bio emails (MX-validated), phones, multi-link bios, engagement quality, account age, posting patterns, cross-platform check (8 platforms), tech stack, niche. 25+ structured fields per username.",
    "version": "1.6",
    "x-build-id": "BZEAYqYj5ajkdfiDm"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/anshumanatrey~instagram-profile-intel-no-login/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-anshumanatrey-instagram-profile-intel-no-login",
        "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/anshumanatrey~instagram-profile-intel-no-login/runs": {
      "post": {
        "operationId": "runs-sync-anshumanatrey-instagram-profile-intel-no-login",
        "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/anshumanatrey~instagram-profile-intel-no-login/run-sync": {
      "post": {
        "operationId": "run-sync-anshumanatrey-instagram-profile-intel-no-login",
        "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": [
          "usernames"
        ],
        "properties": {
          "usernames": {
            "title": "Instagram usernames",
            "minItems": 1,
            "maxItems": 1000,
            "uniqueItems": true,
            "type": "array",
            "description": "List of Instagram usernames to analyze (without the @ symbol). Examples: 'zomato', 'biryanibykilo', 'plumgoodness'. Or paste full Instagram URLs — we auto-extract the username.",
            "items": {
              "type": "string"
            }
          },
          "enrichLevel": {
            "title": "Enrichment level",
            "enum": [
              "basic",
              "full"
            ],
            "type": "string",
            "description": "Basic = profile + bio contacts + account age + IG capabilities. Full = adds engagement scoring, posting pattern, communication style, hashtag campaigns, top/worst posts, collabs, niche detection.",
            "default": "full"
          },
          "checkCrossPlatform": {
            "title": "Check cross-platform username presence (8 platforms)",
            "type": "boolean",
            "description": "Detect if the same username exists on Threads, GitHub, Reddit, YouTube, Pinterest, Spotify, Twitter/X, Facebook. Adds ~3-8 seconds per profile.",
            "default": true
          },
          "enrichExternalUrl": {
            "title": "Fetch external URL og:metadata + emails/phones + tech stack",
            "type": "boolean",
            "description": "For each profile's external URL, fetch og:title/description/image, extra emails/phones from the website body, and detect tech stack (Shopify, Wix, Stripe, etc.). Adds ~1-3 sec per profile.",
            "default": true
          },
          "expandMultiLinkBio": {
            "title": "Expand multi-link bios (linktr.ee, beacons.ai, bio.link, etc.)",
            "type": "boolean",
            "description": "When the external URL is a multi-link bio service, fetch the page and extract all child links. Adds ~1-2 sec per profile (only when applicable).",
            "default": true
          },
          "validateEmailsViaMx": {
            "title": "MX-validate extracted emails (DNS check)",
            "type": "boolean",
            "description": "For each email extracted from the bio, run a DNS MX lookup to verify the domain accepts email. Free, fast, no extra HTTP — uses DNS. Catches typos and fake domains.",
            "default": true
          },
          "checkBioLinkHealth": {
            "title": "Health-check bio links (200 vs 404)",
            "type": "boolean",
            "description": "HEAD each bio_link URL to detect dead/broken links. Useful for finding accounts with abandoned link trees. Adds ~1-2 sec per profile.",
            "default": true
          },
          "fetchProfilePicMeta": {
            "title": "Fetch profile picture metadata (size, type)",
            "type": "boolean",
            "description": "HEAD the profile picture URL to get dimensions, content-type, file size. Adds ~0.5 sec per profile.",
            "default": true
          },
          "useResidentialProxy": {
            "title": "Use Apify Residential Proxy",
            "type": "boolean",
            "description": "Recommended ON. Rotates residential IPs to avoid Instagram + cross-platform rate limits. Turn off only if you have your own IP rotation set up.",
            "default": true
          },
          "requestDelayMs": {
            "title": "Delay between profiles (ms)",
            "minimum": 500,
            "maximum": 10000,
            "type": "integer",
            "description": "Polite delay between Instagram profile calls. Default 1500ms balances speed vs rate-limit safety. Lower = faster but more likely to hit 429.",
            "default": 1500
          },
          "maxRetries": {
            "title": "Max retries per username",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "How many times to retry a failed request before giving up on that username.",
            "default": 3
          },
          "sessionCookie": {
            "title": "Instagram session (sessionid) — optional, for reliable results",
            "type": "string",
            "description": "Optional. Instagram blocks most anonymous lookups from cloud IPs, so without this you will often get empty results. Paste YOUR OWN Instagram sessionid to run authenticated and get reliable data. How to get it: open instagram.com logged in, DevTools (F12) > Application > Cookies > https://www.instagram.com > copy the value of the 'sessionid' cookie, and paste it here. You can paste just the sessionid value, or the whole cookie string. It is stored encrypted and never logged. WARNING: use a secondary/throwaway account — automated use can get an Instagram account rate-limited or banned. This does NOT unlock private accounts you do not already follow."
          },
          "proxyCountry": {
            "title": "Residential proxy country (optional)",
            "type": "string",
            "description": "Two-letter country code (e.g. IN, US, GB) for the Apify residential proxy. Match the country where your Instagram account normally logs in — using a session from a very different country makes Instagram suspicious. Leave blank for any country."
          },
          "customProxyUrl": {
            "title": "Custom proxy URL (optional) — for a mobile proxy",
            "type": "string",
            "description": "Your own proxy URL (http://user:pass@host:port). A MOBILE (4G/5G) proxy is the most reliable way to scrape Instagram — carrier IPs are shared by real users and hard for Instagram to block, unlike Apify's shared residential pool. If set, this overrides the Apify proxy. Stored encrypted."
          }
        }
      },
      "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
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "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
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}