{
  "openapi": "3.0.1",
  "info": {
    "title": "GOG Game Scraper",
    "description": "[💰 $2.5 / 1K] Extract every game, DLC and bundle from the GOG.com store: DRM-free prices with live discounts, 0-5 star ratings, genres, tags, developers/publishers, Windows/macOS/Linux system requirements, age ratings and 30 languages. Filter by genre, tag, price, year, platform and region.",
    "version": "1.0",
    "x-build-id": "E8v9K2K8x4fVyhRf5"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/solidcode~gog-game-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-solidcode-gog-game-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-scraper/runs": {
      "post": {
        "operationId": "runs-sync-solidcode-gog-game-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-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-solidcode-gog-game-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": {
          "searchQueries": {
            "title": "Search Keywords",
            "type": "array",
            "description": "Words to search the GOG store for, such as `cyberpunk`, `point and click` or `witcher`. Each keyword is searched separately. Leave empty to browse the whole store using the filters below.",
            "items": {
              "type": "string"
            }
          },
          "startUrls": {
            "title": "GOG Page Addresses",
            "type": "array",
            "description": "Paste GOG store addresses. Both kinds work: a browse or search page such as `https://www.gog.com/en/games?genres=rpg&tags=indie`, or a single game page such as `https://www.gog.com/en/game/the_witcher_2`. Filters already contained in a browse address are respected. Store region, currency and text language always come from the Localization settings below, not from the address. Collection always starts at the first page of a browse address, so a page number in the address is ignored.",
            "items": {
              "type": "string"
            }
          },
          "genres": {
            "title": "Genres",
            "uniqueItems": true,
            "type": "array",
            "description": "Only include products in these genres. Leave empty for all genres.",
            "items": {
              "type": "string",
              "enum": [
                "action",
                "adventure",
                "racing",
                "rpg",
                "shooter",
                "simulation",
                "sports",
                "strategy",
                "arcade",
                "building",
                "card-game",
                "fighting",
                "horror",
                "jrpg",
                "metroidvania",
                "platformer",
                "pointandclick",
                "puzzle",
                "rougelike",
                "sandbox",
                "scifi",
                "fantasy",
                "stealth",
                "survival",
                "tactical",
                "turnbased",
                "realtime",
                "visual-novel",
                "open-world",
                "historical",
                "mystery",
                "detective",
                "exploration",
                "managerial"
              ],
              "enumTitles": [
                "Action",
                "Adventure",
                "Racing",
                "Role-playing",
                "Shooter",
                "Simulation",
                "Sports",
                "Strategy",
                "Arcade",
                "Building",
                "Card game",
                "Fighting",
                "Horror",
                "JRPG",
                "Metroidvania",
                "Platformer",
                "Point and click",
                "Puzzle",
                "Roguelike",
                "Sandbox",
                "Sci-fi",
                "Fantasy",
                "Stealth",
                "Survival",
                "Tactical",
                "Turn-based",
                "Real-time",
                "Visual novel",
                "Open world",
                "Historical",
                "Mystery",
                "Detective",
                "Exploration",
                "Managerial"
              ]
            }
          },
          "tags": {
            "title": "Tags",
            "uniqueItems": true,
            "type": "array",
            "description": "Only include products carrying these community tags. Leave empty for all tags.",
            "items": {
              "type": "string",
              "enum": [
                "indie",
                "story-rich",
                "atmospheric",
                "classic",
                "retro",
                "pixel-graphics",
                "great-soundtrack",
                "difficult",
                "relaxing",
                "funny",
                "emotional",
                "casual",
                "family-friendly",
                "female-protagonist",
                "multiple-endings",
                "choices-matter",
                "choose-your-own-adventure",
                "first-person",
                "third-person",
                "top-down",
                "isometric",
                "two-dimensional",
                "city-builder",
                "base-building",
                "resource-management",
                "crafting",
                "procedural-generation",
                "roguelite",
                "hack-and-slash",
                "shoot-em-up",
                "space",
                "medieval",
                "war",
                "post-apocalyptic",
                "cyberpunk",
                "steampunk",
                "local-co-op",
                "multiplayer",
                "mature",
                "ost"
              ],
              "enumTitles": [
                "Indie",
                "Story rich",
                "Atmospheric",
                "Classic",
                "Retro",
                "Pixel graphics",
                "Great soundtrack",
                "Difficult",
                "Relaxing",
                "Funny",
                "Emotional",
                "Casual",
                "Family friendly",
                "Female protagonist",
                "Multiple endings",
                "Choices matter",
                "Choose your own adventure",
                "First person",
                "Third person",
                "Top down",
                "Isometric",
                "2D",
                "City builder",
                "Base building",
                "Resource management",
                "Crafting",
                "Procedural generation",
                "Roguelite",
                "Hack and slash",
                "Shoot 'em up",
                "Space",
                "Medieval",
                "War",
                "Post-apocalyptic",
                "Cyberpunk",
                "Steampunk",
                "Local co-op",
                "Multiplayer",
                "Mature",
                "Soundtrack included"
              ]
            }
          },
          "operatingSystems": {
            "title": "Runs On",
            "uniqueItems": true,
            "type": "array",
            "description": "Only include products that run on these systems. Leave empty for all.",
            "items": {
              "type": "string",
              "enum": [
                "windows",
                "osx",
                "linux"
              ],
              "enumTitles": [
                "Windows",
                "macOS",
                "Linux"
              ]
            }
          },
          "gameLanguages": {
            "title": "Supported Game Languages",
            "uniqueItems": true,
            "type": "array",
            "description": "Only include products playable in these languages. This is about the games themselves, not the language of the scraped text.",
            "items": {
              "type": "string",
              "enum": [
                "en",
                "de",
                "fr",
                "es",
                "es_mx",
                "it",
                "pt",
                "br",
                "nl",
                "pl",
                "ru",
                "uk",
                "cz",
                "hu",
                "ro",
                "hr",
                "da",
                "fi",
                "no",
                "sv",
                "gk",
                "tr",
                "ar",
                "jp",
                "ko",
                "cn",
                "zh",
                "th",
                "vi",
                "id"
              ],
              "enumTitles": [
                "English",
                "German",
                "French",
                "Spanish",
                "Spanish (Latin America)",
                "Italian",
                "Portuguese",
                "Portuguese (Brazil)",
                "Dutch",
                "Polish",
                "Russian",
                "Ukrainian",
                "Czech",
                "Hungarian",
                "Romanian",
                "Croatian",
                "Danish",
                "Finnish",
                "Norwegian",
                "Swedish",
                "Greek",
                "Turkish",
                "Arabic",
                "Japanese",
                "Korean",
                "Chinese (Simplified)",
                "Chinese (Traditional)",
                "Thai",
                "Vietnamese",
                "Indonesian"
              ]
            }
          },
          "features": {
            "title": "Features",
            "uniqueItems": true,
            "type": "array",
            "description": "Only include products offering these features. Leave empty for all.",
            "items": {
              "type": "string",
              "enum": [
                "single",
                "multi",
                "coop",
                "achievements",
                "leaderboards",
                "controller_support",
                "cloud_saves",
                "overlay"
              ],
              "enumTitles": [
                "Single-player",
                "Multiplayer",
                "Co-op",
                "Achievements",
                "Leaderboards",
                "Controller support",
                "Cloud saves",
                "In-game overlay"
              ]
            }
          },
          "productTypes": {
            "title": "Product Types",
            "uniqueItems": true,
            "type": "array",
            "description": "Which kinds of store products to collect. Leave empty to include everything GOG sells. Note: GOG currently lists no products at all under \"Extras\" — soundtracks and art books are sold as DLC or bundles, so picking only Extras returns nothing.",
            "items": {
              "type": "string",
              "enum": [
                "game",
                "dlc",
                "pack",
                "extras"
              ],
              "enumTitles": [
                "Games",
                "DLC and expansions",
                "Bundles and packs",
                "Extras (currently empty on GOG)"
              ]
            }
          },
          "releaseStatuses": {
            "title": "Release Status",
            "uniqueItems": true,
            "type": "array",
            "description": "Only include products with these release statuses. Leave empty for all.",
            "items": {
              "type": "string",
              "enum": [
                "new-arrival",
                "upcoming",
                "early-access"
              ],
              "enumTitles": [
                "New arrivals",
                "Upcoming releases",
                "Early access"
              ]
            }
          },
          "discountedOnly": {
            "title": "On Sale Only",
            "type": "boolean",
            "description": "Only collect products that are currently discounted."
          },
          "minPrice": {
            "title": "Minimum Price",
            "minimum": 0,
            "type": "integer",
            "description": "Lowest price to include, in the currency you pick below. Leave empty for no lower limit."
          },
          "maxPrice": {
            "title": "Maximum Price",
            "minimum": 0,
            "type": "integer",
            "description": "Highest price to include, in the currency you pick below. Leave empty for no upper limit."
          },
          "releaseYearFrom": {
            "title": "Released From (Year)",
            "minimum": 1980,
            "maximum": 2100,
            "type": "integer",
            "description": "Earliest release year to include. The GOG catalog goes back to 1980."
          },
          "releaseYearTo": {
            "title": "Released Until (Year)",
            "minimum": 1980,
            "maximum": 2100,
            "type": "integer",
            "description": "Latest release year to include."
          },
          "sortBy": {
            "title": "Sort Results By",
            "enum": [
              "desc:trending",
              "desc:bestselling",
              "desc:releaseDate",
              "desc:reviewsRating",
              "desc:discount",
              "asc:price",
              "desc:price",
              "asc:title"
            ],
            "type": "string",
            "description": "The order GOG returns products in. Handy together with a result limit — for example sort by user rating and take the top 100."
          },
          "includeGameDetails": {
            "title": "Include Full Game Details",
            "type": "boolean",
            "description": "Adds the full store description, system requirements per platform, the audio and subtitle language list, ESRB/PEGI/USK age ratings, franchise, install size, included goodies and the DLC list to every row. Turn this off for a faster, lighter run that keeps only the store listing data."
          },
          "maxResults": {
            "title": "Maximum Results",
            "minimum": 0,
            "type": "integer",
            "description": "Most products to collect per keyword or per pasted address. Set to 0 to collect every match — the full GOG store is roughly 12,500 products, of which about 6,300 are games. GOG itself stops handing out results after 10,000 products for any single keyword or address, so add filters (genre, price, release year) if you need to go deeper than that. A product already collected by an earlier keyword is not collected, or charged, twice."
          },
          "country": {
            "title": "Store Region",
            "enum": [
              "US",
              "GB",
              "CA",
              "AU",
              "NZ",
              "IE",
              "DE",
              "FR",
              "ES",
              "IT",
              "NL",
              "BE",
              "AT",
              "CH",
              "PT",
              "PL",
              "CZ",
              "SK",
              "HU",
              "RO",
              "GR",
              "SE",
              "NO",
              "DK",
              "FI",
              "TR",
              "UA",
              "RU",
              "JP",
              "KR",
              "CN",
              "TW",
              "HK",
              "SG",
              "IN",
              "ID",
              "TH",
              "VN",
              "PH",
              "MY",
              "BR",
              "MX",
              "AR",
              "CL",
              "CO",
              "ZA",
              "AE",
              "SA",
              "IL"
            ],
            "type": "string",
            "description": "Which regional GOG storefront to read. This changes prices, discounts and what is available for sale."
          },
          "currency": {
            "title": "Currency",
            "enum": [
              "auto",
              "USD",
              "EUR",
              "GBP",
              "CAD",
              "AUD",
              "CHF",
              "PLN",
              "CZK",
              "HUF",
              "RON",
              "SEK",
              "NOK",
              "DKK",
              "TRY",
              "CNY",
              "BRL",
              "ZAR",
              "RUB"
            ],
            "type": "string",
            "description": "Currency for all prices and discounts. Keep \"Automatic\" unless you have a reason not to — GOG only sells in a currency the store region actually uses, and asking a region for a foreign currency returns products with no prices at all. If you pick one your region doesn't use, the run falls back to that region's own currency and says so in the log. US Dollars work from every region. GOG sells in these 18 currencies only; everything else it quietly charges in US Dollars."
          },
          "language": {
            "title": "Text Language",
            "enum": [
              "en-US",
              "de-DE",
              "fr-FR",
              "es-ES",
              "pl-PL",
              "ru-RU",
              "zh-Hans"
            ],
            "type": "string",
            "description": "Language used for the titles, descriptions, genre names and tag names in your results. GOG publishes its store in these seven languages only. Spanish is offered by GOG but currently still renders most store text in English."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}