Cập nhật lần cuối
Video
Video và bình luận của các creator đã lưu.
Mọi thao tác đều xác thực bằng API key (Authorization: Bearer <key>) và lỗi dùng chung envelope được mô tả trong Lỗi. Được tạo từ tài liệu OpenAPI của API.
Liệt kê video của creator
GET
/v1/creators/{uid}/videosVideo đã lưu của creator, mới nhất trước, kèm số lượt xem, lượt thích và bình luận.
Scopecontent:readCreditĐọc dữ liệu cache
Tham số path
| Name | Type | Description |
|---|---|---|
uidRequired | string | Handle của creator không kèm @ (linh.live) hoặc user id TikTok dạng số. |
Request
curl "https://api.next.toktokdata.live/v1/creators/linh.live/videos" \ -H "Authorization: Bearer $ROOMSCOPE_API_KEY"Response
200 OK
{ "data": { "uniqueId": "linh.live", "tiktokUserId": "990000000000000001", "videos": [ { "videoId": "7990000000000000001", "tiktokUserId": "990000000000000001", "uniqueId": "linh.live", "description": "Video 1", "createTime": "2026-10-31T10:51:44.935Z", "coverUrl": null, "durationSeconds": null, "playCount": 10000, "diggCount": 1000, "commentCount": 100, "shareCount": null, "collectCount": null, "firstSeenAt": "2026-11-01T10:51:45.590Z", "lastRefreshedAt": "2026-11-01T10:36:44.935Z" }, { "videoId": "7990000000000000002", "tiktokUserId": "990000000000000001", "uniqueId": "linh.live", "description": "Video 2", "createTime": "2026-10-30T10:51:44.935Z", "coverUrl": null, "durationSeconds": null, "playCount": 20000, "diggCount": 2000, "commentCount": 200, "shareCount": null, "collectCount": null, "firstSeenAt": "2026-11-01T10:51:45.591Z", "lastRefreshedAt": "2026-11-01T10:36:44.935Z" } ] }, "provenance": { "observedAt": "2026-11-01T10:36:44.935Z", "freshness": "near_realtime", "source": "public_creator_content", "sourceKind": "derived", "coverageStatus": "observed", "methodologyVersion": "content-v1", "window": null }}Lỗi
400Tham số hoặc body không hợp lệ;codecho biết vấn đề.401API key bị thiếu hoặc không xác định.402Ví credit của workspace không đủ cho lệnh gọi;resetAtcho biết khi nào credit được reset.403Key thiếu scope, hoặc gói không bao gồm tính năng này.429Vượt tốc độ request (theo giây, theo phút hoặc theo ngày); hãy tuân theoRetry-After.
Lấy một video
GET
/v1/videos/{video_id}Một video đã lưu cùng các bộ đếm của nó.
Scopecontent:readCreditĐọc dữ liệu cache
Tham số path
| Name | Type | Description |
|---|---|---|
video_idRequired | string | Video id của TikTok. |
Request
curl "https://api.next.toktokdata.live/v1/videos/7400000000000000001" \ -H "Authorization: Bearer $ROOMSCOPE_API_KEY"Response
200 OK
{ "data": { "video": { "videoId": "7990000000000000001", "tiktokUserId": "990000000000000001", "uniqueId": "linh.live", "description": "Video 1", "createTime": "2026-10-31T10:51:44.935Z", "coverUrl": null, "durationSeconds": null, "playCount": 10000, "diggCount": 1000, "commentCount": 100, "shareCount": null, "collectCount": null, "firstSeenAt": "2026-11-01T10:51:45.590Z", "lastRefreshedAt": "2026-11-01T10:36:44.935Z", "history": [] } }, "provenance": { "observedAt": "2026-11-01T10:36:44.935Z", "freshness": "near_realtime", "source": "public_creator_content", "sourceKind": "derived", "coverageStatus": "observed", "methodologyVersion": "content-v1", "window": null }}Lỗi
400Tham số hoặc body không hợp lệ;codecho biết vấn đề.401API key bị thiếu hoặc không xác định.402Ví credit của workspace không đủ cho lệnh gọi;resetAtcho biết khi nào credit được reset.403Key thiếu scope, hoặc gói không bao gồm tính năng này.429Vượt tốc độ request (theo giây, theo phút hoặc theo ngày); hãy tuân theoRetry-After.
Liệt kê bình luận của video
GET
/v1/videos/{video_id}/commentsBình luận đã lưu; truyền parentCommentId để lấy các trả lời của một bình luận.
Scopecontent:readCreditĐọc dữ liệu cache
Tham số path
| Name | Type | Description |
|---|---|---|
video_idRequired | string | Video id của TikTok. |
Tham số query
| Name | Type | Description |
|---|---|---|
parentCommentIdOptional | string | Trả về các trả lời của bình luận này. |
cursorOptional | string | Cursor mờ lấy từ nextCursor của trang trước. |
limitOptional | integer | Số bình luận mỗi trang. |
Request
curl "https://api.next.toktokdata.live/v1/videos/7400000000000000001/comments" \ -H "Authorization: Bearer $ROOMSCOPE_API_KEY"Response
200 OK
{ "data": { "videoId": "7400000000000000001", "parentCommentId": null, "comments": [ { "commentId": "7400000000000100001", "text": "See you at 9pm!", "diggCount": 42, "replyCount": 3, "createTime": "2026-10-31T13:05:00Z", "authorUniqueId": "fan.one" } ], "nextCursor": null, "hasMore": false }, "provenance": { "observedAt": "2026-11-01T10:36:44.935Z", "freshness": "near_realtime", "source": "public_video_comments", "sourceKind": "derived", "coverageStatus": "observed", "methodologyVersion": "comments-v1", "window": null }}Lỗi
400Tham số hoặc body không hợp lệ;codecho biết vấn đề.401API key bị thiếu hoặc không xác định.402Ví credit của workspace không đủ cho lệnh gọi;resetAtcho biết khi nào credit được reset.403Key thiếu scope, hoặc gói không bao gồm tính năng này.429Vượt tốc độ request (theo giây, theo phút hoặc theo ngày); hãy tuân theoRetry-After.
Trang này có hữu ích không?