---
title: "SofaScore event player statistics"
method: GET
path: "/sofascore/event-player-statistics"
tags: ["SofaScore"]
---

# SofaScore event player statistics

`GET /sofascore/event-player-statistics`

## Request

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

Returns one player's statistics inside one football match (minutes, rating, passes, duels, shots, expected goals, and more) as a snake_case metric map. The set of metrics depends on the player's position, so absent metrics are omitted rather than zero. Get `player_id` from event-lineups. Returns 404 when SofaScore has no statistics for that player in that match.

## Query parameters

- `id` string, required
- `player_id` string, required

## Headers

- `x-api-key` string, required

## Response `200`

OK

- SofascoreEventPlayerStatisticsResponseDoc
  - `code` integer
  - `data` SofascoreEventPlayerStatisticsResponse
    - `event_id` integer
    - `fetched_at` string
    - `player` SofascorePlayerBrief
      - `id` integer
      - `jersey_number` string
      - `name` string
      - `position` string
      - `short_name` string
      - `slug` string
    - `player_id` integer
    - `position` string
    - `source_url` string
    - `statistics` object
    - `team` SofascoreTeamRef
      - `country` string: Country the team belongs to.
      - `id` integer: SofaScore team id. Use it with the team endpoints.
      - `name` string: Full team name.
      - `national` boolean: True for a national team.
      - `short_name` string: Shortened team name.
      - `slug` string: URL slug of the team on SofaScore.
  - `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/0497899e2016?raw)
