# Matches

## Live Matches

> \## API Endpoint: Get Live Football Matches\
> \
> \### Purpose\
> \
> This endpoint retrieves the current live football matches along with their tournament details. It provides real-time information about ongoing matches, including team scores and tournament specifics.\
> \
> \### Request Format\
> \
> \- \*\*Method\*\*: GET\
> &#x20;   \
> \- \*\*URL\*\*: \`<https://apiv3.sportsapi360.com/football/api/v1/matches/live\\`\\>
> &#x20;   \
> \- \*\*Request Body\*\*: This endpoint does not require a request body.\
> &#x20;   \
> \
> \### Response Structure\
> \
> The response from this endpoint will be in JSON format and includes the following key components:\
> \
> \- \*\*status\*\*: A boolean indicating the success of the request.\
> &#x20;   \
> \- \*\*statusCode\*\*: An integer representing the status code of the response.\
> &#x20;   \
> \- \*\*message\*\*: A string for any additional message related to the response.\
> &#x20;   \
> \- \*\*response\*\*: An array containing details of live matches. Each match object includes:\
> &#x20;   \
> &#x20;   \- \*\*tournamentId\*\*: The unique identifier for the tournament.\
> &#x20;       \
> &#x20;   \- \*\*tournament\*\*: An object containing tournament details:\
> &#x20;       \
> &#x20;       \- \*\*id\*\*: The unique identifier for the tournament.\
> &#x20;           \
> &#x20;       \- \*\*name\*\*: The name of the tournament.\
> &#x20;           \
> &#x20;       \- \*\*category\*\*: An object with category details including:\
> &#x20;           \
> &#x20;           \- \*\*name\*\*: The name of the category.\
> &#x20;               \
> &#x20;           \- \*\*id\*\*: The unique identifier for the category.\
> &#x20;               \
> &#x20;           \- \*\*country\*\*: An object with country details including:\
> &#x20;               \
> &#x20;               \- \*\*alpha2\*\*: The two-letter country code.\
> &#x20;                   \
> &#x20;               \- \*\*alpha3\*\*: The three-letter country code.\
> &#x20;                   \
> &#x20;               \- \*\*name\*\*: The name of the country.\
> &#x20;                   \
> &#x20;       \- \*\*details\*\*: Additional tournament details including:\
> &#x20;           \
> &#x20;           \- \*\*name\*\*: The name of the tournament.\
> &#x20;               \
> &#x20;           \- \*\*category\*\*: The category details.\
> &#x20;               \
> &#x20;           \- \*\*hasPerformanceGraphFeature\*\*: A boolean indicating if performance graphs are available.\
> &#x20;               \
> &#x20;           \- \*\*id\*\*: The unique identifier for the details.\
> &#x20;               \
> &#x20;           \- \*\*country\*\*: Country details.\
> &#x20;               \
> &#x20;           \- \*\*hasEventPlayerStatistics\*\*: A boolean indicating if player statistics are available.\
> &#x20;               \
> &#x20;           \- \*\*displayInverseHomeAwayTeams\*\*: A boolean indicating if home and away teams are displayed inversely.\
> &#x20;               \
> &#x20;   \- \*\*matches\*\*: An array of match objects, each containing:\
> &#x20;       \
> &#x20;       \- \*\*tournamentId\*\*: The unique identifier for the tournament.\
> &#x20;           \
> &#x20;       \- \*\*id\*\*: The unique identifier for the match.\
> &#x20;           \
> &#x20;       \- \*\*startTimestamp\*\*: The start time of the match in timestamp format.\
> &#x20;           \
> &#x20;       \- \*\*detailId\*\*: The detail identifier for the match.\
> &#x20;           \
> &#x20;       \- \*\*season\*\*: An object with season details including:\
> &#x20;           \
> &#x20;           \- \*\*name\*\*: The name of the season.\
> &#x20;               \
> &#x20;           \- \*\*year\*\*: The year of the season.\
> &#x20;               \
> &#x20;           \- \*\*id\*\*: The unique identifier for the season.\
> &#x20;               \
> &#x20;       \- \*\*roundInfo\*\*: An object containing round information.\
> &#x20;           \
> &#x20;       \- \*\*status\*\*: An object with status details including:\
> &#x20;           \
> &#x20;           \- \*\*code\*\*: Status code.\
> &#x20;               \
> &#x20;           \- \*\*description\*\*: Description of the status.\
> &#x20;               \
> &#x20;           \- \*\*type\*\*: Type of status.\
> &#x20;               \
> &#x20;       \- \*\*statusTime\*\*: An object detailing the status time.\
> &#x20;           \
> &#x20;       \- \*\*homeTeam\*\*: An object containing details of the home team.\
> &#x20;           \
> &#x20;       \- \*\*homeScore\*\*: An object with the current score of the home team.\
> &#x20;           \
> &#x20;       \- \*\*awayTeam\*\*: An object containing details of the away team.\
> &#x20;           \
> &#x20;       \- \*\*awayScore\*\*: An object with the current score of the away team.\
> &#x20;           \
> &#x20;       \- \*\*time\*\*: An object detailing the match time.\
> &#x20;           \
> &#x20;       \- \*\*tournament\*\*: An object with tournament details (similar to the tournament object above).\
> &#x20;           \
> \
> This structure allows clients to easily parse and display live match information, facilitating real-time updates for users.

```json
{"openapi":"3.0.0","info":{"title":"FOOTBALL API V1","version":"1.0.0"},"tags":[{"name":"Matches"}],"servers":[{"url":"https://apiv3.sportsapi360.com"}],"security":[{"apikeyAuth":[]}],"components":{"securitySchemes":{"apikeyAuth":{"type":"http","scheme":"x-api-key"}}},"paths":{"/football/api/v1/matches/live":{"get":{"tags":["Matches"],"summary":"Live Matches","description":"## API Endpoint: Get Live Football Matches\n\n### Purpose\n\nThis endpoint retrieves the current live football matches along with their tournament details. It provides real-time information about ongoing matches, including team scores and tournament specifics.\n\n### Request Format\n\n- **Method**: GET\n    \n- **URL**: `https://apiv3.sportsapi360.com/football/api/v1/matches/live`\n    \n- **Request Body**: This endpoint does not require a request body.\n    \n\n### Response Structure\n\nThe response from this endpoint will be in JSON format and includes the following key components:\n\n- **status**: A boolean indicating the success of the request.\n    \n- **statusCode**: An integer representing the status code of the response.\n    \n- **message**: A string for any additional message related to the response.\n    \n- **response**: An array containing details of live matches. Each match object includes:\n    \n    - **tournamentId**: The unique identifier for the tournament.\n        \n    - **tournament**: An object containing tournament details:\n        \n        - **id**: The unique identifier for the tournament.\n            \n        - **name**: The name of the tournament.\n            \n        - **category**: An object with category details including:\n            \n            - **name**: The name of the category.\n                \n            - **id**: The unique identifier for the category.\n                \n            - **country**: An object with country details including:\n                \n                - **alpha2**: The two-letter country code.\n                    \n                - **alpha3**: The three-letter country code.\n                    \n                - **name**: The name of the country.\n                    \n        - **details**: Additional tournament details including:\n            \n            - **name**: The name of the tournament.\n                \n            - **category**: The category details.\n                \n            - **hasPerformanceGraphFeature**: A boolean indicating if performance graphs are available.\n                \n            - **id**: The unique identifier for the details.\n                \n            - **country**: Country details.\n                \n            - **hasEventPlayerStatistics**: A boolean indicating if player statistics are available.\n                \n            - **displayInverseHomeAwayTeams**: A boolean indicating if home and away teams are displayed inversely.\n                \n    - **matches**: An array of match objects, each containing:\n        \n        - **tournamentId**: The unique identifier for the tournament.\n            \n        - **id**: The unique identifier for the match.\n            \n        - **startTimestamp**: The start time of the match in timestamp format.\n            \n        - **detailId**: The detail identifier for the match.\n            \n        - **season**: An object with season details including:\n            \n            - **name**: The name of the season.\n                \n            - **year**: The year of the season.\n                \n            - **id**: The unique identifier for the season.\n                \n        - **roundInfo**: An object containing round information.\n            \n        - **status**: An object with status details including:\n            \n            - **code**: Status code.\n                \n            - **description**: Description of the status.\n                \n            - **type**: Type of status.\n                \n        - **statusTime**: An object detailing the status time.\n            \n        - **homeTeam**: An object containing details of the home team.\n            \n        - **homeScore**: An object with the current score of the home team.\n            \n        - **awayTeam**: An object containing details of the away team.\n            \n        - **awayScore**: An object with the current score of the away team.\n            \n        - **time**: An object detailing the match time.\n            \n        - **tournament**: An object with tournament details (similar to the tournament object above).\n            \n\nThis structure allows clients to easily parse and display live match information, facilitating real-time updates for users.","parameters":[{"name":"x-api-key","in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"text/plain":{"schema":{"type":"string"}}}}}}}}}
```

## Scheduled Matches

> \## Get Match Schedule\
> \
> This endpoint retrieves the scheduled matches for a specific date in the football tournament calendar. The request allows users to specify a date to fetch all matches scheduled for that day.\
> \
> \### Request\
> \
> \- \*\*Method\*\*: GET\
> &#x20;   \
> \- \*\*URL\*\*: \`<https://apiv3.sportsapi360.com/football/api/v1/matches/schedule\\`\\>
> &#x20;   \
> \- \*\*Query Parameters\*\*:\
> &#x20;   \
> &#x20;   \- \`date\` (string, required): The date for which the match schedule is requested, formatted as \`YYYY-MM-DD\`.\
> &#x20;       \
> \
> \### Response Structure\
> \
> The response will return a JSON object containing the following fields:\
> \
> \- \`status\` (boolean): Indicates if the request was successful.\
> &#x20;   \
> \- \`statusCode\` (integer): A code representing the status of the response.\
> &#x20;   \
> \- \`message\` (string): A message providing additional information about the request status.\
> &#x20;   \
> \- \`response\` (array): An array of match schedules, where each match object includes:\
> &#x20;   \
> &#x20;   \- \`tournamentId\` (integer): The ID of the tournament.\
> &#x20;       \
> &#x20;   \- \`tournament\` (object): Details about the tournament, including:\
> &#x20;       \
> &#x20;       \- \`id\` (integer): Tournament ID.\
> &#x20;           \
> &#x20;       \- \`name\` (string): Name of the tournament.\
> &#x20;           \
> &#x20;       \- \`category\` (object): Category details including:\
> &#x20;           \
> &#x20;           \- \`name\` (string): Name of the category.\
> &#x20;               \
> &#x20;           \- \`id\` (integer): Category ID.\
> &#x20;               \
> &#x20;           \- \`country\` (object): Country details including:\
> &#x20;               \
> &#x20;               \- \`alpha2\` (string): Alpha-2 country code.\
> &#x20;                   \
> &#x20;               \- \`alpha3\` (string): Alpha-3 country code.\
> &#x20;                   \
> &#x20;               \- \`name\` (string): Name of the country.\
> &#x20;                   \
> &#x20;           \- \`flag\` (string): URL or path to the country flag.\
> &#x20;               \
> &#x20;   \- \`matches\` (array): An array of match objects, where each match includes:\
> &#x20;       \
> &#x20;       \- \`id\` (integer): Unique match ID.\
> &#x20;           \
> &#x20;       \- \`startTimestamp\` (integer): The start time of the match in UNIX timestamp format.\
> &#x20;           \
> &#x20;       \- \`homeTeam\` (object): Details about the home team, including:\
> &#x20;           \
> &#x20;           \- \`name\` (string): Team name.\
> &#x20;               \
> &#x20;           \- \`shortName\` (string): Short name of the team.\
> &#x20;               \
> &#x20;           \- \`gender\` (string): Gender category of the team.\
> &#x20;               \
> &#x20;           \- \`country\` (object): Country details of the team.\
> &#x20;               \
> &#x20;       \- \`homeScore\` (object): Current score and breakdown of the home team's scoring.\
> &#x20;           \
> &#x20;       \- \`awayTeam\` (object): Details about the away team, structured similarly to \`homeTeam\`.\
> &#x20;           \
> &#x20;       \- \`awayScore\` (object): Current score and breakdown of the away team's scoring.\
> &#x20;           \
> &#x20;       \- \`time\` (object): Timing details including injury time.\
> &#x20;           \
> &#x20;       \- \`tournament\` (object): Tournament details associated with the match.\
> &#x20;           \
> \
> \### Example Response\
> \
> \`\`\` json\
> {\
> &#x20; "status": true,\
> &#x20; "statusCode": 0,\
> &#x20; "message": "",\
> &#x20; "response": \[\
> &#x20;   {\
> &#x20;     "tournamentId": 0,\
> &#x20;     "tournament": {\
> &#x20;       "id": 0,\
> &#x20;       "name": "",\
> &#x20;       "category": {\
> &#x20;         "name": "",\
> &#x20;         "id": 0,\
> &#x20;         "country": {\
> &#x20;           "alpha2": "",\
> &#x20;           "alpha3": "",\
> &#x20;           "name": ""\
> &#x20;         },\
> &#x20;         "flag": "",\
> &#x20;         "alpha2": ""\
> &#x20;       },\
> &#x20;       "details": {\
> &#x20;         "name": "",\
> &#x20;         "category": {\
> &#x20;           "name": "",\
> &#x20;           "id": 0,\
> &#x20;           "country": {\
> &#x20;             "alpha2": "",\
> &#x20;             "alpha3": "",\
> &#x20;             "name": ""\
> &#x20;           },\
> &#x20;           "flag": "",\
> &#x20;           "alpha2": ""\
> &#x20;         },\
> &#x20;         "hasPerformanceGraphFeature": true,\
> &#x20;         "id": 0,\
> &#x20;         "hasEventPlayerStatistics": true,\
> &#x20;         "displayInverseHomeAwayTeams": true\
> &#x20;       }\
> &#x20;     },\
> &#x20;     "matches": \[\
> &#x20;       {\
> &#x20;         "tournamentId": 0,\
> &#x20;         "id": 0,\
> &#x20;         "startTimestamp": 0,\
> &#x20;         "homeTeam": {\
> &#x20;           "name": "",\
> &#x20;           "shortName": "",\
> &#x20;           "gender": "",\
> &#x20;           "country": {\
> &#x20;             "alpha2": "",\
> &#x20;             "alpha3": "",\
> &#x20;             "name": ""\
> &#x20;           }\
> &#x20;         },\
> &#x20;         "homeScore": {\
> &#x20;           "current": 0,\
> &#x20;           "display": 0\
> &#x20;         },\
> &#x20;         "awayTeam": {\
> &#x20;           "name": "",\
> &#x20;           "shortName": "",\
> &#x20;           "gender": "",\
> &#x20;           "country": {\
> &#x20;             "alpha2": "",\
> &#x20;             "alpha3": "",\
> &#x20;             "name": ""\
> &#x20;           }\
> &#x20;         },\
> &#x20;         "awayScore": {\
> &#x20;           "current": 0,\
> &#x20;           "display": 0\
> &#x20;         },\
> &#x20;         "time": {\
> &#x20;           "injuryTime1": 0,\
> &#x20;           "injuryTime2": 0\
> &#x20;         }\
> &#x20;       }\
> &#x20;     ]\
> &#x20;   }\
> &#x20; ]\
> }\
> \
> &#x20;\`\`\`

````json
{"openapi":"3.0.0","info":{"title":"FOOTBALL API V1","version":"1.0.0"},"tags":[{"name":"Matches"}],"servers":[{"url":"https://apiv3.sportsapi360.com"}],"security":[{"apikeyAuth":[]}],"components":{"securitySchemes":{"apikeyAuth":{"type":"http","scheme":"x-api-key"}}},"paths":{"/football/api/v1/matches/schedule":{"get":{"tags":["Matches"],"summary":"Scheduled Matches","description":"## Get Match Schedule\n\nThis endpoint retrieves the scheduled matches for a specific date in the football tournament calendar. The request allows users to specify a date to fetch all matches scheduled for that day.\n\n### Request\n\n- **Method**: GET\n    \n- **URL**: `https://apiv3.sportsapi360.com/football/api/v1/matches/schedule`\n    \n- **Query Parameters**:\n    \n    - `date` (string, required): The date for which the match schedule is requested, formatted as `YYYY-MM-DD`.\n        \n\n### Response Structure\n\nThe response will return a JSON object containing the following fields:\n\n- `status` (boolean): Indicates if the request was successful.\n    \n- `statusCode` (integer): A code representing the status of the response.\n    \n- `message` (string): A message providing additional information about the request status.\n    \n- `response` (array): An array of match schedules, where each match object includes:\n    \n    - `tournamentId` (integer): The ID of the tournament.\n        \n    - `tournament` (object): Details about the tournament, including:\n        \n        - `id` (integer): Tournament ID.\n            \n        - `name` (string): Name of the tournament.\n            \n        - `category` (object): Category details including:\n            \n            - `name` (string): Name of the category.\n                \n            - `id` (integer): Category ID.\n                \n            - `country` (object): Country details including:\n                \n                - `alpha2` (string): Alpha-2 country code.\n                    \n                - `alpha3` (string): Alpha-3 country code.\n                    \n                - `name` (string): Name of the country.\n                    \n            - `flag` (string): URL or path to the country flag.\n                \n    - `matches` (array): An array of match objects, where each match includes:\n        \n        - `id` (integer): Unique match ID.\n            \n        - `startTimestamp` (integer): The start time of the match in UNIX timestamp format.\n            \n        - `homeTeam` (object): Details about the home team, including:\n            \n            - `name` (string): Team name.\n                \n            - `shortName` (string): Short name of the team.\n                \n            - `gender` (string): Gender category of the team.\n                \n            - `country` (object): Country details of the team.\n                \n        - `homeScore` (object): Current score and breakdown of the home team's scoring.\n            \n        - `awayTeam` (object): Details about the away team, structured similarly to `homeTeam`.\n            \n        - `awayScore` (object): Current score and breakdown of the away team's scoring.\n            \n        - `time` (object): Timing details including injury time.\n            \n        - `tournament` (object): Tournament details associated with the match.\n            \n\n### Example Response\n\n``` json\n{\n  \"status\": true,\n  \"statusCode\": 0,\n  \"message\": \"\",\n  \"response\": [\n    {\n      \"tournamentId\": 0,\n      \"tournament\": {\n        \"id\": 0,\n        \"name\": \"\",\n        \"category\": {\n          \"name\": \"\",\n          \"id\": 0,\n          \"country\": {\n            \"alpha2\": \"\",\n            \"alpha3\": \"\",\n            \"name\": \"\"\n          },\n          \"flag\": \"\",\n          \"alpha2\": \"\"\n        },\n        \"details\": {\n          \"name\": \"\",\n          \"category\": {\n            \"name\": \"\",\n            \"id\": 0,\n            \"country\": {\n              \"alpha2\": \"\",\n              \"alpha3\": \"\",\n              \"name\": \"\"\n            },\n            \"flag\": \"\",\n            \"alpha2\": \"\"\n          },\n          \"hasPerformanceGraphFeature\": true,\n          \"id\": 0,\n          \"hasEventPlayerStatistics\": true,\n          \"displayInverseHomeAwayTeams\": true\n        }\n      },\n      \"matches\": [\n        {\n          \"tournamentId\": 0,\n          \"id\": 0,\n          \"startTimestamp\": 0,\n          \"homeTeam\": {\n            \"name\": \"\",\n            \"shortName\": \"\",\n            \"gender\": \"\",\n            \"country\": {\n              \"alpha2\": \"\",\n              \"alpha3\": \"\",\n              \"name\": \"\"\n            }\n          },\n          \"homeScore\": {\n            \"current\": 0,\n            \"display\": 0\n          },\n          \"awayTeam\": {\n            \"name\": \"\",\n            \"shortName\": \"\",\n            \"gender\": \"\",\n            \"country\": {\n              \"alpha2\": \"\",\n              \"alpha3\": \"\",\n              \"name\": \"\"\n            }\n          },\n          \"awayScore\": {\n            \"current\": 0,\n            \"display\": 0\n          },\n          \"time\": {\n            \"injuryTime1\": 0,\n            \"injuryTime2\": 0\n          }\n        }\n      ]\n    }\n  ]\n}\n\n ```","parameters":[{"name":"x-api-key","in":"header","schema":{"type":"string"}},{"name":"date","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"text/plain":{"schema":{"type":"string"}}}}}}}}}
````


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docsv3.sportsapi360.com/football-docs/api-collection-football/matches.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
