Skip to main content
AI Studio  add-on for Spider.
Gaming & Esports
modrinth.com 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
POST /fetch/modrinth.com/
return_format
curl -X POST https://api.spider.cloud/fetch/modrinth.com/ \
  -H "Authorization: Bearer $SPIDER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"return_format": "json"}'
200 OK · cache hit · response shape
{
  "url": "https://modrinth.com/",
  "status": 200,
  "data": {
    "project_title": "string",
    "downloads": "string",
    "followers": "string",
    "author": "string",
    "categories": "string",
    "game_versions": "string",
    "license": "string",
    "last_updated": "string"
  }
}
Quick start

Extract data in minutes.

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

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