Sand AISand AI MAGI-2MAGI-2 hiện đã có trên SandBase: video 1080p với âm thanh gốcDùng thử ngay

TikTok Room ID Resolver

Tài liệu API
https://api.sandbase.ai/v1/api/tiktok/web/live-room-id

Resolves a TikTok stream room ID from a given room URL. Supports both standard profile stream URLs and shortened links to obtain the unique room identifier.

Giá
$0.001USD / lượt gọi
Phương thức
POST
Phản hồi
JSON
Tham số
1 bắt buộc · 0 tùy chọn
100 lượt gọi miễn phí / ngày100 lượt gọi đầu tiên mỗi ngày miễn phí (chia sẻ theo tổ chức) · Đặt lại lúc 00:00 UTC. Sau đó tính phí theo mỗi lượt gọi.

Phòng thử nghiệm

Đầu vào
Live room link
Đầu raSẵn sàng

Đầu ra của bạn sẽ xuất hiện ở đây

Hoàn tất đầu vào, rồi nhấp Run.

README API

TikTok Room ID Resolver API

Extracts the room ID from a TikTok broadcast link by passing the URL to live_room_url. Accepts both short links and standard web stream URLs.

Use cases

  • Resolve short share URLs into direct room identifiers for downstream processing.
  • Retrieve the room ID needed to query broadcast details or stream status.
  • Parse stream links submitted by users into structured room identifiers.

Request

curl -X POST "https://api.sandbase.ai/v1/api/tiktok/web/live-room-id" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"live_room_url": "https://www.tiktok.com/@maksukaracun/live"}'

Parameters

NameTypeRequiredDescription
live_room_urlstringYesLive room link

Notes

  • Accepts short URLs (such as vt.tiktok.com links) as well as standard profile broadcast links via live_room_url.

Pricing

Flat price per call. Failed calls, including lookups whose target does not exist, are not charged.

Khám phá thêm

APIs liên quan

Tất cả APIs
APIGiáPhản hồi
TikTok$0.001 mỗi lần gọiJSON
TikTok$0.001 mỗi lần gọiJSON
TikTok$0.001 mỗi lần gọiJSON
TikTok$0.001 mỗi lần gọiJSON
TikTok$0.001 mỗi lần gọiJSON
TikTok$0.05 mỗi lần gọiJSON

Hướng dẫn:TikTok API pricing: official access vs per-call dataBest TikTok API in 2026: Pricing Compared

Câu hỏi

FAQ

Làm thế nào để dùng API TikTok Room ID Resolver?

Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/tiktok/web/live-room-id với khóa API SandBase của bạn trong tiêu đề Authorization (Bearer) và các tham số trong phần thân JSON. Bạn cũng có thể thử trực tiếp trong Playground trên trang này mà không cần viết code.

API TikTok Room ID Resolver có giá bao nhiêu?

$0.001 mỗi lần gọi. Mỗi tổ chức được 100 lần gọi miễn phí mỗi ngày UTC, dùng chung cho các API SandBase đủ điều kiện, bao gồm API này; sau đó mỗi lần gọi sẽ được tính theo mức giá này từ số dư SandBase của bạn. Không có gói đăng ký.

API TikTok Room ID Resolver chấp nhận những tham số nào?

Bắt buộc: live_room_url (string). Bảng Parameters và Playground trên trang này liệt kê mọi trường.

API TikTok Room ID Resolver trả về gì?

Phản hồi JSON được trả về trong cùng một yêu cầu HTTP (đồng bộ).

Tôi có cần tài khoản nhà phát triển hoặc API key của TikTok không?

Không. TikTok Room ID Resolver chạy thông qua SandBase, nên chỉ cần một API key SandBase là đủ cho endpoint này và mọi API cùng model khác trong danh mục. Bạn không cần đăng ký riêng để có quyền truy cập API của TikTok.