---
title: "SofaScore event pre-game form"
method: GET
path: "/sofascore/event-pregame-form"
tags: ["SofaScore"]
---

# SofaScore event pre-game form

`GET /sofascore/event-pregame-form`

## Request

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

Returns each side's form going into a match: league position, points (football) or win-loss record (basketball) in `value` with the `label` that names it, the average player rating where SofaScore has one, and the recent results (`W`, `D`, `L`) in the order SofaScore returns them. Covers football and basketball; returns 404 when SofaScore has no pre-game form for the match, which includes tennis matches.

## Query parameters

- `id` string, required

## Headers

- `x-api-key` string, required

## Response `200`

OK

- SofascoreEventPregameFormResponseDoc
  - `code` integer
  - `data` SofascoreEventPregameFormResponse
    - `away` SofascorePregameFormSide
      - `avg_rating` number
      - `form` string[]
      - `position` integer
      - `value` string
    - `event_id` integer
    - `fetched_at` string
    - `home` SofascorePregameFormSide
      - `avg_rating` number
      - `form` string[]
      - `position` integer
      - `value` string
    - `label` string
    - `source_url` 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/0497899e2016?raw)
