{
  "openapi": "3.0.1",
  "info": {
    "title": "OpenCritic Scraper: Game Scores & Critic Reviews",
    "description": "Scrape OpenCritic top critic scores, tiers, percent recommended and full game details, plus individual critic reviews with outlet, score and snippet. Browse 20 games per page by platform, year and sort, or Hall of Fame. Export CSV, Excel, JSON or XML. No login or API key.",
    "version": "0.1",
    "x-build-id": "Pbghebx2MkAURniDc"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/recordsdata~opencritic-games-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-recordsdata-opencritic-games-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/recordsdata~opencritic-games-scraper/runs": {
      "post": {
        "operationId": "runs-sync-recordsdata-opencritic-games-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/recordsdata~opencritic-games-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-recordsdata-opencritic-games-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": {
          "includeBrowse": {
            "title": "Ranked list of games",
            "type": "boolean",
            "description": "Turns on the OpenCritic ranked list (20 games per page) with score, tier, platforms, genres and tags. Switch off when you only want the games named below. Tune it in the filters section.",
            "default": true
          },
          "gameNames": {
            "title": "Game names (optional)",
            "type": "array",
            "description": "Titles to look up, one per line, for example Elden Ring or Hades II. Each name returns the full game record (scores, critics, tags, trailers, images, store prices).",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "matchesPerName": {
            "title": "Matches per game name",
            "minimum": 1,
            "maximum": 5,
            "type": "integer",
            "description": "How many games to return per name, best match first. 1 = only the closest title; 3 also returns sequels and editions, for example Elden Ring and Elden Ring Nightreign.",
            "default": 1
          },
          "gameIds": {
            "title": "Game IDs or URLs (optional)",
            "type": "array",
            "description": "Exact OpenCritic IDs or game URLs, for example 1548 or https://opencritic.com/game/1548/god-of-war. IDs appear in the ranked list output.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "homeLists": {
            "title": "Home page lists (optional)",
            "type": "array",
            "description": "Add OpenCritic home page lists as extra rows, for example Deals (discounted games with store prices) or Upcoming. Leave empty for none.",
            "items": {
              "type": "string",
              "enum": [
                "popular",
                "deals",
                "reviewed-today",
                "recently-released",
                "upcoming"
              ],
              "enumTitles": [
                "Popular",
                "Deals",
                "Reviewed today",
                "Recently released",
                "Upcoming"
              ]
            },
            "default": []
          },
          "includeHallOfFame": {
            "title": "Hall of Fame, current year",
            "type": "boolean",
            "description": "Adds the best-rated games of the current year. OpenCritic publishes only the current year.",
            "default": false
          },
          "browseSortBy": {
            "title": "Sort the list by",
            "enum": [
              "score",
              "date",
              "num-reviews",
              "percent-recommended"
            ],
            "type": "string",
            "description": "What the ranked list is sorted on. Example: Top critic score for the best games.",
            "default": "score"
          },
          "browseOrder": {
            "title": "Sort direction",
            "enum": [
              "default",
              "reverse"
            ],
            "type": "string",
            "description": "Highest or newest first, or reversed to see the lowest scores or oldest releases first.",
            "default": "default"
          },
          "browsePlatform": {
            "title": "Platform",
            "enum": [
              "all",
              "pc",
              "ps5",
              "xbox-series-x",
              "switch",
              "switch-2",
              "ps4",
              "xbox-one",
              "quest",
              "psvr",
              "vive",
              "wii-u",
              "3ds",
              "vita",
              "stadia"
            ],
            "type": "string",
            "description": "Show only games released on one platform, for example PlayStation 5. All platforms by default.",
            "default": "all"
          },
          "browseTimeframe": {
            "title": "Release window",
            "type": "string",
            "description": "Use all-time, last90 (last 90 days), upcoming (not released yet) or a four-digit release year such as 2025.",
            "default": "all-time"
          },
          "browseTag": {
            "title": "Tag (genre or feature)",
            "enum": [
              "all",
              "action",
              "adventure",
              "anime",
              "arcade",
              "beat-em-up",
              "card-game",
              "casual",
              "co-op",
              "comedy",
              "family-friendly",
              "fantasy",
              "fighting",
              "hack-and-slash",
              "horror",
              "indie",
              "jrpg",
              "mmo",
              "multiplayer",
              "open-world",
              "platformer",
              "puzzle",
              "rpg",
              "racing",
              "retro",
              "roguelike",
              "sci-fi",
              "shooter",
              "side-scroller",
              "simulation",
              "singleplayer",
              "souls-like",
              "sports",
              "stealth",
              "story-rich",
              "strategy",
              "survival",
              "turn-based",
              "vr",
              "visual-novel"
            ],
            "type": "string",
            "description": "Keep only games with this tag, for example Roguelike. The site cannot filter by tag, so the actor reads pages and keeps matches; see the scan limit below.",
            "default": "all"
          },
          "minTopCriticScore": {
            "title": "Minimum top critic score (0 to 100)",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "Keep games scoring at or above this value, for example 85. Leave empty for no minimum."
          },
          "minReviews": {
            "title": "Minimum number of critic reviews",
            "minimum": 0,
            "type": "integer",
            "description": "Keep games with at least this many reviews, for example 20. Leave empty for no minimum."
          },
          "maxPagesWithoutMatch": {
            "title": "Scan limit: pages with no match (20 games each)",
            "minimum": 1,
            "maximum": 25,
            "type": "integer",
            "description": "Stops the scan after this many pages in a row without a matching game, which keeps rare-tag runs cheap. Up to 25 pages.",
            "default": 15
          },
          "includeReviews": {
            "title": "Add individual critic reviews",
            "type": "boolean",
            "description": "Adds one row per critic review (outlet, score, snippet, date) for each game found by name or ID. Adds extra requests per game and extra rows.",
            "default": false
          },
          "maxReviewsPerGame": {
            "title": "Reviews per game",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "Maximum critic reviews per game, from 1 to 500. Example: 40. Used only when critic reviews are on.",
            "default": 40
          },
          "maxItems": {
            "title": "Max rows",
            "minimum": 1,
            "maximum": 1000000,
            "type": "integer",
            "description": "Maximum rows across game records, reviews and lists. The free plan is capped at 10 rows (preview); paid plans accept up to 1,000,000.",
            "default": 10
          },
          "onlyNew": {
            "title": "Only new games and reviews",
            "type": "boolean",
            "description": "Skips games and reviews delivered by earlier runs of the same search. Skipped rows are not charged. Memory is stored in your account.",
            "default": false
          },
          "stateKey": {
            "title": "Monitor name (optional)",
            "type": "string",
            "description": "Label for this memory, for example weekly-rpgs. Empty derives it from your inputs; reuse a name to share memory between runs.",
            "default": ""
          },
          "resetSeen": {
            "title": "Forget previous results",
            "type": "boolean",
            "description": "Clears the memory before the run, so everything counts as new again.",
            "default": false
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}