League & Cup Profile

Update Time: 2024-03-18 16:58

Introduction

This API endpoint returns complete information of cups and leagues. Click here to view all leagues & cups.

Related Plans

You can use this api by subscribing plans:  Live Data.

Request

  • Path: /sport/basketball/league
  • Method: GET
  • Calls: This interface is limited to 1800 second/call;
  • Recommend Calls: 1 day/call
  • Parameters:
ParameterValueRequiredDescription
leagueIdstringfalseGet the league information of the specified leagueId.

Response

ParameterValueDescription
leagueId string
color stringRGB color code string, e.g. #9933FF
leagueName string
leagueShortName string
leagueType string2: the match has 2 quarter
4: the match has 4 quarter
currentMatchSeason stringsuch as 19-20
countryId string
country string country or region name
leagueKind string1: league
2: cup
logo stringimage url.

The picture is saved locally for use, please do not call it directly.
partTime stringminutes of each section, such as 10:00

Example Request

Example Response

{}
    This API endpoint returns complete information of cups and leagues. Click here to view all leagues & cups.

    League & Cup ProfileiSportsAPI

    Contact

    Contact