{
  "openapi": "3.0.1",
  "info": {
    "title": "Instagram Scraper: Profile, Posts & Follower Data, No Login",
    "description": "Instagram scraper, no login or API key. Extract public profiles and posts by username or URL: followers, following, bio, email, verified badge, category, captions, hashtags, mentions, likes, comments, views, reel music, media URLs. Filter posts by type, likes, date or keyword. JSON, CSV, Excel.",
    "version": "0.1",
    "x-build-id": "L5eTh6J1B8DIODAAc"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/scrapers_lat~instagram-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-scrapers_lat-instagram-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/scrapers_lat~instagram-scraper/runs": {
      "post": {
        "operationId": "runs-sync-scrapers_lat-instagram-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/scrapers_lat~instagram-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-scrapers_lat-instagram-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",
        "properties": {
          "maxRecords": {
            "title": "Max records",
            "minimum": 1,
            "maximum": 1000000,
            "type": "integer",
            "description": "Maximum number of records to collect across all usernames. Optional."
          },
          "usernames": {
            "title": "Usernames",
            "type": "array",
            "description": "Public Instagram usernames or profile URLs to scrape. Accepts plain handles (nasa), @handles (@nasa), or full profile URLs (https://www.instagram.com/nasa/). For each account the scraper fetches the public profile and, when Results Type is set to Posts, its most recent public posts. Only public accounts are supported; private accounts return an error record.",
            "items": {
              "type": "string"
            }
          },
          "directUrls": {
            "title": "Instagram profile URLs",
            "type": "array",
            "description": "Optional. Full Instagram profile URLs to scrape (for example https://www.instagram.com/nasa/). Merged with Usernames. Post and reel URLs (/p/, /reel/) do not carry a handle and are skipped.",
            "items": {
              "type": "string"
            }
          },
          "resultsType": {
            "title": "Results Type",
            "enum": [
              "profile",
              "posts"
            ],
            "type": "string",
            "description": "Profile returns one record per username with the public profile fields. Posts returns one record per recent public post (each post record also carries its parent profile context).",
            "default": "posts"
          },
          "postsLimit": {
            "title": "Posts Per Profile",
            "minimum": 1,
            "maximum": 12,
            "type": "integer",
            "description": "Maximum number of recent posts to return per profile when Results Type is Posts. The public no-login endpoint exposes roughly the 12 most recent posts per profile, so values above that are capped to whatever the profile returns.",
            "default": 12
          },
          "includeRelatedProfiles": {
            "title": "Include related profiles",
            "type": "boolean",
            "description": "Also emit the related / suggested accounts Instagram shows next to each profile as extra records (type: related_profile). Useful for competitor discovery and lead-gen. The related accounts are always attached to each profile record in the relatedProfiles field regardless of this setting.",
            "default": false
          },
          "mediaType": {
            "title": "Media type filter",
            "enum": [
              "any",
              "image",
              "video",
              "sidecar",
              "reel"
            ],
            "type": "string",
            "description": "Only return posts of this media type when Results Type is Posts. Any returns every post.",
            "default": "any"
          },
          "minLikes": {
            "title": "Minimum likes",
            "minimum": 0,
            "type": "integer",
            "description": "Only return posts with at least this many likes. Optional. Leave empty for no minimum."
          },
          "captionContains": {
            "title": "Caption contains",
            "type": "string",
            "description": "Only return posts whose caption contains this text (case-insensitive). Optional. Useful for tracking a campaign keyword or hashtag."
          },
          "onlyPostsNewerThan": {
            "title": "Only posts newer than",
            "type": "string",
            "description": "Only return posts published on or after this date (ISO date such as 2026-01-31, or a full timestamp). Applies within the most recent posts the profile exposes. Optional."
          },
          "onlyPostsOlderThan": {
            "title": "Only posts older than",
            "type": "string",
            "description": "Only return posts published on or before this date (ISO date such as 2026-06-30, or a full timestamp). Optional."
          },
          "withAiSentiment": {
            "title": "AI caption sentiment (paid add-on)",
            "type": "boolean",
            "description": "Optional paid AI add-on, off by default. Classifies the sentiment/tone of each post caption (positive/neutral/negative with a score). Applies to posts (resultsType=posts). Requires a paid Apify plan. Billed per enriched record.",
            "default": false
          },
          "withAiTopics": {
            "title": "AI caption topics & category (paid add-on)",
            "type": "boolean",
            "description": "Optional paid AI add-on, off by default. Tags each post caption with a broad content category and specific topic tags. Applies to posts (resultsType=posts). Requires a paid Apify plan. Billed per enriched record.",
            "default": false
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}