---
title: "SofaScore event momentum graph"
method: GET
path: "/sofascore/event-graph"
tags: ["SofaScore"]
---

# SofaScore event momentum graph

`GET /sofascore/event-graph`

## Request

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

Returns a match's momentum graph as minute and value points (positive values favour the home side) plus period length information, from SofaScore. Covers football, ice hockey and basketball. An empty `points` list is a valid response (a live match that has just started). Returns 404 when SofaScore has no momentum graph for the match, which includes matches that have not started and sports without one such as tennis and baseball.

## Query parameters

- `id` string, required

## Headers

- `x-api-key` string, required

## Response `200`

OK

- SofascoreEventGraphResponseDoc
  - `code` integer
  - `data` SofascoreEventGraphResponse
    - `count` integer
    - `event_id` integer
    - `fetched_at` string
    - `overtime_count` integer
    - `overtime_length` integer
    - `period_count` integer
    - `period_time` integer
    - `points` SofascoreGraphPoint[]
      - `minute` number
      - `value` number
    - `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)
