2.1.0 2022-11-30 18:01 UTC

This package is auto-updated.

Last update: 2023-11-29 03:40:09 UTC


Using this Metacritic API, you are able to search games on

It will give you back the metacritic score, users score, genres, rating, developers and much more (see below for an example). The output is in JSON format, so it is easy to parse in both PHP or other languages.

By default it uses the URL prefix: "". If you want to search for Playstation 3 games, just change it to: "". See metacritic.php file.


Searching on the PC game called "The Elder Scrolls V: Skyrim", will give the following JSON output:

  "name": "The Elder Scrolls V: Skyrim",
  "metascritic_score": 94,
  "users_score": 8.2,
  "rating": "M",
  "genres": [
  "developers": [
    "Bethesda Game Studios"
  "publishers": "Bethesda Softworks",
  "release_date": "Nov 10, 2011",
  "also_on": [
    "PlayStation 3",
    "Xbox 360"
  "also_on_url": [
  "thumbnail_url": "",
  "cheat_url": ""

On error

When for some reason the page couldn't be loaded / found or parsed, you will get the following JSON response:

{"error":"Page could not be loaded!"}

Or when metacritic.php is directly called, without input you will get: {"error": "Game title is empty"}

Code example

Please, see example.php

Another way to access the API is to directly call metacritic.php via the website URL:


Be-aware that the game title needs to be URL encoded to work.

Have fun!


Code quality is checked in GitLab CI/CD, to avoid regression.

Currently in the pipeline:

  • Psalm - Static analysis tool for PHP
  • Phpcs - PHP coding style standard (phpcbf command for auto-fix)
  • Phpmetrics - PHP metrics for complexity, object oriented, maintainability and more.