history
View team history matches ⬜ 🟨 🟦 🟩
GET
https://api.soccerfootball.info/v1/teams/history/?i=ID
This endpoint returns with team data and its history matches.
With parameter w
you can define the time lapse "all" (from 2017 01 01), "1y" last year, "6m" last 6 months.
The parameter l
must be a language code getted from languages/list endpoint. Some elements such as championship and team names can be translated.
Format response can be "json" or "csv" (Default "json")
Query Parameters
t
string
Your API Token DIRECT API ONLY
f
string
Format response can be "json" or "csv" (default "json")
i
string
Team ID
w
string
When get time can be "all", "1y", "6m" (default value is "6m")
l
string
Language code (default value is "en_US")
Headers
X-RapidAPI-Key
string
Your API token RAPIDAPI ONLY
X-RapidAPI-Host
string
soccerfootballinfo.rapidapi.com RAPIDAPI ONLY
Example of code for direct API
Example of code for RapidAPI
Last updated
Was this helpful?