# Nexus Mods Scraper (`sashaebashu/nexusmods-scraper`) Actor

Scrape Nexus Mods, the biggest game-mod site: mods for any of 5,800 games with downloads, endorsements and requirements, every game with its mod count, curated collections, and mod authors with their Patreon, Ko-fi and Discord links.

- **URL**: https://apify.com/sashaebashu/nexusmods-scraper.md
- **Developed by:** [Sasha Ebashu](https://apify.com/sashaebashu) (community)
- **Categories:** Lead generation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $4.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?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
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.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## 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.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Nexus Mods Scraper — Mods, Downloads, Collections & Authors

[Nexus Mods](https://www.nexusmods.com) is the biggest game-mod site: close to a million mods for
about 5,800 games, from Skyrim, Fallout and Cyberpunk 2077 to Stardew Valley and Baldur's Gate 3.
This Actor reads it: **mods with downloads, endorsements and how many other mods depend on them**,
**every game with its mod count and downloads**, **curated collections**, and **mod authors with
their Patreon, Ko-fi, Discord and other links**.

No account and no API key. The Actor uses the public Nexus Mods API and returns clean JSON.

### Four modes

| Mode | What you get |
|---|---|
| **Mods** | The mods of one or more games, or of all games, sorted by downloads, endorsements, last update or date added. Filter by keyword, minimum downloads and update date |
| **Games** | Every game on Nexus Mods with its number of mods, downloads, unique downloads and collections |
| **Collections** | Curated mod lists per game with downloads, rating, number of mods and curator |
| **Links** | Any mod, collection, author profile or game link. An author link also lists that author's mods |

**Include author profiles** adds one row per mod author or collection curator in any mode.

### What you get per mod

```json
{
    "type": "mod",
    "modId": 2400,
    "name": "SMAPI - Stardew Modding API",
    "summary": "The mod loader for Stardew Valley.",
    "game": "Stardew Valley",
    "category": "Modding Tools",
    "version": "4.5.2",
    "author": "Pathoschild",
    "downloads": 30497289,
    "endorsements": 389621,
    "requiredByModsCount": 16364,
    "createdAt": "2018-06-16T18:25:39Z",
    "updatedAt": "2026-03-14T19:07:23Z",
    "supportsVortex": true,
    "url": "https://www.nexusmods.com/stardewvalley/mods/2400"
}
```

Mods also carry the uploader and their member ID, tags, the number of mods they require, the
adult-content flag, the main image and thumbnail. With **Include full mod description** (and always
in Links mode) they also carry the full description as plain text and the list of required mods.

### What you get per author

```json
{
    "type": "author",
    "memberId": 5201727,
    "name": "jayserpa",
    "kudos": 12789,
    "modCount": 105,
    "uniqueModDownloads": 61383409,
    "recognizedAuthor": true,
    "donationsEnabled": true,
    "patreon": "https://www.patreon.com/JaySerpa",
    "discord": "https://discord.gg/pEy3JKFj36",
    "twitch": "https://www.twitch.tv/jayserpa",
    "url": "https://www.nexusmods.com/users/5201727"
}
```

Authors also carry their join date, collections and their downloads, profile views, forum posts,
Ko-fi, YouTube, X/Twitter, GitHub and Buy Me a Coffee links, every other link in their About text,
the About text itself and their avatar.

### What you get per game and collection

```json
{
    "type": "game",
    "name": "Fallout 4",
    "domainName": "fallout4",
    "genre": "RPG",
    "modCount": 77833,
    "downloads": 2502317608,
    "uniqueDownloads": 1074888279,
    "collectionCount": 2305,
    "url": "https://www.nexusmods.com/fallout4"
}
```

```json
{
    "type": "collection",
    "name": "Gate To Sovngarde",
    "game": "Skyrim Special Edition",
    "category": "Total Overhaul",
    "curator": "jayserpa",
    "downloads": 1503046,
    "uniqueDownloads": 401469,
    "endorsements": 19349,
    "rating": 71.7,
    "ratingCount": 183322,
    "modCount": 1976,
    "totalSizeBytes": 59735886749,
    "url": "https://next.nexusmods.com/skyrimspecialedition/collections/qdurkx"
}
```

### Use cases

- **Find the modders behind the biggest mods** and reach them through Patreon, Ko-fi or Discord, for
  sponsorships, commissions or hiring.
- **Measure a game's modding scene**: mods, downloads and collections per game, and which mods the
  rest of the scene depends on.
- **Track new and updated mods** for a game every day with **Updated since** and a schedule.
- **Research what players install**: the most downloaded and best endorsed mods and collections.

### Input

| Field | What it does |
|---|---|
| **What to scrape** | Mods, Games, Collections or Links. |
| **Games** | A game's link, its short name as in the link (`skyrimspecialedition`) or its full name (`Skyrim Special Edition`). Leave empty for all games. |
| **Keyword** | Only mods or collections whose name matches it. |
| **Sort by** | Most downloaded, most endorsed, recently updated, newest, or best rated for collections. |
| **Updated since / Minimum downloads** | Mods mode filters. |
| **Maximum results per game** | Per game, or in total when no game is given. |
| **Include author profiles** | One extra row per author or curator. |
| **Include full mod description** | Description and required mods for every mod. |
| **Include adult content** | Adult mods and collections are left out unless this is on. |
| **Nexus Mods links** | Links mode. |
| **Maximum items** | Caps total rows, all types together. |

### Notes & limits

- **Downloads** are Nexus Mods' own totals. For mods the API gives total downloads only; games and
  collections also have unique downloads.
- **Adult content is left out by default**, in Mods and Collections modes. Links always return the
  mod or collection you link to.
- **Collections sorted by rating** follow Nexus Mods' own order, so small collections with a few
  perfect ratings can come first.
- Results come in Nexus Mods' own order, 80 per page; every page is written before the next is read,
  so a run cut short by its time limit keeps what it has.
- Mods, collections, games and profiles that don't exist are reported in the log and skipped; the
  rest of the run continues.
- Every row has a `type` field (`mod`, `game`, `collection`, `author`), and the dataset has a view
  for each.
- The Actor honours your **Maximum cost per run** and stops when the cap is reached.

# Actor input Schema

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

Mods lists the mods of one or more games (or of all games); Games lists every game on Nexus Mods with its mod count and downloads; Collections lists curated mod collections; Links takes mod, collection, author profile or game links.

## `games` (type: `array`):

For Mods, Collections and Games modes. A game's Nexus Mods link, its short name as in the link (skyrimspecialedition) or its full name (Skyrim Special Edition), one per line. Leave empty for all games.

## `searchQuery` (type: `string`):

For Mods and Collections modes. Only mods or collections whose name matches this word or phrase.

## `sortBy` (type: `string`):

For Mods and Collections modes. Rating applies to collections only.

## `updatedSince` (type: `string`):

For Mods mode. Only mods updated on or after this date, as YYYY-MM-DD.

## `minDownloads` (type: `integer`):

For Mods mode. Only mods with at least this many downloads.

## `maxResults` (type: `integer`):

For Mods and Collections modes: per game, or in total when no game is given. Also caps the mods listed for each author link.

## `includeAuthors` (type: `boolean`):

Adds one row per mod author or collection curator: kudos, mod count, unique downloads, and their Patreon, Ko-fi, Discord, Twitch, YouTube and other links.

## `includeDescription` (type: `boolean`):

For Mods mode. Adds each mod's full description and its list of required mods. Mods from Links mode always have them.

## `includeAdultContent` (type: `boolean`):

Mods and collections marked as adult are left out unless this is on.

## `urls` (type: `array`):

For Links mode. Mod, collection, author profile or game links, one per line. An author link also lists that author's mods.

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

Caps the total rows written, all types together.

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

The Nexus Mods API answers Apify's datacenter proxy, which is the default.

## Actor input object example

```json
{
  "mode": "mods",
  "games": [
    "skyrimspecialedition",
    "Stardew Valley"
  ],
  "sortBy": "downloads",
  "minDownloads": 0,
  "maxResults": 100,
  "includeAuthors": false,
  "includeDescription": false,
  "includeAdultContent": false,
  "urls": [
    "https://www.nexusmods.com/stardewvalley/mods/2400",
    "https://next.nexusmods.com/skyrimspecialedition/collections/qdurkx"
  ],
  "maxItems": 1000,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `mods` (type: `string`):

No description

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

No description

## `collections` (type: `string`):

No description

## `authors` (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 = {
    "games": [
        "skyrimspecialedition",
        "Stardew Valley"
    ],
    "urls": [
        "https://www.nexusmods.com/stardewvalley/mods/2400",
        "https://next.nexusmods.com/skyrimspecialedition/collections/qdurkx"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("sashaebashu/nexusmods-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 = {
    "games": [
        "skyrimspecialedition",
        "Stardew Valley",
    ],
    "urls": [
        "https://www.nexusmods.com/stardewvalley/mods/2400",
        "https://next.nexusmods.com/skyrimspecialedition/collections/qdurkx",
    ],
}

# Run the Actor and wait for it to finish
run = client.actor("sashaebashu/nexusmods-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 '{
  "games": [
    "skyrimspecialedition",
    "Stardew Valley"
  ],
  "urls": [
    "https://www.nexusmods.com/stardewvalley/mods/2400",
    "https://next.nexusmods.com/skyrimspecialedition/collections/qdurkx"
  ]
}' |
apify call sashaebashu/nexusmods-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,sashaebashu/nexusmods-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/EcqdMFZCZ0F0djNGy/builds/TdJeBdKKqRgZvxtAp/openapi.json
