# GoodGame Scraper (`sashaebashu/goodgame-scraper`) Actor

Scrape GoodGame.ru: every live stream with its viewers, chat size, game and streamer, plus the game catalogue. Open API, no key.

- **URL**: https://apify.com/sashaebashu/goodgame-scraper.md
- **Developed by:** [Sasha Ebashu](https://apify.com/sashaebashu) (community)
- **Categories:** Videos, Social media, Automation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $15.00 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — 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

## GoodGame Scraper — Live Streams, Streamers & Games

GoodGame.ru is a Russian games-streaming platform. This Actor reads it through its own open API: every
stream that is live right now — with its viewer count, chat size, the game being played and the
streamer — plus the platform's game catalogue.

No key, no login. The cheap datacenter proxy is enough.

### Three modes

| Mode | What it does |
|---|---|
| **Live streams** | Every stream broadcasting now, with viewers, chat and game |
| **Channels** | The channels you list — by link, name, or numeric id |
| **Games** | The game catalogue (~97,000 titles) |

### What you get per stream

| | |
|---|---|
| **Audience** | Viewers, player viewers, users in chat, the channel's all-time max |
| **Stream** | Title, live status, when it started, the game (and every game tagged) |
| **Channel** | Name, id, premium flag, adult flag, description, thumbnail, link |

### Notes & limits

Properties of the source, measured rather than assumed:

- **The live list re-sorts by viewer count between requests**, so consecutive pages overlap. The
  Actor de-duplicates by stream id, so each stream appears once.
- **The API's own total counter is inflated.** It reports roughly 180 live streams while pagination
  actually exposes about 110 unique ones; the Actor returns every unique stream the API serves, not
  the counter's figure.
- **A channel resolves cleanly only by its numeric id.** Given a name, the Actor finds it in the
  current live list — which works for channels that are live now. An **offline** channel given by
  name cannot be looked up through the public API, only by its numeric id.
- **Live figures are a snapshot** at the moment of the request. Run on a schedule to track viewers
  over time.
- Timestamps are ISO-8601, derived from the platform's Unix values; HTML is stripped from titles and
  descriptions.
- The Actor honours your **Maximum cost per run** and stops when the cap is reached.

### Input

| Field | What it does |
|---|---|
| **What to scrape** | Live streams, Channels or Games. |
| **Channels** | `goodgame.ru/<name>` links, bare names, or numeric ids (Channels mode). |
| **Also include games** | In Live mode, append the game catalogue after the streams. |
| **Maximum items** | Caps how many rows are written. |

# Actor input Schema

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

Live: every stream broadcasting now. Channels: the ones you list. Games: the game catalogue.

## `channels` (type: `array`):

For Channels mode. A goodgame.ru/<name> link, a bare channel name, or a numeric channel id. Offline channels resolve only by numeric id.

## `includeGames` (type: `boolean`):

In Live mode, append the game catalogue after the streams.

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

Caps how many rows are written. There are about 150 live streams at any time; the game catalogue is ~97,000.

## `proxyConfiguration` (type: `object`):

The API answers from any address; the proxy is only for IP rotation.

## Actor input object example

```json
{
  "mode": "live",
  "channels": [],
  "includeGames": false,
  "maxItems": 1000,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `streams` (type: `string`):

No description

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

No description

## `full` (type: `string`):

No description

# 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 = {
    "channels": []
};

// Run the Actor and wait for it to finish
const run = await client.actor("sashaebashu/goodgame-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 = { "channels": [] }

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

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

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

```

## CLI example

```bash
echo '{
  "channels": []
}' |
apify call sashaebashu/goodgame-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,sashaebashu/goodgame-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/SQHwJT1NMvF4cPFZw/builds/24dLa0pV0oRMUXVQ6/openapi.json
