day full

View all matches of a specific day with full data 🟨 ⬜ 🟦 🟩

GET https://api.soccerfootball.info/v1/matches/day/full/?d=DATE

This endpoint returns with all matches of as specific day with full data The parameter d must be a valid date format in ISO without separator eg. 20201225 (25 December 2020) 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 This endpoint is paginated only for present and future days with your subscribe page number, so the parameter p works only in this case. Format CSV is MS excel compatible mode (double click open without data import!)

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..."

Query Parameters

NameTypeDescription

t

string

Your API Token DIRECT API ONLY

d

string

Date ISO format without separator

p

string

Page number (default value is "1")

l

string

Language code (default value is "en_US")

f

string

Format response can be "json" or "csv" (default "json")

Headers

NameTypeDescription

X-RapidAPI-Key

string

Your API token RAPIDAPI ONLY

X-RapidAPI-Host

string

soccerfootballinfo.rapidapi.com RAPIDAPI ONLY

{
   "status":200,
   "errors":[],
   "pagination":[ // present only if d is today or a future days
      {
         "page":1, // current page
         "per_page":100, // items per page
         "items":54 // number of items
      }
   ],
   "result":[
      {
         "id":"5fb9682ab4fbd853",
         "date":"2020-01-02 08:06:10",
         "status":"ENDED", // can be: IN_PLAY, BREAK, ENDED, CANCELLED, POSTPONE AND NOT_STARTED
         "timer":"90:00", // match timer if is in extra time there is +minute eg. 90:00+01:00
         "championship":{
            "id":"5fda5fab10354812",
            "name":"India Bangalore Super Division",
            "s_name": "India Bangalore Super Division 20" // seson name
         },
         "teamA":{
            "id":"5fda6013de647f33",
            "name":"Bangalore Dream United FC",
            "score":{
               "f":"1", // final score
               "1h":"0", // 1 half
               "2h":"1", // 2 half
               "o":null, // overtime 
               "p":null // penalties
            },
            "perf":{ // only in present and future match
                "l_5_matches" : "WLWLW", // last 5 match performance (from left to right)
                "avg_game_goals" : "2.5",
                "avg_goals_scored" : "1.5",
                "avg_goals_conceded" : "0.5",
                "o_1_5_team" : "50", // percent of over 1.5 by team in last 5 matches
                "btts" : "60", // percent of btts
                "o_0_5_game" : "100", // percent of over 0.5 by game in last 5 matches
                "o_1_5_game" : "100", // percent of over 1.5 by game in last 5 matches
                "o_2_5_game" : "100", // percent of over 2.5 by game in last 5 matches
                "o_3_5_game" : "100", // percent of over 3.5 by game in last 5 matches
                "tot_goals_scored" : "10", // total goals scored in last 5 matches
                "goals_scored_0_15": ["0","0"], // goals scored between 0 and 15 minute in last 5 matches format [NUMBER_GOAL ; PERCENT_OF_TOTAL]
                "goals_scored_16_30": ["1","10"], // goals scored between 16 and 30 minute in last 5 matches format [NUMBER_GOAL ; PERCENT_OF_TOTAL]
                "goals_scored_31_45": ["1","10"], // goals scored between 31 and end first half minute in last 5 matches format [NUMBER_GOAL ; PERCENT_OF_TOTAL]
                "goals_scored_46_60": ["1","10"], // goals scored between 46 and 60 minute in last 5 matches format [NUMBER_GOAL ; PERCENT_OF_TOTAL]
                "goals_scored_61_75": ["5","50"], // goals scored between 61 and 75 minute in last 5 matches format [NUMBER_GOAL ; PERCENT_OF_TOTAL]
                "goals_scored_76_90": ["2","20"], // goals scored between 76 and end second half in last 5 matches format [NUMBER_GOAL ; PERCENT_OF_TOTAL]
                "tot_goals_conceded": "10", // total goals conceded in last 5 matches
                "goals_conceded_0_15": ["0","0"], // goals conceded between 0 and 15 minute in last 5 matches format [NUMBER_GOAL ; PERCENT_OF_TOTAL]
                "goals_conceded_16_30": ["1","10"], // goals conceded between 16 and 30 minute in last 5 matches format [NUMBER_GOAL ; PERCENT_OF_TOTAL]
                "goals_conceded_31_45": ["1","10"], // goals conceded between 31 and end first half minute in last 5 matches format [NUMBER_GOAL ; PERCENT_OF_TOTAL]
                "goals_conceded_46_60": ["1","10"], // goals conceded between 46 and 60 minute in last 5 matches format [NUMBER_GOAL ; PERCENT_OF_TOTAL]
                "goals_conceded_61_75": ["5","50"], // goals conceded between 61 and 75 minute in last 5 matches format [NUMBER_GOAL ; PERCENT_OF_TOTAL]
                "goals_conceded_76_90": ["2","20"] // goals conceded between 76 and end second half in last 5 matches format [NUMBER_GOAL ; PERCENT_OF_TOTAL]
            },
            "position" : "1", // position in championship (if)
            "stats":{
               "possession":"40",
               "attacks":{
                  "n":"125", // normal
                  "d":"83", // dangerous
                  "o_s":"5" // off side
               },
               "shoots":{
                  "t":"3", // total
                  "off":"2", // off target shot
                  "on":"1", // on target shot
                  "g_a":"2" // goal attemps
               },
               "penalties":"0",
               "corners":{
                  "t":"4", // total
                  "f":"4",// final 
                  "h":"2" // 1 half
               },
               "fouls":{
                  "t":null, // total fouls
                  "y_c":"0", // yellow card
                  "y_t_r_c":null, // yellow to red card
                  "r_c":"0"  // red card
               },
               "substitutions":"2",
               "throwins":null,
               "injuries":null,
               "dominance_avg_2_5": "10.10", // average of last 2.5 minutes of dominance index
                "xG" : {
                 "kickoff" : "1.02", // Expected goal at kickoff
                 "live" : "0.88" // Current expected goal
               }
            },
            "manager":{
               "id":"5fb962e92066c1b6",
               "name":"Gama"
            }
         },
         "teamB":{
            // same as teamA
         },
         "events":[
            {
               "type":"goal", // can be: corner, goal, yellow_card, red_card, substitution, penalty_score, penalty_miss, penalty_ot_score, penalty_ot_miss
               "timer":"90+1", // event time if + it's overtime or null if is in penalties
               "team":"B" // ref team A or B
            },
            ...
         ],
          "dominance_index": [
            {
                "timer":"00:00", // timer of dominance index
                "teamA":"5",
                "teamB":"5"
             },
             ...
         ],
         "referee":{ // or null
            "id":"5fb96963d60bb8bc",
            "name":"Jesus Gil Manzano"
         },
         "stadium":{
            "id":"5fb96978c6a5b482",
            "name":"Estadio dos Arcos"
         },
         "odds":{
            "starting" : {
               "1X2" :{
                  "bet365":{
                     "1":"1.364",
                     "2":"6.500",
                     "X":"5.000"
                  },
                  "unibet":{
                     "1":"1.3",
                     "2":"8.5",
                     "X":"5"
                  }
               },
               "over_under" : {
                  "bet365":{
                     "o":"1.925",
                     "u":"1.875",
                     "v":"3"
                  },
                  "unibet":{
                     "o":"2.33",
                     "u":"1.55",
                     "v":"3.5"
                  }
               },
               "asian_handicap":{
                  "bet365":{
                     "1":"1.775",
                     "2":"2.025",
                     "v":"0.0,-0.5"
                  },
                  "unibet":{
                     "1":"2",
                     "2":"1.74",
                     "v":"-1.5"
                  }
               }
            },
            "kickoff":{
               "1X2":{
                  "bet365":{
                     "1":"1.364",
                     "2":"6.500",
                     "X":"5.000"
                  },
                  "unibet":{
                     "1":"1.3",
                     "2":"8.5",
                     "X":"5"
                  }
               },
               "asian_handicap":{
                  "bet365":{
                     "1":"1.950",
                     "2":"1.850",
                     "v":"-1.5"
                  },
                  "unibet":{
                     "1":"2",
                     "2":"1.74",
                     "v":"-1.5"
                  }
               },
               "over_under":{
                  "bet365":{
                     "o":"1.925",
                     "u":"1.875",
                     "v":"3"
                  },
                  "unibet":{
                     "o":"2.33",
                     "u":"1.55",
                     "v":"3.5"
                  }
               },
               "1h_asian_handicap":{
                  "bet365":{
                     "1":"1.825",
                     "2":"1.975",
                     "v":"-0.5"
                  }
               },
               "1h_goalline":{
                  "bet365":{
                     "o":"1.975",
                     "u":"1.825",
                     "v":"1.0,1.5"
                  }
               },
               "1h_asian_corner":{
                  "bet365":{
                     "o":"1.925",
                     "u":"1.875",
                     "v":"5"
                  }
               },
               "1h_result":{
                  "bet365":{
                     "1":"1.800",
                     "2":"6.000",
                     "X":"2.600"
                  }
               }
            }
         },
         "bet365_url" : "https://www.bet365.EXT/#/AC/B1/C1/D8/E128998076/F3"
      },
      ...
   ]
}

Example of code for direct API

$url = 'https://api.soccerfootball.info/v1/matches/day/full/?t=TOKEN&d=DATE';

$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;
}

Example of code for RapidAPI

$url = 'https://soccer-football-info.p.rapidapi.com/matches/day/full/?d=DATE';

$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;
}

More example of code on rapidAPI

Last updated