Sand AISand AI MAGI-2ตอนนี้ MAGI-2 อยู่บน SandBase แล้ว: วิดีโอ 1080p พร้อมเสียงในตัวลองใช้เลย

Douyin Xingtu Batch Video Stats

เอกสาร 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.

ราคา
$0.04USD / คำขอ
Method
POST
การตอบกลับ
JSON
พารามิเตอร์
1 จำเป็น · 2 ไม่บังคับ

Playground

อินพุต
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
เอาต์พุตตัวอย่าง
การตอบกลับoutputs · 5.1 KB · 93 บรรทัด
[
  {
    "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"
      ]
    }
  }
]

ตัวอย่าง

เลือกตัวอย่างเพื่อโหลดอินพุตและผลลัพธ์ลงใน playground

API README

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.

สำรวจเพิ่มเติม

APIs ที่เกี่ยวข้อง

APIs ทั้งหมด
APIราคาการตอบกลับ
Douyin$0.04 ต่อการเรียกJSON
Douyin$0.002 ต่อการเรียกJSON
Douyin$0.002 ต่อการเรียกJSON
Douyin$0.01 ต่อการเรียกJSON
Douyin$0.003 ต่อการเรียกJSON
Douyin$0.001 ต่อการเรียกJSON

คู่มือ:Best Douyin API in 2026: Pricing Compared

คำถาม

คำถามที่พบบ่อย

ฉันจะใช้ Douyin Xingtu Batch Video Stats API ได้อย่างไร?

ส่งคำขอ POST ไปที่ https://api.sandbase.ai/v1/api/douyin/xingtu-v2/multi-get-item-stats โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด

Douyin Xingtu Batch Video Stats API ราคาเท่าไร?

$0.04 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน

Douyin Xingtu Batch Video Stats API รับพารามิเตอร์อะไรบ้าง?

ที่ต้องระบุ: item_ids (array). ตัวเลือก: need_cover_url (boolean) และ platform_source (integer). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์

Douyin Xingtu Batch Video Stats API ส่งคืนอะไร?

การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส)

ฉันจำเป็นต้องมีบัญชีนักพัฒนาหรือ API key ของ Douyin ไหม?

ไม่จำเป็น Douyin Xingtu Batch Video Stats ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง Douyin API แยกต่างหาก