---
title: "SofaScore player ranking among all players in a season"
method: GET
path: "/sofascore/player-statistical-rankings"
tags: ["SofaScore"]
---

# SofaScore player ranking among all players in a season

`GET /sofascore/player-statistical-rankings`

## Request

- Base URL: `https://api.crawlora.net/api/v1`
- URL: `https://api.crawlora.net/api/v1/sofascore/player-statistical-rankings`
- Auth: API key in header `x-api-key`

Returns where a football player ranks against every other player of the competition season for about 78 statistics (goals, assists, rating, expected goals, passes, duels, distance covered and more): the `value`, the `rank` (tied values share a rank), the number of ranked players (`count`) and the tie-broken `order`. Statistics are snake_case and sorted alphabetically. The `type` enum accepts only `overall`, which is also the default; the other statistics views answer 404. Returns 404 for players without a ranking in that season, which includes basketball players.

## Query parameters

- `id` string, required
- `season` string, required
- `type` 'overall'

## Headers

- `x-api-key` string, required

## Response `200`

OK

- SofascorePlayerStatisticalRankingsResponseDoc
  - `code` integer
  - `data` SofascorePlayerStatisticalRankingsResponse
    - `count` integer
    - `fetched_at` string
    - `player_id` integer
    - `rankings` SofascorePlayerStatisticRank[]
      - `count` integer
      - `order` integer: Order is the player's position when ties are broken; it is never lower than Rank.
      - `rank` integer: Rank is the competition rank (tied values share a rank) among Count players.
      - `statistic` string
      - `value` number
    - `season` SofascoreSeason
      - `id` integer: SofaScore season id. Pass it to the standings and round endpoints.
      - `name` string: Season name.
      - `year` string: Season label, for example 26/27.
    - `source_url` string
    - `type` string
  - `msg` string

## Other responses

- `400`: Bad Request
- `404`: Not Found
- `429`: Too Many Requests
- `503`: Service Unavailable

---

[API](https://skmtc.dev/crawlora/apis/crawlora-api.md) · [All operations](https://skmtc.dev/crawlora/apis/crawlora-api/llms.txt) · [OpenAPI document](https://skmtc.dev/crawlora/apis/crawlora-api/revisions/afac9b012a27?raw)
