{
  "openapi": "3.0.1",
  "info": {
    "title": "Instagram Search Scraper: Hashtag Search, Users, No Login",
    "description": "Instagram search results for any keyword, no login: hashtag search with exact post counts, user search with followers, bio and latest posts, places with address and coordinates, popular reels with plays and likes. Hashtags and reels in Instagram's own order. Misses free.",
    "version": "0.1",
    "x-build-id": "Og2XYhQfPQ12eHvLV"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/hyperbach~instagram-search-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-hyperbach-instagram-search-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/hyperbach~instagram-search-scraper/runs": {
      "post": {
        "operationId": "runs-sync-hyperbach-instagram-search-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/hyperbach~instagram-search-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-hyperbach-instagram-search-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": {
          "search": {
            "title": "Search keywords",
            "type": "string",
            "description": "One or more keywords, separated by commas (`restaurant, restaurant prague`): each is one search. A hashtag with or without `#` and an Instagram hashtag, popular or search-results link are read too (`instagram.com/explore/tags/restaurant/`, `instagram.com/popular/restaurant/`). Case does not matter; accents do (`café` and `cafe` are two searches).",
            "default": ""
          },
          "searchTerms": {
            "title": "Search keywords (a list)",
            "type": "array",
            "description": "The same as `search`, one keyword or phrase per line, for a long list. A comma inside a line stays part of the keyword. A keyword given in both fields is read once.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "searchType": {
            "title": "Search type",
            "enum": [
              "hashtag",
              "user",
              "place",
              "popular"
            ],
            "type": "string",
            "description": "What each keyword finds: `hashtag` (Instagram's hashtag search: up to 55 hashtags in Instagram's order with the exact post count, about 63–65 with the deeper list), `user` (the accounts the Threads account search and the Facebook Ad Library list for the keyword, 13–25 a keyword, each with its profile), `place` (the Instagram places a web index lists for the keyword, up to about 10, each read from its own location page) or `popular` (Instagram's ranked reels for the keyword, 56–96 to the list's end). One type a run.",
            "default": "hashtag"
          },
          "searchLimit": {
            "title": "Max results per keyword",
            "minimum": 1,
            "maximum": 250,
            "type": "integer",
            "description": "The most results each keyword delivers, in the source's order. A keyword's list is as deep as Instagram's own: about 55–65 hashtags, 13–25 accounts, up to about 10 places, 56–96 reels; the search row says how deep it went and why it ended. A result left out by a filter, or already delivered under another keyword, does not count.",
            "default": 50
          },
          "accountDetails": {
            "title": "Account profiles (user type)",
            "type": "boolean",
            "description": "Read each account's profile: followers, following and posts counts, the bio with its links, e-mails and phones, the category and account type, the 12 latest posts, the related accounts, the engagement. On by default. Off = the account searches' own fields only (username, full name, verified, picture, the Facebook page's follower count): fewer calls, faster.",
            "default": true
          },
          "minFollowers": {
            "title": "Min followers",
            "minimum": 0,
            "maximum": 1000000000,
            "type": "integer",
            "description": "Keep an account only with at least this many followers. Free when it leaves an account out. 0 = every account.",
            "default": 0
          },
          "maxFollowers": {
            "title": "Max followers",
            "minimum": 0,
            "maximum": 1000000000,
            "type": "integer",
            "description": "Keep an account only with at most this many followers. 0 = no upper bound.",
            "default": 0
          },
          "verifiedOnly": {
            "title": "Verified accounts only",
            "type": "boolean",
            "description": "Keep only accounts with Instagram's verified badge.",
            "default": false
          },
          "businessOnly": {
            "title": "Business accounts only",
            "type": "boolean",
            "description": "Keep only business accounts (Instagram's account type).",
            "default": false
          },
          "skipPrivate": {
            "title": "Leave out private and restricted accounts",
            "type": "boolean",
            "description": "Leave private and age-restricted accounts out (never charged either way). When off, such an account gets a free row with its public fields (name, bio, counts).",
            "default": false
          },
          "includeReelPlays": {
            "title": "Accounts' reel plays",
            "type": "boolean",
            "description": "Add each account's 12 latest reels with their plays and the average (`latest_reels`, `avg_reel_plays`). One more call an account.",
            "default": false
          },
          "countries": {
            "title": "Ad Library country views (accounts)",
            "type": "array",
            "description": "Two-letter country codes (`GB`, `US`, `DE`) for the user type: the Facebook Ad Library's page search is read in each country's view as well as its worldwide one, and the accounts it adds are joined by username. Each country is one more search call a keyword (13 to 25 accounts a keyword come from the worldwide view alone; the GB view of `restaurant` added 4). Empty: the worldwide view only.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "includeDetails": {
            "title": "Reel details (popular type)",
            "type": "boolean",
            "description": "Read each reel's own record: the owner's full name, the music title and artist, the location, the tagged accounts, the coauthors, the latest comments (up to 15), Instagram's alt text. On by default. Off = the ranked list's own fields (plays, likes, comments, the time, the owner, the media): faster.",
            "default": true
          },
          "newerThan": {
            "title": "Posted on or after",
            "pattern": "^(|[0-9]{4}-[0-9]{2}-[0-9]{2}([T ][0-9:.]+(Z|[+-][0-9]{2}:?[0-9]{2})?)?|[0-9]{1,4} *(hour|hours|day|days|week|weeks|month|months|year|years)?)$",
            "type": "string",
            "description": "Only reels published on or after this date: `2026-09-01`, a date and time (`2026-09-01T12:00:00Z`), or a span back from now in lower case (`7 days`, `12 hours`, `2 weeks`, `3 months`). The whole ranked list is read and the reels outside the window are left out, free.",
            "default": ""
          },
          "olderThan": {
            "title": "Posted on or before",
            "pattern": "^(|[0-9]{4}-[0-9]{2}-[0-9]{2}([T ][0-9:.]+(Z|[+-][0-9]{2}:?[0-9]{2})?)?|[0-9]{1,4} *(hour|hours|day|days|week|weeks|month|months|year|years)?)$",
            "type": "string",
            "description": "Only reels published on or before this date (a date includes its whole day), in the same forms as `newerThan`.",
            "default": ""
          },
          "maxItems": {
            "title": "Max results (whole run)",
            "minimum": 0,
            "maximum": 10000000,
            "type": "integer",
            "description": "The most charged rows of the whole run, over every keyword; 0 = no cap beyond `searchLimit` and your charge limit. The keywords are read side by side, so a cap under what they need is shared as their results arrive.",
            "default": 0
          },
          "feedback": {
            "title": "Feedback to the maintainers",
            "maxLength": 2000,
            "type": "string",
            "description": "A note to the people who maintain this Actor: what you needed and did not get. For example a missing field, a wrong or empty result, or the Actor you switch from or to, and why. The run does not read it: the rows and the charges stay the same. A person reads every note."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}