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

Douyin Author Video Distribution

Dokumentacja API
https://api.sandbase.ai/v1/api/douyin/xingtu-v2/author-video-distribution

Get Author Video Distribution on Douyin. Returns the platform data as structured JSON.

Cena
$0.002USD / wywołanie
Metoda
POST
Odpowiedź
JSON
Parametry
1 wymaganych · 2 opcjonalnych

Playground

Wejście
Creator ID
Platform source, 1 for Douyin
Platform channel, 1 for short video
WyjścieGotowe

Twój wynik pojawi się tutaj

Uzupełnij dane wejściowe, a następnie kliknij Uruchom.

README API

Douyin Author Video Distribution API

This API returns the content category breakdown of one Douyin creator's short videos, as listed on Xingtu. It needs the creator ID in o_author_id. Each row shows a category name, a video count, and that category's share of the total.

Use cases

  • Check whether a creator's videos match the category of your product before you plan a campaign.
  • Compare the main content categories of several creators to build a shortlist for a brand.
  • Spot creators whose output is spread across many categories versus those who focus on one.
  • Add a category mix column to an internal creator database.

Request

curl -X POST "https://api.sandbase.ai/v1/api/douyin/xingtu-v2/author-video-distribution" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"o_author_id": "7112600044674482187", "platform_source": 1, "platform_channel": 1}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
o_author_idstringYesCreator ID
platform_channelintegerNoPlatform channel, 1 for short video
platform_sourceintegerNoPlatform source, 1 for Douyin

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "base_resp": {
    "status_code": 0,
    "status_message": ""
  },
  "video_content_distribution": [
    {
      "cnt": 4,
      "id": "0",
      "name": "生活家居",
      "proportion": 0.6667
    }
  ]
}

Response fields

FieldMeaning
video_content_distribution[]One entry per content category found in the creator's videos. The list is sorted from the largest share to the smallest in the sample.
video_content_distribution[].nameCategory name in Chinese, for example 生活家居 (home and living) or 时尚 (fashion).
video_content_distribution[].cntNumber of the creator's videos counted in this category.
video_content_distribution[].proportionShare of the counted videos that fall in this category, as a decimal. For example 0.6667 means about two thirds.
video_content_distribution[].idCategory ID. It is "0" for every row in this response, so use name to tell categories apart.
base_resp.status_code / base_resp.status_messageStatus of the request. 0 with an empty message means it succeeded.

Notes

Pricing

$0.002 per successful call. Failed calls are not charged.

Odkryj więcej

Powiązane APIs

Wszystkie APIs
APICenaOdpowiedź
Douyin$0.002 za wywołanieJSON
Douyin$0.002 za wywołanieJSON
Douyin$0.002 za wywołanieJSON
Douyin$0.01 za wywołanieJSON
Douyin$0.003 za wywołanieJSON
Douyin$0.001 za wywołanieJSON

Przewodniki:Best Douyin API in 2026: Pricing Compared

Pytania

FAQ

Jak używać API Douyin Author Video Distribution?

Wyślij żądanie POST do https://api.sandbase.ai/v1/api/douyin/xingtu-v2/author-video-distribution 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 Author Video Distribution?

$0.002 za wywołanie, rozliczane z salda SandBase. Płacisz tylko za wykonane wywołania; nie ma subskrypcji.

Jakie parametry przyjmuje API Douyin Author Video Distribution?

Wymagane: o_author_id (string). Opcjonalne: platform_source (integer) i platform_channel (integer). Tabela Parameters oraz Playground na tej stronie zawierają wszystkie pola.

Co zwraca API Douyin Author Video Distribution?

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 Author Video Distribution 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.