{
  "openapi": "3.0.1",
  "info": {
    "title": "Instagram Reels Scraper: Views, Likes & Dates, $1.20/1K",
    "description": "$1.20/1K reels, no start fee. Exact views (plays) on every reel, newest first. No login. Enter profiles or usernames: reels with likes, comments, date, caption, hashtags and video link. Date window, min views or likes, skip pinned, exact limits, only-new monitoring.",
    "version": "0.1",
    "x-build-id": "Wiw2oYyxcSCgKQ8A5"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/laptime~instagram-reels-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-laptime-instagram-reels-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-reels-scraper/runs": {
      "post": {
        "operationId": "runs-sync-laptime-instagram-reels-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-reels-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-laptime-instagram-reels-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": {
          "usernames": {
            "title": "👤 Instagram profiles",
            "type": "array",
            "description": "Usernames (nasa, @nasa) or profile URLs (https://www.instagram.com/nasa/ or /nasa/reels/), one per line. Each returns its reels from the Reels tab, newest first (pinned reels first, as on Instagram). Public profiles only. Also read from username, profiles, profileUrls, startUrls and directUrls.",
            "items": {
              "type": "string"
            }
          },
          "resultsLimit": {
            "title": "Max reels per profile",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "How many reels to return from each profile (not per run): 3 profiles × 12 = up to 36 rows. Instagram serves 12 per page; the default is one page per profile.",
            "default": 12
          },
          "maxItems": {
            "title": "Max reels in total",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum reels in the whole run, across all profiles. Empty = no run limit. You are only charged for reels delivered."
          },
          "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."
          },
          "skipPinnedPosts": {
            "title": "Skip pinned reels",
            "type": "boolean",
            "description": "true = leave out reels the creator pinned to the top of the Reels tab (they are often old). false (default) = keep them; \"isPinned\" marks them.",
            "default": false
          },
          "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"
            }
          },
          "includeDetails": {
            "title": "Dates, captions and video links",
            "type": "boolean",
            "description": "true (default) = each reel also gets its post date, caption, hashtags, mentions and video URL (one extra request per reel; still a few seconds per 12). false = only what the Reels tab lists: views, likes, comments and cover image (faster). Date filters always load dates.",
            "default": true
          },
          "onlyNew": {
            "title": "🔁 Only new posts (monitoring)",
            "type": "boolean",
            "description": "Skip reels that an earlier run with the same monitor name already delivered, and stop at the first one (the Reels tab is newest first). Schedule a profile with this on to get only new reels; a run with nothing new costs $0.",
            "default": false
          },
          "monitorName": {
            "title": "Monitor name",
            "type": "string",
            "description": "Name of the only-new memory (letters, digits, dashes). Use one per set of profiles 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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}