aweme_idstringbắt buộc
Video id
https://api.sandbase.ai/v1/api/tiktok/app-v3/open-app-to-video-detailReturns a shareable short URL that opens a specific video directly in the TikTok mobile application. Requires the target video identifier.
Đầu ra của bạn sẽ xuất hiện ở đây
Hoàn tất đầu vào, rồi nhấp Run.
Returns a short TikTok URL that opens a specific video in the TikTok mobile app. The only input is the video ID in aweme_id.
aweme_id.curl -X POST "https://api.sandbase.ai/v1/api/tiktok/app-v3/open-app-to-video-detail" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"aweme_id": "7440436579409153311"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
aweme_id | string | Yes | Video id |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"aweme_id": "7440436579409153311",
"short_url": "https://www.tiktok.com/t/ZP9ytck3pDm1g-jjond/",
"status": 0
}
| Field | Meaning |
|---|---|
short_url | Short tiktok.com/t/ link that opens the video in the TikTok app. Use this value as the share link. |
aweme_id | The video ID from your request, returned unchanged. Use it to match the link to the video. |
status | Status code of the call. The value 0 appears in a successful response. |
aweme_id is the numeric video ID, for example 7440436579409153311. It is sent as a string.$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
Bắt đầu xây dựng
Endpoint API của nền tảng với xác thực và theo dõi mức sử dụng thống nhất.
curl -X POST "https://api.sandbase.ai/v1/api/tiktok/app-v3/open-app-to-video-detail" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"aweme_id": "7440436579409153311"
}'Đặt SandBase API key của bạn trong môi trường máy chủ. Các request sử dụng xác thực Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Giữ key của bạn trên máy chủ. Không hiển thị trong mã chạy trên trình duyệt.
aweme_idstringbắt buộcVideo id
Đây là phản hồi ví dụ đã lưu cho API này; không có request thực nào được gửi khi xem mục này.
Chưa có phản hồi đã lưu nào được công bố. Chạy API trong Playground để xem phản hồi.
Khám phá thêm
| API | Giá | Phản hồi |
|---|---|---|
TikTok Video App Share LinkAPI này TikTok | $0.001 mỗi lần gọi | JSON |
TikTok | $0.001 mỗi lần gọi | JSON |
TikTok | $0.01 mỗi lần gọi | JSON |
TikTok | $0.001 mỗi lần gọi | JSON |
TikTok | $0.001 mỗi lần gọi | JSON |
TikTok | $0.001 mỗi lần gọi | JSON |
Hướng dẫn:TikTok API pricing: official access vs per-call dataBest TikTok API in 2026: Pricing Compared
Câu hỏi
Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/tiktok/app-v3/open-app-to-video-detail 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.
$0.001 mỗi lần gọi, được tính từ số dư SandBase của bạn. Bạn chỉ bị tính phí cho các lần gọi bạn thực hiện; không có gói đăng ký.
Bắt buộc: aweme_id (string). Bảng Parameters và Playground trên trang này liệt kê mọi trường.
Phản hồi JSON được trả về trong cùng một yêu cầu HTTP (đồng bộ). README trên trang này có ví dụ phản hồi.
Không. TikTok Video App Share Link 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.