Event Information

About get_event

The get_event endpoint (also known as get event by id) is used to get details of a single event covered by the Premium Cricket product and contains information about the event to supplement the main fixture end.

In other words, get_event endpoint is used to get the summary of a cricket event and is equivalent to summary.xml endpoint in UOF.

Request Example

https://cricketapi.sportradar.com/UnifiedFeedScoring/xml/get_event?event_id=sr:match:42096363

Response Structure

<GetEventResponse xmlns="http://schemas.datacontract.org/2004/07/Sportradar.OddsFeed.PremiumCricket.Scoring.Response" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
    <action>Success</action>
    <message>OK.</message>
    <response_code>OK</response_code>
    <sportEventxmlns:a="http://schemas.datacontract.org/2004/07/Sportradar.OddsFeed.PremiumCricket.Scoring">
        <a:categories>
            <a:EventCategory>
                <a:categoryValue>Texas Super Kings</a:categoryValue>
                <a:eventCategoryType>Team1</a:eventCategoryType>
            </a:EventCategory>
            <a:EventCategory>
                <a:categoryValue>MI New York</a:categoryValue> <a:eventCategoryType>Team2</a:eventCategoryType>
            </a:EventCategory>
            <a:EventCategory>
                <a:categoryValue>20 Overs</a:categoryValue> <a:eventCategoryType>Format</a:eventCategoryType>
            </a:EventCategory>
            <a:EventCategory>
                <a:categoryValue>Canadian Domestic</a:categoryValue> <a:eventCategoryType>CompetitionType</a:eventCategoryType>
            </a:EventCategory>
            <a:EventCategory>
                <a:categoryValue>T20</a:categoryValue>
                <a:eventCategoryType>SeriesType</a:eventCategoryType>
            </a:EventCategory>
            <a:EventCategory>
                <a:categoryValue>Major League Cricket</a:categoryValue>
                <a:eventCategoryType>SeriesName</a:eventCategoryType>
            </a:EventCategory>
        </a:categories>
        <a:competition>Canadian Domestic T20</a:competition>
        <a:competitionInstance>Major League Cricket</a:competitionInstance>
        <a:eventCreatedDate>0001-01-01T00:00:00</a:eventCreatedDate>
        <a:eventId>sr:match:42096363</a:eventId>
        <a:eventName>Texas Super Kings v MI New York</a:eventName>
        <a:format>20 Overs</a:format>
        <a:liveOperationalStatus>MarketsAvailable</a:liveOperationalStatus>
        <a:preMatchOperationalStatus>ResultsPending</a:preMatchOperationalStatus>
        <a:premiumCricketEventId>42096363</a:premiumCricketEventId>
        <a:scheduledStart>2023-07-18T01:30:00</a:scheduledStart>
        <a:status>Closed</a:status>
        <a:venue i:nil="true" />
    </sportEvent>
</GetEventResponse>

Elements and Sub-elements Explained

<GetEventsResponse>

action

Information indicating details of any errors when making API call.

message

Punctuated HTTP response code

response_code

HTTP response code.

sportEvent

Member of type SportEvent, containing details of upcoming or recently completed match.

Last updated

Was this helpful?