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

Douyin Xingtu Batch Video Stats

Dokumentacja API
https://api.sandbase.ai/v1/api/douyin/xingtu-v2/multi-get-item-stats

Returns batch performance statistics and details for up to 20 videos, including play counts, engagement metrics, and watch durations.

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

Playground

Wejście
Video (item) ID list, up to 20 per call (exceeding returns an error); auto de-dup
Whether to return cover URL, default true
Platform source, default 1
WyjściePrzykład
Odpowiedźoutputs · 5.1 KB · 93 wierszy
[
  {
    "data": {
      "base_resp": {
        "status_code": 0,
        "status_message": ""
      },
      "items": [
        {
          "author_id": "2096083966377147",
          "cover_uri": "tos-cn-i-0813c000-ce/o8TxeAAapEEI7tPVC0FEwPDpAiA9LkAQIifKnu",
          "cover_url": "https://p26-star-fe-sign.byteimg.com/tos-cn-i-0813c000-ce/o8TxeAAapEEI7tPVC0FEwPDpAiA9LkAQIifKnu~tplv-9hvokabxw2-thumbnail.webp?rk3s=5ec46d44&x-expires=2105166295&x-signature=hAK7MBew4s67%2BUUrl%2BBTWTHT6Kk%3D",
          "create_time": "1770709994",
          "duration": 43.467,
          "id": "7605141504243990257",
          "stats": {
            "avg_watch_dura": "0",
            "comment_cnt": "546",
            "favorite_cnt": "148",
            "interact_rate": 0.0191,
            "like_cnt": "529",
            "share_cnt": "621",
            "watch_cnt": "88772"
          },
          "status": 102,
          "title": "那些你自以为冷门的院校,其实热度都比较高,报考难度远超你的想象。安徽单招这六所学校,今年一定要慎重报考。安徽交通职业技术学院,230分左右,学长学姐口碑加持,热度一路上涨。芜湖职业技术大学,260分,宠物医疗专业高分扎堆。铜陵职业技术学院,210分,咨询量暴涨,专业全覆盖几乎没有冷门。安徽新闻出版职业学院,220分,今年热度飙升,两百左右慎报。安徽第二医学院,260分,医药类院校分数一环套一环,绝对不低。安徽工业经济职业学院,220分,千万别当保底,热门专业竞争尤其激烈。想低分上岸公办,把你的分数打在评论区,我来帮你分析。#安徽单招 #单招 #高考 #教育 #高考",
          "topic_ids": [
            "1767586207449160",
            "1767586186090510",
            "1666292875985923",
            "… 1 more items in the full response"
          ],
          "url": "https://www.iesdouyin.com/share/video/7605141504243990257/?region=CN&mid=7533062627972876338&u_code=24dh3cm6d40d&did=MS4wLjABAAAANwkJuWIRFOzg5uCpDRpMj4OX-QryoDgn-yYlXQnRwQQ&iid=MS4wLjABAAAANwkJuWIRFOzg5uCpDRpMj4OX-QryoDgn-yYlXQnRwQQ&with_sec_did=1&video_share_track_ver=&titleType=title&share_sign=EiX31eL0N95ISq1ozhtI9kAH8kKEd80Eq_lvLNgGpy4-&share_version=260800&ts=1789806295&from_aid=1128&from_ssr=1&share_track_info=%7B%22link_description_type%22%3A%22%22%7D",
          "video_id": "v2700fgi0000d65e77nog65uch1hobig"
        },
        {
          "author_id": "7645971568649520165",
          "cover_uri": "tos-cn-i-0813c000-ce/okapXlAIIEdKKeAE8iqA3D9EmQicekAfwA3FE9",
          "cover_url": "https://p26-star-fe-sign.byteimg.com/tos-cn-i-0813c000-ce/okapXlAIIEdKKeAE8iqA3D9EmQicekAfwA3FE9~tplv-9hvokabxw2-thumbnail.webp?rk3s=5ec46d44&x-expires=2105166295&x-signature=r3zevsbl3zu3K7Ntb%2BpScBjrYBw%3D",
          "create_time": "1788528928",
          "duration": 1476.114,
          "id": "7681673254012674789",
          "stats": {
            "avg_watch_dura": "0",
            "comment_cnt": "1",
            "favorite_cnt": "19",
            "interact_rate": 0.02,
            "like_cnt": "25",
            "share_cnt": "8",
            "watch_cnt": "1695"
          },
          "status": 102,
          "title": "#安徽单招备考 #真题解析 #安徽单招试卷 2023年安徽普通高校分类考试招生和对口招生文化素质测试英语试题详细讲解",
          "topic_ids": [
            "1613210804315208",
            "1730330105234448",
            "1729627036724227"
          ],
          "url": "https://www.iesdouyin.com/share/video/7681673254012674789/?region=CN&mid=7681673211377519395&u_code=f3kf2dfdkm88hk&did=MS4wLjABAAAANwkJuWIRFOzg5uCpDRpMj4OX-QryoDgn-yYlXQnRwQQ&iid=MS4wLjABAAAANwkJuWIRFOzg5uCpDRpMj4OX-QryoDgn-yYlXQnRwQQ&with_sec_did=1&video_share_track_ver=&titleType=title&share_sign=vbZLWujrDnyZ48p.0SDtWHAQMZUGHoV08FrcQeC0bYM-&share_version=260800&ts=1789806295&from_aid=1128&from_ssr=1&share_track_info=%7B%22link_description_type%22%3A%22%22%7D",
          "video_id": "v1e00fgi0000dadch97og65oi1sl6vpg"
        },
        {
          "author_id": "7548277053888595004",
          "cover_uri": "tos-cn-i-0813c000-ce/os7JaAAc1CEBHK1tE0iiwLBRAVAeTOAIE8fUep",
          "cover_url": "https://p26-star-fe-sign.byteimg.com/tos-cn-i-0813c000-ce/os7JaAAc1CEBHK1tE0iiwLBRAVAeTOAIE8fUep~tplv-9hvokabxw2-thumbnail.webp?rk3s=5ec46d44&x-expires=2105166295&x-signature=k8oo4DPg3eYzuInuAw206%2FoDDsY%3D",
          "create_time": "1789732261",
          "duration": 2741.115,
          "id": "7686841529931612005",
          "stats": {
            "avg_watch_dura": "0",
            "comment_cnt": "26",
            "favorite_cnt": "856",
            "interact_rate": 0.0585,
            "like_cnt": "1148",
            "share_cnt": "522",
            "watch_cnt": "28944"
          },
          "status": 102,
          "title": "2026年安徽省普通高校分类考试招生和对口招生文化素质测试卷精细讲解#2026年安徽省普通高校分类考试招生和对口招生文化素质测试卷精细讲解 #数学 #高职单招 #职教高考 #单招小帅💫",
          "topic_ids": [
            "7565367114019407906",
            "1565460180830209",
            "1597639187883085",
            "… 1 more items in the full response"
          ],
          "url": "https://www.iesdouyin.com/share/video/7686841529931612005/?region=CN&mid=7686841735376358182&u_code=ema2jdh5gc90il&did=MS4wLjABAAAANwkJuWIRFOzg5uCpDRpMj4OX-QryoDgn-yYlXQnRwQQ&iid=MS4wLjABAAAANwkJuWIRFOzg5uCpDRpMj4OX-QryoDgn-yYlXQnRwQQ&with_sec_did=1&video_share_track_ver=&titleType=title&share_sign=U5kIAtZPt_Gm8AgosYWpydaa.0W3QieJ2MkOtkQwffo-&share_version=260800&ts=1789806295&from_aid=1128&from_ssr=1&share_track_info=%7B%22link_description_type%22%3A%22%22%7D",
          "video_id": "v1e00fgi0000dami3qfog65tpoijimf0"
        },
        "… 12 more items in the full response"
      ]
    }
  }
]

Przykłady

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

README API

Douyin Xingtu Batch Video Stats API

Retrieves detailed metrics and engagement statistics for multiple videos using item_ids. Supports optional cover image URLs via need_cover_url and source filtering via platform_source.

Use cases

  • Track performance statistics across multiple Douyin videos simultaneously.
  • Analyze viewer interaction rates and average watch durations for video content.
  • Retrieve video details and thumbnail cover links in batch requests.

Request

curl -X POST "https://api.sandbase.ai/v1/api/douyin/xingtu-v2/multi-get-item-stats" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"item_ids": "<item_ids>"}'

Parameters

NameTypeRequiredDescription
item_idsarrayYesVideo (item) ID list, up to 20 per call (exceeding returns an error); auto de-dup
need_cover_urlbooleanNoWhether to return cover URL, default true
platform_sourceintegerNoPlatform source, default 1

Notes

  • Accepts up to 20 IDs in item_ids per call with automatic deduplication; exceeding this limit returns an error.
  • need_cover_url defaults to true.
  • platform_source defaults to 1.

Pricing

Flat price per call. Failed calls, including lookups whose target does not exist, are not charged.

Odkryj więcej

Powiązane APIs

Wszystkie APIs
APICenaOdpowiedź
Douyin$0.04 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 Xingtu Batch Video Stats?

Wyślij żądanie POST do https://api.sandbase.ai/v1/api/douyin/xingtu-v2/multi-get-item-stats 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 Xingtu Batch Video Stats?

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

Jakie parametry przyjmuje API Douyin Xingtu Batch Video Stats?

Wymagane: item_ids (array). Opcjonalne: need_cover_url (boolean) i platform_source (integer). Tabela Parameters oraz Playground na tej stronie zawierają wszystkie pola.

Co zwraca API Douyin Xingtu Batch Video Stats?

Odpowiedź JSON zwrócona w tym samym żądaniu HTTP (synchronicznie).

Czy potrzebuję konta deweloperskiego Douyin lub klucza API?

Nie. Douyin Xingtu Batch Video Stats 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.