cURL
curl --request GET \ --url https://v1.tennis.sportsapipro.com/competitions/top \ --header 'x-api-key: <api-key>'
Get the most popular tennis tournaments
curl -X GET "https://v1.tennis.sportsapipro.com/competitions/top" \ -H "x-api-key: YOUR_API_KEY"
Your SportsAPI Pro API key
Number of tournaments to return
10
Top tournaments retrieved successfully
Was this page helpful?