{
  "openapi": "3.0.1",
  "info": {
    "title": "Instagram Hashtag Scraper: Reels, Views & Dates, $1.20/1K",
    "description": "$1.20/1K reels, no start fee. Up to 2.7x faster than Apify's hashtag scraper in our test. No login. Enter hashtags or keywords: top reels with views (plays), likes, comments, date, caption, hashtags and creator. Date window, min views or likes, exact limits, only-new.",
    "version": "0.2",
    "x-build-id": "Z8IsGlcYXBC0nAJsG"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/laptime~instagram-hashtag-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-laptime-instagram-hashtag-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/laptime~instagram-hashtag-scraper/runs": {
      "post": {
        "operationId": "runs-sync-laptime-instagram-hashtag-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/laptime~instagram-hashtag-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-laptime-instagram-hashtag-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": {
          "hashtags": {
            "title": "#️⃣ Hashtags or keywords",
            "type": "array",
            "description": "One per line, with or without #: \"travel\", \"#streetfood\", or a phrase like \"nike running shoes\". instagram.com/explore/tags/... and /popular/... links work too. Each line is searched separately; a reel found under two lines is delivered once.",
            "items": {
              "type": "string"
            }
          },
          "resultsLimit": {
            "title": "Max posts per hashtag",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "Posts to deliver per hashtag (exact, never exceeded). Instagram's public top list holds about 60 reels per hashtag; turn on \"Add related keywords\" to go beyond that. Default 20 (or Max posts in total, when only that is set)."
          },
          "maxItems": {
            "title": "Max posts in total",
            "minimum": 0,
            "type": "integer",
            "description": "Hard cap for the whole run over all hashtags (exact, never exceeded, so the cost is capped too). 0 or empty = no cap beyond the per-hashtag limit."
          },
          "onlyPostsNewerThan": {
            "title": "📅 Posted after",
            "type": "string",
            "description": "Keep only posts published on or after this date: \"2026-10-01\" or a relative age like \"7 days\", \"3 months\". Posts outside the window are skipped and never charged. Empty = no lower bound."
          },
          "onlyPostsOlderThan": {
            "title": "📅 Posted before",
            "type": "string",
            "description": "Keep only posts published on or before this date (\"2026-11-01\" or \"1 week\"). Together with \"Posted after\" this is a full from-to date window. Empty = up to now."
          },
          "minViews": {
            "title": "Min views (plays)",
            "minimum": 0,
            "type": "integer",
            "description": "Skip reels with fewer views (plays) than this. 0 = no minimum.",
            "default": 0
          },
          "minLikes": {
            "title": "Min likes",
            "minimum": 0,
            "type": "integer",
            "description": "Skip posts with fewer likes than this. 0 = no minimum.",
            "default": 0
          },
          "minComments": {
            "title": "Min comments",
            "minimum": 0,
            "type": "integer",
            "description": "Skip posts with fewer comments than this. 0 = no minimum.",
            "default": 0
          },
          "includeKeywords": {
            "title": "Caption must contain (any of)",
            "type": "array",
            "description": "Keep only posts whose caption contains at least one of these words (case-insensitive). Empty = no filter.",
            "items": {
              "type": "string"
            }
          },
          "excludeKeywords": {
            "title": "Caption must not contain",
            "type": "array",
            "description": "Skip posts whose caption contains any of these words (case-insensitive), e.g. \"giveaway\", \"#ad\".",
            "items": {
              "type": "string"
            }
          },
          "excludeUsernames": {
            "title": "Exclude accounts",
            "type": "array",
            "description": "Skip posts from these usernames (with or without @), e.g. your own brand or a competitor.",
            "items": {
              "type": "string"
            }
          },
          "requireHashtagInCaption": {
            "title": "Only posts that use the exact hashtag",
            "type": "boolean",
            "description": "On: keep only posts whose caption contains the exact #hashtag. Off (default): every reel Instagram ranks for the hashtag or keyword.",
            "default": false
          },
          "expandRelatedKeywords": {
            "title": "Add related keywords",
            "type": "boolean",
            "description": "On: when a hashtag runs out before \"Max posts per hashtag\", also search Instagram's related keywords for it (up to \"Max related keywords\"). Each row says which keyword found it (searchKeyword, isRelatedKeyword). Off (default): only the hashtag itself.",
            "default": false
          },
          "maxRelatedKeywords": {
            "title": "Max related keywords",
            "minimum": 0,
            "maximum": 30,
            "type": "integer",
            "description": "How many of Instagram's related keywords to add per hashtag when \"Add related keywords\" is on. Default 10, max 30.",
            "default": 10
          },
          "onlyNew": {
            "title": "🔁 Only new posts (monitoring)",
            "type": "boolean",
            "description": "On: skip posts delivered by earlier runs with the same \"Monitor name\" (kept in this Actor's own key-value store). Schedule the run to watch a hashtag; runs with nothing new cost nothing.",
            "default": false
          },
          "monitorName": {
            "title": "Monitor name",
            "type": "string",
            "description": "Name of the only-new memory (letters, digits, dashes). Use one per set of hashtags you watch. Default \"default\"."
          },
          "telemetry": {
            "title": "Anonymous error reports",
            "type": "boolean",
            "description": "Sends the Actor's author an anonymous report when a run hits an error (error type, failing step, HTTP status, counts). Never your input, results, URLs or account. Untick to turn it off.",
            "default": true
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}