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:
Parameter | Value | Required | Description |
---|---|---|---|
matchId | string | true |
Response
Parameter | Value | Description |
---|---|---|
recordId | string | |
matchId | string | |
remainTime | string | |
teamKind | int | 1: Home team 2: Away Team 3: Neutral |
matchState | int | 0: 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
{}