List sports scores
curl --request GET \
--url https://api.unitedmarket.ai/sports/scoresconst options = {method: 'GET'};
fetch('https://api.unitedmarket.ai/sports/scores', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.unitedmarket.ai/sports/scores"
response = requests.get(url)
print(response.text){
"scores": [
{
"gameId": "<string>",
"slugs": [
"<string>"
],
"homeTeam": "<string>",
"awayTeam": "<string>",
"score": "<string>",
"homeScore": 123,
"awayScore": 123,
"period": "<string>",
"elapsed": "<string>",
"live": true,
"ended": true,
"leagueAbbreviation": "<string>",
"updatedAt": "2023-11-07T05:31:56Z"
}
]
}Sports
List sports scores
Live and recently finished scores from the Polymarket sports feed. Without slug, returns every fixture currently in memory ({ scores: [...] }). With slug, returns that fixture only (memory first, then Gamma by slug); unknown slugs return { scores: [] }, not 404.
GET
https://api.unitedmarket.ai
/
sports
/
scores
List sports scores
curl --request GET \
--url https://api.unitedmarket.ai/sports/scoresconst options = {method: 'GET'};
fetch('https://api.unitedmarket.ai/sports/scores', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.unitedmarket.ai/sports/scores"
response = requests.get(url)
print(response.text){
"scores": [
{
"gameId": "<string>",
"slugs": [
"<string>"
],
"homeTeam": "<string>",
"awayTeam": "<string>",
"score": "<string>",
"homeScore": 123,
"awayScore": 123,
"period": "<string>",
"elapsed": "<string>",
"live": true,
"ended": true,
"leagueAbbreviation": "<string>",
"updatedAt": "2023-11-07T05:31:56Z"
}
]
}