querystring
Search keyword
デフォルト: "美食"
https://api.sandbase.ai/v1/api/douyin/search/video-search-v3Fetch video search V3 on Douyin. Returns the platform data as structured JSON.
出力はここに表示されます
入力を完了してから[実行]をクリックしてください。
Searches Douyin videos by keyword and returns a list of matching videos with the author, like count, follower count, duration and a link to each video. You send a query and can filter by publish date, video type and duration.
date_type to 3, 7 or 30.label_type to 1.duration_type.nickname and fans.curl -X POST "https://api.sandbase.ai/v1/api/douyin/search/video-search-v3" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"query": "美食", "date_type": 0, "label_type": 0, "duration_type": 0}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
date_type | integer | No | Publish date filter: 0=any, 3=last 3 days, 7=last 7 days, 30=last 30 days |
duration_type | integer | No | Duration filter: 0=any, 1=0-15s, 6=15-60s, 7=60-120s, 8=120-180s, 9=over 180s |
label_type | integer | No | Video type filter: 0=any, 1=low-follower hit, 2=high completion rate, 3=high follower growth, 4=high like rate |
query | string | No | Search keyword |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"data": [
{
"avatarUrl": "https://p3-byteindex-sign.byteimg.com/aweme-avatar/tos-cn-i-0813c000-ce_osD7MQgO…",
"createTime": "2026-10-30 23:34:15",
"duration": 72,
"fans": 13248,
"index": "657817",
"isHighFansRiseRate": 0,
"isHighLikeRate": 1,
"isHighPlayOverRate": 0,
"isLowFansButHot": 1,
"itemId": "7702484601909857590",
"likes": "226165",
"nickname": "明食记"
}
]
}
| Field | Meaning |
|---|---|
data[].itemId | ID of the video. Use it to look up the same video in other Douyin APIs. |
data[].url | Direct link to the video page on douyin.com. |
data[].title | Video caption, including its hashtags. |
data[].nickname / data[].fans | Display name of the author and the author's follower count. |
data[].likes | Like count of the video. It arrives as a string. |
data[].duration | Length of the video. The value is a number, such as 72 or 274. |
data[].createTime | Publish time as a YYYY-MM-DD HH:MM:SS string. |
data[].isLowFansButHot / data[].isHighLikeRate / data[].isHighPlayOverRate / data[].isHighFansRiseRate | Flags with the value 0 or 1. They match the label_type filters: low-follower hit, high like rate, high completion rate and high follower growth. |
data[].index | Numeric score returned as a string for each video. The response does not explain how it is calculated. |
data[].avatarUrl / data[].thumbnail | Image links for the author's avatar and the video cover. The links carry an x-expires value, so they may stop working. |
label_type values: 0 any, 1 low-follower hit, 2 high completion rate, 3 high follower growth, 4 high like rate.duration_type values: 0 any, 1 0-15s, 6 15-60s, 7 60-120s, 8 120-180s, 9 over 180s.data.itemId to Douyin Video Detail. Other search versions are Douyin Video Search (V1) and Douyin Video search V4.$0.01 per successful call. Failed calls are not charged.
開発を始める
統一認証と使用状況の追跡を備えたプラットフォームAPIエンドポイントです。
curl -X POST "https://api.sandbase.ai/v1/api/douyin/search/video-search-v3" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"query": "美食",
"date_type": 0,
"label_type": 0,
"duration_type": 0
}'SandBaseのAPIキーをサーバー環境に設定してください。リクエストはBearer認証を使用します。
export SANDBASE_API_KEY="YOUR_API_KEY"キーはサーバー側で管理してください。ブラウザコードに公開しないでください。
querystringSearch keyword
デフォルト: "美食"
date_typeintegerPublish date filter: 0=any, 3=last 3 days, 7=last 7 days, 30=last 30 days
デフォルト: 0
label_typeintegerVideo type filter: 0=any, 1=low-follower hit, 2=high completion rate, 3=high follower growth, 4=high like rate
デフォルト: 0
duration_typeintegerDuration filter: 0=any, 1=0-15s, 6=15-60s, 7=60-120s, 8=120-180s, 9=over 180s
デフォルト: 0
このAPIの保存済みサンプルレスポンスです。表示時にライブリクエストは行われません。
保存済みレスポンスはまだ公開されていません。PlaygroundでAPIを実行し、レスポンスを確認してください。
さらに探索
| API | 価格 | レスポンス |
|---|---|---|
Douyin Video search V3この API Douyin | $0.01 / 回 | JSON |
Douyin | $0.01 / 回 | JSON |
Douyin | $0.01 / 回 | JSON |
Douyin | $0.01 / 回 | JSON |
Douyin | $0.01 / 回 | JSON |
Douyin | $0.01 / 回 | JSON |
質問
Authorization ヘッダー(Bearer)に SandBase API key を指定し、パラメータを JSON ボディで送信して https://api.sandbase.ai/v1/api/douyin/search/video-search-v3 に POST リクエストを送ります。このページの Playground で、コードを書かずに試すこともできます。
1回あたり $0.01、SandBase 残高から課金されます。課金対象はご利用分のみで、サブスクリプションはありません。
必須パラメータはありません。 任意: query (string), date_type (integer), label_type (integer) と duration_type (integer)。 このページの Parameters テーブルと Playground に、すべてのフィールドが一覧表示されています。
同じ HTTP リクエスト内で返される JSON レスポンスです(同期)。 このページの README にサンプルレスポンスがあります。
いいえ。Douyin Video search V3 は SandBase 経由で動作するため、SandBase の API key 1つでこのエンドポイントと、カタログ内の他のすべての API とモデルを利用できます。Douyin の API アクセスを別途申請する必要はありません。