Live Text

Update Time: 2024-04-15 09:12

Introduction

• This API endpoint returns the content of live text of the specified match ID, and only supports NBA and WNBA.

• Without parameter, return all the match text live content updated in the last 2 minutes.

• You can use it with the Match List of Live Text endpoint.

Related Plans

You can use this api by subscribing plans:  Live Data.

Request

  • Path: /sport/basketball/livetext
  • Method: GET
  • Calls: This interface is limited to 3 second/call;
  • Recommend Calls: 10 second/call
  • Parameters:
ParameterValueRequiredDescription
matchIdstringtrue

Response

ParameterValueDescription
recordId string
matchId string
remainTime string
teamKind int1: Home team
2: Away Team
3: Neutral
matchState int0: Not started
1: The first quarter
2: The second quarter
3: The third quarter
4: The fourth quarter
5: The first OT
6: The second OT
7: The third OT
50: Half-time
-1: Finished
-2: TBD
-3: Interrupted
-4: Cancelled
-5: Postponed
score string
content string

Example Request

Example Response

{}
    • This API endpoint returns the content of live text of the specified match ID, and only supports NBA and WNBA.\n\n • Without parameter, return all the match text live content updated in the last 2 minutes.\n\n • You can use it with the Match List of Live Text endpoint.

    Live TextiSportsAPI

    Contact