{
  "openapi": "3.0.1",
  "info": {
    "title": "Instagram Reels Scraper: Play Counts, No Login",
    "description": "Scrape Instagram reels with play counts, no login: every reel a public profile's Reels tab shows, reel links and the reels of a sound. Rows carry plays, likes, comments, caption, date, length, music, collaborators and video link. Date, plays and likes filters. JSON, CSV or API; pay per reel.",
    "version": "0.1",
    "x-build-id": "yPDB4aYj06wwejQoC"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/automation_craft~instagram-reels-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-automation_craft-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/automation_craft~instagram-reels-scraper/runs": {
      "post": {
        "operationId": "runs-sync-automation_craft-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/automation_craft~instagram-reels-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-automation_craft-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": "Profiles (usernames or links)",
            "type": "array",
            "description": "Instagram usernames, @handles, profile links or Reels tab links (instagram.com/nasa/reels/). Each profile's Reels tab is read newest first, pinned reels first, each reel with its play count, likes, comments, caption, date, length, music and video link, including reels the grid does not show and collab reels the profile is part of. Up to 500. One Profile event per profile that delivers a reel. A private profile delivers nothing (a free status row).",
            "items": {
              "type": "string"
            }
          },
          "userIds": {
            "title": "Profiles by user id",
            "type": "array",
            "description": "Instagram's numeric user ids (for example 528817151). Each id is turned into its username, then read like a profile above. Up to 500.",
            "items": {
              "type": "string"
            }
          },
          "reelUrls": {
            "title": "Reel links or codes",
            "type": "array",
            "description": "Reel links (instagram.com/reel/<code>/, /reels/, /p/ and /tv/ links, also with the owner's name in front) or bare reel codes. Each reel is delivered as a full row with its play count where Instagram shows it: from the reel's own sound page when the reel made that sound, else from the owner's Reels tab (see maxOwnerPagesPerLink). Filters do not apply to links: a link is delivered as asked. Up to 1,000.",
            "items": {
              "type": "string"
            }
          },
          "audioUrls": {
            "title": "Sounds (audio links or ids)",
            "type": "array",
            "description": "Instagram sound pages (instagram.com/reels/audio/<id>/) or sound ids. Each sound delivers the reels its audio page shows, in Instagram's own order, with play counts, plus a free row about the sound (title, artist, Instagram's reel count text). An audio page may show only part of a sound's reels (84 for one used in 29,000 reels, measured). A Sound event is charged once for each sound that delivers at least one reel. Up to 100 sounds.",
            "items": {
              "type": "string"
            }
          },
          "maxReelsPerProfile": {
            "title": "Reels per profile",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "The most reels delivered for one profile (1 to 10,000). The walk reads the Reels tab newest first until this many reels passed your filters, the tab ends, or the date window is passed. Default 12."
          },
          "maxReelsPerAudio": {
            "title": "Reels per sound",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "The most reels delivered for one sound (1 to 500). Default 24."
          },
          "maxReels": {
            "title": "Reels in the whole run",
            "minimum": 1,
            "maximum": 100000,
            "type": "integer",
            "description": "The most reels the whole run delivers (1 to 100,000). Leave empty for no run wide cap."
          },
          "postedSince": {
            "title": "Posted on or after",
            "type": "string",
            "description": "A day (2026-10-01, from 00:00 UTC) or a time back from the run's start (\"30 days\", \"24 hours\"). On a profile the walk stops at the first whole page older than this."
          },
          "postedUntil": {
            "title": "Posted on or before",
            "type": "string",
            "description": "A day (2026-10-31, up to 23:59:59 UTC). Newer reels are listed and left out free; Instagram offers no jump to a date, so a far end date reads the newer pages first."
          },
          "minPlays": {
            "title": "Minimum plays",
            "minimum": 0,
            "type": "integer",
            "description": "Leave out reels with fewer plays (Instagram's play count). A reel without a play count is left out when this is set."
          },
          "minLikes": {
            "title": "Minimum likes",
            "minimum": 0,
            "type": "integer",
            "description": "Leave out reels with fewer likes. A reel whose owner hid its likes is left out when this is set."
          },
          "minComments": {
            "title": "Minimum comments",
            "minimum": 0,
            "type": "integer",
            "description": "Leave out reels with fewer comments."
          },
          "skipPinned": {
            "title": "Skip pinned reels",
            "type": "boolean",
            "description": "Leave out the reels a profile pinned to the top of its Reels tab (on a sound, reels their owner pinned). Does not apply to reel links.",
            "default": false
          },
          "collabReels": {
            "title": "Collab reels",
            "enum": [
              "include",
              "exclude",
              "only"
            ],
            "type": "string",
            "description": "Collab reels: on a profile, reels another account posted with the profile as a collaborator (its Reels tab shows them); on a sound, reels posted with collaborators. Include them (each row says isCollab), leave them out, or deliver only them. Does not apply to reel links.",
            "default": "include"
          },
          "includeOwnerDetails": {
            "title": "Owner details (add-on)",
            "type": "boolean",
            "description": "Adds each reel owner's profile to its rows (ownerDetails): followers, following, post count, full name, category, account type, verified, bio and links. Charged once per owner per run as an Owner profile event; left off (ownerDetailsStatus allowance) when the add-on's work allowance is spent. Every website and bio link is delivered as Instagram serves it. A walked profile's own details are on its free profile row.",
            "default": false
          },
          "maxCommentsPerReel": {
            "title": "Comments per reel (add-on)",
            "minimum": 0,
            "maximum": 50,
            "type": "integer",
            "description": "Adds up to this many of each reel's comments (0 to 50): text, time, likes, reply count and author. Each comment delivered is a Comment event. Comments are left off a row (commentsStatus allowance) when the add-on's unpaid work allowance is spent. 0 = none."
          },
          "downloadVideos": {
            "title": "Video files (add-on)",
            "type": "boolean",
            "description": "Stores each delivered reel's video file (MP4, 720p as Instagram serves it) in the run's key-value store and puts its link on the row (videoFile). Charged per started MB of the stored file as a Video megabyte event (1 MB = 1,000,000 bytes). A file is left off its row (videoFileStatus allowance) when the add-on's unpaid work allowance is spent. Instagram's own video link (videoUrl) is on every row for free and expires in about a day and a half.",
            "default": false
          },
          "maxVideoSizeMb": {
            "title": "Largest video file (MB)",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "A video file larger than this is not stored (its row says too_large and nothing is charged for it). 1 to 100, default 50."
          },
          "includeViewCount": {
            "title": "View count",
            "type": "boolean",
            "description": "Adds the reel's view counter from its embed page (viewCount), a counter apart from the play count (about a fifth to two fifths of the plays on the reels measured). One more page read per reel, no extra charge.",
            "default": false
          },
          "checkProfileGrid": {
            "title": "Mark reels not on the grid",
            "type": "boolean",
            "description": "Reads each profile's grid (its Posts tab) as far back as its delivered reels and marks each reel isOnProfileGrid: false for reels shown only on the Reels tab. Profiles only; no extra charge.",
            "default": false
          },
          "maxOwnerPagesPerLink": {
            "title": "Owner pages read for a link's play count",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "For a reel link, the play count is read from the reel's own sound page when the reel made that original sound, else from the owner's Reels tab, 12 reels a page, newest first, down to the reel's own date: at most this many pages (1 to 100, default 10, the owner's 120 newest reels), shared by every link of one owner in a run. 0 = no play count lookup: links are delivered without their play count and without the Reel link event."
          },
          "compactRows": {
            "title": "Compact rows",
            "type": "boolean",
            "description": "Delivers a compact row: the reel's code, link, owner, caption, hashtags, plays, likes, comments, views, date, length, pinned and collab marks, video and cover links, and the add-ons asked for.",
            "default": false
          },
          "includeRawData": {
            "title": "Raw Instagram answer",
            "type": "boolean",
            "description": "Adds Instagram's own answer for each reel (raw), as served. It still needs includePersonalData set to true, as before 2026-11-06 (an input without it stays refused).",
            "default": false
          },
          "includePersonalData": {
            "title": "Include personal data",
            "type": "boolean",
            "description": "Since 2026-11-06 all public data is always delivered, whatever this says: taggedUsers, mentions and every website and bio link of profile and owner details. It still decides one thing, as before: includeRawData needs it on. It stays so saved inputs keep working. You are responsible for a lawful use of personal data, GDPR included.",
            "default": false
          },
          "maxRunSeconds": {
            "title": "Time limit (seconds)",
            "minimum": 30,
            "maximum": 86400,
            "type": "integer",
            "description": "Stop after this many seconds (30 to 86,400), with free rows for what was not read. Leave empty to run until done or until the Apify run timeout."
          },
          "requestTimeoutSecs": {
            "title": "Request timeout (seconds)",
            "minimum": 5,
            "maximum": 60,
            "type": "integer",
            "description": "How long one request may take (5 to 60). Default 30."
          },
          "maxRetries": {
            "title": "Retries per request",
            "minimum": 0,
            "maximum": 5,
            "type": "integer",
            "description": "How often a failed request is tried again on a fresh exit (0 to 5). Default 2."
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Default: Apify Proxy without a group or country, which reads from the run's own address first and moves a request type to Apify's datacenter proxy when it is refused there. Choose a group or a country to read only through Apify Proxy, or give your own proxy links. A residential group is read through the datacenter pool instead (no extra cost).",
            "default": {
              "useApifyProxy": 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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}