---
title: "SofaScore player form over the last year"
method: GET
path: "/sofascore/player-last-year-summary"
tags: ["SofaScore"]
---

# SofaScore player form over the last year

`GET /sofascore/player-last-year-summary`

## Request

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

Returns a player's form timeline over roughly the last year: `summary` entries, each with a `type`, a date and (where it applies) a competition. `event` is a rated match (the rating is in `value` as published and as a number in `rating`, the competition in `tournament_id`); `injury` is an injury period whose `value` is an opaque number; `missing` is a match the player missed; `transfer` is a transfer date. `tournaments` describes the competitions referenced. An empty `summary` is a valid response for a player with no rated appearance in the period.

## Query parameters

- `id` string, required

## Headers

- `x-api-key` string, required

## Response `200`

OK

- SofascorePlayerLastYearSummaryResponseDoc
  - `code` integer
  - `data` SofascorePlayerLastYearSummaryResponse
    - `count` integer
    - `fetched_at` string
    - `player_id` integer
    - `source_url` string
    - `summary` SofascorePlayerFormEntry[]
      - `date` string
      - `rating` number
      - `timestamp` integer
      - `tournament_id` integer
      - `type` string
      - `value` string: Value is the upstream value as published: the rating for an event, an opaque number for an injury, absent for the other types.
    - `tournaments` SofascoreUniqueTournamentBrief[]
      - `category` string
      - `gender` string
      - `id` integer
      - `name` string
      - `slug` string
      - `sport` 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)
