basketballapi.net

Documentation / Stats

Team form

GET/v1/teams/{id}/form

A team's last games with margin, pace and ratings.

Complete and up

Parameters

NameInTypeAbout
id requiredpathidThe team, by its id (tm_…). e.g. tm_Z81WSSTP
lastqueryintegerHow many recent games, from 1 to 50. 10 if left out.
venuequeryenumhome or away: only those games.
competitionqueryidOnly this competition, by its id (cp_…). e.g. cp_11A6HQXJ

What comes back

data is one of these:

FieldTypeAbout
teamobject
team.ididA team id.
team.namestring
summaryobject
summary.gamesinteger
summary.woninteger
summary.lostinteger
summary.average_marginnumber or null
summary.pacenumber or null
summary.offensive_ratingnumber or null
summary.defensive_ratingnumber or null
gamesarray of object

Errors

400422401403429404 What each one means