OPEN NAVIGATION MENU

Leagues by Country id

get /v2/countries/:id/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/countries/:id/leagues returns all the Leagues that belong to a Country.
Be aware that there are leagues that do not belong to any country (i.e. World Cup, UEFA competitions).

How to make a request?

Is there any sample code?


  
      curl -G 'https://elenasport-io1.p.rapidapi.com/v2/countries/:id/leagues'
--header 'x-rapidapi-key: ***x-rapidapi-key***'