Skip to content
datasportsAPI

PlayersPlayer

Documentation

/

Type to filter the docs by title or path.

PlayersEndpoint 51 of 116

Player

GET

/v2/players/{id}

Plan
All plans
Auth
Bearer dsa_live_…
Parameters
1 required · 0 optional
Returns
Player

Returns a player’s profile — position plus detailed positions (goalkeeper, centreBack, leftWinger, striker, …; an empty array if the source gives none), team, nationality, physical attributes, market value, contract expiry and current injury (null when not injured).

01Parameters

  • idpathRequired

    DataSportsAPI 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}"

03Response

The top-level keys of the JSON body. Each object links to its full shape in the data reference.

data
Player
ObjectsPlayer
Example response
{ "data": { "id": 3759, "name": "Bukayo Saka", "slug": "bukayo-saka", "position": "forward",
    "positionCode": "F", "jerseyNumber": "7", "heightCm": 178, "dateOfBirth": "2001-09-05",
    "country": { "code": "EN", "name": "England" }, "marketValue": { "amount": 140000000, "currency": "EUR" },
    "contractUntil": "2027-06-30", "image": "https://cdn.datasportsapi.com/v2/players/3759/photo",
    "detailedPositions": ["rightWinger", "rightMidfielder"],
    "team": { "id": 3758, "name": "Arsenal", "slug": "arsenal", "shortName": "Arsenal", "code": "ARS", "image": "…" },
    "injury": { "description": "Hamstring Injury", "status": "doubtful", "since": "2026-10-18", "expectedReturn": null,
                "updatedAt": "2026-10-21T08:30:00.000Z" }, … } }

04Errors

Nothing specific to this endpoint: only the account-wide errors below apply.

Any key can also meet401unauthorized429rate_limited429quota_exceeded500internal_errorEvery error code