# Get a team's full transfer history (v1)

Returns the team's transfer history, 25 per page, with player, clubs, type, fee and date. A page past the end returns `data: null`.

- Platform: Sofascore
- Request: `GET https://api.toolzerhub.com/v1/sofascore/team/transfers/history`
- Auth: `x-api-key` header
- Cost: 1 credit per successful request. Failed requests are not billed.
- Page: https://docs.toolzerhub.com/reference/sofascore/teams/get-sports-team-transfer-history

| Parameter | In | Required | Type | Description |
| --- | --- | --- | --- | --- |
| `id` | query | yes | integer | Team id (homeTeam.id or awayTeam.id on an event). Tennis players, fighters and drivers are teams too. |
| `transfer_type` | query | no | string | Transfer type: all, transfer, loan, end-of-loan, end-of-career or draft. Default: all. |
| `page` | query | no | integer | Page number, from 1. hasNextPage says whether another page exists. Default: 1. |

## Example request

```bash
curl "https://api.toolzerhub.com/v1/sofascore/team/transfers/history?id=<id>" \
  -H "x-api-key: $TOOLZERHUB_API_KEY"
```

Success responses are wrapped as `{ "data": ... }`. Errors return `{ "error": { "code", "status", "message", "retryable", "details" } }`. See https://docs.toolzerhub.com/docs/responses-and-errors.
