Douyin Stream Data by Room ID (V2)

https://api.sandbase.ai/v1/api/douyin/web/user-live-videos-by-room-id-v2

Returns stream data for a specified Douyin user using a room identifier. Provide a valid room ID to inspect stream metadata and broadcast details.

Price
$0.0015USD / callFirst 100 calls per day free (shared per organization)
Method
POST
Response
JSON
Parameters
1 required · 0 optional
Production route

Try the model

Playground

Open playground
Input
Room room_id
OutputExample
Responseoutputs · 215 B · 14 lines
[
  {
    "data": {
      "data": {
        "message": "Request params error",
        "prompts": "当前服务繁忙,请稍后重试"
      },
      "extra": {
        "now": 1787219017260
      },
      "status_code": 10011
    }
  }
]

Examples

Select an example to load its inputs and result into the playground.

Model card

Specifications

Pricing

Base price
$0.0015 / run
Daily free calls
First 100 calls per day free (shared per organization)

Request & response

Method
POST
Request body
application/json
Response
application/json
Execution
sync

Parameters

room_id
string · required

Access

Provider
Douyin
API
Platform API
Base URL
https://api.sandbase.ai
Endpoint
/v1/api/douyin/web/user-live-videos-by-room-id-v2
Authentication
Bearer API key

API README

Douyin Stream Data by Room ID (V2) API

This endpoint retrieves stream details for a specific user based on room_id. Call it to inspect broadcast metadata and session information.

Use cases

  • Retrieve broadcast details for a Douyin stream session using a room identifier.
  • Track broadcaster stream performance and metadata across specific room sessions.
  • Verify stream status and session details for specific user rooms.

Request

curl -X POST "https://api.sandbase.ai/v1/api/douyin/web/user-live-videos-by-room-id-v2" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"room_id": "<room_id>"}'

Parameters

NameTypeRequiredDescription
room_idstringYesRoom room_id

Notes

  • Requires a valid room_id string to identify the target room.

Related APIs

Start building

Send your first request

Platform API endpoint with unified authentication and usage tracking.

Production API
Platform API endpoint
https://api.sandbase.ai/v1/api/douyin/web/user-live-videos-by-room-id-v2
Authorization header
Authorization: Bearer $SANDBASE_API_KEY
# The quoted heredoc keeps Unicode and shell metacharacters unchanged.
result=$(curl --fail-with-body --silent \
  -X POST "https://api.sandbase.ai/v1/api/douyin/web/user-live-videos-by-room-id-v2" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  --data-binary @- <<'SANDBASE_JSON'
{
  "room_id": "example"
}
SANDBASE_JSON
)
printf '%s\n' "$result"

Explore more

Related APIs

All APIs
APIPriceResponseReleased
Douyin$0.0015 per callJSONJul 31, 2026
Douyin$0.0015 per callJSONJul 31, 2026
Douyin$0.0015 per callJSONJul 31, 2026
Douyin$0.0015 per callJSONJul 31, 2026
Douyin$0.0015 per callJSONJul 31, 2026
Douyin$0.04 per callJSONJul 31, 2026

Questions

FAQ

How do I use the Douyin Stream Data by Room ID (V2) API?

Send a POST request to https://api.sandbase.ai/v1/api/douyin/web/user-live-videos-by-room-id-v2 with your SandBase API key in the Authorization header (Bearer) and the parameters as a JSON body. You can also try it in the Playground on this page without writing code.

How much does the Douyin Stream Data by Room ID (V2) API cost?

$0.0015 per call. Every organization gets 100 free calls per UTC day, shared across eligible SandBase APIs including this one; after that each call is billed at this price from your SandBase balance. There is no subscription.

What parameters does the Douyin Stream Data by Room ID (V2) API accept?

Required: room_id (string). The Parameters table and the Playground on this page list every field.

What does the Douyin Stream Data by Room ID (V2) API return?

A JSON response returned in the same HTTP request (synchronous).

Do I need a Douyin developer account or API key?

No. Douyin Stream Data by Room ID (V2) runs through SandBase, so one SandBase API key covers this endpoint and every other API and model in the catalog. You do not need to apply for Douyin API access separately.