querystringerforderlich
Search keyword (required), e.g. "food"
https://api.sandbase.ai/v1/api/douyin/index/item-querySearch Douyin Index videos by keyword with filters for post date, duration, category, and label type. Returns video metadata and performance metrics.
[
{
"data": {
"data": []
}
}
]Wählen Sie ein Beispiel aus, um seine Eingaben und das Ergebnis in den Playground zu laden.
Searches Douyin Index videos by keyword and returns a list of matching videos with creator name, follower count, like count, duration, post time and a video link. It needs one input, query. Optional filters narrow results by post date, duration, category and quality tag.
美食 and open each one through its url.isLowFansButHot next to fans.index or likes to see which posts perform best.duration_type and compare the results.curl -X POST "https://api.sandbase.ai/v1/api/douyin/index/item-query" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"query": "美食"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
query | string | Yes | Search keyword (required), e.g. "food" |
category_id | string | No | Category ID (string), default "0"=all |
date_type | integer | No | Publish date filter, default 0=any |
duration_type | integer | No | Duration filter, default 0=any |
label_type | integer | No | Video type (quality tag), default 0=any |
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, as a string. It is the last part of the video url. |
data[].title | Video caption, including its hashtags. |
data[].url | Link to the video page on Douyin. |
data[].nickname / data[].avatarUrl | Display name and avatar image link of the creator. |
data[].fans | Follower count of the creator, as a number. |
data[].likes | Like count of the video. It comes back as a string. |
data[].index | Index score of the video for this search, as a string. Higher values appear for videos that do better. |
data[].duration | Length of the video. Values like 72 and 274 suggest seconds, but the response does not state the unit. |
data[].createTime | Post time of the video, in YYYY-MM-DD HH:MM:SS format. |
data[].isHighLikeRate / data[].isHighFansRiseRate / data[].isHighPlayOverRate / data[].isLowFansButHot | Flags set to 1 when the video carries that tag, and 0 when it does not. The names describe a high like rate, high follower growth, high play completion, and a hot video from a low-follower account. |
date_type, label_type and duration_type at 0 and category_id at "0" for an unfiltered search. Pass category_id as a string.$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
Jetzt loslegen
Plattform-API-Endpunkt mit einheitlicher Authentifizierung und Nutzungsnachverfolgung.
curl -X POST "https://api.sandbase.ai/v1/api/douyin/index/item-query" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"query": "sandbase",
"date_type": 0,
"label_type": 0,
"category_id": "0",
"duration_type": 0
}'Legen Sie Ihren SandBase API-Schlüssel in Ihrer Serverumgebung fest. Anfragen verwenden Bearer-Authentifizierung.
export SANDBASE_API_KEY="YOUR_API_KEY"Bewahren Sie Ihren Schlüssel auf dem Server auf. Geben Sie ihn nicht in Browser-Code preis.
querystringerforderlichSearch keyword (required), e.g. "food"
category_idstringCategory ID (string), default "0"=all
Standard: "0"
date_typeintegerPublish date filter, default 0=any
Standard: 0
duration_typeintegerDuration filter, default 0=any
Standard: 0
label_typeintegerVideo type (quality tag), default 0=any
Standard: 0
Gespeicherte Beispielantwort für diese API; beim Anzeigen wird keine Live-Anfrage gesendet.
[
{
"data": {
"data": []
}
}
]Mehr entdecken
| API | Preis | Antwort |
|---|---|---|
Douyin Index Video SearchDiese API Douyin | $0.001 pro Aufruf | JSON |
Douyin | $0.001 pro Aufruf | JSON |
Douyin | $0.001 pro Aufruf | JSON |
Douyin | $0.001 pro Aufruf | JSON |
Douyin | $0.001 pro Aufruf | JSON |
Douyin | $0.001 pro Aufruf | JSON |
Anleitungen:Best Douyin API in 2026: Pricing Compared
Fragen
Senden Sie eine POST-Anfrage an https://api.sandbase.ai/v1/api/douyin/index/item-query mit Ihrem SandBase API-Schlüssel im Authorization-Header (Bearer) und den Parametern als JSON-Body. Sie können das auch ohne Code direkt auf dieser Seite im Playground testen.
$0.001 pro Aufruf. Jede Organisation erhält 100 kostenlose Aufrufe pro UTC-Tag, gemeinsam über alle berechtigten SandBase APIs einschließlich dieser hier; danach wird jeder Aufruf zu diesem Preis von Ihrem SandBase-Guthaben abgerechnet. Es gibt kein Abo.
Erforderlich: query (string). Optional: category_id (string), date_type (integer), duration_type (integer) und label_type (integer). Die Parametertabelle und der Playground auf dieser Seite listen jedes Feld auf.
Eine JSON-Antwort, die in derselben HTTP-Anfrage zurückgegeben wird (synchron). Die README auf dieser Seite enthält eine Beispielantwort.
Nein. Douyin Index Video Search läuft über SandBase, daher deckt ein SandBase API-Schlüssel diesen Endpunkt und jede andere API sowie jedes Modell im Katalog ab. Sie müssen keinen separaten Zugang für Douyin API beantragen.