Google Sports API Documentation
Retrieve the sports results Google shows for a team, league or game: a team's or league's recent and upcoming games with scores, venues and UTC start times, the league standings with each team's rank and stats, or the details of a single game.
Pass the kgmid of a team, league or game, and choose the games or standings tab.
Games grouped under round headings, such as a league's matchdays, are returned in game_groups; other games are returned in games. Each game, team and league carries its own kgmid for a follow-up request, and each season in standings.seasons its kgmid to pass as season for that season's standings.
When Google shows no sports results for the kgmid and tab, the response carries an error instead.
API Parameters
Search Query
-
- Name
-
kgmid - Required
- Required
- Description
-
The Knowledge Graph identifier (kgmid) of a team, league or game, starting with
/m/or/g/. For example,/m/06l22is Real Madrid,/m/02_tcis the Premier League, and/g/11zg365shsis one Premier League game. A team or league kgmid is its Freebase ID or Google Knowledge Graph ID on Wikidata. Thekgmidof each game and team and theleague_kgmidin the response can be passed as thekgmidof a new request.
Tab
-
- Name
-
tab - Required
- Optional
- Description
-
The tab of a team or league page to return. Available options:
games(default): recent results and upcoming games.standings: the league table with each team's rank and stats.
tab=standingswithoutseasoncan end in a 503 error andtab=gamescan return only the few games on the team's or league's page.
-
- Name
-
season - Required
- Optional
- Description
-
The season of the standings to return, for
tab=standings. Pass thekgmidof a season listed instandings.seasonsof thiskgmid's standings, such as/g/11vs_26ffmfor the Premier League 2024-25 season. Defaults to the current season. A season of another league returns anerrorinstead ofsports_results. An id Google cannot answer ends in a 503 error.
Localization
-
- Name
-
gl - Required
- Optional
- Description
-
The default parameter
usdefines the country of the search. Check the full list of supported Googleglcountries.
-
- Name
-
hl - Required
- Optional
- Description
-
The default parameter
endefines the interface language of the search, used for league names, dates, times and game statuses. Check the full list of supported Googlehllanguages.
Engine
-
- Name
-
engine - Required
- Required
- Description
-
Parameter defines an engine that will be used to retrieve real-time data. It must be set to
google_sports.
API key
-
- Name
-
api_key - Required
- Required
- Description
-
The
api_keyauthenticates your requests. Use it as a query parameter (https://www.searchapi.io/api/v1/search?api_key=YOUR_API_KEY) or in the Authorization header (Bearer YOUR_API_KEY).
Zero Data Retention
-
- Name
-
zero_retention - Enterprise Only
- Enterprise Only
- Required
- Optional
- Description
-
Set this parameter to
trueto disable all logging and persistent storage. No request parameters, HTML, or JSON responses are stored or logged. Suitable for high-compliance use cases. Debugging and support may be limited while enabled.
API Examples
Team Games
https://www.searchapi.io/api/v1/search?engine=google_sports&kgmid=%2Fm%2F06l22
- Python
- Node
- Ruby
- Java
- Go
- PHP
- Bash
- R
- Kotlin
- Swift
- C#
- C
- C++
- requests
import requests
url = "https://www.searchapi.io/api/v1/search"
params = {
"engine": "google_sports",
"kgmid": "/m/06l22"
}
response = requests.get(url, params=params)
print(response.text)
{
"search_metadata": {
"id": "search_xF8B8kTwmgY9erKiq2ruJlH2",
"status": "Success",
"created_at": "2026-10-28T19:43:46Z",
"request_time_taken": 2.35,
"parsing_time_taken": 0.08,
"total_time_taken": 2.44,
"request_url": "https://www.google.com/search?kgmid=/m/06l22&hl=en&gl=us",
"html_url": "https://www.searchapi.io/api/v1/searches/search_xF8B8kTwmgY9erKiq2ruJlH2.html",
"json_url": "https://www.searchapi.io/api/v1/searches/search_xF8B8kTwmgY9erKiq2ruJlH2"
},
"search_parameters": {
"engine": "google_sports",
"kgmid": "/m/06l22",
"tab": "games",
"hl": "en",
"gl": "us"
},
"sports_results": {
"title": "Real Madrid",
"subtitle": "3rd in La Liga",
"games": [
{
"kgmid": "/g/11nr4wp822",
"league": "Club Friendlies",
"date": "Aug 1",
"time": "12:00 PM",
"status": "Full-time",
"teams": [
{
"name": "Real Madrid",
"score": "2",
"kgmid": "/m/06l22",
"thumbnail": "https://ssl.gstatic.com/onebox/media/sports/logos/optimized/Th4fAVAZeCJWRcKoLW7koA_96x96.png"
},
{
"name": "Fiorentina",
"score": "2",
"kgmid": "/m/01453",
"thumbnail": "https://ssl.gstatic.com/onebox/media/sports/logos/optimized/h-HS2cEVCwMJZFSlwYeWmA_96x96.png"
}
],
"league_kgmid": "/g/11b6xyz746",
"start_time": "2026-08-01T16:00:00Z"
},
"..."
]
}
}
League Standings
https://www.searchapi.io/api/v1/search?engine=google_sports&kgmid=%2Fm%2F02_tc&tab=standings
- Python
- Node
- Ruby
- Java
- Go
- PHP
- Bash
- R
- Kotlin
- Swift
- C#
- C
- C++
- requests
import requests
url = "https://www.searchapi.io/api/v1/search"
params = {
"engine": "google_sports",
"kgmid": "/m/02_tc",
"tab": "standings"
}
response = requests.get(url, params=params)
print(response.text)
{
"search_metadata": {
"id": "search_VGTNUTRkoA8hZnp14lmWf7eY",
"status": "Success",
"created_at": "2026-10-28T19:42:09Z",
"request_time_taken": 2.11,
"parsing_time_taken": 0.12,
"total_time_taken": 2.23,
"request_url": "https://www.google.com/search?kgmid=/m/02_tc&hl=en&gl=us",
"html_url": "https://www.searchapi.io/api/v1/searches/search_VGTNUTRkoA8hZnp14lmWf7eY.html",
"json_url": "https://www.searchapi.io/api/v1/searches/search_VGTNUTRkoA8hZnp14lmWf7eY"
},
"search_parameters": {
"engine": "google_sports",
"kgmid": "/m/02_tc",
"tab": "standings",
"hl": "en",
"gl": "us"
},
"sports_results": {
"title": "Premier League",
"standings": {
"league_kgmid": "/m/02_tc",
"season": "2026\u201327",
"seasons": [
{
"name": "2026\u201327",
"kgmid": "/g/11z0gxy39g",
"is_selected": true
},
"..."
],
"groups": [
{
"teams": [
{
"rank": 1,
"name": "Man City",
"kgmid": "/m/01634x",
"stats": [
{
"name": "Matches played",
"short_name": "MP",
"value": "8"
},
{
"name": "Wins",
"short_name": "W",
"value": "7"
},
{
"name": "Draws",
"short_name": "D",
"value": "0"
},
{
"name": "Losses",
"short_name": "L",
"value": "1"
},
{
"name": "Goals scored",
"short_name": "GF",
"value": "20"
},
{
"name": "Goals against",
"short_name": "GA",
"value": "9"
},
{
"name": "Goal difference",
"short_name": "GD",
"value": "11"
},
{
"name": "Points",
"short_name": "Pts",
"value": "21"
},
{
"name": "Last 5 matches",
"short_name": "Last 5",
"values": [
"Win",
"Win",
"Win",
"Win",
"Loss"
]
}
]
},
"..."
]
}
]
}
}
}
League Games by Round
https://www.searchapi.io/api/v1/search?engine=google_sports&kgmid=%2Fm%2F02_tc
- Python
- Node
- Ruby
- Java
- Go
- PHP
- Bash
- R
- Kotlin
- Swift
- C#
- C
- C++
- requests
import requests
url = "https://www.searchapi.io/api/v1/search"
params = {
"engine": "google_sports",
"kgmid": "/m/02_tc"
}
response = requests.get(url, params=params)
print(response.text)
{
"search_metadata": {
"id": "search_YUOIr59A1KhrxqHiBIPhnAv7",
"status": "Success",
"created_at": "2026-10-28T19:42:13Z",
"request_time_taken": 2.02,
"parsing_time_taken": 0.03,
"total_time_taken": 2.05,
"request_url": "https://www.google.com/search?kgmid=/m/02_tc&hl=en&gl=us",
"html_url": "https://www.searchapi.io/api/v1/searches/search_YUOIr59A1KhrxqHiBIPhnAv7.html",
"json_url": "https://www.searchapi.io/api/v1/searches/search_YUOIr59A1KhrxqHiBIPhnAv7"
},
"search_parameters": {
"engine": "google_sports",
"kgmid": "/m/02_tc",
"tab": "games",
"hl": "en",
"gl": "us"
},
"sports_results": {
"title": "Premier League",
"game_groups": [
{
"title": "Matchday 7 of 38",
"games": [
{
"kgmid": "/g/11zg365shs",
"league": "Premier League",
"date": "Sat, Oct 17",
"time": "7:30 AM",
"stadium": "Hill Dickinson Stadium",
"status": "Full-time",
"teams": [
{
"name": "Everton",
"score": "0",
"kgmid": "/m/0mmd6",
"thumbnail": "https://ssl.gstatic.com/onebox/media/sports/logos/optimized/C3J47ea36cMBc4XPbp9aaA_96x96.png"
},
{
"name": "Chelsea",
"score": "2",
"kgmid": "/m/023fb",
"thumbnail": "https://ssl.gstatic.com/onebox/media/sports/logos/optimized/fhBITrIlbQxhVB6IjxUO6Q_96x96.png"
}
],
"league_kgmid": "/m/02_tc",
"start_time": "2026-10-17T11:30:00Z"
},
"..."
]
},
"..."
]
}
}
Game
https://www.searchapi.io/api/v1/search?engine=google_sports&kgmid=%2Fg%2F11zg365shs
- Python
- Node
- Ruby
- Java
- Go
- PHP
- Bash
- R
- Kotlin
- Swift
- C#
- C
- C++
- requests
import requests
url = "https://www.searchapi.io/api/v1/search"
params = {
"engine": "google_sports",
"kgmid": "/g/11zg365shs"
}
response = requests.get(url, params=params)
print(response.text)
{
"search_metadata": {
"id": "search_jYQc51fRUQBDBtFt71bxraBa",
"status": "Success",
"created_at": "2026-10-28T19:42:17Z",
"request_time_taken": 3.16,
"parsing_time_taken": 0.02,
"total_time_taken": 3.18,
"request_url": "https://www.google.com/search?kgmid=/g/11zg365shs&hl=en&gl=us",
"html_url": "https://www.searchapi.io/api/v1/searches/search_jYQc51fRUQBDBtFt71bxraBa.html",
"json_url": "https://www.searchapi.io/api/v1/searches/search_jYQc51fRUQBDBtFt71bxraBa"
},
"search_parameters": {
"engine": "google_sports",
"kgmid": "/g/11zg365shs",
"tab": "games",
"hl": "en",
"gl": "us"
},
"sports_results": {
"title": "Everton vs Chelsea",
"game_spotlight": {
"kgmid": "/g/11zg365shs",
"league": "Premier League",
"date": "Sat, Oct 17",
"time": "7:30 AM",
"stadium": "Hill Dickinson Stadium",
"city": "Liverpool",
"status": "Full-time",
"videos": [
{
"title": "Match recap",
"link": "https://www.youtube.com/watch?v=eXsWnTusr2o&feature=onebox",
"length": "9:02"
},
"..."
],
"teams": [
{
"name": "Everton",
"score": "0",
"kgmid": "/m/0mmd6",
"thumbnail": "https://ssl.gstatic.com/onebox/media/sports/logos/optimized/C3J47ea36cMBc4XPbp9aaA_96x96.png"
},
{
"name": "Chelsea",
"score": "2",
"kgmid": "/m/023fb",
"thumbnail": "https://ssl.gstatic.com/onebox/media/sports/logos/optimized/fhBITrIlbQxhVB6IjxUO6Q_96x96.png"
}
],
"league_kgmid": "/m/02_tc",
"start_time": "2026-10-17T11:30:00Z"
}
}
}