Skip to main content gottem  — one API for every scraper.
Gaming & Esports
Verified

Modrinth Scraper

Extract open-source Minecraft mods, plugins, modpacks, and download statistics from Modrinth platform. Built on spider-browser .

Get started Docs
target
modrinth.com
success rate
99.9%
latency
~4ms
Quick start

Extract data in minutes.

modrinth-scraper.ts
import { SpiderBrowser } from "spider-browser";

const spider = new SpiderBrowser({
  apiKey: process.env.SPIDER_API_KEY!,
});

await spider.connect();
const page = spider.page!;
await page.goto("https://modrinth.com/mods?s=downloads");
await page.content(8000);

const data = await page.evaluate(`(() => {
  const mods = [];
  document.querySelectorAll(".search-result").forEach(el => {
    const title = el.querySelector("h2, .title a")?.textContent?.trim();
    const description = el.querySelector(".description")?.textContent?.trim();
    const downloads = el.querySelector("[class*='download']")?.textContent?.trim();
    const author = el.querySelector("[class*='author'] a")?.textContent?.trim();
    const categories = [];
    el.querySelectorAll(".tag, .category").forEach(t => categories.push(t.textContent?.trim()));
    if (title) mods.push({ title, description, downloads, author, categories });
  });
  return JSON.stringify({ total: mods.length, mods: mods.slice(0, 10) });
})()`);

console.log(JSON.parse(data));
await spider.close();
ready to run · spider-browser · TypeScript
Fetch API

One endpoint for modrinth.com.

Structured JSON from modrinth.com with a single POST. AI-resolved selectors, cached on the first call.

POST /fetch/modrinth.com/
Project titleDownloadsFollowersAuthorCategoriesGame versions
cURL
curl -X POST https://api.spider.cloud/fetch/modrinth.com/ \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"return_format": "json"}'
Python
import requests

resp = requests.post(
    "https://api.spider.cloud/fetch/modrinth.com/",
    headers={
        "Authorization": "Bearer YOUR_API_KEY",
        "Content-Type": "application/json",
    },
    json={"return_format": "json"},
)
print(resp.json())
Node.js
const resp = await fetch("https://api.spider.cloud/fetch/modrinth.com/", {
  method: "POST",
  headers: {
    "Authorization": "Bearer YOUR_API_KEY",
    "Content-Type": "application/json",
  },
  body: JSON.stringify({ return_format: "json" }),
});
const data = await resp.json();
console.log(data);
Extraction

Fields you can pull.

Project titleDownloadsFollowersAuthorCategoriesGame versionsLicenseLast updated
Data

Game metadata

Extract prices, reviews, system requirements, and ratings from modrinth.com.

Rendering

Store page handling

Handle dynamic storefronts, interactive catalogs, and lazy-loaded content.

Scale

Catalog coverage

Process entire game libraries and mod repositories at scale.

Related

More Gaming & Esports scrapers.

Start

Start scraping modrinth.com.

Grab an API key and call the endpoint above. The first request resolves the config; every request after hits cache.