{
  "openapi": "3.0.1",
  "info": {
    "title": "Instagram Scraper · No Login",
    "description": "Instagram scraper, no login, $0.73/1K vs Apify's $2.30 — posts, reels, profiles, comments, hashtags, places & sounds. Same input as the official Instagram Scraper: change the Actor ID, keep your JSON. Views, alt text, latest comments free; saves & shares with one tick. CSV, Excel, JSON.",
    "version": "1.0",
    "x-build-id": "tLTrMsNuPtydK7EHa"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/nologin~instagram-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-nologin-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/nologin~instagram-scraper/runs": {
      "post": {
        "operationId": "runs-sync-nologin-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/nologin~instagram-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-nologin-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": {
          "directUrls": {
            "title": "Instagram URLs, usernames, hashtags or IDs",
            "type": "array",
            "description": "Any mix, one per line: a profile (<code>natgeo</code> or its link), a post or reel link (or its code), a hashtag (<code>#sourdough</code> or its link), a place link, a sound link, a story link (its profile) or a numeric user ID. Duplicates are removed before anything is read; a username that doesn't exist or a broken link is a free row.",
            "items": {
              "type": "string"
            }
          },
          "inputFile": {
            "title": "Or upload a list (CSV or TXT)",
            "type": "string",
            "description": "A CSV or TXT file: one username or link per line, or a table — we take the column named <code>username</code>, <code>url</code> or <code>link</code> (otherwise every cell). Added to the list above; duplicates are skipped."
          },
          "resultsType": {
            "title": "What to get",
            "enum": [
              "posts",
              "details",
              "comments",
              "reels",
              "mentions",
              "stories"
            ],
            "type": "string",
            "description": "The same choice as in Apify's Instagram Scraper, for the whole list. On Starter, per 1,000: posts and reels $0.73, by link $1.18, details $1.55, comments $0.75, mentions $1.70, stories $2.84 — plus $1.75 per 1,000 inputs read (not for links in Posts, Reels or Details).",
            "default": "posts"
          },
          "resultsLimit": {
            "title": "Results per input",
            "minimum": 1,
            "type": "integer",
            "description": "How many posts, reels, comments, mentions or stories to take from each input. Empty — 100. Details give one row per input."
          },
          "onlyPostsNewerThan": {
            "title": "Only posts newer than",
            "type": "string",
            "description": "A date (<code>2026-10-01</code>) or a period (<code>7 days</code>, <code>24 hours</code>), in UTC. Empty — no date limit."
          },
          "onlyPostsOlderThan": {
            "title": "Only posts older than",
            "type": "string",
            "description": "A date (<code>2026-09-01</code>) or a period (<code>30 days</code>). With “Only posts newer than” — a date range."
          },
          "skipPinnedPosts": {
            "title": "Skip pinned posts",
            "type": "boolean",
            "description": "Leave out the posts the creator pinned to the top of the profile."
          },
          "minLikes": {
            "title": "Minimum likes",
            "minimum": 0,
            "type": "integer",
            "description": "Only posts with at least this many likes are delivered. A post under it costs $0.35 per 1,000 instead of $0.73 (Starter)."
          },
          "minViews": {
            "title": "Minimum views",
            "minimum": 0,
            "type": "integer",
            "description": "Only reels and videos with at least this many plays are delivered. One under it costs $0.35 per 1,000 (Starter)."
          },
          "search": {
            "title": "Or: search",
            "type": "string",
            "description": "Search words; several — separated by commas. A reel search is read with no login; hashtag, profile and place search need a logged-in read (paid plans)."
          },
          "searchType": {
            "title": "Search for",
            "enum": [
              "hashtag",
              "profile",
              "place",
              "user",
              "reel"
            ],
            "type": "string",
            "description": "As in Apify's Instagram Scraper, plus reels. Each result found is a details row ($1.55 per 1,000, Starter); each reel of a reel search a post ($0.73).",
            "default": "hashtag"
          },
          "searchLimit": {
            "title": "Search results limit",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "How many profiles, places or hashtags to find per search word (up to 1,000). A reel search gives “Results per input” reels a word."
          },
          "includeComments": {
            "title": "Latest comments & slide alt text",
            "type": "boolean",
            "description": "Each post row gets the first page of comments Instagram shows a visitor — 7–12 latest comments with author, text, time and likes — and the alt text of every carousel slide. Free, no login; one more read per post, so a run takes a little longer. Off — <code>latestComments</code> is <code>null</code>.",
            "default": false
          },
          "isNewestComments": {
            "title": "Newest comments first",
            "type": "boolean",
            "description": "As in Apify's Instagram Scraper. Comments always come newest first here, page after page, with no login — the option is accepted and changes nothing.",
            "default": false
          },
          "includeNestedComments": {
            "title": "Replies",
            "type": "boolean",
            "description": "Each reply is a comment row of its own at $0.75 per 1,000 (paid Apify plans)."
          },
          "includeViews": {
            "title": "Saves, shares, reposts & photo music",
            "type": "boolean",
            "description": "Each post also gets its saves, shares (sends) and reposts, the music of photo posts and the plays of videos that are not reels. + $0.06 per 1,000 feed posts, + $0.70 per 1,000 posts asked by link (Starter). Off — these fields are <code>null</code> and named in <code>notCollected</code>.",
            "default": false
          },
          "includeHighlights": {
            "title": "Highlights (with Stories)",
            "type": "boolean",
            "description": "With Stories: the items of the profile's highlights too, each a story row at $2.84 per 1,000 (Starter).",
            "default": false
          },
          "includeContacts": {
            "title": "Business email, phone & address",
            "type": "boolean",
            "description": "With Details: email, phone, WhatsApp and address from the contact buttons of creator and business profiles. $0.70 per 1,000 profiles checked + $7.45 per 1,000 with a contact found (Starter).",
            "default": false
          },
          "includeAbout": {
            "title": "Join date & country",
            "type": "boolean",
            "description": "With Details: the month the account joined, its country and username changes (“About this account”). $4.65 per 1,000 profiles where Instagram returns it + $0.70 per 1,000 checked (Starter).",
            "default": false
          },
          "includeHidden": {
            "title": "Hidden profiles (logged-in read)",
            "type": "boolean",
            "description": "The few profiles Instagram shows a visitor nothing of are read with a login: the row's price + $0.70 per 1,000 (Starter). Off — they come back as free rows.",
            "default": false
          },
          "datasetId": {
            "title": "Or: dataset from another run",
            "type": "string",
            "description": "Pick the dataset of an earlier run (or paste its ID). We take links and usernames from <code>url</code>, <code>inputUrl</code>, <code>profileUrl</code> or <code>username</code> — rows of any Instagram Actor."
          },
          "officialFieldNames": {
            "title": "Apify-style field names (on: drop-in for Apify's Instagram Scraper)",
            "type": "boolean",
            "description": "On by default: post rows also carry <code>likesCount</code>, <code>commentsCount</code>, <code>videoPlayCount</code>, <code>timestamp</code>, <code>displayUrl</code>, <code>alt</code>, <code>images</code>, <code>childPosts</code>, <code>firstComment</code>, <code>musicInfo</code>… with the same values and the type as <code>Video</code>, <code>Image</code> or <code>Sidecar</code>; profile rows <code>followersCount</code>, <code>followsCount</code>, <code>postsCount</code>, <code>verified</code>… — as in Apify's Instagram Scraper. Our own fields stay. Off — our names only and our post types (reel, photo, carousel, video). No extra charge.",
            "default": true
          },
          "addParentData": {
            "title": "Add the source of each post",
            "type": "boolean",
            "description": "As the official's “Add metadata”: each post or reel of a feed gets <code>dataSource</code> — <code>profile</code>, <code>hashtag</code>, <code>place</code>, <code>sound</code> or <code>search</code>.",
            "default": false
          },
          "includeRaw": {
            "title": "Add the full Instagram data (raw)",
            "type": "boolean",
            "description": "Every row also gets <code>raw</code>: the whole object Instagram returned for it — every field it sends, untouched, for your own parsing or an AI agent. Heavy (about 30 KB a post), so it is added to the first 1,000 rows of a run. No extra charge.",
            "default": false
          },
          "returnWithinSecs": {
            "title": "Return what's ready after (seconds)",
            "minimum": 10,
            "maximum": 3600,
            "type": "integer",
            "description": "Stop after this many seconds and return the results collected so far — you pay only for them. Handy for AI agents with a short tool timeout. Empty — run until everything is collected."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}