# SkillCorner Open Data: Football Tracking Data to Clean CSV (`mirkotornani/skillcorner-opendata-clean`) Actor

Broadcast-tracking football data from SkillCorner Open Data (A-League 2024/25, 20 matches) as clean, typed rows: physical season stats per player, dynamic events (runs, passes, pressing), phases of play, lineups and match info. Export to CSV/Excel without Python. Pay per row.

- **URL**: https://apify.com/mirkotornani/skillcorner-opendata-clean.md
- **Developed by:** [Mirko Tornani](https://apify.com/mirkotornani) (community)
- **Categories:** Sports, Open source
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.00 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

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 examples already wired to this Actor's own input schema, see the [API](#api) section below.

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

# README

## SkillCorner Open Data: Football Tracking Data to Clean CSV

Get **broadcast-tracking football data** as clean, typed tables you can open in Excel, Google Sheets, Tableau or Power BI. You don't need Python, Git LFS or a tracking-data parser.

The source is [SkillCorner Open Data](https://github.com/SkillCorner/opendata): 20 full matches from the **A-League 2024/25** (Australia/New Zealand), plus season aggregates for every player in the league.

**Who it's for:** performance analysts, sports-science and data students, scouts and small clubs that want tracking-derived metrics without building a pipeline.

### What you get (one table per run)

| Dataset | One row per | Typical rows | Highlights |
|---|---|---|---|
| **Physical per player** (default) | player × team, season | ~40 per match, 406 league-wide | distance, m/min, running, HSR, sprints, high-intensity, accelerations/decelerations, PSV-99 (top speed) |
| Lineups & minutes | player × match | ~36 per match | position, shirt number, started, minutes played / in / out of possession, goals, cards |
| Dynamic events | event | ~4,500–5,500 per match | off-ball runs, passing options, possessions, pressing: start/end x-y, third, channel, xThreat, xPass, line breaks, lead to shot/goal |
| Phases of play | phase | ~450 per match | build-up / create / finish / transition / set piece, block type out of possession, team width and length |
| Match info | match | 1 | teams, score, round, stadium, pitch size, attacking direction per half |
| Passing per player | player × team, season | ~40 per match | passes per 30' in possession, completion %, line-breaking passes, passes to runs |
| Off-ball runs per player | player × team, season | ~40 per match | runs per 30' in possession by type (in behind, coming short, overlap…), dangerous, targeted, received |

Every row also has `source`, `licence` and `retrieved_at` (UTC). You can export the dataset as CSV, JSON, Excel or XML.

### Input

- **Dataset**: which table to return.
- **Match IDs**: default `1886347` (Auckland FC 2-0 Newcastle Jets). Run *Match info* with *All matches* on to list all 20.
- **Event types**: events only. Fewer types means fewer rows and a lower cost.
- **All 322 event columns**: off by default. A curated set of ~80 columns is returned instead.
- **Max rows**: a hard cost cap.

### Units and conventions

- **Coordinates** (`x_*`, `y_*`) are in **metres**, with the origin at the **centre of the pitch** (pitch length and width are in *Match info*). They are **not** normalised by attacking direction. Use `attacking_side` or the match's `home_attacking_direction_p1/p2`.
- **Times**: `time_start`/`time_end` are `mm:ss.s` match clock within the period. `duration` is in seconds. Frames run at 10 fps.
- **Distances** are in metres. **Speeds** (`speed_avg`, `psv99`) are in km/h.
- **Season physical metrics** are SkillCorner's per-match averages over performances of 60+ minutes. `_full_all` means the whole match, `_full_tip` the team in possession and `_full_otip` the team out of possession. HSR is 20–25 km/h, sprint is over 25 km/h, and HI is HSR plus sprint ([Physical Data Glossary](https://skillcorner.crunch.help/en/glossaries/physical-data-glossary)).
- **Passing and off-ball-run aggregates** use `_p30tip`, which means per 30 minutes of the team in possession.
- For the full definitions of the dynamic-event columns, see SkillCorner's [Dynamic Events specification](https://github.com/SkillCorner/opendata#readme).

Raw 10 fps tracking (Git LFS, ~90 MB per match) is **not** included in this version.

### Pricing

Pay per result: **$1.00 per 1,000 rows** plus a tiny per-run start fee. A physical table for one match (~40 rows) costs about $0.04. One full match of events (~5,100 rows) costs about $5. To pay less, filter the event types or set *Max rows*.

### Data licence and attribution

The data is © 2020 SkillCorner, released under the **MIT licence** at [github.com/SkillCorner/opendata](https://github.com/SkillCorner/opendata), a joint initiative of SkillCorner and PySport. This Actor reshapes it into flat tables; the values are unchanged. When you publish work based on this data, please credit SkillCorner. This Actor is not affiliated with or endorsed by SkillCorner.

Built by a UEFA B coach who builds data tools for scouting.

# Actor input Schema

## `dataset` (type: `string`):

One dataset type per run, so the CSV export has a single clean table. Season datasets are filtered to the players of the selected match(es).

## `matchIds` (type: `array`):

SkillCorner Open Data match IDs (A-League 2024/25). Default 1886347 = Auckland FC 2-0 Newcastle Jets. Full list: run with Dataset = Match info and 'All matches' on.

## `allMatches` (type: `boolean`):

Ignore Match IDs and use every match in the repository. For season datasets this returns the whole league (all players).

## `eventTypes` (type: `array`):

Keep only these event types. Fewer types = fewer rows = lower cost.

## `includeAllColumns` (type: `boolean`):

Events only. Off = curated ~80 columns (location, outcome, xThreat, line breaks, pressing). On = every SkillCorner column.

## `onlyPlayersInSelectedMatches` (type: `boolean`):

Off = all players of the league season.

## `maxRows` (type: `integer`):

Optional cap on rows returned (and billed).

## Actor input object example

```json
{
  "dataset": "physical_season",
  "matchIds": [
    "1886347"
  ],
  "allMatches": false,
  "eventTypes": [
    "player_possession",
    "passing_option",
    "off_ball_run",
    "on_ball_engagement"
  ],
  "includeAllColumns": false,
  "onlyPlayersInSelectedMatches": true
}
```

# Actor output Schema

## `physical` (type: `string`):

No description

## `lineups` (type: `string`):

No description

## `events` (type: `string`):

No description

## `phases` (type: `string`):

No description

## `matches` (type: `string`):

No description

## `csv` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "dataset": "physical_season",
    "matchIds": [
        "1886347"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("mirkotornani/skillcorner-opendata-clean").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "dataset": "physical_season",
    "matchIds": ["1886347"],
}

# Run the Actor and wait for it to finish
run = client.actor("mirkotornani/skillcorner-opendata-clean").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "dataset": "physical_season",
  "matchIds": [
    "1886347"
  ]
}' |
apify call mirkotornani/skillcorner-opendata-clean --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,mirkotornani/skillcorner-opendata-clean"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/rt3vxkHfDsrcV9Nm8/builds/bY1p59acg1kcklGbe/openapi.json
