Get Teams
Retrieve teams with their short code, conference, division and home stadium.
GET/v1/american-football/teams
Parameters
NameTypeRequiredDescription
x-api-keystringRequiredYour API key, sent as a header.
idintegerOptionalFilter by team ID.
league_idintegerOptionalFilter by league ID.
divisionstringOptionalDivision code, e.g. afc-west.
searchstringOptionalSearch by team name (3+ characters).
pageintegerOptionalPage number. Default 1, 50 per page.
Response
- dataarray<Team>Teams matching your filters.
- idintegerUnique team ID.
- namestringTeam name.
- codestringShort code, e.g. KC.
- conferencestringConference, e.g. AFC.
- divisionstringDivision, e.g. AFC West.
- venueobjectHome stadium name and city.
- metaobjectpage, per_page and total.
Status codes
- 200Teams returned
- 400Invalid parameter
- 401Missing or invalid API key
- 429Rate limit reached