aweme_idstringwajib
Video id
https://api.sandbase.ai/v1/api/douyin/app-v3/open-app-to-video-detailReturns a Douyin share URL for a given video ID. The resulting link opens the Douyin mobile application directly to the specified video detail screen.
[
{
"data": {
"aweme_id": "7197598285882789120",
"short_url": "https://v.douyin.com/T9JCdty6Mbc/",
"status": "success"
}
}
]Pilih contoh untuk memuat input dan hasilnya ke playground.
Returns a Douyin short share URL for a video. The link opens the Douyin mobile app on that video's detail screen. You send the video ID as aweme_id.
curl -X POST "https://api.sandbase.ai/v1/api/douyin/app-v3/open-app-to-video-detail" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"aweme_id": "7197598285882789120"}'
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": "7197598285882789120",
"short_url": "https://v.douyin.com/leMEOXh1Mec/",
"status": "success"
}
| Field | Meaning |
|---|---|
aweme_id | The video ID you sent. It echoes the input so you can match the result to your request. |
short_url | The short Douyin share link for the video. It has the form https://v.douyin.com/<code>/. |
status | Result of the call. The value is success when the link was created. |
aweme_id is the numeric Douyin video ID, for example 7197598285882789120. Pass it as a string.aweme_id can return a different short_url code on different calls.$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
Mulai membangun
Endpoint API platform dengan autentikasi dan pelacakan penggunaan terpadu.
curl -X POST "https://api.sandbase.ai/v1/api/douyin/app-v3/open-app-to-video-detail" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"aweme_id": "7197598285882789120"
}'Atur SandBase API key Anda di environment server Anda. Permintaan menggunakan autentikasi Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Simpan key Anda di server. Jangan tampilkan di kode browser.
aweme_idstringwajibVideo id
Contoh respons yang disimpan untuk API ini; tidak ada permintaan langsung yang dibuat saat melihatnya.
[
{
"data": {
"aweme_id": "7197598285882789120",
"short_url": "https://v.douyin.com/T9JCdty6Mbc/",
"status": "success"
}
}
]Jelajahi lebih lanjut
| API | Harga | Respons |
|---|---|---|
Douyin Video Detail App LinkAPI ini Douyin | $0.001 per panggilan | JSON |
Douyin | $0.001 per panggilan | JSON |
Douyin | $0.001 per panggilan | JSON |
Douyin | $0.001 per panggilan | JSON |
Douyin | $0.001 per panggilan | JSON |
Douyin | $0.001 per panggilan | JSON |
Pertanyaan
Kirim permintaan POST ke https://api.sandbase.ai/v1/api/douyin/app-v3/open-app-to-video-detail dengan kunci API SandBase Anda di header Authorization (Bearer) dan parameter sebagai body JSON. Anda juga dapat mencobanya di Playground di halaman ini tanpa menulis kode.
$0.001 per panggilan, ditagihkan dari saldo SandBase Anda. Anda hanya dikenai biaya untuk panggilan yang Anda lakukan; tidak ada langganan.
Wajib: aweme_id (string). Tabel Parameters dan Playground di halaman ini mencantumkan setiap field.
Respons JSON yang dikembalikan dalam permintaan HTTP yang sama (sinkron). README di halaman ini menyertakan contoh respons.
Tidak. Douyin Video Detail App Link berjalan melalui SandBase, jadi satu kunci API SandBase mencakup endpoint ini dan setiap API serta model lain di katalog. Anda tidak perlu mendaftar akses API Douyin secara terpisah.