Call it
curl https://api.peume.com/v1/call/google-get-sports-results \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"kgmid": "your kgmid",
"type": "your type",
"sp": "your sp"
}
}'const res = await fetch("https://api.peume.com/v1/call/google-get-sports-results", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"kgmid": "your kgmid",
"type": "your type",
"sp": "your sp"
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/google-get-sports-results",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"kgmid": "your kgmid",
"type": "your type",
"sp": "your sp"
}
},
)
print(res.json()["output"])Answer: {"id": "run_…", "status": "completed", "cost_usd": …, "output": {…}}. Long jobs answer 202 with a run id to read later. From an AI agent, connect the MCP server and ask for this by name: google-get-sports-results.
Parameters
mpdstringThe middle time of the league and team games. Games before and after the specified time will be returned. Format (ISO8601 UTC): `YYYY-MM-DDTHH:mm:ssZ` Example: `2026-05-29T12:30:00Z` Parameter cannot be used with `moa` and `mob` parameters.
mobstringThe latest time of the league and team games. Games before the specified time will be returned. Format (ISO8601 UTC): `YYYY-MM-DDTHH:mm:ssZ` Example: `2026-05-29T12:30:00Z` Parameter cannot be used with `mpd` parameter. Parameter can be used with `moa` parameter, but should not be earlier.
hlstringThe language to use for the Google search. It's a two or three-letter language code. (e.g., `en` for English, `es` for Spanish, or `fr` for French), optionally followed by a two-letter or three-digit region code (e.g., `en-gb` for British English, or `es-419` for Latin American Spanish).
tabstringThe tab on the page of the selected entity `type`. Options: `gm` - League/Team - Games `sn` - League/Team - Standings `pl` - League/Team - Players `br` - League/Team - Brackets `st` - League - Stats `rn` - League - Rankings `ov` - Game - Overview (American football) Parameter is required for `league` and `team` entity `type`. Parameter is optional for `game` entity `type` and should be used only with American football `sp` value.
glstringThe country to use for the Google search. It's a two-letter country code (e.g., `us` for the United States, `uk` for United Kingdom, or `fr` for France).
kgmidRequiredstringThe Google Knowledge Graph ID of the selected entity `type`. It can be found in Google Search API, Google Sports API, or on Wikidata as "Freebase ID".
season_kgmidstringThe Google Knowledge Graph ID of the specific standings season and should be used alongside the main league or team `kgmid`. Available seasons can be found in Google Sports API standings results or on Wikidata as "Freebase ID". Parameter can be used as a standalone `kgmid` parameter to fetch tabs other than standings.
typeRequiredstringThe entity type. Options: `game` - Game `league` - League `team` - Team
spRequiredstringThe sport of the selected entity `type`. Options: `ft` - Football `bs` - Basketball `bb` - Baseball `cr` - Cricket `af` - American football `ih` - Ice hockey `rg` - Rugby
json_restrictorstringThe fields you want to include in the output, reducing payload size for faster response. See the JSON Restrictor documentation for more details.
moastringThe earliest time of the league and team games. Games after the specified time will be returned. Format (ISO8601 UTC): `YYYY-MM-DDTHH:mm:ssZ` Example: `2026-05-29T12:30:00Z` Parameter cannot be used with `mpd` parameter. Parameter can be used with `mob` parameter, but should not be later.
