{
  "openapi": "3.0.1",
  "info": {
    "title": "Metacritic Scraper — Metascores, Reviews, Games & Movies",
    "description": "Scrape Metacritic games, movies and TV shows: Metascore, user score, platforms, release date, genres, developer and publisher, plus critic and user reviews with score, text and date. Works with URLs, browse lists and search.",
    "version": "0.1",
    "x-build-id": "ycogAdiNn8zchiPAW"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/tortuga~metacritic-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-tortuga-metacritic-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/tortuga~metacritic-scraper/runs": {
      "post": {
        "operationId": "runs-sync-tortuga-metacritic-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/tortuga~metacritic-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-tortuga-metacritic-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": {
          "mode": {
            "title": "Mode",
            "enum": [
              "reviews",
              "titles",
              "browse",
              "search"
            ],
            "type": "string",
            "description": "What to scrape. `reviews`: `review` items (user and/or critic reviews) for each game, movie or TV show. `titles`: one `title` item per game/movie/show with Metascore, user score, platforms, genres, developer/publisher or director/cast. `browse`: `list_entry` rows from Metacritic browse pages (`/browse/game/...`). `search`: `list_entry` rows for each search term.",
            "default": "reviews"
          },
          "startUrls": {
            "title": "Start URLs",
            "type": "array",
            "description": "Metacritic URLs, one per line: games (`/game/elden-ring/`), movies (`/movie/the-godfather/`), TV shows (`/tv/breaking-bad/`), their `critic-reviews/` or `user-reviews/` pages (a `?platform=pc` filter is respected), browse pages (`/browse/game/`, `/browse/game/ps5/all/all-time/new/`, `/browse/movie/all/horror/2024/metascore/`) or search pages (`/search/zelda/`). In `titles`/`reviews` mode a browse or search URL expands to its first titles (see Max titles per list).",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "searchTerms": {
            "title": "Search terms",
            "type": "array",
            "description": "Titles to search for, one per line (e.g. `baldur's gate 3`, `the bear`). In `titles`/`reviews` mode each term resolves to its best match; in `search` mode every match is returned.",
            "items": {
              "type": "string"
            }
          },
          "searchMediaType": {
            "title": "Search in",
            "enum": [
              "all",
              "game",
              "movie",
              "tv"
            ],
            "type": "string",
            "description": "Limit search terms to games, movies or TV shows.",
            "default": "all"
          },
          "reviewType": {
            "title": "Review type",
            "enum": [
              "user",
              "critic",
              "both"
            ],
            "type": "string",
            "description": "`user`: user reviews (score 0-10). `critic`: critic reviews from publications (score 0-100, publication, critic, link to the full review). `both`: both kinds. A `critic-reviews/` or `user-reviews/` start URL overrides this for that title.",
            "default": "user"
          },
          "platform": {
            "title": "Game platform",
            "type": "string",
            "description": "Games only: keep one platform, e.g. `pc`, `playstation-5` (`ps5`), `xbox-series-x`, `nintendo-switch`. Leave empty to get reviews from every platform (lead platform first). In `titles` mode it selects which platform's Metascore and user score are reported."
          },
          "reviewSort": {
            "title": "Review order",
            "enum": [
              "date",
              "score",
              "publication"
            ],
            "type": "string",
            "description": "`date`: most recently added or updated first (Metacritic's \"Recently Added\"). `score`: highest score first. `publication`: publication A-Z (critic reviews only; user reviews fall back to newest first).",
            "default": "date"
          },
          "maxItems": {
            "title": "Max items (total)",
            "minimum": 1,
            "type": "integer",
            "description": "Overall cap on dataset items for the run (all item types combined). Keeps cost predictable.",
            "default": 100
          },
          "maxReviewsPerTitle": {
            "title": "Max reviews per title",
            "minimum": 1,
            "type": "integer",
            "description": "Cap on reviews per title and review type in `reviews` mode. User reviews load 100 per request; popular games have thousands.",
            "default": 100
          },
          "maxTitlesPerListing": {
            "title": "Max titles per browse / search URL",
            "minimum": 1,
            "type": "integer",
            "description": "In `titles` and `reviews` mode, how many titles to take from each browse or search start URL.",
            "default": 20
          },
          "reviewsNewerThan": {
            "title": "Only reviews newer than",
            "type": "string",
            "description": "Only reviews written on or after: a date (YYYY-MM-DD) or a period such as '7 days' or '24 hours' (Metacritic dates are days, so the cutoff's own day counts). Reviews are then read by date (`reviewSort` becomes `date`) and paging a review list stops once it reaches reviews last updated before the cutoff, so a daily run reads one page per platform. Old reviews that were edited recently are skipped. Leave empty for no date limit. `reviews` mode only."
          },
          "onlyNewOrChanged": {
            "title": "Only new or changed items",
            "type": "boolean",
            "description": "Remember what earlier runs of this input returned and output only new items: new user/critic reviews in `reviews` mode (read by date; paging stops where the previous run's reviews begin, edited old reviews are not output again, and every platform list gets the full **Max reviews per title** on the first run), titles whose metascore, user score, must-play/must-see badge or release date changed in `titles` mode, list rows whose metascore, user score or release date changed in `browse` and `search` mode (there **Max items** caps how many rows are checked, so every run watches the same top of the list). Use with a Schedule; unchanged items are not charged.",
            "default": false
          },
          "monitoringKey": {
            "title": "Monitoring key",
            "type": "string",
            "description": "Name for this watch, so several schedules on the same search stay separate; defaults to a key derived from the search input. Only used with **Only new or changed items**."
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Apify Proxy (datacenter) is recommended. Metacritic's API answered every test request without blocking; if the run summary shows 403/429 or `challenges`, switch to residential proxies.",
            "default": {
              "useApifyProxy": true
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}