# Flashscore Scraper ⚽ Football Live Scores, Results & Fixtures (`tagadanar/flashscore-scraper`) Actor

Live scores, results and fixtures from Flashscore: football plus basketball, ice hockey, NFL, baseball and 8 more sports. Competition, teams, score, half-time and periods, live minute, start time. Optional goals, cards and stats. $1 per 1,000 matches.

- **URL**: https://apify.com/tagadanar/flashscore-scraper.md
- **Developed by:** [Tagada Data](https://apify.com/tagadanar) (community)
- **Categories:** Developer tools, Automation, News
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.70 / 1,000 matches

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

## Flashscore Scraper: Football Live Scores, Results & Fixtures

Live scores, results and fixtures from Flashscore in one flat dataset: football (soccer) first, plus basketball, ice hockey, American football, baseball, handball, volleyball, rugby, futsal, table tennis, eSports and tennis. Pick the sports and the days (7 back, 7 ahead), filter by country, competition or team, or ask for live matches only. Every row is one match: competition, country, teams, score, half-time or per-period scores, status, live minute, start time and the Flashscore match link. Optionally add each match's goals, cards and substitutions (with minute and player), referee and venue, and team statistics such as possession, shots and expected goals.

**$1.00 per 1,000 matches on Free ($0.70 on Gold), plus $0.001 per run. Optional match details (events and/or statistics): $3.00 per 1,000 matches that have them ($2.10 on Gold). Platform usage is included.** No API key, no login, no proxy needed.

### What you get

One row per match. Fields Flashscore does not publish for a match are null.

| Field | What it is |
| --- | --- |
| `sport` | football, basketball, hockey, ... |
| `matchId` | Stable Flashscore match id, safe as a primary key across runs |
| `url` | The match page on Flashscore |
| `status` | live, finished, scheduled or postponed; `other` for a status group Flashscore uses that the actor does not name yet (kept when you set no status filter; `statusCode` says which) |
| `statusDetail` | 1st half, Half time, 2nd half, After extra time, After penalties, Q2, 3rd period ... (null when Flashscore uses a stage this actor does not name) |
| `statusCode` | Flashscore's own numeric stage, always present |
| `minute` | Football, live only: the match minute as the scoreboard shows it ("67", "45+") |
| `liveClock` | Live only, other sports: the game clock value Flashscore ships for the current period |
| `startTime` / `date` | Kick-off in ISO 8601 UTC, and its UTC calendar day |
| `competition` / `country` | "Premier League" / "England" |
| `competitionHeader` | Flashscore's full header, e.g. "ENGLAND: Premier League" |
| `round` | Round name when Flashscore ships it |
| `competitionUrl` / `competitionId` | The competition page and id |
| `homeTeam` / `awayTeam` | Team names |
| `homeTeamId` / `awayTeamId` | Flashscore team ids |
| `homeScore` / `awayScore` / `score` | Current or final score, and "2-1" |
| `halfTimeScore` | Football: the score at half time |
| `homeScoreRegulation` / `awayScoreRegulation` | Score at the end of regular time |
| `homeScoreAfterExtraTime` / `awayScoreAfterExtraTime` | After extra time or overtime |
| `homePenalties` / `awayPenalties` | Penalty shoot-out |
| `periods` | One entry per half, quarter, period or set: name, home, away |
| `homeRedCards` / `awayRedCards` | Football red cards |
| `winner` | home, away, draw, or null while undecided |
| `info` | Flashscore's note on the match ("First leg result: 1-0.", "Series tied 2-2.") |
| `events` | With Include match events: goals (with assist), cards, substitutions, each with period, minute, team, player and running score |
| `referee` / `venue` / `attendance` | With Include match events, when published |
| `statistics` | With Include match statistics: whole-match team stats, each with home/away number and raw text |
| `statisticsByPeriod` | The same statistics per half or period |
| `scrapedAt` | When the row was read |

### Who uses it

- **Betting and odds modellers**: yesterday's results and today's fixtures for every league in one pull, with half-time scores and team ids that join across runs.
- **Sports apps, bots and widgets**: a live scoreboard feed (live only, filtered to the leagues you cover) on a schedule, every few minutes.
- **Analysts and fantasy players**: goals, assists, cards and expected goals per match for the competitions they follow.
- **Data teams and AI agents**: a clean, flat match table across 13 sports without maintaining a scraper.

### Examples

Prefill: today's football, first 100 matches.

```json
{
  "sports": ["football"],
  "days": ["today"],
  "maxResults": 100
}
```

Live football in the big European leagues right now:

```json
{
  "sports": ["football"],
  "liveOnly": true,
  "countries": ["England", "Spain", "Italy", "Germany", "France"]
}
```

Last week's Premier League and Champions League results with goals, cards and statistics:

```json
{
  "sports": ["football"],
  "days": ["last7days"],
  "matchStatus": ["finished"],
  "competitions": ["Premier League", "Champions League"],
  "includeEvents": true,
  "includeStatistics": true,
  "maxResults": 1000
}
```

Tonight's NBA and NHL games:

```json
{
  "sports": ["basketball", "hockey"],
  "days": ["today"],
  "competitions": ["NBA", "NHL"]
}
```

One team's fixtures and results over the whole window:

```json
{
  "sports": ["football"],
  "days": ["last7days", "today", "next7days"],
  "teams": ["Arsenal"]
}
```

### Days and time zones

Days are UTC calendar days: "2026-11-06" means 00:00 to 24:00 UTC, the same on every run from anywhere. Use `today`, `yesterday`, `tomorrow`, `last7days`, `next7days`, a date (YYYY-MM-DD) or an offset such as `-2`. Flashscore publishes 7 days back and 7 days ahead; dates outside that window are skipped with a warning. A match listed on two neighbouring days is delivered once.

### Results, zeros and errors

- A day with no matches, or matches that none of your filters kept, ends SUCCEEDED and says which of the two it was.
- A day Flashscore refused, or that the run clock stopped, is named in the status and is never reported as "no matches".
- Match details are fetched only for live and finished matches. A match with no published events or statistics ships without them and is not charged for details. If Flashscore refuses a match's details request, the match still ships, without details and not charged for them, and the status counts those matches separately from "none published".
- Invalid input ends the run right away with an "Input error: ..." message and only the $0.001 start charge.

### Pricing

- $0.001 per run (start).
- $1.00 per 1,000 matches on Free, with lower prices on higher Apify plans ($0.70 per 1,000 on Gold).
- Match details: $3.00 per 1,000 matches that carry events and/or statistics ($2.10 on Gold), charged once per match whether you asked for one or both.
- Platform usage is included.

Set a maximum charge per run in Apify if you want a hard ceiling; the actor stops at it and says so in the status.

### FAQ

**How fresh are live scores?** Each run reads Flashscore's live data at that moment. Schedule the actor every few minutes for a live feed.

**Which leagues are covered?** Everything Flashscore lists for the sport and day: top leagues, lower divisions, youth, women's and international competitions. Filter with Countries and Competitions.

**Why is the half-time score empty for some matches?** Flashscore does not publish half scores for every lower-tier competition; the field stays null rather than guessed.

**Can I get odds or lineups?** Not in this version.

**Is there a tennis-only version?** Yes: Tennis Live Scores API (tagadanar/tennis-live-scores) adds set-by-set tennis detail, serve and break-point statistics.

### Data use

Data is read from Flashscore's public pages and live data, the same information any visitor sees. Rows hold match, team and competition data; player names appear only in match events, as published. Respect Flashscore's terms when you reuse the data.

# Changelog

This Actor's version history is a separate document: https://apify.com/tagadanar/flashscore-scraper/changelog.md

# Actor input Schema

## `sports` (type: `array`):

Which sports to read. Football (soccer) by default. Also accepts soccer, nba, nhl, nfl, mlb as aliases.

## `days` (type: `array`):

today, yesterday, tomorrow, last7days, next7days, a date (YYYY-MM-DD) or an offset in days such as -2 or 3. Flashscore publishes 7 days back and 7 days ahead. Days are UTC calendar days. Default: today.

## `liveOnly` (type: `boolean`):

Return only matches being played right now (overrides Match status).

## `matchStatus` (type: `array`):

Keep only these statuses. Empty = all.

## `countries` (type: `array`):

Keep only competitions from these countries or regions, as Flashscore names them (England, Spain, Europe, World ...). Case-insensitive, partial match. Empty = all.

## `competitions` (type: `array`):

Keep only competitions whose name contains one of these words (Premier League, Champions League, NBA, NHL ...). Case-insensitive, partial match. Empty = all.

## `teams` (type: `array`):

Keep only matches where the home or away team name contains one of these words. Case-insensitive. Empty = all.

## `includeEvents` (type: `boolean`):

Add goals, cards and substitutions with minute and player, plus referee, venue and attendance, for started and finished matches. Charged as match details.

## `includeStatistics` (type: `boolean`):

Add team statistics (possession, shots, expected goals, corners, cards, passes ...) for the whole match and per half/period. Charged as match details.

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

Cap on matches returned per run. Default 500, max 10,000.

## Actor input object example

```json
{
  "sports": [
    "football"
  ],
  "days": [
    "today"
  ],
  "liveOnly": false,
  "includeEvents": false,
  "includeStatistics": false,
  "maxResults": 100
}
```

# Actor output Schema

## `matches` (type: `string`):

One row per match in the default dataset.

# 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 = {
    "sports": [
        "football"
    ],
    "days": [
        "today"
    ],
    "maxResults": 100
};

// Run the Actor and wait for it to finish
const run = await client.actor("tagadanar/flashscore-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 = {
    "sports": ["football"],
    "days": ["today"],
    "maxResults": 100,
}

# Run the Actor and wait for it to finish
run = client.actor("tagadanar/flashscore-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 '{
  "sports": [
    "football"
  ],
  "days": [
    "today"
  ],
  "maxResults": 100
}' |
apify call tagadanar/flashscore-scraper --silent --output-dataset

```

## MCP server setup

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