About API
SoFIFA offers standard REST APIs for our partners. Requests are sent with URLs; responses will be returned in JSON format.
Our data is not 100% compatible with the official FIFA game data structure because we organize it using a custom structure.
Leagues
Get all leagues appears in FIFA history (including clubs from rest of world)
Teams
Get all teams for specific roster
GET https://api.sofifa.net/teams/{roster}
Parameter Type Required Description roster string YES The roster ID, which SoFIFA defines, can be found on the version select dropdown
Get latest details and the squads of a team
GET https://api.sofifa.net/team/{id}
Parameter Type Required Description id int YES The team ID from the official game release
Get details and the squads of a team for a specific roster
GET https://api.sofifa.net/team/{id}/{roster}
Parameter Type Required Description id int YES The team ID from the official game release roster string YES The roster ID, which SoFIFA defines, can be found on the version select dropdown
Players
Get latest details of a player
GET https://api.sofifa.net/player/{id}
Parameter Type Required Description id int YES The player ID from the official game release
Get details of a player for specific roster
GET https://api.sofifa.net/player/{id}/{roster}
Parameter Type Required Description id int YES The player ID from the official game release roster string YES The roster ID, which SoFIFA defines, can be found on the version select dropdown.
Traits
Get names of traits
GET https://api.sofifa.net/traits/{version}
Parameter Type Required Description version string YES Available values from 07 to 23
PlayStyles
Get names of PlayStyles
GET https://api.sofifa.net/playStyles/{version}
Parameter Type Required Description version string YES Available value: 24
Get names of PlayStyles+
GET https://api.sofifa.net/playStylesPlus/{version}
Parameter Type Required Description version string YES Available value: 24
Specialities
Get names of specialities
GET https://api.sofifa.net/specialities/{version}
Parameter Type Required Description version string YES Available values from 07 to 24