keywordstringwajib
Keyword
https://api.sandbase.ai/v1/api/douyin/app-v3/open-app-to-keyword-searchReturns a Douyin short share link that launches the Douyin application directly to search results for a specified query term.
Output Anda akan muncul di sini
Lengkapi input, lalu klik Run.
Returns a Douyin short share link that opens the Douyin app directly on the search results for a keyword. It needs one input, the keyword to search for.
curl -X POST "https://api.sandbase.ai/v1/api/douyin/app-v3/open-app-to-keyword-search" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"keyword": "人工智能"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
keyword | string | Yes | Keyword |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"keyword": "人工智能",
"short_url": "https://v.douyin.com/VLzKnPXaPKo/",
"status": "success"
}
| Field | Meaning |
|---|---|
short_url | The Douyin short link. Opening it on a device with the Douyin app launches the search results for the keyword. |
keyword | The search term the link was built for. It echoes the keyword you sent. |
status | Result of the call. The value success means the link was created. |
keyword parameter. Chinese text such as 人工智能 works as shown in the example.short_url value is in the form https://v.douyin.com/<code>/.$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-keyword-search" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"keyword": "人工智能"
}'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.
keywordstringwajibKeyword
Contoh respons yang disimpan untuk API ini; tidak ada permintaan langsung yang dibuat saat melihatnya.
Belum ada respons tersimpan yang dipublikasikan. Jalankan API di Playground untuk melihat responsnya.
Jelajahi lebih lanjut
| API | Harga | Respons |
|---|---|---|
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-keyword-search 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: keyword (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 Keyword Search Share 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.