Skip to main content

Leagues Info

This endpoint allows you to retrieve the info from leagues and cups.

Multi-language: This feature allows the user to manually change the language of the API response by adding value to the lang attribute. Example: lang=en.

Pagination: The endpoint uses an offset and limit system. Specify the offset and limit parameters to fetch the desired range of results. The maximum and default number of results per request is 50.

Update Period: The endpoint is updated several times a day.
Recommended Calls: Limit calls to 1 every day.

Use Cases

Get league info from a specific league_id
https://tennis.sportdevs.com/leagues-info?league_id=eq.{league_id}

Query Parameters
  • league_id integer

    Default value: eq.1931

    The id of the league

  • offset string

    Default value: 0

    Limiting and Pagination

  • limit string

    Default value: 50

    Limiting and Pagination

  • lang string

    Default value: en

    Multi-language

Responses

OK


Schema array
  • league_id integer

    The id of the league

    Note: This is a Primary Key.

  • competition_name text

    The name of the competition

  • city_name text

    The city of the league

  • playing_months integer[]

    The months playing in the league

  • surface_type text

    The surface

  • qualification_rounds_played integer

    The rounds played in the league

  • main_rounds_played integer

    The main rounds played in the league

  • prize_money text

    The amount of the prize money for winning the tournament

  • match_type text

    The match type

  • most_title_names jsonb

    The teams with most titles

  • number_of_teams integer

    The number of the teams in the league

  • number_of_groups integer

    The number of the groups in the league

  • age_category text

    The age class of the league

  • category text

    The class of the league

  • league_gender text

    The gender people playing in the league

  • first_season_start_year text

    First season start year

Loading...