match today

get
https://api.soccerfootball.info
/v1/emulation/totalcorner/match/today/
View all live matches with totalcorner schema ⬜ 🟨 🟦 🟩
This endpoint returns with all live matches with totalcorner schema The parameters l must be a language code getted from languages/list endpoint. Some elements such as championship and team names can be translated Different between totalcorner version: ➡️ The database is different. More up-to-date and accurate to the second. ➡️ Over and under quote of goalline under ou_odds value. The goal line value remains at the first place of i_goal to ensure compatibility with the original schema. (over under bet) ➡️No esports event. Only real football. ➡️ Fix some not working column Id is alphanumeric not numeric ➡️ Add some data like team performance WWLLLD (Win Loss Draw) (from left to right) ➡️ "est_e" value that indicate estimate extra_time ("0" as default) ➡️Translated team name and championship name with bet365 translation ref (param l ) ➡️ Trend stats 15 minute and 5 minute! ➡️ Advance stats: avg goal in past match, over under percent, btts percent ecc.. see response ➡️ Dropping odd counter (How many times does a quota dropping) ➡️ Don't need to use a long url eg. &type=inplay&columns=events,odds,asian ecc all data will be always sent. No performance problem ➡️Use this call due statistics use ? with o param to "yes" can get all matches that are in overtime (totalcorner main call don't show it, default value to "no" ➡️Dominance index ➡️ Add bet365_url that contains bet365 url match. Please note, this is the link pointing to the match. After kickoff, the link may change but bet365 should send you back to the updated link. You have to replace .EXT with your needed extension ".com, .it etc..." Why? Because of our customers have written software/bots and applications based on the totalcorner scheme. Changing APIs would mean rewriting everything. This way our customers can access our data, and not change their software!
Parameters
Query
t
string
Your API Token DIRECT API ONLY
o
string
Show overtime matches yes or no (default value is "no")
l
string
Language code (default value is "en_US")
Header
X-RapidAPI-Key
string
Your API token RAPIDAPI ONLY
X-RapidAPI-Host
string
soccerfootballinfo.rapidapi.com RAPIDAPI ONLY
Responses
200
Success response
How to see API call details
How to see API call details
478KB
Image

Example of code for direct API

PHP
Javascript
NodeJS
Phyton
cURL
GO
$url = 'https://api.soccerfootball.info/v1/emulation/totalcorner/match/today/';
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => $url,
CURLOPT_PROXY => null,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_CUSTOMREQUEST => "GET"
));
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if (!$err) {
$result = json_decode($response);
print_r($result);
} else {
echo "cURL Error:" . $err;
}
fetch("https://api.soccerfootball.info/v1/emulation/totalcorner/match/today/", {
"method": "GET"
})
.then(response => {
console.log(response);
})
.catch(err => {
console.error(err);
});
const request = require('request');
const options = {
method: 'GET',
url: 'https://api.soccerfootball.info/v1/emulation/totalcorner/match/today/'
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
import requests
url = "https://api.soccerfootball.info/v1/emulation/totalcorner/match/today/"
response = requests.get(url).json()
print(response)
curl --request GET \
--url 'https://api.soccerfootball.info/v1/emulation/totalcorner/match/today/'
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://api.soccerfootball.info/v1/emulation/totalcorner/match/today/"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := ioutil.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}

Example of code for RapidAPI

PHP
Javascript
NodeJS
Phyton
cURL
GO
$url = 'https://soccer-football-info.p.rapidapi.com/emulation/totalcorner/match/today/';
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => $url,
CURLOPT_PROXY => null,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-RapidAPI-Host: soccer-football-info.p.rapidapi.com",
"X-RapidAPI-Key: TOKEN"
],
));
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if (!$err) {
$result = json_decode($response);
print_r($result);
} else {
echo "cURL Error:" . $err;
}
fetch("https://soccer-football-info.p.rapidapi.com/emulation/totalcorner/match/today/", {
"method": "GET",
"headers": {
"X-RapidAPI-Key": "TOKEN",
"X-RapidAPI-Host": "soccer-football-info.p.rapidapi.com"
}
})
.then(response => {
console.log(response);
})
.catch(err => {
console.error(err);
});
const request = require('request');
const options = {
method: 'GET',
url: "https://soccer-football-info.p.rapidapi.com/emulation/totalcorner/match/today/",
headers: {
"X-RapidAPI-Key": "TOKEN",
"X-RapidAPI-Host": "soccer-football-info.p.rapidapi.com"
useQueryString: true
}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});
import requests
url = "https://soccer-football-info.p.rapidapi.com/emulation/totalcorner/match/today/"
headers = {
"X-RapidAPI-Key": "TOKEN",
"X-RapidAPI-Host": "soccer-football-info.p.rapidapi.com"
}
response = requests.request("GET", url, headers=headers)
print(response.text)
curl --request GET \
--url https://soccer-football-info.p.rapidapi.com/emulation/totalcorner/match/today/ \
--header 'X-RapidAPI-Host: soccer-football-info.p.rapidapi.com' \
--header 'X-RapidAPI-Key: TOKEN'
package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://soccer-football-info.p.rapidapi.com/emulation/totalcorner/match/today/"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-RapidAPI-Key", "TOKEN")
req.Header.Add("X-RapidAPI-Host", "soccer-football-info.p.rapidapi.com")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := ioutil.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
More example of code on rapidAPI