Sports match or game with teams, scores, sport type, league, venue, status, match date, and attendance. Used for sports databases, match tracking, and sports management systems.
https://api.mockly.codes/matches?page=1&limit=10&count=10Configure your request and click Send Request to see the response here.
/matchesGet a collection of matches
/sports/matches/matches/:idGet a single match by ID
/sports/matches/:id/matches/metaGet resource metadata and schema
/sports/matches/metaThe search feature allows you to filter results by searching for text across all or specific fields. Choose between ?q= or ?search= parameter names.
Search across all text fields:
GET https://api.mockly.codes/matches?q=laptopGET https://api.mockly.codes/matches?q=laptop&search_fields=name,descriptionsearch_fields, all text fields are searched// Get 10 matches
fetch('https://api.mockly.codes/matches?count=10')
.then(res => res.json())
.then(data => console.log(data));import requests
response = requests.get(
'https://api.mockly.codes/matches?count=10'
)
data = response.json()curl "https://api.mockly.codes/matches?count=10"fetch('https://api.mockly.codes/matches?nocache=true')idintegerUnique identifier for the match
random_inthome_teamstringName of the home team
team_nameaway_teamstringName of the away team
team_namehome_scoreintegerScore of the home team
random_intaway_scoreintegerScore of the away team
random_intsportstringSport type (e.g., Football, Basketball, Soccer, Tennis)
sportleaguestringLeague or competition name
leaguestadiumstringName of the stadium or venue where the match is played
stadiumcitystringCity where the match takes place
citystatusstringMatch status (e.g., scheduled, live, finished, postponed, cancelled)
match_statusmatch_datestringDate and time when the match is scheduled or was played
future_datedate-timeattendanceintegerNumber of spectators who attended the match
random_intcountintegerNumber of items to return (default: 10, max: 100)
seedintegerSeed for reproducible data generation
nocachebooleanBypass cache and generate fresh data on every request