Sports team with name, sport, league, founding year, location, stadium, coach, win/loss/draw records, and logo. Used for sports databases, team management, and sports analytics platforms.
https://api.mockly.codes/teams?page=1&limit=10&count=10Configure your request and click Send Request to see the response here.
/teamsGet a collection of teams
/sports/teams/teams/:idGet a single team by ID
/sports/teams/:id/teams/metaGet resource metadata and schema
/sports/teams/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/teams?q=laptopGET https://api.mockly.codes/teams?q=laptop&search_fields=name,descriptionsearch_fields, all text fields are searched// Get 10 teams
fetch('https://api.mockly.codes/teams?count=10')
.then(res => res.json())
.then(data => console.log(data));import requests
response = requests.get(
'https://api.mockly.codes/teams?count=10'
)
data = response.json()curl "https://api.mockly.codes/teams?count=10"fetch('https://api.mockly.codes/teams?nocache=true')idintegerUnique identifier for the team
random_intnamestringTeam name
team_namesportstringSport the team plays (e.g., Football, Basketball, Soccer)
sportleaguestringLeague or competition the team participates in
leaguefoundedintegerYear when the team was founded
founded_yearcitystringCity where the team is based
citycountrystringCountry where the team is located
countrystadiumstringName of the team's home stadium or arena
stadiumcoachstringFull name of the team's head coach
namewinsintegerTotal number of wins in the current season or all-time
random_intlossesintegerTotal number of losses in the current season or all-time
random_intdrawsintegerTotal number of draws or ties in the current season or all-time
random_intlogostringURL to the team's logo image
image_urluricountintegerNumber of items to return (default: 10, max: 100)
seedintegerSeed for reproducible data generation
nocachebooleanBypass cache and generate fresh data on every request