# ⚽ Flashscore Live Scores & Results Scraper (`hipersoft/flashscore-scraper`) Actor

Scrape live scores, fixtures and results from Flashscore across football, tennis, basketball, hockey and 20+ sports. Pick your sports and day and export one clean row per match: teams, score, league, country, status, kick-off time and match URL as JSON, CSV or Excel.

- **URL**: https://apify.com/hipersoft/flashscore-scraper.md
- **Developed by:** [hiper soft](https://apify.com/hipersoft) (community)
- **Categories:**
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.0015 / match scraped

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?

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

## ⚽ Flashscore Live Scores & Results Scraper

Scrape **live scores, fixtures and results** from **Flashscore** into clean, structured **JSON, CSV or Excel**. Pick your **sports** and the **day** you want — today, yesterday or tomorrow — and pull every match, **one tidy row per game**: **home and away teams, the score, league, country, status, kick-off time and the match URL**. Covers **football, tennis, basketball, ice hockey and 20+ more sports**. Built for sports data feeds, betting models, stats dashboards, alerts and automations.

### Features

- ⚽ **20+ sports** — football, tennis, basketball, ice hockey, American football, baseball, handball, rugby, volleyball, cricket, darts, snooker and more, all from one Actor.
- 🔴 **Live, finished & upcoming** — each match carries a clear status: `live`, `finished` or `scheduled`.
- 🗓️ **Any day** — collect today's matches, yesterday's results or tomorrow's fixtures.
- 🏆 **League & country** — every match is tagged with its competition and country.
- 🔢 **Scores parsed** — numeric home and away scores ready for analysis.
- ⏰ **Kick-off time** — exact start time as an ISO 8601 timestamp.
- 🔗 **Direct match URL** — a ready-to-open link to each match on Flashscore.
- 📄 **Volume control** — set `maxItems` to balance coverage and cost.

### Input

```json
{
  "sports": ["football", "tennis"],
  "day": "today",
  "maxItems": 500
}
```

| Field | Description |
| --- | --- |
| `sports` | One or more sports to scrape (e.g. `football`, `tennis`, `basketball`). Each sport's matches for the day are collected and combined. |
| `day` | Which day's matches to collect: `today`, `yesterday` or `tomorrow`. |
| `maxItems` | Maximum matches to collect across all sports (0 = no limit). |
| `maxConcurrency` | How many requests to run in parallel. Leave at the default unless you have a reason to change it. |
| `proxyConfiguration` | Proxy settings. Not required by default. |

#### How to use

Choose one or more `sports` and a `day`, then run. The Actor collects every match for those sports on that day and writes one clean row per game. Set `maxItems` to control how much you collect.

### Use cases

- Power a live-scores widget, app or dashboard with fresh match data.
- Feed structured results into betting, prediction or fantasy models.
- Build and refresh a historical results dataset for stats and analysis.
- Track fixtures and kick-off times across many competitions at once.
- Route new results and live updates into alerts, spreadsheets or a database.

### What you get

Each match is one dataset record:

```json
{
  "matchId": "8j6icgee",
  "sport": "football",
  "league": "CAF Champions League - Qualification",
  "country": "Africa",
  "homeTeam": "Aigle Noir (Bur)",
  "awayTeam": "Al-Hilal Omdurman (Sud)",
  "homeScore": 0,
  "awayScore": 2,
  "status": "finished",
  "statusCode": 3,
  "startTime": "2026-09-05T13:00:00.000Z",
  "startTimestamp": 1788613200,
  "url": "https://www.flashscore.com/match/8j6icgee/",
  "leagueUrl": "https://www.flashscore.com/football/africa/caf-champions-league/"
}
```

#### Output schema

| Field | Type | Description |
|---|---|---|
| `matchId` | string | Unique identifier for the match. |
| `sport` | string | Sport the match belongs to (e.g. `football`). |
| `league` | string | Competition / league name. |
| `country` | string | Country or region of the competition. |
| `homeTeam` | string | Home team (or first player) name. |
| `awayTeam` | string | Away team (or second player) name. |
| `homeScore` | integer | Home score. `null` before a match starts. |
| `awayScore` | integer | Away score. `null` before a match starts. |
| `status` | string | Match status: `live`, `finished` or `scheduled`. |
| `statusCode` | integer | Numeric status code behind the status label. |
| `startTime` | string | Kick-off time (ISO 8601). |
| `startTimestamp` | integer | Kick-off time as a Unix timestamp (seconds). |
| `url` | string (URL) | Direct link to the match on Flashscore. |
| `leagueUrl` | string (URL) | Link to the competition page on Flashscore. |

### Related Actors

- [ESPN Sports Scraper](https://apify.com/hipersoft/espn-sports-scraper)
- [TheSportsDB Scraper](https://apify.com/hipersoft/thesportsdb-scraper)
- [MLB StatsAPI Scraper](https://apify.com/hipersoft/mlb-statsapi-scraper)
- [TVMaze Scraper](https://apify.com/hipersoft/tvmaze-scraper)

### FAQ

**Do I need a Flashscore account?**
No. Just choose your sports and day and run.

**Which sports are supported?**
Football, tennis, basketball, ice hockey, American football, baseball, handball, rugby union and league, volleyball, cricket, darts, snooker, futsal, floorball, table tennis, badminton, water polo, beach volleyball and esports.

**Can I get live scores?**
Yes. Matches in progress are returned with status `live` and their current score. Re-run the Actor to refresh.

**Can I collect past results or upcoming fixtures?**
Yes. Set `day` to `yesterday` for results or `tomorrow` for fixtures.

**How many matches can I collect?**
As many as the selected sports and day return. Use `maxItems` to control volume and cost.

**What export formats are supported?**
JSON, CSV, Excel and XML, plus the Apify API for programmatic access.

**Can I use this with n8n?**
Yes. Use the [Apify node for n8n](https://docs.apify.com/platform/integrations/n8n) to run this Actor and pull its dataset straight into an n8n workflow — trigger it on a schedule, then route match rows to a database, spreadsheet or messaging step.

**Can I connect it to other tools?**
This Actor connects with almost any cloud service or web app thanks to [integrations on the Apify platform](https://apify.com/integrations). It works with [Make](https://apify.com/integrations/make), [Zapier](https://apify.com/integrations/zapier), [Slack](https://docs.apify.com/platform/integrations/slack), [Airbyte](https://docs.apify.com/platform/integrations/airbyte), [GitHub](https://docs.apify.com/platform/integrations/github), [Google Drive](https://docs.apify.com/platform/integrations/drive) and [many more](https://apify.com/integrations), plus the [Apify API](https://docs.apify.com/api/v2), JavaScript/Python clients and MCP. Or use [webhooks](https://docs.apify.com/platform/integrations/webhooks) to trigger an action whenever a run finishes.

### Notes

Returns only public Flashscore match data — the same information any visitor can see. This is an independent tool and is not affiliated with, endorsed by or connected to Flashscore; "Flashscore" is a trademark of its respective owner. Original clean-room implementation.

# Actor input Schema

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

One or more sports to scrape. Choose from the list — for example football, tennis or basketball. Each sport's matches for the selected day are collected and combined.

## `day` (type: `string`):

Which day's matches to collect: today, yesterday or tomorrow.

## `maxItems` (type: `integer`):

Maximum number of matches to collect across all selected sports (0 = no limit; collect everything the feeds return).

## `maxConcurrency` (type: `integer`):

How many requests to run in parallel. Leave at the default unless you have a reason to change it.

## `proxyConfiguration` (type: `object`):

Proxy settings. Not required by default. If you experience reduced results, enable Apify Proxy for the most reliable access.

## Actor input object example

```json
{
  "sports": [
    "football"
  ],
  "day": "today",
  "maxItems": 500,
  "maxConcurrency": 3,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `results` (type: `string`):

The results as dataset items.

# 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"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("hipersoft/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"] }

# Run the Actor and wait for it to finish
run = client.actor("hipersoft/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"
  ]
}' |
apify call hipersoft/flashscore-scraper --silent --output-dataset

```

## MCP server setup

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