---
title: "Get match by id"
method: GET
path: "/american-football/matches/{id}"
tags: ["American Football.Matches"]
---

# Get match by id

`GET /american-football/matches/{id}`

## Request

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

Retrieve detailed match information by specifying the match id path parameter.

Fetched data will have additional information about the `venue`, weather `forecast`, `matchStatistics` for each team, `injuries`, `events`, `topPerformers`, player `boxScores` and `matchStatistics`.

> Note: Used to retrieve additional match information.

## Path parameters

- `id` number, required

## Headers

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

## Response `200`

- AmericanFootballDetailedMatchResponseDto[]
  - `id` number, required
  - `round` string, required
  - `date` string, required
  - `league` string, required
  - `season` number, required
  - `awayTeam` AmericanFootballMatchTeamResponseDto, required
    - `id` number, required
    - `logo` string
    - `name` string
    - `displayName` string, required
    - `abbreviation` string, required
  - `homeTeam` AmericanFootballMatchTeamResponseDto, required
    - `id` number, required
    - `logo` string
    - `name` string
    - `displayName` string, required
    - `abbreviation` string, required
  - `state` AmericanFootballMatchStateResponseDto, required
    - `period` number: Current in play period.
    - `clock` number: Current minute of the in play period.
    - `description` 'Suspended' | 'Postponed' | 'Cancelled' | 'Abandoned' | 'Finished' | 'In progress' | 'End period' | 'Half time' | 'Unknown' | 'Scheduled', required: Current status/description of the match.
    - `score` AmericanFootballMatchScoreResponseDto, required
      - `current` string: Home - Away score for the match.
      - `firstPeriod` string: Home - Away score in 1st period.
      - `secondPeriod` string: Home - Away score in 2nd period.
      - `thirdPeriod` string: Home - Away score in 3rd period.
      - `fourthPeriod` string: Home - Away score in 4th period.
      - `firstOvertimePeriod` string: Home - Away score in the first overtime period.
      - `secondOvertimePeriod` string: Home - Away score in the second overtime period.
    - `report` string: Additional description of the match state.
  - `venue` AmericanFootballMatchVenueResponseDto
    - `city` string, required
    - `name` string, required
    - `state` string, required
  - `forecast` DetailedMatchForecastResponseDto
    - `status` string
    - `temperature` string
  - `matchStatistics` AmericanFootballMatchStatsResponseDto
    - `homeTeam` TeamStatisticsResponseDto, required
      - `statistics` StatisticsItem[], required
        - `name` string, required
        - `value` number, required
    - `awayTeam` TeamStatisticsResponseDto, required
      - `statistics` StatisticsItem[], required
        - `name` string, required
        - `value` number, required
  - `injuries` AmericanFootballInjuriesResponseDto[]
    - `team` AmericanFootballTeamDataResponseDto, required
      - `id` number, required
      - `logo` string, required
      - `name` string, required
      - `league` string, required
      - `displayName` string, required
      - `abbreviation` string, required
    - `data` AmericanFootballInjuryDataItem[], required
      - `status` string, required
      - `player` AmericanFootballInjuryItemPlayerDto, required
        - `name` string, required
        - `jersey` number
        - `position` string
  - `events` AmericanFootballEventResponseDto[]
    - `end` AmericanFootballEventStartEndPeriodResponseDto, required
      - `clock` string, required
      - `period` string, required
      - `yardLine` number, required
    - `team` AmericanFootballTeamDataResponseDto, required
      - `id` number, required
      - `logo` string, required
      - `name` string, required
      - `league` string, required
      - `displayName` string, required
      - `abbreviation` string, required
    - `plays` string[], required
    - `start` AmericanFootballEventStartEndPeriodResponseDto, required
      - `clock` string, required
      - `period` string, required
      - `yardLine` number, required
    - `result` string, required
    - `description` string, required
    - `isScoringPlay` boolean, required
  - `predictions` PredictionResponseDto
    - `prematch` PredictionDto[], required
      - `type` string, required
      - `modelType` string, required
      - `generatedAt` string, required
      - `description` string, required
      - `probabilities` PredictionProbabilitiesDto, required
        - `home` string, required
        - `draw` string
        - `away` string, required
    - `live` PredictionDto[], required
      - `type` string, required
      - `modelType` string, required
      - `generatedAt` string, required
      - `description` string, required
      - `probabilities` PredictionProbabilitiesDto, required
        - `home` string, required
        - `draw` string
        - `away` string, required

## Other responses

- `400`: Bad request descriptive error.
- `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)
