Skip to main content
GET
List Rankings

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

type
enum<string> | null

Ranking type. Either official, race, elo or earnings.

Available options:
official,
race,
elo,
earnings
category
enum<string> | null

Category of the players. Either men or women.

Available options:
men,
women
nationality
string | null

2 letters country-code to filter the players by nationality.

Required string length: 2
date
string<date> | null

Date (YYYY-MM-DD) for which the ranking is requested. Defaults to the latest available snapshot.

after_date
string<date> | null

Start date (YYYY-MM-DD) of the period over which ranking_diff and points_diff are measured, against the snapshot in effect on that day. race and earnings reset every year, so a date before the start of the season measures from zero. Defaults to the previous weekly snapshot.

min_age
integer | null

Minimum age of the players, in years.

Required range: x >= 0
max_age
integer | null

Maximum age of the players, in years.

Required range: x >= 0
min_matches
integer | null

Minimum number of rated matches played in the 12 months before the snapshot.

Required range: x >= 0
gap_type
enum<string> | null

Ranking type gap_ranking and ranking_gap compare against. Defaults to official, or to elo when type is official.

Available options:
official,
race,
elo,
earnings
sort_by
enum<string> | null

Name of the parameter to sort the rankings by. Use ranking_diff or points_diff to surface the biggest movers, and ranking_gap to surface the biggest differences against the gap_type ranking.

Available options:
ranking,
points,
ranking_diff,
points_diff,
ranking_gap
order_by
enum<string> | null

Order of the sorting, either asc or desc.

Available options:
asc,
desc
page
integer | null
default:1

Page number to return, starting at 1.

Required range: x >= 1
per_page
integer | null
default:15

Number of results per page, from 1 to 50. Larger values return 50.

Required range: x >= 1

Response

Paginated set of PlayerRankingResource

data
PlayerRankingResource · object[]
required
meta
object
required