# 🚀 Sofascore Standings Scraper · 5,000 Free Rows/Month (`omkar-cloud/sofascore-standings-scraper`) Actor

Sofascore Standings Scraper gets you league tables ⚡ fast, 🎯 100% accurate and 🔍 ridiculously detailed — every standings row plus top-player & top-team leaderboards for any tournament & season. 💰 $1 per 1,000 rows, no start fee. Scrape your first 5,000 rows free every month 🚀

- **URL**: https://apify.com/omkar-cloud/sofascore-standings-scraper.md
- **Developed by:** [Chetan Jain](https://apify.com/omkar-cloud) (community)
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

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

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

## Sofascore Standings Scraper

Sofascore Standings Scraper by Omkar Cloud gets you 🎯 accurate, 🔍 detailed Sofascore league tables.

Sofascore keeps the live table of every competition it covers, and every run reads it fresh — so you get today's position, played, wins, draws, losses, goals, points and promotion/relegation zone for every team, plus the season's top-player and top-team leaderboards when you want them, and can successfully complete your project.

**$1 per 1,000 rows.** And with Apify's free plan you get $5 of credit every month, so your first **~5,000 rows each month are free**.

This is an excellent Actor made by Omkar Cloud, which is Rated Excellent — [4.7 based on 30 reviews on Trustpilot](https://www.trustpilot.com/review/omkar.cloud).

👉 [**Try Sofascore Standings Scraper free**](https://apify.com/omkar-cloud/sofascore-standings-scraper) — your first ~5,000 rows are Free.

### What can I get

- 🏆 **Any tournament, any season** — a Sofascore tournament id (`17` Premier League, `7` Champions League) or a pasted sofascore.com tournament URL; leave the season empty for the current one, or set any season id Sofascore has
- 📋 **A full standings row per team** — position, matches, wins, draws, losses, goals for and against, goal difference, points and the zone (`Champions League`, `Europa League`, `Relegation`), with the team's name, code, badge, colours and Sofascore link, the table's tie-breaking rule and its last update time
- 🏠 **Total, home or away table** — the overall table or the one built from home or away matches only; group stages return one table per group with the group name on every row
- 🥇 **Top players, one row per player per statistic** — rating, goals, assists, expected goals and assists, shots, key passes, big chances, accurate passes, dribbles, tackles, interceptions, clearances, cards, saves, goals prevented, clean sheets and more, each ranked
- 🛡️ **Top teams, one row per team per statistic** — average rating, goals scored and conceded, big chances, possession, shots, corners, fouls, cards, penalties, clean sheets, expected goals, touches and more, each ranked
- 🧭 **Context on every row** — the tournament as typed plus the resolved tournament, sport, country, season id and season name, so rows from different tournaments and seasons never mix

### Why Sofascore Standings Scraper

Most other Sofascore scrapers fail you in one of four ways:

- 🗄️ **Inaccurate, cached, stale data**
- 🧩 **Low-detail data** — a few fields per row, never the full table
- 💸 **Pay more to get the same data**
- 🪦 **Works today, breaks next month** — nobody maintains it

Sofascore Standings Scraper is read live on every run, priced honestly, and actively maintained.

### Input

| Field | What it does |
|---|---|
| **Tournaments** | One or more tournaments, each scraped separately: a Sofascore tournament id or a sofascore.com tournament URL |
| **Season ID** | A Sofascore season id. Optional — leave empty and the API uses the current season |
| **Table Type** | `total` (default), `home` or `away` |
| **Include Top Players** | Also scrape the top-player leaderboards, one row per player per statistic |
| **Include Top Teams** | Also scrape the top-team leaderboards, one row per team per statistic |
| **Max Rows per Tournament** | Cost control — 1,000 rows ≈ $1. Standings rows come first, then top players, then top teams |

### Example: A Full Standings Row

```json
{
  "kind": "standing",
  "search_tournament": "17",
  "tournament_id": 17,
  "tournament_name": "Premier League",
  "tournament_link": "https://www.sofascore.com/tournament/football/england/premier-league/17",
  "sport": "Football",
  "country": "England",
  "season_id": 96668,
  "season_name": "Premier League 26/27",
  "season_year": "26/27",
  "table_type": "total",
  "table_id": 280504,
  "table_name": "Premier League 26/27",
  "group_name": null,
  "position": 1,
  "team": {
    "id": 17,
    "name": "Manchester City",
    "short_name": "Man City",
    "code": "MCI",
    "slug": "manchester-city",
    "link": "https://www.sofascore.com/team/football/manchester-city/17",
    "image_link": "https://img.sofascore.com/api/v1/team/17/image",
    "sport": { "id": 1, "name": "Football", "slug": "football" },
    "country": { "name": "England", "alpha2": "EN", "alpha3": "ENG", "slug": "england" },
    "gender": "M",
    "is_national": false,
    "colors": { "primary": "#66ccff", "secondary": "#ffffff", "text": "#ffffff" },
    "followers_count": 4753278
  },
  "matches": 3,
  "wins": 3,
  "draws": 0,
  "losses": 0,
  "scores_for": 7,
  "scores_against": 2,
  "score_diff": 5,
  "score_diff_formatted": "+5",
  "points": 9,
  "promotion": { "id": 804, "text": "Champions League" },
  "descriptions": [],
  "tie_breaking_rule": "In the event that two (or more) teams have an equal number of points, the following rules break the tie:\n1. Goal difference\n2. Goals scored\n3. H2H",
  "updated_at": "2026-09-06T17:27:18Z"
}
```

Leaderboard rows share the same tournament and season context and add `statistic` (e.g. `goals`, `avg_rating`), `rank`, `value`, the full `statistics` block, and `player` + `team` (`kind: "top_player"`) or `team` (`kind: "top_team"`). You can download the dataset as JSON, CSV, Excel or HTML.

### Get Started with 5,000 Free Rows

1. [Hit **Try for Free Button**](https://apify.com/omkar-cloud/sofascore-standings-scraper) — the input is pre-filled with the Premier League (`17`) for the current season.
2. Enjoy your data 😎.

### Pricing

High value, Low price.

| What | Price | What you get |
|---|---|---|
| **Rows** | **$1 per 1,000** | a standings row — position, played, wins, draws, losses, goals for/against, goal difference, points, zone, team details, tie-breaking rule, last update — or a leaderboard row — statistic, rank, value, full statistics block, player and team — plus the resolved tournament, sport, country, season id and season name on every row |

No start fee, no add-ons — one flat price for every plan, and you pay only for the rows you get. Control your spend with **Max Rows per Tournament**: 1,000 rows ≈ $1.

💡 Apify's free plan includes $5 of credit every month — about **5,000 free rows, every month**.

👉 [**Scrape your first 5,000 rows free**](https://apify.com/omkar-cloud/sofascore-standings-scraper)

### Run It from Code

Grab your API token from [Integrations Settings here](https://console.apify.com/settings/integrations) and replace `<YOUR_API_TOKEN>` below. Leave the season out and you get the current one.

**Python** (`pip install apify-client`)

```python
from apify_client import ApifyClient

client = ApifyClient("<YOUR_API_TOKEN>")
run = client.actor("omkar-cloud/sofascore-standings-scraper").call(run_input={
    "tournaments": ["17"],
    "tableType": "total",
    "includeTopPlayers": True,
    "maxResults": 100,
})
for row in client.dataset(run["defaultDatasetId"]).iterate_items():
    if row["kind"] == "standing":
        print(row["position"], row["team"]["name"], row["points"])
    else:
        print(row["statistic"], row["rank"], row["player"]["name"], row["value"])
```

**Node.js** (`npm install apify-client`)

```javascript
import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: '<YOUR_API_TOKEN>' });
const run = await client.actor('omkar-cloud/sofascore-standings-scraper').call({
    tournaments: ['https://www.sofascore.com/tournament/football/europe/uefa-champions-league/7'],
    includeTopTeams: true,
    maxResults: 500,
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);
```

### FAQ

**Do I have to enter a season?**
No. Leave **Season ID** empty and the API uses the current season. Set it when you need a past season; every row carries the resolved `season_id` and `season_name`.

**How much does it cost to scrape Sofascore standings?**
$1 per 1,000 rows, flat, with no start fee and no add-ons. Apify's free plan gives you $5 of credit every month, so your first ~5,000 rows each month cost nothing. Cap a run with **Max Rows per Tournament** or a maximum cost per run.

**How many rows does a tournament produce?**
The standings alone are one row per team — 20 for the Premier League, one table per group for a group stage. Top players add one row per player per statistic (the Premier League has 32 statistics with up to 50 players each) and top teams one row per team per statistic (32 statistics × every team), so a full run with both toggles on can reach a couple of thousand rows for one tournament. Standings rows come first, so a low **Max Rows per Tournament** still gives you the whole table.

**Can I scrape several tournaments in one run?**
Yes. Add as many entries to **Tournaments** as you like — each is scraped separately with the same season, table type and toggles, and every row carries `search_tournament` (as typed) plus the resolved `tournament_id` and `tournament_name`. The same table row or leaderboard entry reached twice is scraped and billed only once per run.

**Where do I find a tournament or season id?**
Open the competition on sofascore.com — the tournament id is the number at the end of the URL (`…/premier-league/17`), and the season id follows `#id:` when you pick a past season. You can paste the whole tournament URL into **Tournaments**.

**What does `promotion` mean?**
Sofascore's zone for that position — `Champions League`, `Europa League`, `Relegation`, and so on — or `null` for mid-table. Leaderboard rows do not have it.

**Is it legal to scrape Sofascore?**
The Actor collects publicly available competition tables and statistics — no personal data. Please use the data responsibly and in line with Sofascore's terms and the laws that apply to you.

### Popular Actors by Omkar Cloud

- [**G2 Product Scraper**](https://apify.com/omkar-cloud/g2-product-scraper) — G2 product details, ratings & AI-found contacts
- [**Website Email Contact Scraper**](https://apify.com/omkar-cloud/website-email-contact-scraper) — emails, phones & socials from any website
- [**AliExpress Product Scraper**](https://apify.com/omkar-cloud/aliexpress-product-scraper) — live product details, SKU variants, stock & shipping
- [**Etsy Scraper**](https://apify.com/omkar-cloud/etsy-scraper) — Etsy products: prices, discounts, shops & variations
- [**IMDb Scraper**](https://apify.com/omkar-cloud/imdb-scraper) — IMDb titles: cast, ratings, box office & more
- [**Rightmove Scraper**](https://apify.com/omkar-cloud/rightmove-scraper) — UK homes for sale & to rent with agent phones

👉 [**Scrape your first 5,000 rows free now**](https://apify.com/omkar-cloud/sofascore-standings-scraper)

### 💬 Have Questions? We Have Answers.

You're a business owner — we know how hard completing a project can be. So we offer full support: just message us and we'll reply ✅ with a solution within 1 working day.

[![Message Us on WhatsApp](https://raw.githubusercontent.com/omkarcloud/assets/master/images/whatsapp-us.png)](https://api.whatsapp.com/send?phone=918178804274\&text=I%20need%20help%20with%20using%20the%20Sofascore%20Standings%20Scraper%20Actor.)

[![Ask Us on Email](https://raw.githubusercontent.com/omkarcloud/assets/master/images/ask-on-email.png)](mailto:happy.to.help@omkar.cloud?subject=Help%20with%20Sofascore%20Standings%20Scraper%20Actor\&body=I%20need%20help%20with%20using%20the%20Sofascore%20Standings%20Scraper%20Actor.)

You are important to us — just message us and we will solve your problem ✅ within 1 working day. 🩷 Pinky Promise 🤙!

# Actor input Schema

## `tournaments` (type: `array`):

Sofascore tournament ids like `17` (Premier League) or `7` (Champions League), or pasted sofascore.com tournament URLs like `https://www.sofascore.com/tournament/football/england/premier-league/17` — the form is auto-detected. Each is scraped separately. Rows carry a `search_tournament` field (as typed) plus the resolved `tournament_id`, `tournament_name`, `season_id` and `season_name`, so you can tell tournaments apart.

## `seasonId` (type: `string`):

A Sofascore season id, e.g. the one after `#id:` in a sofascore.com tournament URL. Leave empty for the current season — the API picks it. Every row carries the resolved `season_id` and `season_name`.

## `tableType` (type: `string`):

Which table to scrape: the overall table, or the table built from home or away matches only.

## `includeTopPlayers` (type: `boolean`):

Also scrape the top-player leaderboards — rating, goals, assists, expected goals, key passes, tackles, saves, clean sheets and more — one row per player per statistic (`kind: top_player`).

## `includeTopTeams` (type: `boolean`):

Also scrape the top-team leaderboards — average rating, goals scored and conceded, possession, shots, corners, cards and more — one row per team per statistic (`kind: top_team`).

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

Maximum number of rows to scrape per tournament — standings rows first, then top-player and top-team rows when enabled. Use this to control your cost (1,000 rows ≈ $1).

## Actor input object example

```json
{
  "tournaments": [
    "17"
  ],
  "tableType": "total",
  "includeTopPlayers": false,
  "includeTopTeams": false,
  "maxResults": 2500
}
```

# Actor output Schema

## `results` (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 = {
    "tournaments": [
        "17"
    ],
    "maxResults": 2500
};

// Run the Actor and wait for it to finish
const run = await client.actor("omkar-cloud/sofascore-standings-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 = {
    "tournaments": ["17"],
    "maxResults": 2500,
}

# Run the Actor and wait for it to finish
run = client.actor("omkar-cloud/sofascore-standings-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 '{
  "tournaments": [
    "17"
  ],
  "maxResults": 2500
}' |
apify call omkar-cloud/sofascore-standings-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,omkar-cloud/sofascore-standings-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/JEcJPBxftJjoOHnPM/builds/GLKs1o8PyU2c3aDLq/openapi.json
