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

Scrape Flashscore live scores, fixtures and results for football, tennis, basketball, hockey, baseball, cricket, esports and more. Filter by country or league.

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

## Pricing

from $1.00 / 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.

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 - Live Scores, Fixtures & Results

Scrape **Flashscore live scores, fixtures and results** for football (soccer), tennis, basketball, hockey, American football, baseball, cricket, handball, volleyball, darts, snooker, esports and more. One row per match with teams, scores, status, tournament and a direct Flashscore match link. No login, no browser, fast.

### What you get

- **17 sports** in one actor, 7 days back to 7 days ahead (up to 15 days per run).
- **Every league and country** Flashscore covers, from top divisions to lower leagues and ITF/Challenger tennis.
- **Scores and state**: home / away score, half-time (football), set or period scores (tennis, basketball, hockey...), winner, scheduled / live / finished.
- **Filters**: by status, country or region, tournament name and team or player name.
- **Fair pricing**: $0.001 per match + $0.002 per run.

### Use cases

- **Sports apps and widgets**: feed results and fixtures into your product.
- **Betting and models**: collect results for backtesting and tracking.
- **Media and newsletters**: daily slates and results across sports.
- **Analytics**: build datasets of matches by league, country or team.
- **AI agents**: answer "who plays today / what was the score" with live data.

### Input examples

Today's football, tennis and basketball (default):

```json
{ "sports": ["football", "tennis", "basketball"], "maxResults": 100 }
```

Finished tennis, hockey and cricket for a weekend:

```json
{ "sports": ["tennis", "hockey", "cricket"], "dateFrom": "2026-11-15", "dateTo": "2026-11-16", "status": "finished", "maxResults": 200 }
```

Premier League fixtures this week:

```json
{ "sports": ["football"], "tournamentContains": "Premier League", "countryContains": "England", "status": "scheduled", "dateFrom": "2026-11-18", "dateTo": "2026-11-24" }
```

### Sample output (football)

```json
{
  "awayHalftime": 1,
  "awayScore": 1,
  "awayTeam": "Zambia",
  "awayTeamId": "WxktNsFi",
  "awayTeamShort": "ZAM",
  "country": "Africa",
  "homeHalftime": 1,
  "homeScore": 1,
  "homeTeam": "Burundi",
  "homeTeamId": "vVneavNp",
  "homeTeamShort": "BUR",
  "kickoff": "2026-11-17T13:00:00Z",
  "matchId": "CQo4gape",
  "scrapedAt": "2026-11-17T17:39:49Z",
  "sport": "football",
  "status": "finished",
  "statusCode": 3,
  "tournament": "Africa Cup of Nations - Qualification",
  "tournamentId": "8bP2bXmH",
  "tournamentUrl": "https://www.flashscore.com/football/africa/africa-cup-of-nations/",
  "url": "https://www.flashscore.com/match/burundi-vVneavNp/zambia-WxktNsFi/?mid=CQo4gape",
  "winner": "draw"
}
```

### Sample output (tennis)

```json
{
  "awayScore": 0,
  "awayTeam": "Jodar R.",
  "awayTeamId": "rsURQYDE",
  "awayTeamShort": "JOD",
  "country": "",
  "homeScore": 2,
  "homeTeam": "Zverev A.",
  "homeTeamId": "jZRt3VL7",
  "homeTeamShort": "ZVE",
  "kickoff": "2026-11-15T13:30:00Z",
  "matchId": "ptV3Z5Dl",
  "periodScores": [
    {
      "away": 4,
      "home": 6
    },
    {
      "away": 4,
      "home": 6
    }
  ],
  "scrapedAt": "2026-11-17T17:39:48Z",
  "sport": "tennis",
  "status": "finished",
  "statusCode": 3,
  "tournament": "Finals - Turin (World), hard (indoor)",
  "tournamentId": "MeRVE9s8",
  "tournamentUrl": "https://www.flashscore.com/tennis/atp-singles/finals-turin/",
  "url": "https://www.flashscore.com/match/zverev-alexander-jZRt3VL7/jodar-rafael-rsURQYDE/?mid=ptV3Z5Dl",
  "winner": "home"
}
```

### FAQ

**How far back can I go?** Flashscore's score feed covers the last 7 days and the next 7 days. Run the actor on a schedule to build your own history.

**Which timezone are the dates?** Days are UTC days; kickoff times are ISO 8601 in UTC.

**Are odds, lineups or statistics included?** No. This actor focuses on fixtures, live scores and results. Rows contain the Flashscore match URL for further lookups.

**Why are some scores empty?** Scheduled, postponed or cancelled matches have no score yet.

**Do I need a proxy or login?** No.

# Actor input Schema

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

football, tennis, basketball, hockey, american-football, baseball, handball, volleyball, cricket, darts, snooker, badminton, water-polo, golf, field-hockey, table-tennis, esports.

## `dateFrom` (type: `string`):

YYYY-MM-DD (UTC days). Flashscore's feed covers 7 days back to 7 days ahead. Empty = today.

## `dateTo` (type: `string`):

YYYY-MM-DD. Empty = same as From date. Max range 15 days.

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

Keep only matches in this state.

## `countryContains` (type: `string`):

Filter by country or region name, e.g. 'England', 'USA', 'Spain', 'Europe', 'World'.

## `tournamentContains` (type: `string`):

Filter by competition name, e.g. 'Premier League', 'NBA', 'ATP', 'Champions League'.

## `teamContains` (type: `string`):

Only matches whose home or away name contains this text, e.g. 'Arsenal', 'Djokovic'.

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

Maximum matches. Default 100 = about $0.10.

## Actor input object example

```json
{
  "sports": [
    "football",
    "tennis",
    "basketball"
  ],
  "status": "any",
  "maxResults": 100
}
```

# Actor output Schema

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

All records from this run in the default dataset, shown with the Overview table view.

# 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",
        "tennis",
        "basketball"
    ],
    "maxResults": 100
};

// Run the Actor and wait for it to finish
const run = await client.actor("pink_comic/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",
        "tennis",
        "basketball",
    ],
    "maxResults": 100,
}

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

```

## MCP server setup

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