aweme_idstringwymagane
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"
}
}
]Wybierz przykład, aby wczytać jego dane wejściowe i wynik do playgroundu.
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.
Zacznij tworzyć
Punkt końcowy API platformy z jednolitym uwierzytelnianiem i śledzeniem użycia.
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"
}'Ustaw klucz API SandBase w środowisku serwera. Żądania używają uwierzytelniania Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Przechowuj klucz na serwerze. Nie ujawniaj go w kodzie przeglądarkowym.
aweme_idstringwymaganeVideo id
Zapisany przykładowy response dla tego API; podczas wyświetlania nie jest wykonywane żadne żądanie na żywo.
[
{
"data": {
"aweme_id": "7197598285882789120",
"short_url": "https://v.douyin.com/T9JCdty6Mbc/",
"status": "success"
}
}
]Odkryj więcej
| API | Cena | Odpowiedź |
|---|---|---|
Douyin | $0.001 za wywołanie | JSON |
Douyin | $0.001 za wywołanie | JSON |
Douyin | $0.001 za wywołanie | JSON |
Douyin | $0.001 za wywołanie | JSON |
Douyin | $0.001 za wywołanie | JSON |
Douyin | $0.001 za wywołanie | JSON |
Przewodniki:Best Douyin API in 2026: Pricing Compared
Pytania
Wyślij żądanie POST do https://api.sandbase.ai/v1/api/douyin/app-v3/open-app-to-video-detail z kluczem API SandBase w nagłówku Authorization (Bearer) oraz parametrami w treści JSON. Możesz też wypróbować je w Playground na tej stronie bez pisania kodu.
$0.001 za wywołanie, rozliczane z salda SandBase. Płacisz tylko za wykonane wywołania; nie ma subskrypcji.
Wymagane: aweme_id (string). Tabela Parameters oraz Playground na tej stronie zawierają wszystkie pola.
Odpowiedź JSON zwrócona w tym samym żądaniu HTTP (synchronicznie). README na tej stronie zawiera przykładową odpowiedź.
Nie. Douyin Video Detail App Link działa przez SandBase, więc jeden klucz API SandBase obejmuje ten endpoint i każde inne API oraz model w katalogu. Nie musisz osobno ubiegać się o dostęp do API Douyin.