API-FOOTBALL.COM

api news

feminine division 1
Hi everyone,

We just added 3 seasons of the French Feminine Division 1 to our api. (2016 to 2019).

Have a lovely day everybody !
COACHS & PLAYERS
Good news !

We have just added the endpoint "Players" which allows you to recover the coachs and the players of a team according to the season and the id of the team.

Php Request example
$response = Unirest\Request::get("https://api-football-v1.p.rapidapi.com/players/2018/33",
   array(
      "X-RapidAPI-Key" => "XXXXXXXXXXXXXXXXXXXXXXXXX",
      "Accept" => "application/json"
   )
);

Response body 200 / JSON
{
  "api": {
    "results": 28,
    "coachs": [
      "Jose Mourinho"
    ],
    "players": [
      {
        "number": "",
        "player": "David De Gea"
      },
      {
        "number": "",
        "player": "Victor Nilsson-Lindelof"
      },
      {
        "number": "",
        "player": "Chris Smalling"
      },
      {
        "number": "",
        "player": "Ashley Young"
      },
      {
        "number": "",
        "player": "Matteo Darmian"
      },
      {
        "number": "",
        "player": "Paul Pogba"
      },
      {
        "number": "",
        "player": "Juan Mata"
      },
      {
        "number": "",
        "player": "Anthony Martial"
      },
      {
        "number": "",
        "player": "Jesse Lingard"
      },
      {
        "number": "",
        "player": "Nemanja Matic"
      },
      {
        "number": "",
        "player": "Romelu Lukaku"
      },
      {
        "number": "",
        "player": "Phil Jones"
      },
      {
        "number": "",
        "player": "Alexis Sanchez"
      },
      {
        "number": "",
        "player": "Marcus Rashford"
      },
      {
        "number": "",
        "player": "Lee Grant"
      },
      {
        "number": "",
        "player": "Fred"
      },
      {
        "number": "",
        "player": "Antonio Valencia"
      },
      {
        "number": "",
        "player": "Marouane Fellaini"
      },
      {
        "number": "",
        "player": "Luke Shaw"
      },
      {
        "number": "",
        "player": "Eric Bailly"
      },
      {
        "number": "",
        "player": "Andreas Pereira"
      },
      {
        "number": "",
        "player": "Sergio Romero"
      },
      {
        "number": "",
        "player": "Scott McTominay"
      },
      {
        "number": "39",
        "player": "Scott Mctominay"
      },
      {
        "number": "21",
        "player": "Ander Herrera"
      },
      {
        "number": "5",
        "player": "Faustino Marcos Alberto Rojo"
      },
      {
        "number": "20",
        "player": "Diogo Dalot"
      }
    ]
  }
}
DFB POKAL
The DFB POKAL is now available in our API.
  • Season 2018
  • Season 2017
  • Season 2016
Hope you like it !
USA MLS
The USA Major Soccer League is available in the API.
  • Season 2018
  • Season 2017
  • Season 2016
Enjoy !
ASIAN CUP
Whe add just add the Asian Cup into the API.
  • Asian Cup UAE 2019
  • Asian Cup Australia 2015
  • Asian Cup Qatar 2011
LINE UPS
Good New Line Ups are available,
  • Formation
  • Coach
  • Start XI
  • Substitutes
Php Request example
$response = Unirest\Request::get("https://api-football-v1.p.rapidapi.com/lineups/{fixture_id}",
  array(
    "X-RapidAPI-Key" => "XXXXXXXXXXXXXXXXXXXXXXXXX",
    "Accept" => "application/json"
  )
);

Response body 200 / JSON
{
  "api": {
    "results": 2,
    "lineUps": {
      "germany": {
        "formation": "3-4-3",
        "coach": "Joachim Loew",
        "startXI": [
          {
            "number": "",
            "player": "Manuel Neuer"
          },
          {
            "number": "",
            "player": "Mats Hummels"
          },
          {
            "number": "",
            "player": "Niklas Suele"
          },
          {
            "number": "",
            "player": "Antonio Rudiger"
          },
          {
            "number": "",
            "player": "Thilo Kehrer"
          },
          {
            "number": "",
            "player": "Toni Kroos"
          },
          {
            "number": "",
            "player": "Nico Schulz"
          },
          {
            "number": "",
            "player": "Joshua Kimmich"
          },
          {
            "number": "",
            "player": "Timo Werner"
          },
          {
            "number": "",
            "player": "Leroy Sane"
          },
          {
            "number": "",
            "player": "Serge Gnabry"
          }
        ],
        "substitutes": [
          {
            "number": "",
            "player": "Jonas Hector"
          },
          {
            "number": "",
            "player": "Matthias Ginter"
          },
          {
            "number": "",
            "player": "Leon Goretzka"
          },
          {
            "number": "",
            "player": "Julian Brandt"
          },
          {
            "number": "",
            "player": "Marco Reus"
          },
          {
            "number": "",
            "player": "Bernd Leno"
          },
          {
            "number": "",
            "player": "Thomas Mueller"
          }
        ]
      },
      "netherlands": {
        "formation": "4-3-3",
        "coach": "Ronald Koeman",
        "startXI": [
          {
            "number": "1",
            "player": "Jasper Cillessen"
          },
          {
            "number": "",
            "player": "Kenny Tete"
          },
          {
            "number": "",
            "player": "Matthijs De Ligt"
          },
          {
            "number": "",
            "player": "Virgil Van Dijk"
          },
          {
            "number": "5",
            "player": "Daley Blind"
          },
          {
            "number": "",
            "player": "Marten De Roon"
          },
          {
            "number": "",
            "player": "Frenkie De Jong"
          },
          {
            "number": "20",
            "player": "Georginio Wijnaldum"
          },
          {
            "number": "",
            "player": "Quincy Promes"
          },
          {
            "number": "21",
            "player": "Memphis Depay"
          },
          {
            "number": "",
            "player": "Ryan Babel"
          }
        ],
        "substitutes": [
          {
            "number": "",
            "player": "Denzel Dumfries"
          },
          {
            "number": "",
            "player": "Jeroen Zoet"
          },
          {
            "number": "3",
            "player": "Stefan De Vrij"
          },
          {
            "number": "",
            "player": "Nathan Ake"
          },
          {
            "number": "17",
            "player": "Kevin Strootman"
          },
          {
            "number": "",
            "player": "Donny Van De Beek"
          },
          {
            "number": "",
            "player": "Pablo Paulino Rosario"
          }
        ]
      }
    }
  }
}
Africa Cup Of Nations
Hi everyone,
We have add the Africa Cup Of Nations in the API
  • Cameroon 2019
  • Gabon 2017
  • Equitorial Guinea 2015
NPL - Primera B - Druga HNL
Hi everyone,
We have add in the API :
  • Australia National Premier Leagues
  • Colombia Primera B
  • Croatia Druga HNL
Have a good day :-)
2e Klasse - Erste Liga - League One - B PFG
We have just add theses four new leagues in our API.
  • Belgium 2e Klasse
  • Austria Erste Liga
  • China League One
  • Bulgaria B PFG
SCOTLAND CHAMPIONSHIP
Scotland Championship is available, we have just add three seasons.
SEASONS :
  • 2018-2019
  • 2017-2018
  • 2016-2017