Douyin Convert Webcast ID To Room ID

2.07 credits/call
ae_douyin_convert_webcast_id_to_room_id

## Purpose Convert a Douyin webcast ID to the corresponding room ID. ## Input - `webcast_id` (required, string): The webcast identifier to convert, for example `"775841227732"`. ## Result Returns a response containing the room ID conversion result. The exact structure of the result data is not specified. This tool converts identifiers; it does not retrieve live-stream content or room details.

Social
2.07 credits/call

Pricing

2.07 credits/call
ConditionCharge
Each call2.07 credits/call

2.07 credits/call Charges are per query. A successful query is billed even if it returns no results.

Parameters

Optional parameters use the platform defaults when omitted.

ParameterTypeRequiredDescriptionDefault
webcast_idstringYes直播间号/Webcast id—

Invocation example

Copy the request and explore its response example.

POST/agent-api/v1/tool/executeX-Api-Key
Request coderequest.sh
curl --request POST \
  --url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_douyin_convert_webcast_id_to_room_id' \
  --header "X-Api-Key: $AGENTEARTH_API_KEY" \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "params": {
    "webcast_id": "614084913084"
  }
}'
Response exampleresponse.json
JSONPartial content
{
  "code": 200,
  "data": {
    "room_id": "7708199152367831818"
  },
  "docs": "https://api.tikhub.io/#/Douyin-Web-API/webcast_id_2_room_id_api_v1_douyin_web_webcast_id_2_room_id_get",
  "message": "Request successful. This request will incur a charge.",
  "message_zh": "请求成功,本次请求将被计费。",
  "params": {
    "webcast_id": "614084913084"
  }
}

This example shows part of the response. Copied content is valid JSON.