# Chess.com Player Scraper - Profiles, Ratings & Stats (`ninhothedev/chess-com-player-scraper`) Actor

$0.35/1K 🔥 Fast Chess.com player scraper! Profiles — title, followers, rapid/blitz/bullet ratings, FIDE & country. No key. JSON, CSV, Excel or API in seconds. List usernames & pull thousands for chess apps & analytics ⚡

- **URL**: https://apify.com/ninhothedev/chess-com-player-scraper.md
- **Developed by:** [ninhothedev](https://apify.com/ninhothedev) (community)
- **Categories:**
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.35 / 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

## Chess.com Player Scraper 🐴

**Scrape Chess.com player profiles, ratings, titles and stats at scale — no API key, no login, no proxies required.**

Give the actor a list of Chess.com usernames and get back one clean row per player: display name, title (GM/IM/FM…), follower count, country, league, join date, last-online time, and **rapid / blitz / bullet ratings**, plus tactics and FIDE rating. Powered by the official public Chess.com Published-Data API, so results are fast, accurate and **datacenter-proxy friendly**.

***

### ✨ Features

- **Profiles + ratings + stats in one row** — profile and `/stats` endpoints merged into a single flat record per player.
- **Rapid, blitz & bullet ratings** — current ratings pulled straight from the player's live stats.
- **Titles & FIDE** — GM/IM/FM/WGM titles, tactics high score and official FIDE rating.
- **No key, no login, no residential proxy** — runs on cheap datacenter IPs.
- **Bulk-friendly** — feed up to 1,000 usernames per run; missing users are skipped automatically.
- **Every field nullable** — predictable schema for downstream apps and pipelines.

### 📥 Input

| Field | Type | Description |
|-------|------|-------------|
| `mode` | select | Scrape mode. Currently `players` (usernames → profile + stats). |
| `usernames` | array | Chess.com usernames (case-insensitive). Prefilled with `hikaru`, `magnuscarlsen`, `gothamchess`. |
| `maxItems` | integer | Hard cap on how many usernames to process (default 100, max 1000). |

```json
{
    "mode": "players",
    "usernames": ["hikaru", "magnuscarlsen", "gothamchess"],
    "maxItems": 100
}
```

### 📤 Output

One dataset item per player:

```json
{
    "username": "hikaru",
    "name": "Hikaru Nakamura",
    "title": "GM",
    "followers": 1401735,
    "country": "US",
    "location": "Florida",
    "status": "premium",
    "is_streamer": true,
    "league": "Legend",
    "joined": "2014-01-06T21:20:58+00:00",
    "last_online": "2026-07-16T18:06:56+00:00",
    "rapid_rating": 2839,
    "blitz_rating": 3430,
    "bullet_rating": 3339,
    "tactics_highest": 2730,
    "fide": 2814,
    "url": "https://www.chess.com/member/Hikaru",
    "scraped_at": "2026-07-19T11:00:00+00:00"
}
```

Export to JSON, CSV, Excel or via API.

### 💰 Pricing

Pay-per-result: **~$0.50 per 1,000 players** on top of Apify platform usage. A typical run of a few hundred usernames costs a few cents.

### 🎯 Use cases

- **Chess apps & tools** — enrich player directories, leaderboards and matchmaking with live ratings.
- **Coaching & academies** — track student progress across rapid/blitz/bullet over time.
- **Analytics & research** — build datasets of titled players, rating distributions and country breakdowns.
- **Fan sites & content** — power streamer pages, tournament previews and "player of the week" widgets.

### 🔍 How it compares

| | This actor | Manual API scripting | Generic scrapers |
|---|---|---|---|
| Profile + stats merged | ✅ | ⚠️ two calls each | ❌ |
| Ratings flattened (rapid/blitz/bullet) | ✅ | ❌ manual digging | ❌ |
| Bulk usernames | ✅ up to 1,000 | ⚠️ DIY | ⚠️ |
| No key / datacenter friendly | ✅ | ✅ | ⚠️ |
| Clean nullable schema | ✅ | ❌ | ❌ |

### 🔗 Related actors

- [F1 Scraper](https://apify.com/ninhothedev/f1-scraper)
- [ESPN Sports Scraper](https://apify.com/ninhothedev/espn-sports-scraper)
- [MLB Stats Scraper](https://apify.com/ninhothedev/mlb-stats-scraper)
- [NHL Stats Scraper](https://apify.com/ninhothedev/nhl-stats-scraper)

### 🏷️ Keywords

chess.com scraper, chess player scraper, chess ratings api, chess.com api, blitz rating, bullet rating, rapid rating, FIDE rating, chess stats, grandmaster data, chess analytics, chess data export

***

*This actor uses only the public Chess.com Published-Data API and returns publicly available profile data. It is not affiliated with or endorsed by Chess.com.*

# Actor input Schema

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

What to scrape. 'players' takes a list of usernames and returns each player's profile plus ratings and stats.

## `usernames` (type: `array`):

List of Chess.com usernames to scrape (case-insensitive). One profile + stats record is returned per username. Missing users (HTTP 404) are skipped.

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

Hard cap on how many usernames are processed. Useful to limit runs and cost.

## Actor input object example

```json
{
  "mode": "players",
  "usernames": [
    "hikaru",
    "magnuscarlsen",
    "gothamchess"
  ],
  "maxItems": 100
}
```

# Actor output Schema

## `results` (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 = {
    "usernames": [
        "hikaru",
        "magnuscarlsen",
        "gothamchess"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("ninhothedev/chess-com-player-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 = { "usernames": [
        "hikaru",
        "magnuscarlsen",
        "gothamchess",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("ninhothedev/chess-com-player-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 '{
  "usernames": [
    "hikaru",
    "magnuscarlsen",
    "gothamchess"
  ]
}' |
apify call ninhothedev/chess-com-player-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,ninhothedev/chess-com-player-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/bVqkdiAdY3p281h5t/builds/xGkSFm9rfVIjYpeIq/openapi.json
