Why Football Lineup & Player Data Matters
In professional association football (soccer), starting lineups dictate tactical balance, individual matchups, and match pacing. For fantasy sports managers (such as Fantasy Premier League), sports betting syndicates, and digital media desks, receiving confirmed team sheets the moment they are submitted to match officials—typically 60 minutes prior to kickoff—is crucial for making informed decisions.
A sudden benching of a star striker, a tactical switch to a five-man defensive line, or an unexpected goalkeeper injury can swing match odds dramatically. However, scraping football websites for lineup announcements poses significant challenges: pages update dynamically, team sheets are often delivered via asynchronous JavaScript bundles, and high traffic spikes before major matches trigger aggressive cloud rate-limiting.
By utilizing the cloud-native Sports Data Scraper on Apify, developers can extract confirmed starting XIs, bench substitutions, tactical formations, and individual player performance indicators across Europe’s top leagues without managing local proxy infrastructure.
Football Lineup & Roster Data Schema
When scraping football fixtures, the actor extracts normalized team and player rosters embedded within the match object. Below is an example payload representing a Premier League fixture:
{
"id": "700142",
"name": "Arsenal vs Chelsea",
"sport": "soccer/eng.1",
"league": "English Premier League",
"status": "In Progress - 68'",
"date": "2026-10-29T16:30:00Z",
"homeTeam": {
"name": "Arsenal",
"formation": "4-3-3",
"score": 2,
"lineup": [
{ "id": "p_101", "name": "David Raya", "position": "GK", "shirtNumber": 22, "starter": true },
{ "id": "p_102", "name": "William Saliba", "position": "CB", "shirtNumber": 2, "starter": true },
{ "id": "p_103", "name": "Declan Rice", "position": "CM", "shirtNumber": 41, "starter": true },
{ "id": "p_104", "name": "Bukayo Saka", "position": "RW", "shirtNumber": 7, "starter": true }
],
"substitutes": [
{ "id": "p_110", "name": "Leandro Trossard", "position": "LW", "shirtNumber": 19, "starter": false }
]
},
"awayTeam": {
"name": "Chelsea",
"formation": "4-2-3-1",
"score": 1,
"lineup": [
{ "id": "p_201", "name": "Robert Sanchez", "position": "GK", "shirtNumber": 1, "starter": true },
{ "id": "p_202", "name": "Cole Palmer", "position": "AM", "shirtNumber": 20, "starter": true }
]
},
"venue": {
"name": "Emirates Stadium",
"city": "London"
},
"scrapedAt": "2026-10-29T17:40:00Z"
}
This structured format enables automated downstream workflows, such as checking whether specific star players are absent from the starting XI or detecting formation adjustments from a back-four to a back-three.
Extracting Confirmed Starting XIs Step-by-Step
Setting up automated lineup harvesting requires only a few configuration steps:
Step 1: Open the Scraper in Apify Console
Access the Sports Data Scraper on the Apify Store. Click Try for free to launch the actor in your workspace. Every account receives a $5 free monthly cloud usage credit on the $0 starter tier, providing immediate access to serverless extraction.
Step 2: Choose Your Football League Parameter
Provide the target football league identifier in the input configuration. For example:
soccer/eng.1— English Premier Leaguesoccer/esp.1— Spanish La Ligasoccer/ger.1— German Bundesligasoccer/ita.1— Italian Serie Asoccer/uefa.champions— UEFA Champions League
Input configuration:
{
"sport": "soccer/eng.1",
"maxItems": 20,
"proxyConfiguration": {
"useApifyProxy": true
}
}
Step 3: Run and Ingest
Execute the run 50–55 minutes prior to match kickoff when team sheets are officially submitted. Once complete, download the parsed lineup records in JSON or CSV for instant integration with fantasy lineups or analytical models.
Programmatic Automation with Python and Node.js
Integrate lineup tracking into automated bots and notification pipelines using Apify’s client libraries.
Python Lineup Ingestion & Alert Script
The following Python script checks for lineup confirmations and alerts if a key player is missing from the starting XI:
import os
from apify_client import ApifyClient
client = ApifyClient(os.getenv("APIFY_TOKEN", "YOUR_APIFY_TOKEN"))
def check_starting_lineups(target_player: str, league_code: str = "soccer/eng.1"):
print(f"Polling {league_code} for confirmed team sheets...")
run_input = {
"sport": league_code,
"maxItems": 10,
"proxyConfiguration": {"useApifyProxy": True}
}
run = client.actor("madeingermany/sports-data-scraper").call(run_input=run_input)
fixtures = client.dataset(run["defaultDatasetId"]).list_items().items
for match in fixtures:
match_title = match.get("name", "Unknown Match")
home = match.get("homeTeam", {})
away = match.get("awayTeam", {})
# Flatten all starting players
starters = [p["name"] for p in home.get("lineup", [])] + \
[p["name"] for p in away.get("lineup", [])]
if target_player in starters:
print(f"CONFIRMED: {target_player} is in the starting XI for {match_title}!")
else:
print(f"NOTICE: {target_player} was not found in starting XI for {match_title}.")
if __name__ == "__main__":
check_starting_lineups("Bukayo Saka", "soccer/eng.1")
Node.js Lineup Webhook Pipeline
import { ApifyClient } from 'apify-client';
const client = new ApifyClient({
token: process.env.APIFY_TOKEN || 'YOUR_APIFY_TOKEN',
});
async function monitorWeekendFixtures() {
const run = await client.actor('madeingermany/sports-data-scraper').call({
sport: 'soccer/uefa.champions',
maxItems: 16,
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(`Retrieved ${items.length} Champions League fixture lineups.`);
for (const fixture of items) {
const home = fixture.homeTeam?.name;
const away = fixture.awayTeam?.name;
const homeStarters = fixture.homeTeam?.lineup?.length || 0;
console.log(`${home} vs ${away} -> Home Starters Loaded: ${homeStarters}`);
}
}
monitorWeekendFixtures().catch(console.error);
Pay-Per-Event Pricing & $5 Free Monthly Allowance
Predictable, usage-based pricing is essential when building automated sports feeds. The Sports Data Scraper runs on Apify’s Pay-Per-Event (PPE) framework:
- Run Initiation Cost:
$0.00005per run start. - Match Item Cost:
$0.002per extracted fixture record ($2.00 per 1,000 matches).
Maximizing the $5 Monthly Free Allowance
Apify provides every user account with a $5 free monthly cloud usage credit on the $0 starter tier. This monthly allowance renews automatically every 30 days:
$$\text{Free Match Lineups} = \frac{$5.00 - $0.00005}{$0.002} \approx 2,499 \text{ matches}$$
A standard Premier League season comprises 380 total matches. With 2,500 free match extractions available each month on the $0 starter tier, you can monitor every match across the Premier League, La Liga, and UEFA Champions League combined without paying any subscription fees or adding a credit card.
Expected Output Schema & Sample Records
Below is an authentic sample of data returned by the scraper. Records are formatted into clean JSON or exportable CSV spreadsheets.
Authentic Sample Output Data
ESPN / Major Sports Leagues| id | name | shortName | sport | league | season | status | statusState | statusDetail | date | homeTeam | awayTeam | venue | broadcasts | odds | scrapedAt |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 401585601 | Boston Celtics at Los Angeles Lakers | BOS @ LAL | basketball/nba | NBA | 2026 | Final | post | Final | 2026-10-28T23:30:00Z | {"name":"Los Angeles Lakers","abbreviation":"LAL","score":108,"logoUrl":"https://a.espncdn.com/i/teamlogos/nba/500/lal.png"} | {"name":"Boston Celtics","abbreviation":"BOS","score":112,"logoUrl":"https://a.espncdn.com/i/teamlogos/nba/500/bos.png"} | {"name":"Crypto.com Arena","city":"Los Angeles","state":"CA"} | TNT, Spectrum SportsNet | {"details":"LAL -3.5","overUnder":224.5} | 2026-10-29T12:00:00Z |
[
{
"id": "401585601",
"name": "Boston Celtics at Los Angeles Lakers",
"shortName": "BOS @ LAL",
"sport": "basketball/nba",
"league": "NBA",
"season": 2026,
"status": "Final",
"statusState": "post",
"statusDetail": "Final",
"date": "2026-10-28T23:30:00Z",
"homeTeam": {
"name": "Los Angeles Lakers",
"abbreviation": "LAL",
"score": 108,
"logoUrl": "https://a.espncdn.com/i/teamlogos/nba/500/lal.png"
},
"awayTeam": {
"name": "Boston Celtics",
"abbreviation": "BOS",
"score": 112,
"logoUrl": "https://a.espncdn.com/i/teamlogos/nba/500/bos.png"
},
"venue": {
"name": "Crypto.com Arena",
"city": "Los Angeles",
"state": "CA"
},
"broadcasts": [
"TNT",
"Spectrum SportsNet"
],
"odds": {
"details": "LAL -3.5",
"overUnder": 224.5
},
"scrapedAt": "2026-10-29T12:00:00Z"
}
]Required Inputs & Configuration Parameters
Configure only the fields supported by the verified scraper. You can test extractions directly in your browser or run them programmatically via Python, Node.js, or REST API.
Supported Input Parameters
| Parameter | Type | Required | Default | Description & Example |
|---|---|---|---|---|
| sport | string | Optional | basketball/nba | Sport category to scrape (basketball/nba, soccer/eng.1, soccer/esp.1, soccer/uefa.champions, football/nfl, baseball/mlb) e.g. basketball/nba |
| maxItems | number | Optional | 50 | Maximum number of match records to extract |
| proxyConfiguration | object | Optional | — | Apify proxy settings (optional) e.g. {"useApifyProxy": false} |
Start Scraping for Free with $5 Monthly Cloud Credits
You don't need a credit card or a paid subscription to extract your data. Every user gets $5 in complimentary cloud credits every month—enough to scrape thousands of verified records without spending a penny.
How Far Your $5 Free Monthly Credits Go
Every user receives $5.00 in free cloud credits every month. Because this cloud scraper charges only fractions of a cent per result instead of an expensive monthly software subscription, your free $5 allowance lets you extract thousands of fresh results completely free.
$5.00
Renewed every month for free~2,499
Full results for $0.00$0.00
Cloud proxies & anti-bot includedReal Projects You Can Run Completely Free
| Project Goal | Target Volume | Traditional Scraper Cost | Your Cost with Free Credits |
|---|---|---|---|
| Initial Test & Column Verification | 50 results | $49/mo minimum | $0.00 (100% Covered) |
| Targeted Local Market List | 500 results | $99/mo subscription | $0.00 (100% Covered) |
| Full Monthly Workflow Batch | 1,500+ results | $199/mo + proxy fees | $0.00 (100% Covered) |
Ready to collect your first dataset?
Launch the pre-built tool now with your $5 free monthly credits. No card required.
Prerequisites
- ✓Apify account ($5 free monthly cloud credits provided on the $0 starter tier)
- ✓Target football league code (e.g., soccer/eng.1 for Premier League, soccer/uefa.champions)
- ✓Python or Node.js environment for dataset processing
Observed Limitations
- •Official starting lineups are announced approximately 60 minutes prior to match kickoff
- •Detailed tactical formations and heatmaps require post-match opta aggregation
Frequently Asked Questions
How many football match lineups can I scrape with the free credit?
Does the scraper capture bench players and tactical substitutions?
Extract Live Data with Sports Data Scraper - Live Scores, Stats & Schedules
Extract structured data from ESPN / Major Sports Leagues directly into Excel, CSV, or JSON in minutes. Runs automatically in the cloud with built-in anti-bot bypass and residential proxy rotation. No coding or browser setup required.
100% free to test • $5 free monthly credits included • No credit card required to start
Related Scraping Playbooks
View all guides →Building an Algorithmic Sports Analytics Pipeline with Python & REST APIs
Architect an end-to-end sports analytics pipeline. Automate data extraction with Apify, transform metrics with pandas, and persist models in SQLite.
How to Scrape French Corporate Data (SIREN / SIRET) via North Data Aggregator
Extract French commercial registry records, 9-digit SIREN and 14-digit SIRET identifiers, legal forms (SAS/SARL), and corporate officers via North Data.
Scraping German Handelsregister Company Filings, Share Capital & Commercial Court Records
Automate extraction of German Handelsregister (HRB/HRA) company filings, registered share capital (Stammkapital), managing directors, and Amtsgericht court records.