# GOG Game Details API Documentation

Read one public GOG game by the id or slug returned by search. Returns editions, release date, publishers, platforms, numeric prices and images. A sale end date is null until the storefront publishes one.

- **Documentation:** [https://scrappa.co/docs/gog-api/gog_game](https://scrappa.co/docs/gog-api/gog_game)
- **API group:** GOG API
- **Endpoint:** `GET https://scrappa.co/api/gog/game`

## Authentication

Send your Scrappa API key in the `X-API-KEY` request header. Paid endpoints also support accountless x402 payments when called without an API key.

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | integer | No | Numeric game id from search (use this or slug). |
| `slug` | string | No | Game slug from search (use this or id). |
| `region` | string | No | US, DE or GB. Defaults to US. |

## Example request

```bash
#!/bin/bash

curl -X GET \
    -H "x-api-key: YOUR_API_KEY_HERE" \
    "https://scrappa.co/api/gog/game?id=2093619782&region=US"
```

## Example response

```json
{
    "success": true,
    "data": {
        "game": {
            "id": 2093619782,
            "slug": "cyberpunk_2077",
            "title": "Cyberpunk 2077",
            "release_date": "2020-12-10T00:00:00Z",
            "publishers": [
                "CD PROJEKT RED"
            ],
            "editions": [
                "Base Edition",
                "Ultimate Edition"
            ]
        },
        "region": "US"
    },
    "meta": {
        "endpoint_family": "gog_game",
        "billable": true
    }
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 404 | Not Found | No game has that id or slug. Non-billable. |
| 503 | Upstream Unavailable | The source could not be reached. Retryable and never billed. |

## More Scrappa resources

- [API documentation](https://scrappa.co/docs)
- [Full LLM-readable API reference](https://scrappa.co/llms-full.txt)
- [OpenAPI specification](https://scrappa.co/docs/api.json)
- [Pricing](https://scrappa.co/pricing)
