PlayersEndpoint 52 of 116
Player transfers
GET
https://api.datasportsapi.com/
- Plan
- All plans
- Auth
Bearer dsa_live_…- Parameters
- 1 required · 0 optional
- Returns
Transfer[]
Every move in the player’s career, most recent first, returned as the same Transfer objects that team transfer lists use.
Worth knowing
Returns an empty array if the source records no moves.
01Parameters
idpathRequiredDataSportsAPI player id, a positive integer
02Request
The same call from the command line and each SDK. The SDK lines assume a client created with your key; left out, it is read from DATASPORTSAPI_API_KEY. Installing a client: SDKs & CLI.
curl -H "Authorization: Bearer dsa_live_…" \
"https://api.datasportsapi.com/v2/players/{id}/transfers"03Response
The top-level keys of the JSON body. Each object links to its full shape in the data reference.
dataTransfer[]meta- count
ObjectsTransfer
Example response
5 lines
{ "data": [ { "player": { "id": 3801, "name": "Erling Haaland", … }, "type": "transfer", "date": "2022-07-01",
"from": { "name": "Borussia Dortmund", … }, "fromName": "Borussia Dortmund",
"to": { "name": "Manchester City", … }, "toName": "Manchester City",
"fee": { "amount": 60000000, "currency": "EUR" }, "freeTransfer": false, "draft": null }, … ],
"meta": { "count": 5 } }04Errors
Nothing specific to this endpoint: only the account-wide errors below apply.
Any key can also meet401
unauthorized429rate_limited429quota_exceeded500internal_errorEvery error code