# European Soccer League Teams, Players & Results Lookup (`nimbryxo-studio/european-soccer-league-teams-players-and-results`) Actor

List teams, search players, or pull a season's match results across ten major European soccer leagues, including club details, player bios, and final scores.

- **URL**: https://apify.com/nimbryxo-studio/european-soccer-league-teams-players-and-results.md
- **Developed by:** [Nimbryxo-studio](https://apify.com/nimbryxo-studio) (community)
- **Categories:** Automation, Developer tools, Other
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.49 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/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

## European Soccer League Teams, Players & Results Lookup

Pull team rosters, player bios, and season match results for ten major European soccer leagues — Premier League, Championship, Scottish Premiership, Bundesliga, Serie A, La Liga, Ligue 1, Eredivisie, Belgian Pro League, and Süper Lig — from a public sports database. Choose a league and get its teams, search for a player by name, or list a full season's fixtures and results.

### What this actor does

- Lists every team in a chosen league, with city, stadium, founding year, and club website
- Searches for a player by name and returns their team, nationality, position, and a short bio
- Lists a league's games for a chosen season with final scores, venue, and status
- Covers ten European leagues and three seasons (2022-2023 through 2024-2025) for the season-games lookup
- Omits any field the source doesn't have for a given team, player, or match rather than sending it empty

### Output per record

**Team** (`recordType: "soccer_team"`, mode=teams)

- `teamId`, `teamName`, `shortName`
- `city`, `stadium`, `country`, `formedYear`
- `website`, `logoUrl`, `teamUrl`

**Player** (`recordType: "soccer_player"`, mode=players)

- `playerId`, `playerName`, `team`, `nationality`, `position`
- `height`, `weight`, `birthDate`
- `description` — a short biography excerpt (up to 300 characters)
- `imageUrl`, `profileUrl`

**Game** (`recordType: "soccer_game"`, mode=games)

- `eventId`, `eventName`, `homeTeam`, `awayTeam`, `homeScore`, `awayScore`
- `season`, `matchDate`, `venue`, `status`, `eventUrl`

Every record also includes `scrapedAt`, an ISO 8601 timestamp of when it was collected.

### Input

| Field | Type | Default | Description |
|---|---|---|---|
| `mode` | string | `teams` | `teams`, `players`, or `games` |
| `leagueId` | string | `4328` | One of ten supported leagues (modes=teams, games); see examples below |
| `searchQuery` | string | `Harry Kane` | Player name to search for (mode=players) |
| `season` | string | `2024-2025` | Season to fetch, one of `2022-2023`, `2023-2024`, `2024-2025` (mode=games) |
| `maxItems` | integer | `20` | Maximum number of records to return (1-200) |

#### Example: list Premier League teams

```json
{
    "mode": "teams",
    "leagueId": "4328",
    "maxItems": 20
}
```

#### Example: search for a player

```json
{
    "mode": "players",
    "searchQuery": "Erling Haaland",
    "maxItems": 5
}
```

#### Example: a season's La Liga results

```json
{
    "mode": "games",
    "leagueId": "4335",
    "season": "2023-2024",
    "maxItems": 100
}
```

### Use cases

- **League directory building** — pull every club in a league with its stadium and founding year for a reference dataset
- **Player bio lookups** — grab nationality, position, and a short bio for a player you're writing about
- **Season results archives** — collect a full season's match results for one of the ten covered leagues
- **Fan content and quizzes** — combine team and player lookups to build trivia or profile content
- **Cross-league comparisons** — repeat the `teams` or `games` lookup across different `leagueId` values to compare leagues

### FAQ

**Which leagues are supported?** English Premier League, English Championship, Scottish Premiership, German Bundesliga, Italian Serie A, Spanish La Liga, French Ligue 1, Dutch Eredivisie, Belgian Pro League, and Turkish Süper Lig — pick one via `leagueId` in `teams` or `games` mode.

**Does `players` search restrict to one league?** No — it searches the source's full player index by name regardless of league, so a player from any covered or uncovered competition can appear if their name matches.

**Why would `games` mode return nothing for a given season?** The source only has data for `2022-2023`, `2023-2024`, and `2024-2025`; a season outside that range, or a league/season combination with no recorded events, returns zero records.

**Does this include live scores?** No — `games` mode returns whatever season results the source has on record; it is not a live-score feed for in-progress matches.

**Why are some player fields like `height` or `weight` missing?** Those fields are only populated when the source has published them for that specific player; coverage varies by player and league.

**Is this a betting-odds or advanced-stats tool?** No — it covers team rosters, player bios, and match results/scores only; it does not include expected goals, shot maps, or betting lines.

**Is this affiliated with any of the covered leagues or clubs?** No. This actor reads data from a public sports database and is not affiliated with, endorsed by, or sponsored by any league, club, or federation named above.

# Actor input Schema

## `mode` (type: `string`):

What data to fetch.

## `leagueId` (type: `string`):

TheSportsDB league ID to fetch data from.

## `searchQuery` (type: `string`):

Player name for players mode.

## `season` (type: `string`):

Season year range for games mode.

## `maxItems` (type: `integer`):

Maximum records to return.

## Actor input object example

```json
{
  "mode": "teams",
  "leagueId": "4328",
  "searchQuery": "Harry Kane",
  "season": "2024-2025",
  "maxItems": 20
}
```

# Actor output Schema

## `results` (type: `string`):

Dataset containing all scraped teams, players, or game results.

# 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 = {
    "mode": "teams",
    "leagueId": "4328",
    "searchQuery": "Harry Kane",
    "season": "2024-2025",
    "maxItems": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("nimbryxo-studio/european-soccer-league-teams-players-and-results").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 = {
    "mode": "teams",
    "leagueId": "4328",
    "searchQuery": "Harry Kane",
    "season": "2024-2025",
    "maxItems": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("nimbryxo-studio/european-soccer-league-teams-players-and-results").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 '{
  "mode": "teams",
  "leagueId": "4328",
  "searchQuery": "Harry Kane",
  "season": "2024-2025",
  "maxItems": 20
}' |
apify call nimbryxo-studio/european-soccer-league-teams-players-and-results --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,nimbryxo-studio/european-soccer-league-teams-players-and-results"
        }
    }
}
```

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/bOf06lrZBrvLScmBg/builds/8aX3oYb7UO5hwgbAc/openapi.json
