> For the complete documentation index, see [llms.txt](https://docs.thesports.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.thesports.com/untitled/realtime-data/real-time-data.md). Agents can also search and read this documentation through its [MCP server](https://docs.thesports.com/~gitbook/mcp).

# Real-time data

## Real-time data

> Return player data and text live broadcast of real-time matches (full update)\<br/>Suggest the request frequency: 2 seconds/time\<br/>\<br/>Description:\<br/>1. Match time (seconds) = current time - round start time (calculated based on the timer field)\<br/>2. Countdown (seconds) = round time - match time (calculated based on the timer field)\<br/>3. Countdown <= 0, end of round

```json
{"openapi":"3.0.1","info":{"title":"Gaming Valorant API","version":"1.0.250516"},"tags":[{"name":"REALTIME DATA","description":"REALTIME DATA"}],"servers":[{"url":"https://api.thesports.com"}],"paths":{"/v1/valorant/match/detail_live":{"get":{"tags":["REALTIME DATA"],"description":"Return player data and text live broadcast of real-time matches (full update)<br/>Suggest the request frequency: 2 seconds/time<br/><br/>Description:<br/>1. Match time (seconds) = current time - round start time (calculated based on the timer field)<br/>2. Countdown (seconds) = round time - match time (calculated based on the timer field)<br/>3. Countdown <= 0, end of round","summary":"Real-time data","operationId":"getMatchDetailLive","parameters":[{"$ref":"#/components/parameters/User"},{"$ref":"#/components/parameters/Secret"}],"responses":{"200":{"description":"Successful","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"integer"},"results":{"type":"array","items":{"$ref":"#/components/schemas/MatchDetailLive"}}}}}}},"404":{"$ref":"#/components/responses/404NotFound"}}}}},"components":{"parameters":{"User":{"name":"user","in":"query","description":"Username, please contact our business manager","required":true,"schema":{"type":"string"}},"Secret":{"name":"secret","in":"query","description":"Key, please contact our business manager","required":true,"schema":{"type":"string"}}},"schemas":{"MatchDetailLive":{"type":"object","description":"Data details","properties":{"match_id":{"type":"string","description":"Match id"},"box_num":{"type":"integer","description":"Current inning"},"status_id":{"type":"integer","description":"Match status, please refer to Status Code -> Match Status"},"single_status_id":{"type":"integer","description":"Current game status, please refer to Status Code -> Match Status"},"map_id":{"type":"string","description":"Map id"},"round_num":{"type":"integer","description":"Current round"},"home":{"type":"object","description":"Home team data","properties":{"id":{"type":"string","description":"Team id"},"side":{"type":"integer","description":"1-Attackers, 2-Defenders"},"score":{"type":"integer","description":"Total score (match score)"},"stats":{"$ref":"#/deps/schemas/LiveTeamStats"},"win_icon":{"$ref":"#/deps/schemas/LiveWinIcon"},"players":{"type":"array","description":"Player data","items":{"$ref":"#/deps/schemas/LivePlayers"}},"fh_score":{"type":"integer","description":"First half score, may not exist"},"sh_score":{"type":"integer","description":"Second half score, may not exist"},"m_score":{"type":"integer","description":"Overtime score, may not exist"},"c_score":{"type":"integer","description":"Total round score, may not exist"}}},"away":{"type":"object","description":"Away team data","properties":{"id":{"type":"string","description":"Team id"},"side":{"type":"integer","description":"1-Attackers, 2-Defenders"},"score":{"type":"integer","description":"Total score (match score)"},"stats":{"$ref":"#/deps/schemas/LiveTeamStats"},"win_icon":{"$ref":"#/deps/schemas/LiveWinIcon"},"players":{"type":"array","description":"Player data","items":{"$ref":"#/deps/schemas/LivePlayers"}},"fh_score":{"type":"integer","description":"First half score, may not exist"},"sh_score":{"type":"integer","description":"Second half score, may not exist"},"m_score":{"type":"integer","description":"Overtime score, may not exist"},"c_score":{"type":"integer","description":"Total round score, may not exist"}}}}}},"responses":{"404NotFound":{"description":"Resource does not exist","content":{"application/json":{"schema":{"$ref":"#/common/schemas/ErrorMsg"}}}}}},"deps":{"schemas":{"LiveTeamStats":{"type":"array","description":"Team statistics field description<br/>example:[1, 1, 1, 0, 0, 0, 0, 0]\n\n**Field definitions**\n\n| Index | Field | Type |\n| --- | --- | --- |\n| `0` | Win first half, 1-Yes, 0-No | Integer |\n| `1` | Win second half, 1-Yes, 0-No | Integer |\n| `2` | Win five rounds first, 1-Yes, 0-No | Integer |\n| `3` | Win ten rounds first, 1-Yes, 0-No | Integer |\n| `4` | Compatible, ignore | Not specified |\n| `5` | Compatible, ignore | Not specified |\n| `6` | Compatible, ignore | Not specified |\n| `7` | Compatible, ignore | Not specified |\n","items":""},"LiveWinIcon":{"type":"array","description":"Victory signs for the first and second half<br/>the array is divided into two, the first half and the second half<br/>each one is a round: 1-D kills everyone 2-A kills everyone 3-A wins the explosion 4-D wins the bomb removal 5-D time runs out to win 0-None<br/>example:[\"141041110400114\", \"003220220000000\"]\n\n**Field definitions**\n\n| Index | Field | Type |\n| --- | --- | --- |\n| `0` | First half | String |\n| `1` | Second half | String |\n","items":""},"LivePlayers":{"type":"object","properties":{"id":{"type":"string","description":"Player id"},"agent_id":{"type":"string","description":"Agent id"},"stats":{"$ref":"#/deps/schemas/LivePlayerStats"}}},"LivePlayerStats":{"type":"array","description":"Player statistics field description<br/>example:[8, 6, 5, 0.3, 1.1, 5.8, 2, 4, -2, 0, 0, 0]\n\n**Field definitions**\n\n| Index | Field | Type |\n| --- | --- | --- |\n| `0` | Kills | Integer |\n| `1` | Deaths | Integer |\n| `2` | Assists | Integer |\n| `3` | Trade index | Integer |\n| `4` | Average damage per round | Float |\n| `5` | Headshot percentage | Float |\n| `6` | First kills | Integer |\n| `7` | First deaths | Integer |\n| `8` | First kill/Death differential | Integer |\n| `9` | Compatible, ignore | Not specified |\n| `10` | Compatible, ignore | Not specified |\n| `11` | Compatible, ignore | Not specified |\n","items":""}}},"common":{"schemas":{"ErrorMsg":{"type":"object","description":"Abnormal","properties":{"code":{"type":"integer","description":"Status code"},"msg":{"type":"string","description":"Error message"}}}}}}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.thesports.com/untitled/realtime-data/real-time-data.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
