Skip to main content
POST
/
streams
/
live-status
Batch live-stream status lookup
curl --request POST \
  --url https://teambattles.gg/api/v1/streams/live-status \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "userIds": [
    "<string>"
  ]
}
'
{
  "statuses": [
    {
      "id": "<string>",
      "isLive": true,
      "platforms": []
    }
  ],
  "count": 4503599627370495,
  "timestamp": "<string>"
}

Authorizations

Authorization
string
header
required

Send your API key as: Authorization: Bearer tb_

Body

application/json

Batch live-status request body.

userIds
string[]
required

User IDs to look up (1-50).

Required array length: 1 - 50 elements

Response

Per-user live status for the visible subset of requested users.

Batch live-status results plus a response timestamp. Users not visible to the caller are omitted.

statuses
object[]
required
count
integer
required
Required range: 0 <= x <= 9007199254740991
timestamp
string
required

ISO 8601 timestamp.