---
title: "Gibt das letzte Spiel des übergebenen LigaShortcuts zurueck."
method: GET
path: "/getlastmatchbyleagueshortcut/{leagueShortcut}"
tags: ["Matchdata"]
---

# Gibt das letzte Spiel des übergebenen LigaShortcuts zurueck.

`GET /getlastmatchbyleagueshortcut/{leagueShortcut}`

## Request

- Base URL: `https://api.openligadb.de` (the document declares no server; this is the origin it was published from)
- URL: `https://api.openligadb.de/getlastmatchbyleagueshortcut/{leagueShortcut}`
- Auth: none declared
- TypeScript: <https://skmtc.dev/openligadb/apis/openligadb-api/docs/getlastmatchbyleagueshortcut/:leagueShortcut/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `leagueShortcut` string, required

## Response `200`

OK

- Match
  - `matchID` integer
  - `matchDateTime` string, date-time, nullable
  - `timeZoneID` string, nullable
  - `leagueId` integer
  - `leagueName` string, nullable
  - `leagueSeason` integer
  - `leagueShortcut` string, nullable
  - `matchDateTimeUTC` string, date-time, nullable
  - `group` Group
    - `groupName` string, nullable
    - `groupOrderID` integer
    - `groupID` integer
  - `team1` Team
    - `teamId` integer
    - `teamName` string, nullable
    - `shortName` string, nullable
    - `teamIconUrl` string, nullable
    - `teamGroupName` string, nullable
    - `tla` string, nullable: Optionales dreistelliges Kuerzel (3 Grossbuchstaben), z. B. "FCB". Nicht fuer alle Teams gepflegt; ist es nicht gesetzt, wird das Feld nicht ausgegeben.
    - `wikidataId` string, nullable: Optionale Wikidata-ID des Teams (Q-Nummer, z. B. "Q12345") als stabile Referenz auf einen Eintrag in Wikidata (wikidata.org). Nicht fuer alle Teams gepflegt; ist sie nicht gesetzt, wird das Feld nicht ausgegeben.
  - `team2` Team
    - `teamId` integer
    - `teamName` string, nullable
    - `shortName` string, nullable
    - `teamIconUrl` string, nullable
    - `teamGroupName` string, nullable
    - `tla` string, nullable: Optionales dreistelliges Kuerzel (3 Grossbuchstaben), z. B. "FCB". Nicht fuer alle Teams gepflegt; ist es nicht gesetzt, wird das Feld nicht ausgegeben.
    - `wikidataId` string, nullable: Optionale Wikidata-ID des Teams (Q-Nummer, z. B. "Q12345") als stabile Referenz auf einen Eintrag in Wikidata (wikidata.org). Nicht fuer alle Teams gepflegt; ist sie nicht gesetzt, wird das Feld nicht ausgegeben.
  - `lastUpdateDateTime` string, date-time, nullable
  - `matchIsFinished` boolean
  - `matchResults` MatchResult[], nullable
    - `resultID` integer
    - `resultName` string, nullable
    - `pointsTeam1` integer, nullable
    - `pointsTeam2` integer, nullable
    - `resultOrderID` integer
    - `resultTypeID` integer
    - `resultTypeKind` string, nullable: Maschinenlesbare Bedeutung des Results, stabil über alle Ligen: "HalfTime", "After90Minutes", "AfterExtraTime", "AfterPenalties" oder "Unknown". Konsumenten sollten dieses Feld statt ResultTypeID-Konventionen verwenden.
    - `resultDescription` string, nullable
  - `goals` Goal[], nullable
    - `goalID` integer
    - `scoreTeam1` integer, nullable
    - `scoreTeam2` integer, nullable
    - `matchMinute` integer, nullable
    - `goalGetterID` integer
    - `goalGetterName` string, nullable
    - `scoringTeamId` integer, nullable: Id des Teams, dem dieses Tor gutgeschrieben wird (also dessen Spielstand sich erhöht). Bei Eigentoren ist das die gegnerische Mannschaft des Torschützen. Abgeleitet aus der Spielstand-Differenz zum vorherigen Tor; null, wenn nicht eindeutig bestimmbar.
    - `isPenalty` boolean, nullable
    - `isOwnGoal` boolean, nullable
    - `isOvertime` boolean, nullable
    - `comment` string, nullable
  - `location` Location
    - `locationID` integer
    - `locationCity` string, nullable
    - `locationStadium` string, nullable
  - `numberOfViewers` integer, nullable

## Changes

- **2026-10-30** `3673b85f40d0`: 12 info
  - added the optional property `team1/allOf[#/components/schemas/Team]/tla` to the response with the `200` status (media type: text/plain)
  - added the optional property `team1/allOf[#/components/schemas/Team]/tla` to the response with the `200` status (media type: application/json)
  - added the optional property `team1/allOf[#/components/schemas/Team]/tla` to the response with the `200` status (media type: text/json)
  - added the optional property `team1/allOf[#/components/schemas/Team]/wikidataId` to the response with the `200` status (media type: text/plain)
  - …8 more
- **2026-08-11** `3e95b7c785c5`: 3 info
  - added the optional property `matchResults/items/resultTypeKind` to the response with the `200` status (media type: text/plain)
  - added the optional property `matchResults/items/resultTypeKind` to the response with the `200` status (media type: application/json)
  - added the optional property `matchResults/items/resultTypeKind` to the response with the `200` status (media type: text/json)
- **2026-07-14** `a12540be0330`: 3 info
  - added the optional property `goals/items/scoringTeamId` to the response with the `200` status (media type: text/plain)
  - added the optional property `goals/items/scoringTeamId` to the response with the `200` status (media type: application/json)
  - added the optional property `goals/items/scoringTeamId` to the response with the `200` status (media type: text/json)

[Operation history](https://skmtc.dev/openligadb/apis/openligadb-api/changes/getlastmatchbyleagueshortcut/:leagueShortcut/get.md)

---

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