# Get transfer history with fees for top clubs

**Use case:** 

The latest arrivals and departures with transfer fees and dates for Real Madrid, Manchester City and Barcelona, from Flashscore. Replace the club names with any team.

## Input

```json
{
  "teamUrls": [
    "https://www.flashscore.com/team/arsenal/hA1Zm19f/",
    "https://www.flashscore.com/team/los-angeles-lakers/ngegZ8bg/"
  ],
  "playerUrls": [
    "https://www.flashscore.com/player/saka-bukayo/08NLEo06/"
  ],
  "searchQueries": [
    "Real Madrid",
    "Manchester City",
    "Barcelona"
  ],
  "searchSport": "football",
  "teamSections": [
    "transfers"
  ],
  "maxResultsPerTeam": 50,
  "maxTransfersPerTeam": 100,
  "squadPerCompetition": false,
  "scrapeSquadPlayers": false,
  "playerSections": [
    "profile",
    "career",
    "lastMatches",
    "transfers",
    "injuries"
  ],
  "maxItems": 10000,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

## Output

```json
{
  "date": {
    "label": "Date",
    "format": "string"
  },
  "player": {
    "label": "Player",
    "format": "string"
  },
  "nationality": {
    "label": "Nationality",
    "format": "string"
  },
  "direction": {
    "label": "In/out",
    "format": "string"
  },
  "fromTeam": {
    "label": "From",
    "format": "string"
  },
  "toTeam": {
    "label": "To",
    "format": "string"
  },
  "transferType": {
    "label": "Type",
    "format": "string"
  },
  "fee": {
    "label": "Fee",
    "format": "string"
  },
  "feeAmount": {
    "label": "Fee amount",
    "format": "number"
  },
  "source": {
    "label": "Source",
    "format": "string"
  },
  "playerUrl": {
    "label": "URL",
    "format": "string"
  }
}
```

## About this Actor

This example demonstrates how to use [Flashscore Teams & Players: Squads, Transfers](https://apify.com/incognito_mode/flashscore-team-player-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/incognito_mode/flashscore-team-player-scraper.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

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 full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/incognito_mode/flashscore-team-player-scraper.md

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`).
