Skip to content

Browse Teams

GET /teams

Server: https://gamma.openfish.fun

Tags: Sports


NameInTypeDefaultDescription
limitqueryinteger50Cap on the number of items returned (upper bound: 500)
offsetqueryinteger0Number of records to skip for pagination
orderquerystringidField used for sorting. Accepted values: name, league, created_at, id
ascendingquerybooleantrueWhether to sort in ascending order
leaguequerystringRestrict results to a single league (e.g. nba, nfl)

200 — A JSON array of team objects.

[
{
"id": "t1",
"name": "Los Angeles Lakers",
"league": "nba",
"abbreviation": "LAL",
"icon": "https://..."
}
]

Terminal window
curl "https://gamma.openfish.fun/teams?league=nba&limit=30"