Douyin Video Play Count

https://api.sandbase.ai/v1/api/douyin/xingtu-v2/item-play-count

Get the play count (watch_cnt) of a Douyin video from XingTu, plus video details such as author, cover, duration and publish time.

Price
$0.003USD / callFirst 100 calls per day free (shared per organization)
Method
POST
Response
JSON
Parameters
1 required · 2 optional
Production route

Try the model

Playground

Open playground
Input
Video (item) ID
Whether to return cover URL, default true
Platform source, default 1
OutputExample
Responseoutputs · 1.7 KB · 40 lines
[
  {
    "data": {
      "exist": true,
      "item": {
        "author_id": "78050876812",
        "cover_uri": "tos-cn-i-0813c001/okH4NI7QDNMW1CqOgEf3AZAAbF1cApAAr229eG",
        "cover_url": "https://p3-star-fe-sign.byteimg.com/tos-cn-i-0813c001/okH4NI7QDNMW1CqOgEf3AZAAbF1cApAAr229eG~tplv-9hvokabxw2-thumbnail.webp?rk3s=5ec46d44&x-expires=2102579308&x-signature=zOiUpoAGH9Yx8DCJ7u%2Bvj%2Bh%2F9t8%3D",
        "create_time": "1776506300",
        "duration": 28.234,
        "id": "7630036460159111515",
        "stats": {
          "avg_watch_dura": "0",
          "comment_cnt": "860",
          "favorite_cnt": "12980",
          "interact_rate": 0.0157,
          "like_cnt": "141916",
          "share_cnt": "52350",
          "watch_cnt": "12422085"
        },
        "status": 102,
        "title": "哈哈哈哈哈哈哈哈哈  我还以为真不怕痛呢 哈哈哈哈哈哈哈哈",
        "topic_ids": [],
        "url": "https://www.iesdouyin.com/share/video/7630036460159111515/?region=CN&mid=7630036389983603510&u_code=ml5dbid3&did=MS4wLjABAAAANwkJuWIRFOzg5uCpDRpMj4OX-QryoDgn-yYlXQnRwQQ&iid=MS4wLjABAAAANwkJuWIRFOzg5uCpDRpMj4OX-QryoDgn-yYlXQnRwQQ&with_sec_did=1&video_share_track_ver=&titleType=title&share_sign=rvQEuRC_JC8L3NjxKnzoyiKZAcgB_eWZRaZb3HoT1fY-&share_version=260800&ts=1787217323&from_aid=1128&from_ssr=1&share_track_info=%7B%22link_description_type%22%3A%22%22%7D",
        "video_id": "v0d00fg10000d7hlb0vog65k07cn1neg"
      },
      "item_id": "7630036460159111515",
      "stats": {
        "avg_watch_dura": "0",
        "comment_cnt": "860",
        "favorite_cnt": "12980",
        "interact_rate": 0.0157,
        "like_cnt": "141916",
        "share_cnt": "52350",
        "watch_cnt": "12422085"
      },
      "watch_cnt": 12422085
    }
  }
]

Examples

Select an example to load its inputs and result into the playground.

Model card

Specifications

Pricing

Base price
$0.003 / run
Daily free calls
First 100 calls per day free (shared per organization)

Request & response

Method
POST
Request body
application/json
Response
application/json
Execution
sync

Parameters

item_id
string · required
need_cover_url
boolean · optional
platform_source
integer · optional

Access

Provider
Douyin
API
Platform API
Base URL
https://api.sandbase.ai
Endpoint
/v1/api/douyin/xingtu-v2/item-play-count
Authentication
Bearer API key

API README

Douyin Video Play Count API

Pass a Douyin video ID and get its play count from XingTu, which Douyin does not show publicly, together with basic video details.

Use cases

  • Verify real views of sponsored videos.
  • Track play counts for campaign reporting.
  • Compare views with likes to spot anomalies.

Request

curl -X POST "https://api.sandbase.ai/v1/api/douyin/xingtu-v2/item-play-count" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"item_id": "7630036460159111515"}'

Parameters

NameTypeRequiredDescription
item_idstringYesVideo (item) ID
need_cover_urlbooleanNoWhether to return cover URL, default true
platform_sourceintegerNoPlatform source, default 1

Example response

Real response for the request above, trimmed to the main fields. User names and long IDs are masked.

{
  "item_id": "7630036460159111515",
  "watch_cnt": 12644412
}

Related APIs

Start building

Send your first request

Platform API endpoint with unified authentication and usage tracking.

Production API
Platform API endpoint
https://api.sandbase.ai/v1/api/douyin/xingtu-v2/item-play-count
Authorization header
Authorization: Bearer $SANDBASE_API_KEY
# The quoted heredoc keeps Unicode and shell metacharacters unchanged.
result=$(curl --fail-with-body --silent \
  -X POST "https://api.sandbase.ai/v1/api/douyin/xingtu-v2/item-play-count" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  --data-binary @- <<'SANDBASE_JSON'
{
  "item_id": "7630036460159111515",
  "need_cover_url": true,
  "platform_source": 1
}
SANDBASE_JSON
)
printf '%s\n' "$result"

Explore more

Related APIs

All APIs
APIPriceResponseReleased
Douyin$0.003 per callJSONJul 31, 2026
Douyin$0.003 per callJSONJul 31, 2026
Douyin$0.0015 per callJSONJul 31, 2026
Douyin$0.0015 per callJSONJul 31, 2026
Douyin$0.0015 per callJSONJul 31, 2026
Douyin$0.003 per callJSONJul 31, 2026

Questions

FAQ

How do I use the Douyin Video Play Count API?

Send a POST request to https://api.sandbase.ai/v1/api/douyin/xingtu-v2/item-play-count with your SandBase API key in the Authorization header (Bearer) and the parameters as a JSON body. You can also try it in the Playground on this page without writing code.

How much does the Douyin Video Play Count API cost?

$0.003 per call. Every organization gets 100 free calls per UTC day, shared across eligible SandBase APIs including this one; after that each call is billed at this price from your SandBase balance. There is no subscription.

What parameters does the Douyin Video Play Count API accept?

Required: item_id (string). Optional: need_cover_url (boolean) and platform_source (integer). The Parameters table and the Playground on this page list every field.

What does the Douyin Video Play Count API return?

A JSON response returned in the same HTTP request (synchronous). The README on this page includes a sample response.

Do I need a Douyin developer account or API key?

No. Douyin Video Play Count runs through SandBase, so one SandBase API key covers this endpoint and every other API and model in the catalog. You do not need to apply for Douyin API access separately.