# Premier League table with home & away splits

**Use case:** 

The Premier League standings plus the separate home and away tables: played, wins, draws, losses, goals and points.

## Input

```json
{
  "tournaments": [
    "17"
  ],
  "standingsTypes": [
    "total",
    "home",
    "away"
  ],
  "groupScope": "all",
  "seasonFallback": true,
  "maxItems": 10000,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

## Output

```json
{
  "uniqueTournamentId": {
    "label": "Tournament ID",
    "format": "integer"
  },
  "tournamentName": {
    "label": "Tournament",
    "format": "string"
  },
  "tournamentSlug": {
    "label": "Tournament slug",
    "format": "string"
  },
  "sport": {
    "label": "Sport",
    "format": "string"
  },
  "country": {
    "label": "Country",
    "format": "string"
  },
  "seasonId": {
    "label": "Season ID",
    "format": "integer"
  },
  "seasonName": {
    "label": "Season",
    "format": "string"
  },
  "seasonYear": {
    "label": "Season year",
    "format": "string"
  },
  "seasonRequested": {
    "label": "Season requested",
    "format": "integer"
  },
  "standingsType": {
    "label": "Table type",
    "format": "string"
  },
  "group": {
    "label": "Group",
    "format": "string"
  },
  "position": {
    "label": "Position",
    "format": "integer"
  },
  "teamId": {
    "label": "Team ID",
    "format": "integer"
  },
  "teamName": {
    "label": "Team",
    "format": "string"
  },
  "teamShortName": {
    "label": "Team short name",
    "format": "string"
  },
  "teamSlug": {
    "label": "Team slug",
    "format": "string"
  },
  "teamCountry": {
    "label": "Team country",
    "format": "string"
  },
  "teamIsNational": {
    "label": "National team",
    "format": "boolean"
  },
  "matches": {
    "label": "Played",
    "format": "integer"
  },
  "wins": {
    "label": "Wins",
    "format": "integer"
  },
  "draws": {
    "label": "Draws",
    "format": "integer"
  },
  "losses": {
    "label": "Losses",
    "format": "integer"
  },
  "points": {
    "label": "Points",
    "format": "integer"
  },
  "scoresFor": {
    "label": "Scored",
    "format": "integer"
  },
  "scoresAgainst": {
    "label": "Conceded",
    "format": "integer"
  },
  "goalDifference": {
    "label": "Goal difference",
    "format": "integer"
  },
  "percentage": {
    "label": "Win percentage",
    "format": "number"
  },
  "gamesBehind": {
    "label": "Games behind",
    "format": "number"
  },
  "overtimeLosses": {
    "label": "Overtime losses",
    "format": "integer"
  },
  "normaltimeLosses": {
    "label": "Regulation losses",
    "format": "integer"
  },
  "promotion": {
    "label": "Promotion / relegation",
    "format": "string"
  }
}
```

## About this Actor

This example demonstrates how to use [Sofascore League Standings & Tables Scraper](https://apify.com/incognito_mode/sofascore-standings-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/incognito_mode/sofascore-standings-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/incognito_mode/sofascore-standings-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`).
