{
  "openapi": "3.0.1",
  "info": {
    "title": "Facebook Reviews & Recommendations Scraper, No Login",
    "description": "Facebook page reviews and recommendations, newest first: recommends or not, text, date, tags, photos, reactions, reviewer, first comment, with the page's name, category, followers and rating on every row. Date, verdict, keyword and photo filters; comment threads on request. No login. Misses free.",
    "version": "0.1",
    "x-build-id": "iCluZyRSyVLrpj1nc"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/hyperbach~facebook-reviews-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-hyperbach-facebook-reviews-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~facebook-reviews-scraper/runs": {
      "post": {
        "operationId": "runs-sync-hyperbach-facebook-reviews-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~facebook-reviews-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-hyperbach-facebook-reviews-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": {
          "startUrls": {
            "title": "Facebook pages",
            "maxItems": 5000,
            "type": "array",
            "description": "Facebook pages, one per line, in any form: a reviews link (facebook.com/copperkettleyqr/reviews), a page link (www., m. or web. host), a profile.php?id= or /people/…/<id>/ link, a username (copperkettleyqr or @copperkettleyqr) or a numeric page id. The leader's [{\"url\": …}] objects are read too. A page named twice is read once; a value that names no page gets a free row that says why.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "resultsLimit": {
            "title": "Reviews per page",
            "minimum": 0,
            "maximum": 100000,
            "type": "integer",
            "description": "How many reviews to deliver from each page, newest first; 0 = every review Facebook's logged-out list shows. Facebook's logged-out list can end before the count the page shows (59 of 74 on one restaurant); the page row says where it ended.",
            "default": 0
          },
          "onlyReviewsNewerThan": {
            "title": "Only reviews newer than",
            "type": "string",
            "description": "Deliver only reviews posted after this date: YYYY-MM-DD, a full ISO time, or a span back from now such as \"6 months\", \"1 year\" or \"3 days\" (UTC). The list is newest first, so the read stops at the first older review."
          },
          "onlyReviewsOlderThan": {
            "title": "Only reviews older than",
            "type": "string",
            "description": "Deliver only reviews posted before this date (same forms). The newer reviews are read and left out, free of charge, within the read budget below."
          },
          "recommendation": {
            "title": "Verdict",
            "enum": [
              "",
              "recommends",
              "doesNotRecommend"
            ],
            "type": "string",
            "description": "Keep only one verdict. The verdict is Facebook's own (the icon on the review), in every language. The other reviews are read and left out, free of charge.",
            "default": ""
          },
          "onlyWithText": {
            "title": "Only reviews with text",
            "type": "boolean",
            "description": "Leave out the reviews that are a verdict alone (no text). They are read and left out, free of charge.",
            "default": false
          },
          "keywords": {
            "title": "Only reviews containing",
            "type": "array",
            "description": "Keep only reviews whose text contains any of these words (any case). The others are read and left out, free of charge.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "onlyWithPhotos": {
            "title": "Only reviews with photos",
            "type": "boolean",
            "description": "Keep only reviews that carry a photo. The others are read and left out, free of charge.",
            "default": false
          },
          "maxReviewsReadPerPage": {
            "title": "Read budget per page (filters)",
            "minimum": 0,
            "maximum": 100000,
            "type": "integer",
            "description": "While a filter above leaves reviews out, read at most this many reviews of each page; the page row then says READ_BUDGET and how many were read. 0 = no budget. Not used by the date floor, which stops the read by itself.",
            "default": 300
          },
          "language": {
            "title": "Language of Facebook's texts",
            "enum": [
              "en-US",
              "en-GB",
              "de-DE",
              "fr-FR",
              "es-ES",
              "es-LA",
              "it-IT",
              "pt-BR",
              "pt-PT",
              "nl-NL",
              "pl-PL",
              "tr-TR",
              "ru-RU",
              "ja-JP",
              "ko-KR",
              "zh-TW",
              "ar-AR",
              "id-ID",
              "th-TH",
              "vi-VN",
              "sv-SE",
              "da-DK",
              "nb-NO",
              "fi-FI",
              "cs-CZ",
              "ro-RO",
              "hu-HU",
              "el-GR",
              "he-IL",
              "uk-UA"
            ],
            "type": "string",
            "description": "The language Facebook writes its own words in: the verdict sentence, the page's rating line and some tags. The reviews' own texts stay as written, and `recommends` comes from Facebook's verdict icon in every language.",
            "default": "en-US"
          },
          "includeComments": {
            "title": "Comments and replies",
            "type": "boolean",
            "description": "Read each review's comment thread with the replies, the page's own replies flagged. Without it, every row still carries the first comment Facebook shows with the review. Facebook's logged-out thread can end before its count (3 of 37 on one review); the row says how many were served.",
            "default": false
          },
          "maxCommentsPerReview": {
            "title": "Comments per review",
            "minimum": 0,
            "maximum": 100000,
            "type": "integer",
            "description": "With comments on: at most this many top-level comments a review, each with its replies; 0 = every comment Facebook serves.",
            "default": 0
          },
          "maxItems": {
            "title": "Max reviews (whole run)",
            "minimum": 0,
            "maximum": 10000000,
            "type": "integer",
            "description": "The most reviews the whole run delivers and charges; 0 = no cap beyond your charge limit.",
            "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}