# Flashscore Scraper - $0.80 / 1000 Results (`scrapeunblocker/flashscore-scraper`) Actor

Flashscore fixtures, results and live scores as JSON for any sport or competition, plus full match data: incidents, statistics, lineups and every bookmaker's odds per market. $0.80 per 1000 match rows, $1.25 per 1000 full match records.

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

## Pricing

from $0.80 / 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?

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

Scrape **Flashscore** (flashscore.com) as clean JSON. Get the **fixtures, results and live scores** of any sport or competition, or a **full match record** with incidents, statistics, lineups and every bookmaker's odds.

### Features

- **Fixtures and results** - teams, score, status, start time, round, period scores, winner and match link for any competition, results or fixtures page.
- **Many sports** - football, basketball, ice hockey, tennis and more, by pasting the page's path.
- **Today's matches** - a sport's front page, such as `football`, lists the day's matches with live status.
- **Full match records** - goals, cards and substitutions with minute and player, statistics by group, starters, substitutes, missing players, coaches, venue, referee and attendance.
- **Every bookmaker's odds** - each market and scope (1X2, over/under, handicaps, both teams to score, correct score and more), with opening and latest price, and the result once settled.

### Use cases

- **Live score feeds** - keep an app or site current by running on a schedule.
- **Betting research** - compare opening and closing prices across bookmakers.
- **Sports analytics** - collect period scores, statistics and lineups for models.
- **Fantasy and media** - pull missing players, lineups and results per round.

### Input

| Field | Type | Default | Description |
|-------|------|---------|-------------|
| `mode` | string | `matches` | `matches` (one result per match on the page) or `match` (full records). |
| `pages` | array | Premier League, NBA, NHL | Links or paths on flashscore.com. In `match` mode a page is expanded into its matches; match links and ids are taken as they are. |
| `matchStatus` | string | `any` | `any`, `finished`, `scheduled` or `live`. |
| `maxMatches` | integer | `20` | Matches per page (1-500). When a page has more, the ones closest to now are taken. |
| `oddsRegion` | string | `GB` | Two-letter country whose bookmakers the odds come from. |
| `proxyCountry` | string | - | Optional two-letter country code the requests are sent from. |

### Output

In `matches` mode each result is one match:

```json
{
  "id": "Me9aWSp3",
  "url": "https://www.flashscore.com/match/football/aston-villa-W00wmLO0/manchester-united-ppjDR086/?mid=Me9aWSp3",
  "competition": { "name": "ENGLAND: Premier League", "country": "England" },
  "round": "Round 10",
  "startTime": "2026-11-08T16:30:00Z",
  "status": { "state": "finished", "stage": "Finished" },
  "home": { "name": "Manchester Utd", "score": 4 },
  "away": { "name": "Aston Villa", "score": 4 },
  "winner": "draw"
}
```

In `match` mode a result also has `incidents`, `statistics`, `lineups` and `odds`. Sections Flashscore does not hold for a match are left out, and any that could not be loaded are named in `unavailable`.

### Good to know

- A competition's overview page holds the recent results and upcoming fixtures Flashscore loads with it. Use its `/results/` or `/fixtures/` address for only one of them.
- A sport's front page shows a local `displayTime` instead of a timestamp.
- Inputs that fail are listed in the `ERRORS` key-value record and are not charged. A match reached from two pages is charged once.

### Pricing

$0.80 per 1000 match rows and $1.25 per 1000 full match records. Start fee $0.00005.

# Actor input Schema

## `mode` (type: `string`):

Matches: one result per match on the page, with teams, score, status, start time and link. Full records: one result per match with incidents, statistics, lineups and every bookmaker's odds. In this mode a sport or competition page is expanded into its matches, and match links or ids are taken as they are.

## `pages` (type: `array`):

Links or paths on flashscore.com: a competition such as football/england/premier-league, its results or fixtures page such as basketball/usa/nba/results, or a sport such as football for today's matches. For full records also match links or match ids.

## `matchStatus` (type: `string`):

Keep only matches in this state.

## `maxMatches` (type: `integer`):

How many matches to take from each page. When a page has more, the ones closest to now are taken.

## `oddsRegion` (type: `string`):

Two-letter country whose bookmakers the odds come from. Used for full match records only.

## `proxyCountry` (type: `string`):

Optional two-letter country code the requests are sent from, such as GB or DE. Leave empty to let the scraper choose.

## Actor input object example

```json
{
  "mode": "matches",
  "pages": [
    "football/england/premier-league",
    "basketball/usa/nba",
    "hockey/usa/nhl"
  ],
  "matchStatus": "any",
  "maxMatches": 20,
  "oddsRegion": "GB"
}
```

# Actor output Schema

## `items` (type: `string`):

Collected results

# 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 = {
    "pages": [
        "football/england/premier-league",
        "basketball/usa/nba",
        "hockey/usa/nhl"
    ],
    "maxMatches": 20,
    "oddsRegion": "GB"
};

// Run the Actor and wait for it to finish
const run = await client.actor("scrapeunblocker/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 = {
    "pages": [
        "football/england/premier-league",
        "basketball/usa/nba",
        "hockey/usa/nhl",
    ],
    "maxMatches": 20,
    "oddsRegion": "GB",
}

# Run the Actor and wait for it to finish
run = client.actor("scrapeunblocker/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 '{
  "pages": [
    "football/england/premier-league",
    "basketball/usa/nba",
    "hockey/usa/nhl"
  ],
  "maxMatches": 20,
  "oddsRegion": "GB"
}' |
apify call scrapeunblocker/flashscore-scraper --silent --output-dataset

```

## MCP server setup

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