# Трансферы и рыночная стоимость футболистов РФ и СНГ (`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:** 1 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?

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

## 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.

### Usage statistics

This Actor creates a small, content-free summary at the end of each run. It is used only to monitor reliability and improve this Actor. A copy is saved as `USAGE_STATS` in your own Apify key-value store, so you can see the exact record created for your run.

Set `disableUsageStats` to `true` in the input to opt out. Nothing is sent then; your `USAGE_STATS` record only says that statistics were disabled.

Only these fields are recorded:

- schema version, Actor name and build number;
- UTC start and finish hour (not a precise timestamp);
- run duration, number of results and time to the first result, each as a coarse range;
- whether the result was empty, the end status, and an error type from a fixed list;
- memory setting and counts of charged events;
- names of the input fields you set, never their values;
- the selected option for input fields that offer a fixed list of choices (for example a sort order).

We do not collect input text, search terms, URLs, domains, usernames, email addresses, names, proxy credentials, tokens, scraped records, output items, raw error messages, stack traces, or hashes of any of those values. Records are kept for no longer than 13 months, used only as aggregated operational statistics, and never sold or shared.

#### Additional fields (Phase 2)

This Actor also records your Apify user ID, whether Apify marks the account as paying, the size range of list inputs, the selected country when the input offers a fixed list of countries, and one category from a fixed Actor taxonomy. We use these fields only for aggregate reliability, repeat-use and cross-Actor analysis; reports suppress any cell with fewer than five distinct users.

The same `disableUsageStats: true` input flag turns these fields off too. The user ID is removed after 13 months; we do not export, sell, share, or attempt to re-identify this data.

#### Run-outcome signals (v2)

To learn whether a run did what it was asked to do, the record also holds a few more coarse ranges and yes/no flags. None of them contains content:

- the result limit you asked for (a range, when the input has one) and what share of it was delivered;
- results delivered per input item you listed (a range);
- output quality as ranges: how fully the result fields were filled, the share of rows that look like errors, the share of duplicate rows, and how many different fields appeared. These are counted in memory while results are saved; no result content is kept;
- how the run was started (console, API, schedule, webhook, another Actor);
- how it ended: stopped by you, timed out, reached the requested limit, stopped by the charge limit, and how many times the platform moved the run;
- if this Actor reports it: how many items to process worked or failed (ranges) and one failure reason from a fixed list;
- a short code made from the names of the input fields you set, never their values.

#### Repeat-run fingerprint (v2)

When your Apify user ID is recorded (see above), the record also holds an 8-character one-way code made from your input (proxy settings left out) and this Actor's name. It only lets us see that the same account ran the same input again soon after an unsatisfying run; we never see the input itself. It is stored only in the database, never published, and reports use it in aggregate with the same five-user minimum. It is the one exception to the statement above that no hashes are collected, and `disableUsageStats: true` turns it off.

# 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.

## `disableUsageStats` (type: `boolean`):

See the README Usage statistics section for details.

## Actor input object example

```json
{
  "playerUrls": [
    "263918",
    "255450",
    "137206"
  ],
  "search": "Haaland",
  "rankings": false,
  "maxResults": 100,
  "includeMarketValueHistory": false,
  "proxyConfiguration": {
    "useApifyProxy": false
  },
  "disableUsageStats": 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/0da3tgxDefkO5Tx3L/openapi.json
