{
  "openapi": "3.0.1",
  "info": {
    "title": "GOG Game Review Scraper",
    "description": "[💰 $0.02 / 1K] Extract GOG.com game reviews: 1-5 star ratings, full review text, verified-owner labels, helpful/unhelpful votes, reviewer profiles and game rating context. Target games by store URL or product ID, sort 6 ways, filter by language, rating, date and owner.",
    "version": "1.0",
    "x-build-id": "KDRc23H5ubKSDlfeV"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/solidcode~gog-game-review-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-solidcode-gog-game-review-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/solidcode~gog-game-review-scraper/runs": {
      "post": {
        "operationId": "runs-sync-solidcode-gog-game-review-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/solidcode~gog-game-review-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-solidcode-gog-game-review-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": {
          "gameUrls": {
            "title": "Game store links",
            "type": "array",
            "description": "Paste GOG store page links, for example https://www.gog.com/game/the_witcher_3_wild_hunt. Works with any GOG game, DLC or bundle page.",
            "items": {
              "type": "string"
            }
          },
          "productIds": {
            "title": "Product IDs",
            "type": "array",
            "description": "GOG product ID numbers, for example 1207664663 for The Witcher 3. Slightly faster than links because the game does not need to be looked up first.",
            "items": {
              "type": "string"
            }
          },
          "maxReviewsPerGame": {
            "title": "Reviews per game",
            "minimum": 0,
            "maximum": 10000,
            "type": "integer",
            "description": "Stop after saving this many reviews for each game. Set to 0 to collect every review a game has, up to a maximum of 10,000 per game. Popular games have thousands of reviews, so keep this modest unless you really want the full history."
          },
          "maxReviewsTotal": {
            "title": "Total reviews for the run",
            "minimum": 0,
            "maximum": 50000,
            "type": "integer",
            "description": "Stop the whole run once this many reviews have been saved across all games. Set to 0 for no limit, up to a maximum of 50,000 per run."
          },
          "sortBy": {
            "title": "Sort reviews by",
            "enum": [
              "desc:votes",
              "desc:date",
              "asc:date",
              "desc:rating",
              "asc:rating",
              "asc:votes"
            ],
            "type": "string",
            "description": "The order GOG returns reviews in. This decides which reviews you get when you are not collecting all of them — 'Most helpful first' gives you the reviews other players voted up, 'Newest first' gives you current sentiment."
          },
          "languages": {
            "title": "Languages",
            "type": "array",
            "description": "Language codes to keep, for example en, de or pt. Short codes also match regional variants — 'en' matches 'en-US', 'pt' matches 'pt-BR'. Leave empty for all languages. Applied by GOG, so it does not slow the run down.",
            "items": {
              "type": "string"
            }
          },
          "ratings": {
            "title": "Star ratings",
            "uniqueItems": true,
            "type": "array",
            "description": "Keep only reviews with these star ratings. Leave empty for all ratings. GOG does not offer a star filter, so this actor sorts by rating and stops as soon as it passes your selection — usually just one or two pages. If you also choose a specific sort order, the actor instead scans up to 10,000 reviews per game looking for matches, so rare ratings on a very popular game may return fewer results than the limits you set.",
            "items": {
              "type": "string",
              "enum": [
                "1",
                "2",
                "3",
                "4",
                "5"
              ],
              "enumTitles": [
                "1 star",
                "2 stars",
                "3 stars",
                "4 stars",
                "5 stars"
              ]
            }
          },
          "verifiedOwnersOnly": {
            "title": "Verified owners only",
            "type": "boolean",
            "description": "Only keep reviews from players GOG has confirmed own the game. GOG applies this filter itself, so it makes runs faster rather than slower."
          },
          "startDate": {
            "title": "Posted on or after",
            "type": "string",
            "description": "Only keep reviews posted on or after this date (YYYY-MM-DD). Applied by GOG, so it does not slow the run down."
          },
          "endDate": {
            "title": "Posted on or before",
            "type": "string",
            "description": "Only keep reviews posted on or before this date (YYYY-MM-DD). Applied by GOG. If you set both a start and an end date, GOG applies whichever narrows the results more and the actor applies the other."
          }
        }
      },
      "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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}