Discovery
Rankings
GET/v2/rankingsAll plans
The rankings we serve: FIFA (men), UEFA country and club coefficients, World Rugby (men), ATP and WTA singles (official and live) and the UFC divisions.
entry says what a row ranks: team (a national team or club), competitor (a player or fighter — a TeamRef, kind individual) or country. Our own catalogue: answered without a fetch.
Parameters
sport
a sport slug: only that sport’s rankings
Response
- data
RankingTypeInfo[]- meta
- count, plus sport when filtered
- errors
- 400 bad_request — unknown sport
Every /v2 call can also answer the common errors.
$ curl -H "Authorization: Bearer sk_live_…" \ "https://api.sportsapi.app/v2/rankings"
Example
{ "data": [ { "type": "fifa-men", "name": "FIFA World Ranking (men)", "sport": "football", "gender": "male", "entry": "team" }, { "type": "uefa-countries", "name": "UEFA country coefficients", "sport": "football", "gender": null, "entry": "country" }, …, { "type": "atp", "name": "ATP singles ranking", "sport": "tennis", "gender": "male", "entry": "competitor" }, … ], "meta": { "count": 19 } }