OPEN NAVIGATION MENU

Fixtures by Season id

get /v2/seasons/:id/fixtures

The Fixture endpoints return information about football games. In these endpoints, there are many parameters available to allow you to filter by team, date, round and head2head.
Remember that ElenaSport gives you access to all the fixtures available with any plans (free plan included).

The endpoint /v2/seasons/:id/fixtures returns all the Fixtures that belong to a Season. In this endpoint, you can apply the following filters:

  • Fixtures of the Season with the round value equals to round
  • Fixtures of the Season with the date greater than from
  • Fixtures of the Season with the date lower than to
  • Fixtures of the Season with the date between from and to
  • Fixtures of the Season played by the Team with id idTeam1
  • Fixtures of the Season played between the Team idTeam1 and the Team idTeam2

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/seasons/:id/fixtures'
--header 'x-rapidapi-key: ***x-rapidapi-key***'
--data-urlencode 'from= ***from***'
--data-urlencode 'idTeam1= ***idTeam1***'
--data-urlencode 'idTeam2= ***idTeam2***'
--data-urlencode 'page= ***page***'
--data-urlencode 'round= ***round***'
--data-urlencode 'to= ***to***'