aweme_idstringआवश्यक
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"
}
}
]प्लेग्राउंड में इसके इनपुट और परिणाम लोड करने के लिए कोई उदाहरण चुनें।
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.
बिल्डिंग शुरू करें
एकीकृत authentication और usage tracking के साथ Platform API endpoint.
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"
}'अपने SandBase API key को अपने सर्वर environment में सेट करें। Requests Bearer authentication का उपयोग करती हैं।
export SANDBASE_API_KEY="YOUR_API_KEY"अपना key सर्वर पर रखें। इसे browser code में expose न करें।
aweme_idstringआवश्यकVideo id
इस API के लिए सेव किया गया example response; इसे देखते समय कोई live request नहीं की जाती।
[
{
"data": {
"aweme_id": "7197598285882789120",
"short_url": "https://v.douyin.com/T9JCdty6Mbc/",
"status": "success"
}
}
]और जानें
| API | कीमत | प्रतिक्रिया |
|---|---|---|
Douyin | $0.001 प्रति कॉल | JSON |
Douyin | $0.001 प्रति कॉल | JSON |
Douyin | $0.001 प्रति कॉल | JSON |
Douyin | $0.001 प्रति कॉल | JSON |
Douyin | $0.001 प्रति कॉल | JSON |
Douyin | $0.001 प्रति कॉल | JSON |
प्रश्न
https://api.sandbase.ai/v1/api/douyin/app-v3/open-app-to-video-detail पर Authorization header (Bearer) में अपनी SandBase API key और parameters को JSON body के रूप में भेजें। आप इस पेज के Playground में बिना code लिखे भी इसे आज़मा सकते हैं।
$0.001 प्रति call, आपकी SandBase balance से बिल किया जाएगा। आपसे केवल आपके किए गए calls के लिए शुल्क लिया जाता है; कोई subscription नहीं है।
आवश्यक: aweme_id (string)। Parameters table और इस पेज का Playground हर field सूचीबद्ध करते हैं।
एक JSON response जो उसी HTTP request में लौटाया जाता है (synchronous)। इस पेज का README एक sample response शामिल करता है।
नहीं। Douyin Video Detail App Link SandBase के माध्यम से चलता है, इसलिए एक SandBase API key इस endpoint और catalog के हर अन्य API और model को कवर करती है। आपको अलग से Douyin API access के लिए आवेदन करने की आवश्यकता नहीं है।