Sand AISand AI MAGI-2MAGI-2 jest teraz na SandBase: wideo 1080p z natywnym dźwiękiemWypróbuj teraz

Douyin Index Video Search

Dokumentacja API
https://api.sandbase.ai/v1/api/douyin/index/item-query

Search Douyin Index videos by keyword with filters for post date, duration, category, and label type. Returns video metadata and performance metrics.

Cena
$0.001USD / wywołanie
Metoda
POST
Odpowiedź
JSON
Parametry
1 wymaganych · 4 opcjonalnych
100 darmowych wywołań / dzieńPierwsze 100 wywołań dziennie za darmo (współdzielone w ramach organizacji) · Reset o 00:00 UTC. Później płatność za każde wywołanie.

Playground

Wejście
Search keyword (required), e.g. "food"
Category ID (string), default "0"=all
Publish date filter, default 0=any
Duration filter, default 0=any
Video type (quality tag), default 0=any
WyjściePrzykład
Odpowiedźoutputs · 48 B · 7 wierszy
[
  {
    "data": {
      "data": []
    }
  }
]

Przykłady

Wybierz przykład, aby wczytać jego dane wejściowe i wynik do playgroundu.

README API

Douyin Index Video Search API

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.

Use cases

  • Find recent Douyin videos about a keyword such as 美食 and open each one through its url.
  • Spot small accounts with hot videos by checking isLowFansButHot next to fans.
  • Rank videos for a topic by index or likes to see which posts perform best.
  • Narrow a search to short or long videos with duration_type and compare the results.

Request

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.

Parameters

NameTypeRequiredDescription
querystringYesSearch keyword (required), e.g. "food"
category_idstringNoCategory ID (string), default "0"=all
date_typeintegerNoPublish date filter, default 0=any
duration_typeintegerNoDuration filter, default 0=any
label_typeintegerNoVideo type (quality tag), default 0=any

Example response

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": "明食记"
    }
  ]
}

Response fields

FieldMeaning
data[].itemIdID of the video, as a string. It is the last part of the video url.
data[].titleVideo caption, including its hashtags.
data[].urlLink to the video page on Douyin.
data[].nickname / data[].avatarUrlDisplay name and avatar image link of the creator.
data[].fansFollower count of the creator, as a number.
data[].likesLike count of the video. It comes back as a string.
data[].indexIndex score of the video for this search, as a string. Higher values appear for videos that do better.
data[].durationLength of the video. Values like 72 and 274 suggest seconds, but the response does not state the unit.
data[].createTimePost time of the video, in YYYY-MM-DD HH:MM:SS format.
data[].isHighLikeRate / data[].isHighFansRiseRate / data[].isHighPlayOverRate / data[].isLowFansButHotFlags 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.

Notes

Pricing

$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

Odkryj więcej

Powiązane APIs

Wszystkie APIs
APICenaOdpowiedź
Douyin$0.001 za wywołanieJSON
Douyin$0.001 za wywołanieJSON
Douyin$0.001 za wywołanieJSON
Douyin$0.001 za wywołanieJSON
Douyin$0.001 za wywołanieJSON
Douyin$0.001 za wywołanieJSON

Przewodniki:Best Douyin API in 2026: Pricing Compared

Pytania

FAQ

Jak używać API Douyin Index Video Search?

Wyślij żądanie POST do https://api.sandbase.ai/v1/api/douyin/index/item-query 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.

Ile kosztuje API Douyin Index Video Search?

$0.001 za wywołanie. Każda organizacja otrzymuje 100 bezpłatnych wywołań na dzień UTC, współdzielonych między kwalifikującymi się API SandBase, w tym to; potem każde wywołanie jest rozliczane według tej stawki z salda SandBase. Nie ma subskrypcji.

Jakie parametry przyjmuje API Douyin Index Video Search?

Wymagane: query (string). Opcjonalne: category_id (string), date_type (integer), duration_type (integer) i label_type (integer). Tabela Parameters oraz Playground na tej stronie zawierają wszystkie pola.

Co zwraca API Douyin Index Video Search?

Odpowiedź JSON zwrócona w tym samym żądaniu HTTP (synchronicznie). README na tej stronie zawiera przykładową odpowiedź.

Czy potrzebuję konta deweloperskiego Douyin lub klucza API?

Nie. Douyin Index Video Search 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.