# Speedrun.com Scraper (`crawlerbros/speedruncom-scraper`) Actor

Scrape Speedrun.com â€" the largest speedrunning leaderboard and community. Search games, browse leaderboard runs, and look up world records. Returns game details, run times, runners, video proof links, and platform info.

- **URL**: https://apify.com/crawlerbros/speedruncom-scraper.md
- **Developed by:** [Crawler Bros](https://apify.com/crawlerbros) (community)
- **Categories:** Videos, Automation, Other
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: 5.00 out of 5 stars

## Pricing

from $3.00 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
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

## Speedrun.com Scraper

Scrape [Speedrun.com](https://www.speedrun.com) — the world's largest speedrunning leaderboard platform with thousands of games, millions of verified runs, and active communities for every genre. Search for games, pull leaderboard positions, or browse the most recent verified submissions.

### Features

- **Three data modes**: game search, category leaderboards, or recent verified runs
- **Full run metadata**: time in seconds and formatted string, place on leaderboard, runner name, video proof, platform, and submission date
- **Rich game data**: release year, platforms, genres, community Discord, and direct links
- **Human-readable time format**: run times displayed as `h:mm:ss.mmm` or `m:ss.mmm` alongside raw seconds
- **No authentication required**: uses the public Speedrun.com REST API v1

### Use Cases

- Monitor world records and top-10 leaderboard positions for popular games
- Track speedrunning community activity and new verified submissions
- Research game popularity across the speedrunning community
- Analyze run time distributions for specific categories (Any%, 100%, etc.)
- Build speedrunning news feeds and record-tracker applications

### Input

| Field | Type | Description | Default |
|-------|------|-------------|---------|
| `mode` | Select | Data mode: `searchGames`, `leaderboard`, or `recentRuns` | `searchGames` |
| `keyword` | Text | Game search keyword (mode=searchGames) | `mario` |
| `gameId` | Text | Game abbreviation or ID for leaderboard/recentRuns (e.g. `sm64`, `oot`, `celeste`) | `sm64` |
| `categoryId` | Text | Category ID for leaderboard mode (auto-detected if blank) | — |
| `maxItems` | Integer | Maximum number of records to return (1–500) | `20` |

### Output

#### Game Record

| Field | Type | Description |
|-------|------|-------------|
| `recordType` | String | Always `"game"` |
| `gameId` | String | Unique game ID on Speedrun.com |
| `gameName` | String | Official game name |
| `gameAbbreviation` | String | Short game abbreviation used in URLs |
| `gameUrl` | String | Direct link to the game's Speedrun.com page |
| `releaseYear` | Integer | Year the game was released |
| `releaseDate` | String | Full release date (YYYY-MM-DD) |
| `platforms` | Array | Platform names (e.g., Nintendo 64, PC) |
| `genres` | Array | Genre tags (e.g., Platformer, Action) |
| `discord` | String | Community Discord invite URL |
| `scrapedAt` | String | ISO 8601 scrape timestamp |

#### Run Record

| Field | Type | Description |
|-------|------|-------------|
| `recordType` | String | Always `"run"` |
| `runId` | String | Unique run ID |
| `runUrl` | String | Direct link to the run page |
| `gameId` | String | Game ID |
| `gameName` | String | Game name |
| `categoryId` | String | Category ID |
| `category` | String | Category name (e.g., Any%, 120 Star) |
| `timeSeconds` | Number | Run time in seconds (raw float) |
| `time` | String | Formatted run time (e.g., `1:39:32.000`) |
| `place` | Integer | Leaderboard position (leaderboard mode only) |
| `runnerName` | String | Runner username(s), comma-separated for co-op |
| `runnerId` | String | Runner user ID |
| `platformId` | String | Platform ID the run was submitted on |
| `emulated` | Boolean | Whether the run used emulation |
| `videoUrl` | String | Video proof URL (YouTube, Twitch, etc.) |
| `submittedAt` | String | ISO 8601 submission timestamp |
| `status` | String | Run status: `verified`, `new`, or `rejected` |
| `comment` | String | Runner's submission comment |
| `scrapedAt` | String | ISO 8601 scrape timestamp |

### Example Output

```json
{
  "recordType": "run",
  "runId": "run12345",
  "runUrl": "https://www.speedrun.com/run/run12345",
  "gameId": "o1y9wo6q",
  "gameName": "Super Mario 64",
  "categoryId": "cat001",
  "category": "120 Star",
  "timeSeconds": 6039.0,
  "time": "1:40:39.000",
  "place": 1,
  "runnerName": "Cheese05",
  "runnerId": "player1",
  "platformId": "n64",
  "emulated": false,
  "videoUrl": "https://www.twitch.tv/videos/123456",
  "submittedAt": "2026-05-01T10:00:00Z",
  "status": "verified",
  "scrapedAt": "2026-06-04T15:30:00.000000+00:00"
}
```

### FAQs

**Does this require an API key?**
No. The Speedrun.com API (`www.speedrun.com/api/v1`) is fully public and requires no authentication for read-only data.

**What game abbreviations can I use?**
Common examples: `sm64` (Super Mario 64), `oot` (Ocarina of Time), `celeste` (Celeste), `minecraft` (Minecraft: Java Edition), `portal2` (Portal 2). You can find a game's abbreviation in its Speedrun.com URL.

**What is the difference between leaderboard and recentRuns modes?**
`leaderboard` returns the top N ranked runs for the first (or specified) category of a game, ordered by time. `recentRuns` returns the most recently verified runs across all games, ordered by submission date.

**How are co-op runs handled?**
Co-op runs list all runner names joined by a comma in the `runnerName` field.

**Are all times comparable?**
Only runs within the same game and category are directly comparable. Times use the primary timing method set by the game's moderators (real time, in-game time, etc.).

**What is the rate limit?**
The Speedrun.com API enforces a rate limit with HTTP 420 responses. This scraper automatically waits and retries when rate-limited.

# Actor input Schema

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

What to fetch.

## `keyword` (type: `string`):

Game name to search for (mode=searchGames).

## `gameId` (type: `string`):

Speedrun.com game ID or abbreviation (mode=leaderboard). Example: smb1, sm64, mkwii.

## `categoryId` (type: `string`):

Speedrun.com category ID. Leave empty to fetch the first (main) category.

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

Maximum number of records to return.

## Actor input object example

```json
{
  "mode": "searchGames",
  "keyword": "mario",
  "gameId": "sm64",
  "maxItems": 20
}
```

# Actor output Schema

## `items` (type: `string`):

Speedrun records, games, and leaderboards from speedrun.com.

# 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 = {
    "mode": "searchGames",
    "keyword": "mario",
    "gameId": "sm64",
    "maxItems": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("crawlerbros/speedruncom-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 = {
    "mode": "searchGames",
    "keyword": "mario",
    "gameId": "sm64",
    "maxItems": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("crawlerbros/speedruncom-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 '{
  "mode": "searchGames",
  "keyword": "mario",
  "gameId": "sm64",
  "maxItems": 20
}' |
apify call crawlerbros/speedruncom-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,crawlerbros/speedruncom-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/yRft7oCo4WKuHHJOU/builds/2HkLrHVjdaHgsXVmi/openapi.json
