League & Cup Profile
Update Time: 2024-03-18 16:57
Introduction
• This API endpoint returns the complete information of leagues and cups. Click here to view 1600+ football leagues & cups.
• Return to all events by default.
Related Plans
You can use this api by subscribing plans: Live Data.
Request
- Path: /sport/football/league
- Method: GET
- Calls: This interface is limited to 1800 second/call;
- Recommend Calls: 1 day/call
- Parameters:
| Parameter | Value | Required | Description |
|---|---|---|---|
| leagueId | string | false | Get the league information of the specified leagueId. |
| cmd | string,rule | false | cmd=rule; Get the description of the competition system. If there is no data, it will not be returned. |
| day | int | false | eg.day=50; Returns league and cup data that have been modified within the specified number of days. |
Response
| Parameter | Value | Description |
|---|---|---|
| leagueId | string | |
| type | int | 1: League 2: Cup |
| color | string | RGB color code string, e.g. #9933FF |
| logo | string | League logo url. The picture is saved for local use, please do not call it directly. |
| name | string | Full name, e.g. Brazil Serie A |
| shortName | string | Short name, e.g. BRA D1 |
| subLeagueName | string | The on-going sub league of the league, e.g. Western Paly Off |
| totalRound | int | |
| currentRound | int | |
| currentSeason | string | e.g. 2018-2019 |
| countryId | string | |
| country | string | Country or region name, e.g. Brazil |
| countryLogo | string | Country logo url. The picture is saved for local use, please do not call it directly. |
| areaId | int | 0:International 1:Europe 2: America 3: Asia 4: Oceania 5: Africa |
Example Request
Example Response
{}
Tiếng Việt
ภาษาไทย 