OPEN NAVIGATION MENU

All leagues

get /v2/leagues

The League endpoints return information such as the name of the League, the Country id which the League belongs (if there is one) and so on.
ElenaSport.io gives you access to all the Leagues with any plans you may have subscribed to (free plan included). All the available Leagues are listed in the coverage page. Please, contact us if you are looking for a League that is not available yet.

The endpoint /v2/leagues returns all the Leagues available. You can also pass the name attribute to filter out those Leagues whose name doesn't contain that string.

This endpoint is paginated, navigate to the pagination page to learn how to manage the pagination.

How to make a request?

Is there any sample code?


  
      curl -G 'https://elenasport-io1.p.rapidapi.com/v2/leagues'
--header 'x-rapidapi-key: ***x-rapidapi-key***'
--data-urlencode 'name= ***name***'
--data-urlencode 'page= ***page***'