# Transfermarkt Football Agency Directory Scraper (`jungle_synthesizer/transfermarkt-football-agency-directory-scraper`) Actor

Football agency directory from Transfermarkt: name, address, staff, licensing, and client roster. Email/phone/website included where the agency has published them publicly.

- **URL**: https://apify.com/jungle\_synthesizer/transfermarkt-football-agency-directory-scraper.md
- **Developed by:** [BowTiedRaccoon](https://apify.com/jungle_synthesizer) (community)
- **Categories:** Sports
- **Stats:** 2 total users, 1 monthly users, 57.7% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $8.00 / 1,000 record scrapeds

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/platform/actors/running/actors-in-store#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 Football Agency Directory Scraper

Build a directory of football player agencies from [Transfermarkt](https://www.transfermarkt.com): company identity, address, staff roster, licensing status, and the full list of players each agency represents — with email, phone, and website included on the agencies that have published them.

***

### What You Get

- **Identity**: agency name, street, ZIP/city, and country.
- **Contact**: phone, fax, email, website, and social links — on the agencies that have published them. Many haven't; pair with [website-contact-details-scraper](https://apify.com/jungle_synthesizer/website-contact-details-scraper) or [linkedin-bulk-email-finder](https://apify.com/jungle_synthesizer/linkedin-bulk-email-finder) to cover the rest.
- **Licensing**: whether the agency has at least one officially licensed agent.
- **Staff**: every listed employee, with role (e.g. Executive Director, Agent) and individual licensing status where shown.
- **Client roster**: every player the agency represents, with age, current club, contract expiry, and market value.
- Every field is flattened to plain strings/numbers/booleans for direct use in a spreadsheet or database.

***

### Who Uses This

- **Sports agencies and player representatives** — map the competitive landscape: who represents whom, and where.
- **Cold-outreach and business-development teams** — build a prospect list of football agencies, then chain into a contact-enrichment actor for the ones missing published details.
- **Journalists and analysts** — trace which agency represents a given roster of players, and how large each agency's book is.
- **Recruiters and scouts** — find the right agency contact for a client relationship.

***

### Input

Two ways to run it:

**1. Direct lookup** — you already know which agencies you want:

```json
{
    "agencyIds": ["12", "2048"],
    "maxItems": 10
}
```

**2. Full-directory enumeration** (default) — walks the agency directory from the start:

```json
{
    "maxItems": 50
}
```

| Field | Type | Default | Description |
|-------|------|---------|-------------|
| `agencyIds` | array | `[]` | Specific Transfermarkt agency IDs to fetch directly (the numeric tail of a `.../beraterfirma/berater/<id>` URL). Leave empty to enumerate the full agency directory instead. |
| `startId` | integer | `1` | Agency ID to begin full-directory enumeration from. Only used when `agencyIds` is empty. |
| `maxAgencyId` | integer | `30000` | Safety-cap ceiling for full-directory enumeration. The crawl stops on its own well before this cap once it runs into a long stretch of unassigned IDs — raise it only if you want to push further. |
| `maxItems` | integer | `10` | Maximum number of agency records to return. Keep this low for a test run — a full-directory run with no cap will walk the entire directory. |

Find an agency ID by opening its Transfermarkt profile — it's the number at the end of the URL (`.../beraterfirma/berater/2048` → `2048`).

***

### Output

```json
{
    "agency_id": "12",
    "agency_name": "PRO Profil GmbH",
    "profile_url": "https://www.transfermarkt.com/-/beraterfirma/berater/12",
    "street": "Hörder Burgstr. 18",
    "zip_location": "44263, Dortmund",
    "country": "Germany",
    "phone": "0231 9410920",
    "fax": null,
    "email": "info@proprofil.de",
    "website": "http://www.proprofil.de",
    "social_links": [],
    "is_licensed": true,
    "staff": ["Thomas Kroth | Executive Director | licensed", "Lukas Pfeifer"],
    "client_count": 25,
    "clients": ["Jonathan Burkardt | 26 | Eintracht Frankfurt | 2030 | €30.00m"],
    "scraped_at": "2026-08-11T13:29:59.315Z"
}
```

| Field | Type | Description |
|-------|------|-------------|
| `agency_id` | string | Transfermarkt agency ID. |
| `agency_name` | string | Agency (or individual agent) name. |
| `profile_url` | string | Canonical Transfermarkt profile URL. |
| `street` | string or null | Street address, when published. |
| `zip_location` | string or null | "ZIP, city" as shown on Transfermarkt, when published. |
| `country` | string or null | Registered country, when published. |
| `phone` | string or null | Phone number, when published. |
| `fax` | string or null | Fax number, when published. |
| `email` | string or null | Contact email, when published. |
| `website` | string or null | Agency website, when published. |
| `social_links` | array of strings | Social profile URLs, when published. |
| `is_licensed` | boolean | Whether at least one agent at the company is officially licensed. |
| `staff` | array of strings | Each entry is `"Name"`, `"Name \| Role"`, or `"Name \| Role \| licensed"` depending on what Transfermarkt shows for that person. |
| `client_count` | number | Number of players in `clients` — the agency's book size. |
| `clients` | array of strings | Each entry is `"Player \| Age \| Club \| Contract Until \| Market Value"`. |
| `scraped_at` | string | ISO-8601 timestamp of when the record was captured. |

A field reads `null` when Transfermarkt has not filled it in — not when the scraper failed to find it.

***

### Notes

- A full-directory run (no `agencyIds`, no `maxItems` cap) covers the whole directory in one pass.
- `client_count` always equals `clients.length` for that record.

# Actor input Schema

## `sp_intended_usage` (type: `string`):

What will this data feed? E.g. lead lists, KYB checks, price tracking.

## `sp_improvement_suggestions` (type: `string`):

Provide any feedback or suggestions for improvements.

## `sp_contact` (type: `string`):

We'll personally help with your use case. No spam.

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

Maximum number of records to scrape

## `agencyIds` (type: `array`):

Specific Transfermarkt agency IDs to fetch directly (the numeric tail of a .../beraterfirma/berater/<id> URL). Leave empty to enumerate the full agency directory instead.

## `startId` (type: `integer`):

Agency ID to begin full-directory enumeration from. Only used when Agency IDs is empty.

## `maxAgencyId` (type: `integer`):

Safety-cap ceiling for full-directory enumeration. The crawl stops on its own after a long run of consecutive misses, well before this cap; raise it only if Transfermarkt agency IDs have grown past the default.

## Actor input object example

```json
{
  "sp_intended_usage": "Describe your intended use...",
  "sp_improvement_suggestions": "Share your suggestions here...",
  "sp_contact": "Share your email here...",
  "maxItems": 10,
  "agencyIds": [],
  "startId": 1,
  "maxAgencyId": 30000
}
```

# Actor output Schema

## `results` (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 = {
    "sp_intended_usage": "Describe your intended use...",
    "sp_improvement_suggestions": "Share your suggestions here...",
    "sp_contact": "Share your email here...",
    "maxItems": 10,
    "agencyIds": [],
    "startId": 1,
    "maxAgencyId": 30000
};

// Run the Actor and wait for it to finish
const run = await client.actor("jungle_synthesizer/transfermarkt-football-agency-directory-scraper").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 = {
    "sp_intended_usage": "Describe your intended use...",
    "sp_improvement_suggestions": "Share your suggestions here...",
    "sp_contact": "Share your email here...",
    "maxItems": 10,
    "agencyIds": [],
    "startId": 1,
    "maxAgencyId": 30000,
}

# Run the Actor and wait for it to finish
run = client.actor("jungle_synthesizer/transfermarkt-football-agency-directory-scraper").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 '{
  "sp_intended_usage": "Describe your intended use...",
  "sp_improvement_suggestions": "Share your suggestions here...",
  "sp_contact": "Share your email here...",
  "maxItems": 10,
  "agencyIds": [],
  "startId": 1,
  "maxAgencyId": 30000
}' |
apify call jungle_synthesizer/transfermarkt-football-agency-directory-scraper --silent --output-dataset

```

## MCP server setup

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

```

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/d9dotE6eD38dKdFpL/builds/akPPWsYB8JGPgzpwR/openapi.json
