# Video Game Database Scraper (`crawlerbros/mobygames-scraper`) Actor

Search and explore structured video game metadata from Wikidata, 500K+ games with developer, publisher, platform, genre, release year, and description data. No API key needed.

- **URL**: https://apify.com/crawlerbros/mobygames-scraper.md
- **Developed by:** [Crawler Bros](https://apify.com/crawlerbros) (community)
- **Categories:** Developer tools, Automation, Other
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, NaN bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.00 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.
Actors are written with capital "A".

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
The best way to integrate Actors is as follows.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).


# README

## Video Game Database Scraper

Explore a comprehensive video game knowledge base with **500,000+ games** across hundreds of platforms. Extract game titles, genres, developer and publisher details, platform availability, release years, and descriptions — all sourced from **Wikidata**, the world's largest open knowledge base, with no API key required.

### What you get

- **Game search** — find games by title with full metadata including genres, platforms, developers, and release year
- **Game details** — complete game profiles for a specific Wikidata game entity
- **Platform browse** — discover games released on a specific platform
- **Recent releases** — track newly added or updated games sorted by publication date

### Modes

| Mode | Description |
|------|-------------|
| `searchGames` | Search for games by title |
| `gameDetails` | Full game profile for a specific Wikidata game ID |
| `byPlatform` | Browse games for a specific platform |
| `recentReleases` | Get recently published games |

### Example inputs

**Search for Mario games:**
```json
{
  "mode": "searchGames",
  "query": "mario",
  "maxItems": 10
}
````

**Get detailed info for a specific game (Super Mario Bros.):**

```json
{
  "mode": "gameDetails",
  "wikidataId": "Q1075592",
  "maxItems": 1
}
```

**Browse Nintendo Switch games:**

```json
{
  "mode": "byPlatform",
  "platform": "Nintendo Switch",
  "maxItems": 20
}
```

**Search with filters:**

```json
{
  "mode": "searchGames",
  "query": "zelda",
  "platform": "Nintendo Switch",
  "genre": "action-adventure game",
  "fromYear": 2017,
  "toYear": 2024,
  "maxItems": 20
}
```

**Recent releases:**

```json
{
  "mode": "recentReleases",
  "maxItems": 20
}
```

### Output fields

| Field | Type | Description |
|-------|------|-------------|
| `recordType` | string | Always `"game"` |
| `wikidataId` | string | Wikidata Q-identifier (e.g. `Q1075592`) |
| `wikidataUrl` | string | Direct link to the Wikidata game page |
| `title` | string | Game title |
| `description` | string | Short editorial description |
| `releaseYear` | integer | Year of initial release |
| `developer` | string | Primary developer |
| `developers` | array | All known developers |
| `publisher` | string | Primary publisher |
| `publishers` | array | All known publishers |
| `platforms` | array | Platforms the game was released on |
| `initialPlatform` | string | First listed platform |
| `genres` | array | Game genres (e.g. `["platform game", "action game"]`) |
| `officialWebsite` | string | Official game website URL |
| `coverImageUrl` | string | Cover or promotional image URL |
| `scrapedAt` | string | ISO timestamp of scrape |

### Supported platforms

| Value | Platform |
|-------|----------|
| `Windows` | Windows PC |
| `PlayStation 4` | PlayStation 4 |
| `PlayStation 5` | PlayStation 5 |
| `Xbox One` | Xbox One |
| `Xbox Series X` | Xbox Series X/S |
| `Nintendo Switch` | Nintendo Switch |
| `iOS` | iPhone / iOS |
| `Android` | Android |
| `PlayStation 3` | PlayStation 3 |
| `Xbox 360` | Xbox 360 |
| `PlayStation 2` | PlayStation 2 |
| `Wii` | Wii |
| `Wii U` | Wii U |
| `Game Boy Advance` | Game Boy Advance |
| `Super Nintendo Entertainment System` | SNES |
| `Sega Genesis` | Sega Genesis / Mega Drive |
| `Nintendo 64` | Nintendo 64 |
| `Xbox` | Xbox (Original) |
| `PlayStation` | PlayStation (PSX) |
| `DOS` | DOS |
| `Amiga` | Amiga |
| `Atari 2600` | Atari 2600 |
| `Nintendo Entertainment System` | NES |

### Supported genres

Action, Adventure, Role-Playing (RPG), Strategy, Simulation, Sports, Racing, Puzzle, Platform, First-Person Shooter, Action-Adventure, Fighting, Shoot 'em Up

### Use cases

- **Game databases** — build or enrich video game catalogues with comprehensive metadata
- **Gaming journalism** — research game histories, developer portfolios, and platform catalogs
- **Retro game discovery** — explore classic games by platform and genre
- **Game recommendation engines** — use genre, release year, and platform data to power recommendations
- **Academic research** — study game industry trends and platform histories
- **Data science** — analyse gaming metadata at scale from an openly licensed dataset

### FAQ

**Does this require an API key?**
No. This actor queries the Wikidata SPARQL endpoint (`query.wikidata.org`) which is freely accessible without authentication or registration.

**How many games does Wikidata cover?**
Wikidata contains data on over 500,000 video games spanning all platforms and eras, from classic arcade and Atari titles to the latest PS5 and Xbox Series releases.

**How do I find a specific game's Wikidata ID?**
Search for the game at [wikidata.org](https://www.wikidata.org) and copy the Q-number from the URL. For example, Super Mario Bros. is `Q1075592` at `https://www.wikidata.org/wiki/Q1075592`.

**Can I filter by both platform and genre simultaneously?**
Yes — combine `platform`, `genre`, `fromYear`, and `toYear` in `searchGames` mode to narrow results across multiple axes.

**What is the data source?**
All data is sourced from Wikidata, a free and openly licensed knowledge base operated by the Wikimedia Foundation. It aggregates structured data from Wikipedia and other sources, covering game metadata in structured form.

**Are cover images always available?**
Cover images come from Wikimedia Commons via Wikidata's `image` property (P18). Not all games have an image on Wikidata, so `coverImageUrl` may be absent for less well-documented titles.

# Actor input Schema

## `mode` (type: `string`):

Select what to scrape.

## `query` (type: `string`):

Game title to search for. Used in searchGames mode. Examples: 'mario', 'zelda', 'final fantasy'.

## `wikidataId` (type: `string`):

Wikidata Q-identifier for a specific game (e.g. Q1075592 for Super Mario Bros.). Used in gameDetails mode.

## `gameUrl` (type: `string`):

Full Wikidata URL for a specific game, e.g. https://www.wikidata.org/wiki/Q1075592. Used in gameDetails mode when wikidataId is not provided.

## `platform` (type: `string`):

Filter results by gaming platform. Used in searchGames, byPlatform, and recentReleases modes.

## `genre` (type: `string`):

Filter results by game genre. Used in searchGames and recentReleases modes.

## `fromYear` (type: `integer`):

Only include games released from this year onwards.

## `toYear` (type: `integer`):

Only include games released up to and including this year.

## `maxItems` (type: `integer`):

Maximum number of game records to emit.

## Actor input object example

```json
{
  "mode": "searchGames",
  "query": "mario",
  "maxItems": 20
}
```

# Actor output Schema

## `games` (type: `string`):

Dataset containing all scraped video game records.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "mode": "searchGames",
    "query": "mario",
    "maxItems": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("crawlerbros/mobygames-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "mode": "searchGames",
    "query": "mario",
    "maxItems": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("crawlerbros/mobygames-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "mode": "searchGames",
  "query": "mario",
  "maxItems": 20
}' |
apify call crawlerbros/mobygames-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=crawlerbros/mobygames-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Video Game Database Scraper",
        "description": "Search and explore structured video game metadata from Wikidata, 500K+ games with developer, publisher, platform, genre, release year, and description data. No API key needed.",
        "version": "1.0",
        "x-build-id": "7T2oloBkJlkjOAAyY"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/crawlerbros~mobygames-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-crawlerbros-mobygames-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/crawlerbros~mobygames-scraper/runs": {
            "post": {
                "operationId": "runs-sync-crawlerbros-mobygames-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/crawlerbros~mobygames-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-crawlerbros-mobygames-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",
                "required": [
                    "mode"
                ],
                "properties": {
                    "mode": {
                        "title": "Mode",
                        "enum": [
                            "searchGames",
                            "gameDetails",
                            "byPlatform",
                            "recentReleases"
                        ],
                        "type": "string",
                        "description": "Select what to scrape.",
                        "default": "searchGames"
                    },
                    "query": {
                        "title": "Search query (game title)",
                        "type": "string",
                        "description": "Game title to search for. Used in searchGames mode. Examples: 'mario', 'zelda', 'final fantasy'.",
                        "default": "mario"
                    },
                    "wikidataId": {
                        "title": "Wikidata ID",
                        "pattern": "^Q\\d+$",
                        "type": "string",
                        "description": "Wikidata Q-identifier for a specific game (e.g. Q1075592 for Super Mario Bros.). Used in gameDetails mode."
                    },
                    "gameUrl": {
                        "title": "Game URL (Wikidata)",
                        "type": "string",
                        "description": "Full Wikidata URL for a specific game, e.g. https://www.wikidata.org/wiki/Q1075592. Used in gameDetails mode when wikidataId is not provided."
                    },
                    "platform": {
                        "title": "Platform filter",
                        "enum": [
                            "Windows",
                            "PlayStation 4",
                            "PlayStation 5",
                            "Xbox One",
                            "Xbox Series X",
                            "Nintendo Switch",
                            "iOS",
                            "Android",
                            "PlayStation 3",
                            "Xbox 360",
                            "PlayStation 2",
                            "Wii",
                            "Wii U",
                            "Game Boy",
                            "Game Boy Color",
                            "Game Boy Advance",
                            "Super Nintendo Entertainment System",
                            "Sega Genesis",
                            "Nintendo 64",
                            "Xbox",
                            "PlayStation",
                            "DOS",
                            "Amiga",
                            "Atari 2600",
                            "Nintendo Entertainment System"
                        ],
                        "type": "string",
                        "description": "Filter results by gaming platform. Used in searchGames, byPlatform, and recentReleases modes."
                    },
                    "genre": {
                        "title": "Genre filter",
                        "enum": [
                            "action game",
                            "adventure game",
                            "role-playing video game",
                            "strategy video game",
                            "simulation video game",
                            "sports video game",
                            "racing video game",
                            "puzzle video game",
                            "platform game",
                            "first-person shooter",
                            "action-adventure game",
                            "fighting game",
                            "shoot 'em up"
                        ],
                        "type": "string",
                        "description": "Filter results by game genre. Used in searchGames and recentReleases modes."
                    },
                    "fromYear": {
                        "title": "From year (release year filter)",
                        "minimum": 1950,
                        "maximum": 2030,
                        "type": "integer",
                        "description": "Only include games released from this year onwards."
                    },
                    "toYear": {
                        "title": "To year (release year filter)",
                        "minimum": 1950,
                        "maximum": 2030,
                        "type": "integer",
                        "description": "Only include games released up to and including this year."
                    },
                    "maxItems": {
                        "title": "Max items",
                        "minimum": 1,
                        "maximum": 500,
                        "type": "integer",
                        "description": "Maximum number of game records to emit.",
                        "default": 20
                    }
                }
            },
            "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
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
