basketballapi.net

Documentation / Reference

Teams

GET/v1/teams

Teams, by competition and season.

Live and up A list: pages of 50, see paging

Parameters

NameInTypeAbout
competitionqueryidOnly this competition, by its id (cp_…). e.g. cp_11A6HQXJ
seasonqueryidOnly this season, by its id (ss_…). e.g. ss_K1TTWVRM
qquerystringPart of a name.
pagequeryintegerWhich page, from 1.
cursorquerystringThe next_cursor from the last answer, to carry on.
per_pagequeryintegerRecords an answer, from 1 to 200. 50 if left out.

What comes back

data is a list of these:

FieldTypeAbout
ididA team id.
namestring
countrystring or null
gamesinteger

Errors

400422401403429 What each one means