---
title: "SofaScore team goals by match minute"
method: GET
path: "/sofascore/team-goal-distributions"
tags: ["SofaScore"]
---

# SofaScore team goals by match minute

`GET /sofascore/team-goal-distributions`

## Request

- Base URL: `https://api.crawlora.net/api/v1`
- URL: `https://api.crawlora.net/api/v1/sofascore/team-goal-distributions`
- Auth: API key in header `x-api-key`

Returns a football team's goals scored and conceded per block of match minutes (1-15, 16-30, 31-45, 46-60, 61-75, 76-90) for one competition season, in three views: `overall`, `home` and `away`, each with the matches played and the goal totals. A block with no goals is returned as 0. Returns 404 for non-football teams and for a team and season that do not belong together.

## Query parameters

- `id` string, required
- `tournament_id` string, required
- `season` string, required

## Headers

- `x-api-key` string, required

## Response `200`

OK

- SofascoreTeamGoalDistributionsResponseDoc
  - `code` integer
  - `data` SofascoreTeamGoalDistributionsResponse
    - `distributions` SofascoreGoalDistribution[]
      - `conceded_goals` integer
      - `matches` integer
      - `periods` SofascoreGoalPeriod[]
        - `conceded_goals` integer
        - `end_minute` integer
        - `scored_goals` integer
        - `start_minute` integer
      - `scored_goals` integer
      - `type` string
    - `fetched_at` string
    - `season_id` integer
    - `source_url` string
    - `team_id` integer
    - `tournament_id` integer
  - `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)
