# Трансферы и рыночная стоимость футболистов РФ и СНГ (`bovi/transfermarkt-scraper-ru`) Actor

Данные Transfermarkt по игрокам сборной России и СНГ — рыночная стоимость, трансферная история, статистика по клубам. 25+ полей: клуб, позиция, возраст, контракт, агент. Без логина и прокси. Prefill игроков сборной (Головин, Миранчук, Оздоев) для CIS-аналитиков и fantasy-платформ.

- **URL**: https://apify.com/bovi/transfermarkt-scraper-ru.md
- **Developed by:** [Vitalii Bondarev](https://apify.com/bovi) (community)
- **Categories:** Sports, Business, AI
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.07 / 1,000 трансферы и рыночная стоимость футболистов рф и снг

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

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

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## transfermarkt-scraper-ru — Transfermarkt Scraper for Russian & CIS Football

Config-only clone of the existing Transfermarkt scraper. The scraping logic is unchanged.

### Purpose

This Apify actor `transfermarkt-scraper-ru` retrieves Transfermarkt player data for Russian and CIS football profiles. It collects identity, club, position, age, nationality, current and historical market value, contract, agent, transfer history, and club statistics. Transfer-history and market-value history may be optional depending on input. Built for CIS sports analytics and fantasy football use cases.

### Target audience

Developers, analysts, and product teams working with Russian and CIS football data who need structured player records from Transfermarkt without changing how the underlying scraper works.

### Input example

```json
{
  "playerUrls": ["263918", "255450", "137206"]
}
```

These IDs correspond to players verified against transfermarkt.com: Aleksandr Golovin (Transfermarkt player ID 263918), Aleksei Miranchuk (ID 255450), and Magomed Ozdoev (ID 137206).

### Output fields

Typical player records may include:

- Identity (name, Transfermarkt ID)
- Club
- Position
- Age
- Nationality
- Current market value
- Historical market value (optional)
- Contract details
- Agent
- Transfer history (optional)
- Club statistics

### Usage

1. Open the actor `transfermarkt-scraper-ru` on Apify.
2. Provide player identifiers in `playerUrls` (as in the input example above).
3. Run the actor and download the dataset of player records.

No changes to scraping logic are required or applied; configuration targets Russian/CIS-oriented player sets.

### Pricing

$3.00 per 1,000 player records.

### Data quality and responsible use

- Player examples above (Aleksandr Golovin, Aleksei Miranchuk, Magomed Ozdoev) are verified against transfermarkt.com.
- Respect Transfermarkt terms of service and applicable laws.
- Use scraped data responsibly; do not overload the source or republish bulk data without permission.
- Optional fields (transfer history, market-value history) may be empty when not available or not requested.

# Actor input Schema

## `playerUrls` (type: `array`):

Transfermarkt player profile URLs (e.g. https://www.transfermarkt.com/lionel-messi/profil/spieler/28003) or bare numeric player IDs (e.g. 28003). Each player profile is scraped with market-value peak and full transfer history.

## `clubUrls` (type: `array`):

Transfermarkt club squad URLs (e.g. https://www.transfermarkt.com/fc-barcelona/kader/verein/131) or bare numeric club IDs (e.g. 131). Each squad player becomes one record (name, position, market value, age, nationality).

## `leagueCodes` (type: `array`):

Whole-league scraping. Paste competition codes (GB1 = Premier League, ES1 = LaLiga, IT1 = Serie A, L1 = Bundesliga, FR1 = Ligue 1, MLS1 = MLS) or full competition URLs (e.g. https://www.transfermarkt.com/premier-league/startseite/wettbewerb/GB1). Every member club's full squad is scraped, capped by Max Results across the whole league.

## `search` (type: `string`):

Free-text player name search (e.g. 'Haaland', 'Mbappe', 'Bellingham'). Top matching players are resolved to full profiles — market value, transfers, contract. Use instead of playerUrls when you know a name but not the ID.

## `rankings` (type: `boolean`):

If enabled, scrape Transfermarkt's most-valuable-players ranking (paginated, 25 per page) up to Max Results. Great for a market overview of the top-valued footballers.

## `maxResults` (type: `integer`):

Maximum player records per club / league / rankings / search request. Default 100. Player-URL mode ignores this (one record per URL).

## `includeMarketValueHistory` (type: `boolean`):

Profile mode (playerUrls / search) only. Attaches each player's complete market-value history (every dated valuation + club) as market\_value\_history. Adds payload size; off by default.

## `proxyConfiguration` (type: `object`):

Optional Apify Proxy. Moderate volumes work proxy-free (curl\_cffi chrome impersonation retrieves Transfermarkt without a Cloudflare challenge). For high-volume runs, enable Apify RESIDENTIAL to avoid 429 rate limits. Billed to the run owner; no external proxy account needed.

## Actor input object example

```json
{
  "playerUrls": [
    "263918",
    "255450",
    "137206"
  ],
  "search": "Haaland",
  "rankings": false,
  "maxResults": 100,
  "includeMarketValueHistory": false,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

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

Dataset containing Transfermarkt Scraper records (name, current\_club, league, position, age, nationality, market\_value\_str, market\_value\_peak\_str, contract\_until, profile\_url, parse\_confidence, scraped\_at).

# 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 = {
    "playerUrls": [
        "263918",
        "255450",
        "137206"
    ],
    "search": "Haaland",
    "maxResults": 100,
    "proxyConfiguration": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("bovi/transfermarkt-scraper-ru").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 = {
    "playerUrls": [
        "263918",
        "255450",
        "137206",
    ],
    "search": "Haaland",
    "maxResults": 100,
    "proxyConfiguration": { "useApifyProxy": False },
}

# Run the Actor and wait for it to finish
run = client.actor("bovi/transfermarkt-scraper-ru").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 '{
  "playerUrls": [
    "263918",
    "255450",
    "137206"
  ],
  "search": "Haaland",
  "maxResults": 100,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}' |
apify call bovi/transfermarkt-scraper-ru --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,bovi/transfermarkt-scraper-ru"
        }
    }
}

```

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/vsriMMYbNXsknklhl/builds/70UAqxwXfhXgawRk3/openapi.json
