# Period scores

The period scores element and its sub-element period score are present in the summary end point and in the timeline end point and they are extremely significant as they report the resulting for the match.

This is a useful information for those matches which are not covered live.

Here follows an example of period scores.

\<period\_scores>\
&#x20;       \<period\_score home\_score="0" away\_score="0" match\_status\_code="6" type="regular\_period" number="1"/>\
&#x20;       \<period\_score home\_score="1" away\_score="1" match\_status\_code="7" type="regular\_period" number="2"/>\
&#x20;       \<period\_score home\_score="1" away\_score="1" match\_status\_code="40" type="overtime" number="3"/>\
&#x20;       \<period\_score home\_score="3" away\_score="5" match\_status\_code="50" type="penalties" number="4"/>\
\</period\_scores>

Each period score element provides info about the outcome of a part of the match which can be different according to the sport. The example provides the resulting of a soccer match with 2 regular half times and over time and penalties with related scores.

Table below provides info related to the attributes in the period\_score element.

| Attribute           | meaning                                                 | possible values                                             | type    | Note                                                                                                                                                |
| ------------------- | ------------------------------------------------------- | ----------------------------------------------------------- | ------- | --------------------------------------------------------------------------------------------------------------------------------------------------- |
| home\_score         | score of the home team at a certain period of the match | number                                                      | numeric | <p><br></p>                                                                                                                                         |
| away\_score         | score of the away team at a certain period of the match | number                                                      | numeric | <p><br></p>                                                                                                                                         |
| match\_status\_code | code of the match status                                | 6,7,40,50                                                   | numeric | In the period\_score the match\_status\_code can assume just values of "overtime", "penalties" and in all other cases it will be "regualar\_period" |
| type                | description of the period                               | <p>"regular\_period"</p><p>"overtime"</p><p>"penalties"</p> | string  | <p><br></p>                                                                                                                                         |
| number              | number of the period                                    | number                                                      | numeric | <p><br></p>                                                                                                                                         |


---

# 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://docs.sportradar.com/uof/support-and-history/archived/deprecated-uof-endpoints/elements/period-scores.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.
