Overview
The MatchRequest API allows external platforms to submit a new match for analysis within the KoraStats system. When a request is submitted, the match enters the analysis pipeline where it will be processed according to the selected Service Level Agreement (SLA). The request includes metadata about the match, competition details, and associated files such as:- Match video
- Match sheet
- Additional supporting documents
- Broadcast partners
- Data providers
- Clubs and federations
- Third-party analytics platforms
Parameters
Module API fixed and cannot be changed. Always use
api.Endpoint name. Use
MatchRequest.API version. Use
V2.Output format (
json).API authentication key used to authorize the request.
Request Body
The request must include a JSON object describing the match and its associated files.Request Fields
Match Information
| Field | Type | Description |
|---|---|---|
| competition | string | Name of the competition (e.g. English Premier League). |
| season | string | Competition season (e.g. Season 2023/2024). |
| round | integer | League round or tournament stage. |
| homeTeam | string | Name of the home team. |
| awayTeam | string | Name of the away team. |
| kickOffDate | datetime | Scheduled match kickoff date and time in ISO format. |
| referenceMatchId | string | External system identifier used to reference the match. |
Processing Information
| Field | Type | Description |
|---|---|---|
| serviceLevelAgreement | string | Processing SLA category. |
| accountName | string | Account SLA category. |
| priority | integer | Priority level from 1 to 10 (10 = highest priority). |
| matchDuration | string | Match duration format (example: minutes90). |
| fileCreated | datetime | Timestamp indicating when the request files were created. |
| notes | string | Additional notes related to the match request. |
Service Level Agreement (SLA)
The SLA determines how quickly the match analysis will be delivered. Available values include:LIVESLA24SLA48SLA72
Files
Thefiles array contains the files required to process the match.
At least two files are required:
- Match video
- Match sheet
| Field | Type | Description |
|---|---|---|
| filename | string | File name including extension. |
| downloadUrl | string | URL where the file can be downloaded. |
| type | string | File type category. |
MatchVideoFullMatchSheetHomeAwayMatchEventsMatchLineups
Example Request
Field Description
| Field | Type | Description |
|---|---|---|
| result | string | Indicates whether the request was processed successfully. |
| message | string | Response message describing the request result. |
| data | object | Object containing information about the submitted match request. |
| data.requestId | string | Unique identifier assigned to the submitted match request. |
| data.status | string | Current status of the request within the KoraStats processing pipeline. |