# Live Basketball Scores Scraper

**Use case:** 

Track live basketball games with scores and team data from Sofascore in JSON for apps, widgets and analytics tools.

## Input

```json
{
  "maxItems": 10,
  "withDetails": true,
  "mode": "live-matches",
  "sport": "basketball",
  "tournamentId": 16,
  "includeStandings": false,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

## Output

```json
{
  "eventId": {
    "label": "Match ID",
    "format": "number"
  },
  "status": {
    "label": "Status",
    "format": "text"
  },
  "statusDescription": {
    "label": "Detail",
    "format": "text"
  },
  "tournament": {
    "label": "Tournament",
    "format": "text"
  },
  "homeTeam": {
    "label": "Home",
    "format": "text"
  },
  "homeScore": {
    "label": "H",
    "format": "number"
  },
  "awayScore": {
    "label": "A",
    "format": "number"
  },
  "awayTeam": {
    "label": "Away",
    "format": "text"
  },
  "startTime": {
    "label": "Kickoff",
    "format": "date"
  },
  "url": {
    "label": "URL",
    "format": "link"
  },
  "observedAt": {
    "label": "Scraped",
    "format": "date"
  },
  "error": {
    "label": "Error",
    "format": "text"
  }
}
```

## About this Actor

This example demonstrates how to use [Sofascore Live Scores & Match Stats Scraper](https://apify.com/scrapers_lat/sofascore-scraper) with a specific input configuration. Visit the [Actor detail page](https://apify.com/scrapers_lat/sofascore-scraper) to learn more, explore other use cases, and run it yourself.