# SofaScore Basketball Live Events Scraper

**Use case:** 

Scrape live basketball events from SofaScore with tournament, season, status, and event URL. Export structured live sports data to JSON or CSV.

## Input

```json
{
  "mode": "events",
  "query": "",
  "sport": "basketball",
  "date": "",
  "fetchDetails": false,
  "maxItems": 50
}
```

## Output

```json
{
  "id": {
    "label": "Id",
    "format": "text"
  },
  "slug": {
    "label": "Slug",
    "format": "text"
  },
  "customId": {
    "label": "Custom Id",
    "format": "text"
  },
  "url": {
    "label": "Url",
    "format": "link"
  },
  "tournament": {
    "label": "Tournament",
    "format": "text"
  },
  "season": {
    "label": "Season",
    "format": "date"
  },
  "status": {
    "label": "Status",
    "format": "text"
  },
  "tournamentSlug": {
    "label": "Tournament Slug",
    "format": "text"
  },
  "startTimestamp": {
    "label": "Start Timestamp",
    "format": "text"
  },
  "startDate": {
    "label": "Start Date",
    "format": "text"
  },
  "homeTeam": {
    "label": "Home Team",
    "format": "text"
  },
  "awayTeam": {
    "label": "Away Team",
    "format": "text"
  },
  "homeScore": {
    "label": "Home Score",
    "format": "text"
  },
  "awayScore": {
    "label": "Away Score",
    "format": "text"
  },
  "hasGlobalHighlights": {
    "label": "Has Global Highlights",
    "format": "text"
  },
  "scrapedAt": {
    "label": "Scraped At",
    "format": "date"
  }
}
```

## About this Actor

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