{
  "openapi": "3.0.1",
  "info": {
    "title": "Facebook Reels Scraper - Reels, Videos, Plays & Captions",
    "description": "Facebook reels scraper, no login: the reels and videos of public Facebook Pages and profiles, with caption, date, plays, views, length, reactions, comment and share counts, thumbnail and video file. Latest reels or a date range. JSON, CSV, Excel. $4.20 per 1,000 reels.",
    "version": "0.1",
    "x-build-id": "ge1NoBOmMxiHaxClK"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/socialscrapers~facebook-reels-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-socialscrapers-facebook-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/socialscrapers~facebook-reels-scraper/runs": {
      "post": {
        "operationId": "runs-sync-socialscrapers-facebook-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/socialscrapers~facebook-reels-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-socialscrapers-facebook-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",
        "required": [
          "startUrls"
        ],
        "properties": {
          "startUrls": {
            "title": "Facebook profiles and Pages",
            "minItems": 1,
            "type": "array",
            "description": "One per line: Page or profile links (https://www.facebook.com/NASA, https://www.facebook.com/profile.php?id=100044561550831), numeric IDs or usernames (NASA). Share links from the Facebook app work too; a link to a reel or a video reads its owner's reels and videos.",
            "items": {
              "type": "string"
            }
          },
          "maxPostsPerProfile": {
            "title": "Max reels per profile",
            "minimum": 0,
            "type": "integer",
            "description": "How many of each Page's or profile's most recent reels and videos to save, newest first, for example 100. 0 = every reel and video the timeline lists. You pay per reel or video saved.",
            "default": 20
          },
          "onlyPostsNewerThan": {
            "title": "Only reels newer than",
            "pattern": "^\\s*(?:(?:[tT][oO][dD][aA][yY]|[yY][eE][sS][tT][eE][rR][dD][aA][yY]|[nN][oO][wW])|(?:(?:(?:[tT][hH][eE]\\s+)?(?:[lL][aA][sS][tT]|[pP][aA][sS][tT]|[pP][rR][eE][vV][iI][oO][uU][sS])\\s+)?(?:[-+]\\s*)?(?:\\d{1,5})\\s*|(?:[tT][hH][eE]\\s+)?(?:[lL][aA][sS][tT]|[pP][aA][sS][tT]|[pP][rR][eE][vV][iI][oO][uU][sS])\\s+|[aA][nN]?\\s+)(?:[mM][iI][nN][uU][tT][eE][sS]?|[mM][iI][nN][sS]?|[hH][oO][uU][rR][sS]?|[hH][rR][sS]?|[hH]|[dD][aA][yY][sS]?|[dD]|[wW][eE][eE][kK][sS]?|[wW][kK][sS]?|[wW]|[mM][oO][nN][tT][hH][sS]?|[mM][oO][sS]?|[mM][tT][hH][sS]?|[mM][oO][nN][sS]?|[yY][eE][aA][rR][sS]?|[yY][rR][sS]?|[yY])(?:\\s+[aA][gG][oO])?|(?:(?:19|20)\\d\\d)[-/.](?:0?[1-9]|1[0-2])[-/.](?:0?[1-9]|[12]\\d|3[01])(?:(?:[tT]|\\s+|\\s*,\\s*)(?:[01]?\\d|2[0-3]):(?:[0-5]\\d)(?::(?:[0-5]\\d)(?:[.,](?:\\d{1,9}))?)?\\s*(?:[zZ]|[uU][tT][cC]|[gG][mM][tT]|[+-](?:[01]\\d|2[0-3])(?::?[0-5]\\d)?)?)?|(?:(?:19|20)\\d\\d)(?:0[1-9]|1[0-2])(?:0[1-9]|[12]\\d|3[01])|(?:(?:19|20)\\d\\d)[-/.](?:0?[1-9]|1[0-2])|(?:(?:19|20)\\d\\d)|(?:1[3-9]|2\\d|3[01])[-/.](?:0?[1-9]|1[0-2])[-/.](?:(?:19|20)\\d\\d)|(?:0?[1-9]|1[0-2])[-/.](?:0?[1-9]|[12]\\d|3[01])[-/.](?:(?:19|20)\\d\\d)|(?:(?:[mM][oO][nN](?:[dD][aA][yY])?|[tT][uU][eE](?:[sS](?:[dD][aA][yY])?)?|[wW][eE][dD](?:[nN][eE][sS][dD][aA][yY])?|[tT][hH][uU](?:[rR](?:[sS](?:[dD][aA][yY])?)?)?|[fF][rR][iI](?:[dD][aA][yY])?|[sS][aA][tT](?:[uU][rR][dD][aA][yY])?|[sS][uU][nN](?:[dD][aA][yY])?)[\\s,.]+)?(?:(?:[jJ][aA][nN](?:[uU][aA][rR][yY])?|[fF][eE][bB](?:[rR][uU][aA][rR][yY])?|[mM][aA][rR](?:[cC][hH])?|[aA][pP][rR](?:[iI][lL])?|[mM][aA][yY]|[jJ][uU][nN][eE]?|[jJ][uU][lL][yY]?|[aA][uU][gG](?:[uU][sS][tT])?|[sS][eE][pP](?:[tT](?:[eE][mM][bB][eE][rR])?)?|[oO][cC][tT](?:[oO][bB][eE][rR])?|[nN][oO][vV](?:[eE][mM][bB][eE][rR])?|[dD][eE][cC](?:[eE][mM][bB][eE][rR])?)[\\s,./-]*(?:(?:0?[1-9]|[12]\\d|3[01])(?:[sS][tT]|[nN][dD]|[rR][dD]|[tT][hH])?[\\s,./-]+)?|(?:0?[1-9]|[12]\\d|3[01])(?:[sS][tT]|[nN][dD]|[rR][dD]|[tT][hH])?[\\s,./-]*(?:[oO][fF]\\s+)?(?:[jJ][aA][nN](?:[uU][aA][rR][yY])?|[fF][eE][bB](?:[rR][uU][aA][rR][yY])?|[mM][aA][rR](?:[cC][hH])?|[aA][pP][rR](?:[iI][lL])?|[mM][aA][yY]|[jJ][uU][nN][eE]?|[jJ][uU][lL][yY]?|[aA][uU][gG](?:[uU][sS][tT])?|[sS][eE][pP](?:[tT](?:[eE][mM][bB][eE][rR])?)?|[oO][cC][tT](?:[oO][bB][eE][rR])?|[nN][oO][vV](?:[eE][mM][bB][eE][rR])?|[dD][eE][cC](?:[eE][mM][bB][eE][rR])?)[\\s,./-]*)(?:(?:19|20)\\d\\d)|(?:(?:19|20)\\d\\d)[\\s,./-]*(?:[jJ][aA][nN](?:[uU][aA][rR][yY])?|[fF][eE][bB](?:[rR][uU][aA][rR][yY])?|[mM][aA][rR](?:[cC][hH])?|[aA][pP][rR](?:[iI][lL])?|[mM][aA][yY]|[jJ][uU][nN][eE]?|[jJ][uU][lL][yY]?|[aA][uU][gG](?:[uU][sS][tT])?|[sS][eE][pP](?:[tT](?:[eE][mM][bB][eE][rR])?)?|[oO][cC][tT](?:[oO][bB][eE][rR])?|[nN][oO][vV](?:[eE][mM][bB][eE][rR])?|[dD][eE][cC](?:[eE][mM][bB][eE][rR])?)[\\s,./-]*(?:0?[1-9]|[12]\\d|3[01])(?:[sS][tT]|[nN][dD]|[rR][dD]|[tT][hH])?)?\\s*$",
            "type": "string",
            "description": "Keep only reels and videos published on or after this date; reading stops once the timeline goes past it. Pick a date or an age, or type one: 2026-01-31, 31/01/2026, Jan 31 2026, or 7 days, 2w, 3 months, yesterday. Dates are UTC days. Leave empty for no date limit."
          },
          "onlyVideos": {
            "title": "Only reels and videos",
            "type": "boolean",
            "description": "Keep only posts that are a reel or a video.",
            "default": true
          },
          "includeComments": {
            "title": "Include comments",
            "type": "boolean",
            "description": "Also save each post's first comments inside it (comments field), Facebook's \"Most relevant\" first. Charged per comment saved.",
            "default": false
          },
          "maxCommentsPerPost": {
            "title": "Max comments per post",
            "minimum": 0,
            "type": "integer",
            "description": "With Include comments: how many comments to save per post. 0 = every comment.",
            "default": 10
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Keep Apify Proxy with the RESIDENTIAL group (the default). Facebook does not show public reels to visitors from datacenter IPs. Apify Proxy without the RESIDENTIAL group, or no proxy at all on Apify, is switched to RESIDENTIAL (your country is kept), because Facebook turns datacenter IPs away; residential traffic is included in the price.",
            "default": {
              "useApifyProxy": true,
              "apifyProxyGroups": [
                "RESIDENTIAL"
              ]
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}