---
title: "Get match statistics by match id"
method: GET
path: "/football/statistics/{matchId}"
tags: ["Football.Statistics"]
---

# Get match statistics by match id

`GET /football/statistics/{matchId}`

## Request

- Base URL: `https://sports.highlightly.net`
- URL: `https://sports.highlightly.net/football/statistics/{matchId}`
- Auth: none declared. Required headers: `x-rapidapi-host`, `x-rapidapi-key`
- TypeScript: <https://skmtc.dev/highlightly/apis/sports-api-highlightly/docs/football/statistics/:matchId/get.ts> (a function with typed inputs; its response is checked against the schema)

> Refresh interval: Once every 5 minutes

Retrieve match statistics data by specifying the `matchId` as the path parameter.

Below is an example of what you can aim to achieve with the statistics endpoint:

![Football statistics example](https://highlightly.net/assets/img/documentation/football/statistics.png)

## Path parameters

- `matchId` number, required

## Headers

- `x-rapidapi-host` string, required
- `x-rapidapi-key` string, required

## Response `200`

- FootballMatchStatisticsResponseDto[]
  - `team` FootballTeamResponseDto, required
    - `id` number, required
    - `logo` string
    - `name` string, required
  - `statistics` FootballMatchStatisticsResponseItemDto[], required
    - `value` number, required
    - `displayName` string, required

## Other responses

- `400`: Bad request descriptive error.
- `404`: Match statistics not found
- `500`: Internal server error.

---

[API](https://skmtc.dev/highlightly/apis/sports-api-highlightly.md) - [All operations](https://skmtc.dev/highlightly/apis/sports-api-highlightly/llms.txt) - [OpenAPI document](https://skmtc.dev/highlightly/apis/sports-api-highlightly/revisions/c8a366d3091f?raw)
