# LiveScore Scraper (live scores, fixtures, results, match stats) (`integrative_cafe_8pc/livescore-scraper`) Actor

Use this Actor when you need live scores, fixtures or final results from LiveScore for football, basketball, hockey or cricket on any date, country or competition, with score by period and optional football match stats (possession, shots, xG, cards). Pay per match.

- **URL**: https://apify.com/integrative_cafe_8pc/livescore-scraper.md
- **Developed by:** [Bluefield Data](https://apify.com/integrative_cafe_8pc) (community)
- **Categories:** Automation
- **Security:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.40 / 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

## LiveScore Scraper: live scores, fixtures, results and match stats

Use this Actor when you need live scores, fixtures or final results from LiveScore (football, basketball, hockey, cricket) for a date, country or competition, as one JSON row per match.

Get every match LiveScore lists for a day, for **football (soccer), basketball, ice hockey and cricket**: teams, score, status, live minute, kick-off time, score by half, quarter, period or innings, and an optional set of **football team statistics** (possession, shots, shots on target, xG, corners, fouls, cards, offsides, saves).

Use it for results databases, fantasy and betting models, sports newsletters, Discord or Telegram score bots, or a daily feed of fixtures in your timezone.

### Why this one

- **Tested on real days**: 123 of 123 matches returned with 0 errors across four sports for 25 Oct 2026 (Premier League, LaLiga, Serie A, NBA, NHL, ODI and more), 32 football matches with full statistics. The default input (today's football) returned 114 matches in one run.
- **Works with no setup**: leave dates empty to get today, add `daysBack: 1` for yesterday's results or `daysAhead: 7` for next week's fixtures. Ideal for a scheduled daily run.
- **Live mode**: `liveOnly: true` returns only matches in play with the current minute.
- **Filters that save money**: keep only the countries, competitions or statuses you need, so you pay only for those matches.
- **Does not stop on errors**: blocked requests get a fresh proxy session with growing waits; a date that still fails comes back as a dataset row with an `error` field and the run goes on.

### Input

| Field | What it does | Default |
|---|---|---|
| `sports` | `soccer`, `basketball`, `hockey`, `cricket` | `["soccer"]` |
| `dates` | Dates as `YYYY-MM-DD`. Empty means today | `[]` |
| `daysBack` / `daysAhead` | Extra days around today when `dates` is empty | `0` / `0` |
| `liveOnly` | Only matches being played now | `false` |
| `status` | `all`, `live`, `finished`, `scheduled`, `postponed`, `cancelled` | `all` |
| `countries` | Keep only these countries or regions (contains match) | all |
| `competitions` | Keep only competitions whose name contains these words | all |
| `includeStatistics` | Add football team statistics for live and finished matches | `false` |
| `timezoneOffsetHours` | Day boundaries and start times in your timezone, like `-3` or `1` | `0` (UTC) |
| `maxMatches` | Stop after this many matches, `0` for no limit | `0` |

Example: yesterday's Premier League and LaLiga results with statistics, in Central European time:

```json
{"sports": ["soccer"], "daysBack": 1, "status": "finished", "competitions": ["premier league", "laliga"], "includeStatistics": true, "timezoneOffsetHours": 1}
```

### Output

```json
{
  "matchId": "1793623",
  "sport": "soccer",
  "date": "2026-10-25",
  "competition": "Premier League",
  "stage": "Premier League",
  "country": "England",
  "homeTeam": "Crystal Palace",
  "awayTeam": "Newcastle United",
  "homeScore": 0,
  "awayScore": 2,
  "status": "finished",
  "statusText": "FT",
  "startTime": "2026-10-25T14:00:00+00:00",
  "scoreBreakdown": {"halfTime": {"home": 0, "away": 0}, "regularTime": {"home": 0, "away": 2}},
  "statistics": {
    "home": {"possession": 53, "shotsOnTarget": 4, "shotsOffTarget": 8, "expectedGoals": 1.69, "corners": 7, "fouls": 12, "yellowCards": 3},
    "away": {"possession": 47, "shotsOnTarget": 2, "shotsOffTarget": 4, "expectedGoals": 0.98, "corners": 4, "fouls": 10, "yellowCards": 3, "goalkeeperSaves": 4}
  },
  "matchUrl": "https://www.livescore.com/en/football/england/premier-league/crystal-palace-vs-newcastle-united/1793623/",
  "charged": true
}
```

Basketball adds `quarter1` to `quarter4`, hockey `period1` to `period3` and `overtime`, cricket `innings1Runs`, `innings1Wickets`, `innings1Overs` and a `resultNote` like "Pakistan win by 1 wicket". Live matches carry `minute`, like `72'`.

A failed request looks like `{"sport": "soccer", "date": "2026-13-45", "charged": false, "error": "invalid date '2026-13-45', use YYYY-MM-DD; not charged"}`. Every match row carries `"charged": true`, and the run's final message says how many requests failed.

### Pricing

You pay per result: **$0.0008 per match**. Statistics are included in that price. Failures are free: rows with `error` are never charged.

### Notes

Data comes from LiveScore's public pages, with no login. Team-level data only: the actor does not return player names or personal data. Tennis is not included.

# Actor input Schema

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

Which sports to fetch. Each sport and date is one request.

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

Dates in YYYY-MM-DD format. Leave empty to use today (plus the days back and ahead below), which is the best choice for scheduled runs.

## `daysBack` (type: `integer`):

Also fetch this many days before today. 1 gives yesterday's results.

## `daysAhead` (type: `integer`):

Also fetch this many days after today, for upcoming fixtures.

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

Ignore dates and return only matches being played right now, with the current minute.

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

Keep only matches with this status.

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

Keep only competitions from these countries or regions, like England, Brazil, Europe. Empty means all.

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

Keep only competitions whose name contains one of these words, like Premier League, Serie A, NBA, Champions League. Empty means all.

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

For live and finished football matches, add team statistics: possession, shots, shots on target, xG, corners, fouls, cards, offsides, saves. One extra request per match.

## `timezoneOffsetHours` (type: `integer`):

Hours from UTC used for the day boundaries and start times, like -3 for Brazil or 1 for Central Europe.

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

Stop after this many matches. 0 means no limit.

## `proxy` (type: `object`):

Proxy settings. Apify residential proxy keeps runs from being blocked.

## Actor input object example

```json
{
  "sports": [
    "soccer"
  ],
  "dates": [],
  "daysBack": 0,
  "daysAhead": 0,
  "liveOnly": false,
  "status": "all",
  "countries": [],
  "competitions": [],
  "includeStatistics": false,
  "timezoneOffsetHours": 0,
  "maxMatches": 0,
  "proxy": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# Actor output Schema

## `overview` (type: `string`):

No description

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

No description

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

// Run the Actor and wait for it to finish
const run = await client.actor("integrative_cafe_8pc/livescore-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": ["soccer"],
    "proxy": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
    },
}

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

```

## MCP server setup

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