# Pull league context around selected matches

**Use case:** 

Collect match detail with league standings and head-to-head context for selected games in one pass when those sections are needed.

## Input

```json
{
  "sport": "football",
  "dayOffsets": [
    0
  ],
  "date": "2026-06-26",
  "matchUrls": [
    "2L651Hgn"
  ],
  "detailSections": [
    "summary",
    "standings",
    "h2h"
  ],
  "enrichListWithDetails": false,
  "maxResults": 1,
  "language": "en",
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

## Output

```json
{
  "startTime": {
    "label": "Kick-off",
    "format": "string"
  },
  "sport": {
    "label": "Sport",
    "format": "string"
  },
  "country": {
    "label": "Country",
    "format": "string"
  },
  "league": {
    "label": "League",
    "format": "string"
  },
  "homeTeam": {
    "label": "Home",
    "format": "string"
  },
  "homeScore": {
    "label": "H",
    "format": "integer"
  },
  "awayScore": {
    "label": "A",
    "format": "integer"
  },
  "awayTeam": {
    "label": "Away",
    "format": "string"
  },
  "status": {
    "label": "Status",
    "format": "string"
  },
  "matchUrl": {
    "label": "URL",
    "format": "string"
  }
}
```

## About this Actor

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