view

View player with its data ⬜ 🟨 🟦 🟩

GET https://api.soccerfootball.info/v1/players/view/?i=ID

This endpoint returns with player data. If this entity has has_image to true, you can access/download the entity media; see te instruction inside FAQ. The parameter l must be a language code getted from languages/list endpoint. Some elements such as championship and team names can be translated

Query Parameters

Name
Type
Description

t

string

Your API Token DIRECT API ONLY

i

string

Player ID

l

string

Language code (default value is "en_US")

Headers

Name
Type
Description

X-RapidAPI-Key

string

Your API token RAPIDAPI ONLY

X-RapidAPI-Host

string

soccerfootballinfo.rapidapi.com RAPIDAPI ONLY

{
   "status":200,
   "errors":[],
   "pagination":[],
   "result":[
      {
         "id":"5fb9692a2e5a27c8",
         "name":"Zlatan Ibrahimovic",
         "country":"SE",
         "birth_date":"1981-10-03",
         "foot":"Both", // can be: Right, Left, Both or null
         "height":"196 cm",
         "has_image":false,
         "last_team":{
            "id":"5fda5fcad92584cd",
            "name":"AC Milan"
         },
         "trasfers":[
            {
               "team":{
                  "id":"5fda5fcad92584cd",
                  "name":"AC Milan"
               },
               "from":"2020-01-01 00:00:00",
               "to":null
            },
            ...
         ]
      }
   ]
}

Example of code for direct API

Example of code for RapidAPI

More example of code on rapidAPI

Last updated

Was this helpful?