OPEN NAVIGATION MENU

All Countries

get /v2/countries

The Country endpoints are often used as a starting point by many members. They return information such as the Countries' ids, flags, and timezones.

The endpoint /v2/countries returns all the Countries available. You can also pass the name attribute to filter out those Countries 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/countries'
--header 'x-rapidapi-key: ***x-rapidapi-key***'
--data-urlencode 'name= ***name***'
--data-urlencode 'page= ***page***'