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

OP.GG Scraper

Extract League of Legends player stats, champion data, match history, and tier rankings from OP.GG. Built on spider-browser .

Get started Docs
target
op.gg
success rate
99.9%
latency
~4ms
Quick start

Extract data in minutes.

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

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

await spider.connect();
const page = spider.page!;
await page.goto("https://www.op.gg/summoners/na/Doublelift-1lol");
await page.content(8000);

const data = await page.evaluate(`(() => {
  const name = document.querySelector(".profile-name h1")?.textContent?.trim();
  const rank = document.querySelector(".tier")?.textContent?.trim();
  const lp = document.querySelector(".lp")?.textContent?.trim();
  const winRate = document.querySelector(".win-lose")?.textContent?.trim();
  const champions = [];
  document.querySelectorAll(".champion-box").forEach(el => {
    const champ = el.querySelector(".champion-name")?.textContent?.trim();
    const wr = el.querySelector(".win-ratio")?.textContent?.trim();
    const kda = el.querySelector(".kda")?.textContent?.trim();
    if (champ) champions.push({ champ, wr, kda });
  });
  return JSON.stringify({ name, rank, lp, winRate, champions: champions.slice(0, 5) });
})()`);

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

One endpoint for op.gg.

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

POST /fetch/op.gg/
Summoner nameRankWin rateTop championsRecent matchesLP
cURL
curl -X POST https://api.spider.cloud/fetch/op.gg/ \
  -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/op.gg/",
    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/op.gg/", {
  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.

Summoner nameRankWin rateTop championsRecent matchesLPLevelKDA
Data

Game metadata

Extract prices, reviews, system requirements, and ratings from op.gg.

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

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