# Flashscore Scores & Odds Scraper (`neuro-scraper/flashscore-scores-odds-scraper`) Actor

Flashscore Scraper SD - Flashscore Scraper is a sports data tool that extracts Flashscore matches by sport and day (results, live scores, fixtures) for 40 sports, with league, teams, scores, status and optional match details: statistics, goals and cards, lineups.

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

## Pricing

from $2.49 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
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 — results, live scores, fixtures and match details

The Flashscore Scraper lists Flashscore matches for a sport and day (finished, live and scheduled) with league, teams, scores and status, and optionally adds match details: statistics (xG, possession, shots ...), goals, cards and substitutions with minute and player, per-period scores and lineups. No login.

The access key Flashscore's own feeds need (x-fsign) and the sport list are read from Flashscore on every run.

#### Input

| Field | Meaning |
|---|---|
| `sport` | `soccer` (or `football`), `tennis`, `basketball`, `hockey`, `american-football`, `baseball`, `volleyball`, `handball`, `cricket`, `darts` ... |
| `dates` | Days as YYYY-MM-DD, up to 7 days back or ahead; empty = today |
| `timezoneOffset` | Hours from UTC where the day starts (0 = UTC, -5 = New York, 6 = Dhaka) |
| `status` | `all`, `scheduled`, `live`, `finished` |
| `leagueFilter` | Keep leagues whose name contains these texts, e.g. `ENGLAND: Premier League` |
| `includeDetails`, `includeLineups` | Add statistics + incidents + periods (2 requests per match), lineups (+1) |
| `matchUrls` | Flashscore match links or ids, returned with full details |
| `maxItems` | Matches per day (default 100) |

#### Output (one row per match)

matchId, matchUrl, sport, category (country or tour), league, leagueUrl, startTime (UTC), status, stage, homeTeam, awayTeam, team ids and links, homeScore, awayScore, periodScores, winner, note, logos, inputDate; with details: periods, statistics, incidents; with lineups: lineups (formation, players with number, rating, club).

#### Measured (2026-10-03, local, see TEST_REPORT.md)

- 100 football matches in 4-5 s; 737 matches over 3 days in 8 s (one request per day).
- 4 finished matches with statistics, incidents and lineups in 17-18 s.

#### Limits

- Day lists cover 7 days before and after today (Flashscore's calendar); older results are not in these lists.
- Football list rows carry only the 2nd-half score in `periodScores`; turn on details for exact half scores.
- Golf, motor racing, cycling and winter sports are not head-to-head: each row is one participant (score in `homeScore`), without match details.

#### Example

```json
{"sport": "basketball", "dates": ["2026-10-01"], "status": "finished", "includeDetails": true, "maxItems": 20}
```

# Actor input Schema

## `sport` (type: `string`):

Flashscore sport name: soccer (or football), tennis, basketball, hockey, american-football, baseball, handball, volleyball, cricket, darts, snooker, esports, ... (the list is read from Flashscore on every run).

## `dates` (type: `array`):

Days to list as YYYY-MM-DD, up to 7 days before or after today (Flashscore's own calendar range). Empty = today.

## `timezoneOffset` (type: `integer`):

Where the day starts and ends, in hours from UTC: 0 = UTC, 1 = CET, -5 = New York (EST), 6 = Dhaka. Start times in the output are always UTC.

## `status` (type: `string`):

Keep only matches in this state.

## `leagueFilter` (type: `array`):

Keep only leagues whose name contains one of these texts (not case-sensitive), e.g. ENGLAND: Premier League, Champions League, ATP.

## `includeDetails` (type: `boolean`):

For every match also read statistics (possession, shots, xG ...), incidents (goals, cards, substitutions with minute and player) and per-period scores: 2 extra requests per match.

## `includeLineups` (type: `boolean`):

Also read lineups: formation, starting players, substitutes and coaches with shirt number, rating, nationality and club (1 more request per match; football mostly).

## `matchUrls` (type: `array`):

Flashscore match links or 8-character match ids, e.g. https://www.flashscore.com/match/Y5Bq2moK/. Each one is returned with full details. With match links and no days, no day list is read.

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

Maximum matches per listed day (a football day has 400-1,600 matches).

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

Flashscore answered without a proxy in our tests; residential proxy is the default.

## Actor input object example

```json
{
  "sport": "soccer",
  "timezoneOffset": 0,
  "status": "all",
  "includeDetails": false,
  "includeLineups": false,
  "maxItems": 100,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# 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 = {
    "sport": "soccer",
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ]
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("neuro-scraper/flashscore-scores-odds-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 = {
    "sport": "soccer",
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
    },
}

# Run the Actor and wait for it to finish
run = client.actor("neuro-scraper/flashscore-scores-odds-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 '{
  "sport": "soccer",
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}' |
apify call neuro-scraper/flashscore-scores-odds-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,neuro-scraper/flashscore-scores-odds-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/K0ebCLRAb5dq1V9Tl/builds/dNyZvSupc7yWx5SZi/openapi.json
