# Live scores for football, tennis and basketball

**Use case:** 

Get every live and finished match of the day in football, tennis and basketball from Flashscore, with the score of each period, the live minute or tennis game score, the status and the winner. Schedule it every minute or two with Only new or changed matches to feed a live score app, a bot or a betting model.

## Input

```json
{
  "sports": [
    "football",
    "tennis",
    "basketball"
  ],
  "days": [
    "0"
  ],
  "timezone": "UTC",
  "statuses": [
    "live",
    "finished"
  ],
  "topLeaguesOnly": false,
  "includeIncidents": false,
  "includeStatistics": false,
  "includeLineups": false,
  "includeMissingPlayers": false,
  "includeOdds": false,
  "oddsCountry": "GB",
  "oddsScopes": [
    "FULL_TIME"
  ],
  "includeH2H": false,
  "h2hLimit": 10,
  "includePointByPoint": false,
  "includeStandings": false,
  "includeMarkdown": false,
  "maxItems": 150,
  "maxMatchesPerLeague": 200,
  "onlyChanged": false,
  "proxyConfiguration": {
    "useApifyProxy": true
  },
  "maxConcurrency": 8,
  "maxRetries": 5
}
```

## Output

```json
{
  "sport": {
    "label": "Sport",
    "format": "string"
  },
  "competition": {
    "label": "Competition",
    "format": "string"
  },
  "homeTeam": {
    "label": "Home",
    "format": "string"
  },
  "homeScore": {
    "label": "Home score",
    "format": "integer"
  },
  "awayScore": {
    "label": "Away score",
    "format": "integer"
  },
  "awayTeam": {
    "label": "Away",
    "format": "string"
  },
  "statusDetail": {
    "label": "Status detail",
    "format": "string"
  },
  "live": {
    "label": "Live state",
    "format": "object"
  },
  "changeType": {
    "label": "Change since last run",
    "format": "string"
  },
  "changedFields": {
    "label": "Changed fields",
    "format": "array"
  },
  "url": {
    "label": "Match URL",
    "format": "string"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The Flashscore Scraper: Live Scores, Results & Odds Actor is ready to run with the inputs already set for "Live scores for football, tennis and basketball". [Sign up or log in](https://console.apify.com/create-task-from-example/n2KIscoYuYixMW9Lg) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Live scores for football, tennis and basketball" task

The Flashscore Scraper: Live Scores, Results & Odds Actor will start running based on the input automatically. You can also change all the input fields, like sports, days, and more, to match your specific use case.

### 3. Receive the "Live scores for football, tennis and basketball" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as sport, competition, home, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Live scores for football, tennis and basketball" task via API](https://apify.com/panix/flashscore-scraper.md).

## FAQ

### How do I poll live scores every minute?

Save the live scores task, turn on Only new or changed matches, give it a Monitor name, and add a schedule. Each run then returns only matches whose score, status or kick-off time changed, and unchanged matches are free.

### Which sports can I add?

The live scores task uses football, tennis and basketball, and the Actor covers 29 sports in the same format, including ice hockey, baseball, cricket, handball, volleyball, darts and esports.

### How much does the live scores task cost?

The live scores task costs $0.90 per 1,000 matches on the Apify Free plan and $0.80 on Starter, less on bigger plans, plus $0.001 per run. With Only new or changed matches, unchanged matches cost nothing.

## About this Actor

This example demonstrates how to use [Flashscore Scraper: Live Scores, Results & Odds](https://apify.com/panix/flashscore-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/panix/flashscore-scraper.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

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 full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/panix/flashscore-scraper.md

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`).
