Chess.com scraper ♟️

Chess.com scraper ♟️

by fantomx

Effortlessly scrape and download every game from any Chess.com user into organized PGN files. Perfect for coaches, analysts, and developers building chess databases.

328 runs
6 users
Try This Actor

Opens on Apify.com

About Chess.com scraper ♟️

Need to get your hands on a ton of chess games for analysis, a personal database, or a machine learning project? This Chess.com scraper is the straightforward solution I use to download games in bulk. You give it a list of usernames, and it systematically fetches every single game those players have ever played on Chess.com, delivering them all in clean, ready-to-use PGN files. It’s perfect for a few key things. If you’re a coach, you can pull all your students' games to track their progress. Data scientists and researchers can build massive datasets of games to analyze trends or train AI models. Casual players can archive their entire playing history offline. The process is simple and respects rate limits to keep things running smoothly. I’ve found it saves countless hours of manual exporting, letting you focus on the actual chess analysis or project development instead of data collection. Just configure your target users, run it, and get your PGNs.

What does this actor do?

Chess.com scraper ♟️ is a web scraping and automation tool available on the Apify platform. It's designed to help you extract data and automate tasks efficiently in the cloud.

Key Features

  • Cloud-based execution - no local setup required
  • Scalable infrastructure for large-scale operations
  • API access for integration with your applications
  • Built-in proxy rotation and anti-blocking measures
  • Scheduled runs and webhooks for automation

How to Use

  1. Click "Try This Actor" to open it on Apify
  2. Create a free Apify account if you don't have one
  3. Configure the input parameters as needed
  4. Run the actor and download your results

Documentation

Chess.com PGN Scraper

Overview

This actor scrapes all available game records in PGN format for a list of Chess.com usernames. It runs on the Apify platform, returning structured data for analysis or archival purposes.

Key Features

  • Multi-User Scraping: Processes a list of one or many Chess.com usernames in a single run.
  • PGN Format: Returns all games for a user consolidated into a single PGN string per user.
  • Comprehensive Game Data: Each PGN includes standard headers (Event, Site, White, Black, Result, Elo ratings, dates) and the complete move list with timings.
  • Performance: Scrapes data directly and quickly from Chess.com's public profiles.

How to Use

  1. Prepare a list of Chess.com usernames.
  2. Provide this list as input to the actor.
  3. Run the actor. It will fetch the PGN data for each user.
  4. Retrieve the results from the actor's dataset, typically as a JSON file.

Important Notes:
* Adhere to Chess.com's Terms of Service when using this scraper.
* To avoid rate limiting, limit input to 10 usernames per run.
* Proxies are not required for this task.

Input/Output

Input:
The actor accepts a list of usernames. You can provide them via a structured input JSON or a plain text list.

Example input (JSON):

{
  "usernames": ["username1", "username2", "magnuscarlsen"]
}

Output:
The output is a JSON array where each object contains a username and its corresponding aggregated PGN data.

Example output structure:

[
  {
    "user": "magnuscarlsen",
    "pgn": "[Event \"Live Chess\"]\n[Site \"Chess.com\"]\n... (full PGN for all games)"
  }
]

Each PGN contains the complete game history for that user with the following metadata fields: Event, Site, Round, White, Black, Result, CurrentPosition, ECO, ECOUrl, UTCDate, UTCTime, WhiteElo, BlackElo, Termination, StartTime, EndTime, Link, and the full move PGN with timings.

Use Cases

  • Building a personal database of games for specific players.
  • Analyzing historical games for study or statistical review (e.g., opening repertoire, style trends).
  • Archiving your own or others' publicly available game history.

Categories

Common Use Cases

Market Research

Gather competitive intelligence and market data

Lead Generation

Extract contact information for sales outreach

Price Monitoring

Track competitor pricing and product changes

Content Aggregation

Collect and organize content from multiple sources

Ready to Get Started?

Try Chess.com scraper ♟️ now on Apify. Free tier available with no credit card required.

Start Free Trial

Actor Information

Developer
fantomx
Pricing
Paid
Total Runs
328
Active Users
6
Apify Platform

Apify provides a cloud platform for web scraping, data extraction, and automation. Build and run web scrapers in the cloud.

Learn more about Apify

Need Professional Help?

Couldn't solve your problem? Hire a verified specialist on Fiverr to get it done quickly and professionally.

Find a Specialist

Trusted by millions | Money-back guarantee | 24/7 Support