# atptour.com API

> 2 public methods for atptour.com, each 1 credit per completed run.

Unofficial. Not affiliated with or endorsed by atptour.com.

- Page: https://fous.com/methods/atptour.com

## Methods

### [Get ATP singles rankings](https://fous.com/methods/atptour.com/get-rankings.md)

`atptour.com/get_rankings`, read. Gets the ATP men's singles world rankings as of the latest published ranking date. Finds one ranked player by name, or returns up to 500 ranked players in rank order.

Returns: ranking date; rank, player, country, age, points, places moved, tournaments played, profile link

### [Get ATP tournament results](https://fous.com/methods/atptour.com/get-tournament-results.md)

`atptour.com/get_tournament_results`, read. Gets singles match results round by round for an ATP tournament and year, including the champion, dates, surface and category. Without a year it uses the most recent listed edition.

Returns: tournament name, city, dates, surface, category, champion, results link, matches (round, winner, loser, score, seeds)
