transfermarkt_id, wyscout_id, or squadassist_id in the request body. The response returns the player’s SquadAssist ID alongside basic profile data, which you can then pass to other endpoints such as GET /player_info.
Authentication
All requests must include a valid API key, either as anx-api-key header or as a Bearer token in the Authorization header.
Request
The request body must be a JSON object containing at least one of the following fields.The player’s Transfermarkt ID. Must be a positive integer no greater than 10^12.
The player’s Wyscout ID. Must be a positive integer no greater than 10^12.
The player’s SquadAssist internal ID. If provided, it must be a valid SquadAssist ID string.
At least one of
transfermarkt_id, wyscout_id, or squadassist_id must be present in the request body. Requests that omit all three fields return a 400 error.Response
The SquadAssist internal player ID. Use this value in other API endpoints.
The player’s Transfermarkt ID, or
null if not linked.The player’s Wyscout ID, or
null if not linked.The player’s full name as used in SquadAssist.
The player’s first name.
The player’s last name.
An alternative name or nickname, if available. Otherwise
null.The player’s nationality.
The player’s date of birth in
YYYY-MM-DD format, or null if unavailable.The player’s height in centimetres, or
null if unavailable.The player’s preferred foot (e.g.,
"Right", "Left", "Both"), or null if unknown.Errors
| Status | Description |
|---|---|
400 | Invalid ID format, all ID fields omitted, or request body is not a JSON object. |
403 | Player exists but is not yet ready or is not accessible under your account. |
404 | No player found matching the supplied IDs. |
Example
Response
