> For the complete documentation index, see [llms.txt](https://docs.sportradar.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sportradar.com/soccer/mls-p-and-b-tracking-websockets/low-latency-tracking-feed.md).

# Low latency tracking feed

This section details and describes the payload which contains the home and away players, the ball and referee positions.

## Endpoint URL

**Websocket URL** `wss://dde-generic-datastream.dde-prod.imgarena.dev/ws/soccer/tracking/low_latency`

## Response Fields:

| **Field Name** | **Type** | **Description**                                                                                                                                      |
| -------------- | -------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- |
| id             | string   | DDE fixture ID.                                                                                                                                      |
| ix             | integer  | Index per channel and sub-type (event type in event channel).                                                                                        |
| ph             | integer  | Number of the current phase.                                                                                                                         |
| st             | string   | <p>State of the current phase: \[start] - first message of the phase.<br>\[running] phase is in progress .<br>\[end] final message of the phase.</p> |
| ut             | integer  | UTC time - utc time, in milliseconds since Jan 01 1970. (UTC).                                                                                       |
| ba             | object   | Ball - statistics on ball.                                                                                                                           |
| hm             | object   | Home Team - statistics on home team's players.                                                                                                       |
| aw             | object   | Away Team - statistics on away team's players.                                                                                                       |
| rf             | object   | statistics on referees.                                                                                                                              |

## BA (ball) object:

| **Field Name** | **Type** | **Description**                                                                         |
| -------------- | -------- | --------------------------------------------------------------------------------------- |
| tm             | string   | Team - team in possession of the ball.                                                  |
| jn             | integer  | Jersey Number - jersey number of the player in possession of the ball, -1 for unknowns. |
| ph             | array    | Phase - number of the current phase.                                                    |

### hm (home team) object:

| **Field Name** | **Type** | **Description**                                                                                                              |
| -------------- | -------- | ---------------------------------------------------------------------------------------------------------------------------- |
| ro             | integer  | <p>Role - Index identifying player's role:<br>1 for goalkeepers.<br>2 for players.<br>3 for referees.<br>-1 for unknowns</p> |
| jn             | integer  | <p>Jersey Number - jersey number for the player.<br><br>Note -1 for unknowns.</p>                                            |
| pl             | string   | <p>Player Id - Player id for the player.<br><br>Note null for unknowns.</p>                                                  |
| v              | float    | Speed - current speed of the player \[meters/second]                                                                         |
| pn             | array    | Position - (x, y) player coordinates, origin is pitch center \[meters]                                                       |

### aw (away team) object:

| **Field Name** | **Type** | **Description**                                                                                                              |
| -------------- | -------- | ---------------------------------------------------------------------------------------------------------------------------- |
| ro             | integer  | <p>Role - Index identifying player's role:<br>1 for goalkeepers.<br>2 for players.<br>3 for referees.<br>-1 for unknowns</p> |
| jn             | integer  | <p>Jersey Number - jersey number for the player.<br><br>Note -1 for unknowns.</p>                                            |
| pl             | string   | <p>Player Id - Player id for the player.<br><br>Notenull for unknowns.</p>                                                   |
| v              | float    | Speed - current speed of the player \[meters/second]                                                                         |
| pn             | array    | Position - (x, y) player coordinates, origin is pitch center \[meters]                                                       |

### rf (referees) object:

| **Field Name** | **Type** | **Description**                                                                                                                       |
| -------------- | -------- | ------------------------------------------------------------------------------------------------------------------------------------- |
| ro             | integer  | <p>Role - Index identifying player's role:<br>1 for goalkeepers.</p><p>2 for players.</p><p>3 for referees.</p><p>-1 for unknowns</p> |
| jn             | integer  | <p>Jersey Number - jersey number for the player.<br><br>Note -1 for unknowns.</p>                                                     |
| v              | float    | Speed - current speed of the player \[meters/second].                                                                                 |
| pn             | array    | Position - (x, y) player coordinates, origin is pitch center \[meters].                                                               |

#### Sample response:

```
{
    "id": "2f7b206a-b2e5-4fb1-9919-79a9c671bb16",
    "ix": 1469697,
    "ph": 1,
    "st": "running",
    "ut": 1712515038889,
    "ba": {
        "tm": "away_team",
        "jn": -1,
        "pn": [
            -4956.309,
            -2766.935,
            8.0
        ]
    },
    "hm": [
        {
            "ro": 2,
            "jn": 54,
            "pl": "03a654a9-269d-4c3d-8d1f-98b6ab3b8e78",
            "v": 1.11,
            "pn": [
                -3185.784,
                457.794
            ]
        },
        {
            "ro": 2,
            "jn": 5,
            "pl": "0d981df7-0376-4771-b522-c65d732895a8",
            "v": 0.72,
            "pn": [
                -4049.568,
                281.517
            ]
        },
        {
            "ro": 2,
            "jn": 29,
            "pl": "c2bc04f4-3c13-4d6f-97e7-3d947df3660a",
            "v": 0.08,
            "pn": [
                2995.38,
                -8.77
            ]
        },
        {
            "ro": 2,
            "jn": 26,
            "pl": "da410b64-f2b8-437d-9065-f02792869f13",
            "v": 1.24,
            "pn": [
                -3690.819,
                851.567
            ]
        },
        {
            "ro": 2,
            "jn": 17,
            "pl": "1a5702a8-f9a5-4b02-8ab0-9b88e7b8bd8d",
            "v": 0.04,
            "pn": [
                -1984.149,
                -292.918
            ]
        },
        {
            "ro": 2,
            "jn": 10,
            "pl": "4b4d5765-e0a5-423b-9347-c7fb5862d64e",
            "v": 0.11,
            "pn": [
                -5114.205,
                775.268
            ]
        },
        {
            "ro": 2,
            "jn": 23,
            "pl": "54acda57-f37e-4636-844f-4b98adca9f8c",
            "v": 0.44,
            "pn": [
                -4696.245,
                185.047
            ]
        },
        {
            "ro": 2,
            "jn": 14,
            "pl": "66c10465-614f-404b-b2aa-2c9dcbd0ba99",
            "v": 0.51,
            "pn": [
                -3358.773,
                -1104.143
            ]
        },
        {
            "ro": 2,
            "jn": 4,
            "pl": "f590af73-157f-4dc8-8f08-7d1738aa496d",
            "v": 2.06,
            "pn": [
                -4524.417,
                334.137
            ]
        },
        {
            "ro": 2,
            "jn": 6,
            "pl": "26bb8dc1-d6f2-4e9e-8dee-75c3959ca2b5",
            "v": 0.39,
            "pn": [
                -4748.49,
                322.736
            ]
        }
    ],
    "aw": [
        {
            "ro": 2,
            "jn": 16,
            "pl": "6e7479f8-65c1-4c03-800c-019f23ace921",
            "v": 0.19,
            "pn": [
                -5368.464,
                33.326
            ]
        },
        {
            "ro": 2,
            "jn": 15,
            "pl": "9dfe29ab-0e6b-49c9-97f8-6781db69d3ec",
            "v": 0.12,
            "pn": [
                -4964.436,
                349.046
            ]
        },
        {
            "ro": 2,
            "jn": 14,
            "pl": "106d3d30-3712-4935-b9ae-d25b2eb2d135",
            "v": 0.36,
            "pn": [
                -5128.137,
                -311.335
            ]
        },
        {
            "ro": 2,
            "jn": 29,
            "v": 1.69,
            "pn": [
                -4931.928,
                -748.081
            ]
        },
        {
            "ro": 2,
            "jn": 2,
            "pl": "38e3e4dc-d053-41c6-8bc4-0d0df6d528d2",
            "v": 0.4,
            "pn": [
                -4977.207,
                -108.748
            ]
        },
        {
            "ro": 2,
            "jn": 11,
            "pl": "19a4398b-2fd1-4a72-9c91-9133241b224a",
            "v": 0.05,
            "pn": [
                -5433.48,
                -404.297
            ]
        },
        {
            "ro": 2,
            "jn": 10,
            "pl": "48b5cdd0-c800-47cc-8dab-f78c6239d0f0",
            "v": 0.46,
            "pn": [
                -4298.022,
                -520.061
            ]
        },
        {
            "ro": 2,
            "jn": 30,
            "pl": "935f78d2-f2cd-4522-9a2a-06f70dccada5",
            "v": 0.0,
            "pn": [
                -4630.068,
                -14.909
            ]
        },
        {
            "ro": 2,
            "jn": 24,
            "pl": "18c2b68d-bf8f-4d80-9ebc-6e8e99ec439f",
            "v": 0.42,
            "pn": [
                -4608.009,
                127.165
            ]
        },
        {
            "ro": 2,
            "jn": 4,
            "pl": "3b516e40-afac-43dc-816e-15a8c61b5e40",
            "v": 0.15,
            "pn": [
                -4949.343,
                144.705
            ]
        },
        {
            "ro": 2,
            "jn": 22,
            "pl": "ca82d6bd-ff74-49ec-8ef7-ab77fafdf056",
            "v": 0.05,
            "pn": [
                -4610.331,
                273.624
            ]
        }
    ],
    "rf": [
        {
            "ro": 3,
            "jn": 2,
            "v": 0.31,
            "pn": [
                -5456.7,
                3430.824
            ]
        },
        {
            "ro": 3,
            "jn": 0,
            "v": 0.75,
            "pn": [
                -3957.849,
                -821.749
            ]
        },
        {
            "ro": 3,
            "jn": 1,
            "v": 0.12,
            "pn": [
                30.186,
                -3413.284
            ]
        }
    ]
}
```


---

# 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.sportradar.com/soccer/mls-p-and-b-tracking-websockets/low-latency-tracking-feed.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.
