# Chess.com Public Profile Scraper (`parseforge/chesscom-public-profile-scraper`) Actor

Scrapes Chess.com public profiles, ratings, and game archives by username. Returns flat rows for profile, stats, archives, or games modes.

- **URL**: https://apify.com/parseforge/chesscom-public-profile-scraper.md
- **Developed by:** [ParseForge](https://apify.com/parseforge) (community)
- **Categories:** Social media, Developer tools
- **Stats:** 2 total users, 1 monthly users, 87.1% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $19.00 / 1,000 result items

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

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

[![ParseForge](https://raw.githubusercontent.com/ParseForge/apify-assets/main/banner.jpg)](https://apify.com/parseforge?fpr=vmoqkp)

### Chess.com Public Profile Scraper

**Scrape Chess.com public profiles, ratings, and game archives for any username, up to a million per run.** Each row returns the player's bio, account metadata, rapid/blitz/bullet ratings, or monthly game lists. No login or API key. Export to CSV, JSON, Excel, or XML.

Chess.com's official API needs an app registration and rate limits you. This reads the public profile endpoints directly, filtered by username and mode, and returns each match in one fixed schema. Get player bios, account stats, monthly archives, or individual games without any authentication.

| Who uses it | What they scrape Chess.com for |
|---|---|
| Chess coaches | Review a student's rating history and recent games to plan lessons. |
| Market researchers | Track which players and rating brackets are growing in a region. |
| Content creators | Pull stats and game lists for videos or articles about top players. |
| Data analysts | Build datasets of player metadata and ratings for trend analysis. |
| Tournament organizers | Verify participant profiles and ratings before an event. |

### What it does

This Actor collects Chess.com public profile data by username and mode, and returns each player as a flat row.

- 👤 **Profile mode:** bio, name, title, country, location, followers, join date, and streamer status.
- 📊 **Stats mode:** rapid, blitz, bullet, daily, and tactics ratings with best and last played dates.
- 🗂️ **Archives mode:** list of monthly game archive URLs for a player.
- ♟️ **Games mode:** individual games for a selected month, with optional YYYY-MM filter.

Results export to CSV, JSON, Excel, or XML, or straight from the API.

### What you can do with Chess.com data

**📈 Track rating trends.**

A chess coach pulls stats mode for a list of students each month to see who improved and who needs extra work.

**🔍 Verify player identities.**

A tournament organizer runs profile mode on registered usernames to confirm titles, countries, and account status before seeding.

**📚 Build a game archive.**

A researcher collects archives mode for top players, then uses games mode to download specific months for opening analysis.

**🎥 Create content.**

A YouTuber scrapes stats and recent games for a featured player to prepare a recap video with accurate numbers.

### Why choose this scraper

| | What you get |
|---|---|
| **No API key** | Uses public endpoints, no registration or OAuth. |
| **Bulk usernames** | Pass a list of usernames and collect up to a million profiles per run. |
| **Four modes** | Get exactly the data you need: profile, stats, archives, or games. |
| **Flat output** | Every result is a flat row ready for CSV, JSON, Excel, or XML. |

### How it compares

This Actor focuses on raw public profile data from Chess.com, while the competitors below add analysis or aggregate multiple sources.

| Feature | ParseForge | Chess Opponent Analyzer | Chess Ratings Aggregator | Chess.com Player Scraper - Public Profile Data |
|---|---|---|---|---|
| Profile bio and metadata | Yes | Not listed | Not listed | Yes |
| Ratings for rapid, blitz, bullet, daily, tactics | Yes | Not listed | Yes | Not listed |
| Monthly game archives list | Yes | Not listed | Not listed | Not listed |
| Individual games for a selected month | Yes | Yes | Not listed | Not listed |
| Bulk username input | Yes | Not listed | Not listed | Not listed |
| Export to CSV, JSON, Excel, XML | Yes | Yes | Yes | Not listed |

### Configure the run

Drive the Actor from a list of usernames and choose a mode: profile, stats, archives, or games. The month filter applies only in games mode and defaults to the most recent archive when left empty. The Input tab lists every parameter.

A first run with the defaults:

```json
{
 "maxItems": 10,
 "usernames": [
 "magnuscarlsen",
 "hikaru",
 "fabianocaruana"
 ],
 "mode": "profile"
}
```

A larger pull:

```json
{
 "maxItems": 200,
 "usernames": [
 "magnuscarlsen",
 "hikaru",
 "fabianocaruana"
 ],
 "mode": "profile"
}
```

### Pricing

Pay-per-result: **$0.021 per result** collected. You pay only for the results written to your dataset.

| Results collected | Approximate cost |
|---|---|
| 100 results | $2.10 |
| 1,000 results | $21.00 |
| 10,000 results | $210.00 |

New Apify accounts start with $5 in free credit.

### Free users

Free-plan runs return up to 10 results as a preview. [Upgrade your Apify plan](https://console.apify.com/sign-up?fpr=vmoqkp) to collect up to 1,000,000 results per run.

### Run it

1. [Create a free Apify account with $5 in credit](https://console.apify.com/sign-up?fpr=vmoqkp).
2. Open the [Chess.com Public Profile Scraper](https://apify.com/parseforge/chesscom-public-profile-scraper?fpr=vmoqkp).
3. Set your inputs and any filters, then click **Start**.
4. Export the results as CSV, Excel, JSON, or XML from the **Dataset** tab.

Run it programmatically through the [Apify API](https://docs.apify.com/api/v2) (`run-sync-get-dataset-items`) or the [ApifyClient](https://docs.apify.com/api/client/js) for JavaScript and Python.

### Use with AI agents (MCP)

Give an AI agent live access to Chess.com through the Model Context Protocol. Add the Actor to Claude, Cursor, or any MCP client:

```bash
claude mcp add --transport http apify "https://mcp.apify.com/?tools=parseforge/chesscom-public-profile-scraper"
```

Then prompt it in plain language to run the scraper and read back the results.

### Troubleshooting

**Why am I getting no results?**

Check that the usernames exist on Chess.com and are spelled correctly. Also ensure maxItems is at least 1 and the mode is set as expected.

**Why does games mode return an error?**

The monthFilter must be in YYYY-MM format, for example 2024-09. If left empty, the Actor uses the most recent archive, which may not exist for new accounts.

**Why are some fields empty?**

Chess.com profiles may not have all fields filled in. For example, a player may not have a title or location set, so those fields will be blank.

**Can I scrape private profiles?**

No, this Actor only accesses public data. If a profile is private or restricted, it will not be returned.

**Why is the run slow with many usernames?**

The Actor processes usernames sequentially to respect rate limits. Increase maxItems or split the list into multiple runs if needed.

### FAQ

| Question | Answer |
|---|---|
| Do I need a Chess.com API key? | No. This Actor reads the public profile endpoints directly, so no registration or authentication is required. |
| Can I scrape multiple usernames at once? | Yes. Pass a list of usernames in the input, and the Actor will process each one up to the maxItems limit. |
| What does profile mode return? | Profile mode returns bio, name, title, country, location, followers, join date, last online date, and streamer status. |
| What does stats mode return? | Stats mode returns rapid, blitz, bullet, daily, and tactics ratings, including best ratings and last played dates. |
| What does archives mode return? | Archives mode returns a list of monthly game archive URLs for the player, which you can then use in games mode. |
| What does games mode return? | Games mode returns individual games for a selected month. Use the monthFilter field with format YYYY-MM, or leave it empty for the most recent archive. |
| Is the username case-sensitive? | No, usernames are case-insensitive. The Actor normalizes them before querying. |
| What is the maximum number of profiles I can scrape? | You can set maxItems up to 1,000,000 per run. |
| Can I export the data? | Yes, results can be exported to CSV, JSON, Excel, or XML from the Apify dataset. |
| Does this work for Chess.com only? | Yes, this Actor scrapes Chess.com public profiles only. For other platforms, consider a different scraper. |

### Related actors

Browse the full [ParseForge collection](https://apify.com/parseforge?fpr=vmoqkp) for more scrapers.

🆘 **Need help?** Email parseforge@protonmail.com with your run ID, your input, and what you expected.

⚠️ **Disclaimer.** This Actor is unofficial and is not affiliated with, endorsed by, or sponsored by Chess.com, LLC. It collects only publicly available data. You are responsible for using the collected data in compliance with the source's terms of service and applicable data-protection laws, including GDPR, CCPA, and PIPL. Do not use it to collect personal data unlawfully.

# Actor input Schema

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

How many profiles to collect per run.

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

List of Chess.com usernames to scrape (case-insensitive).

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

profile = bio + account metadata. stats = rapid/blitz/bullet/daily/tactics ratings. archives = list of monthly game archives. games = individual games for the selected month.

## `monthFilter` (type: `string`):

Only used in games mode. Format YYYY-MM, e.g. '2024-09'. Leave empty to use the most recent archive available.

## Actor input object example

```json
{
  "maxItems": 10,
  "usernames": [
    "magnuscarlsen",
    "hikaru",
    "fabianocaruana"
  ],
  "mode": "profile"
}
```

# Actor output Schema

## `overview` (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 = {
    "maxItems": 10,
    "usernames": [
        "magnuscarlsen",
        "hikaru",
        "fabianocaruana"
    ],
    "mode": "profile"
};

// Run the Actor and wait for it to finish
const run = await client.actor("parseforge/chesscom-public-profile-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 = {
    "maxItems": 10,
    "usernames": [
        "magnuscarlsen",
        "hikaru",
        "fabianocaruana",
    ],
    "mode": "profile",
}

# Run the Actor and wait for it to finish
run = client.actor("parseforge/chesscom-public-profile-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 '{
  "maxItems": 10,
  "usernames": [
    "magnuscarlsen",
    "hikaru",
    "fabianocaruana"
  ],
  "mode": "profile"
}' |
apify call parseforge/chesscom-public-profile-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,parseforge/chesscom-public-profile-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/CHrmwoshSVZTtbXFx/builds/Y3NPB722aUtpKT5Q2/openapi.json
