# Douyin Video Play Count API

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

Source: https://www.sandbase.ai/apis/douyin/xingtu-v2/item-play-count
API reference: https://www.sandbase.ai/apis/douyin/xingtu-v2/item-play-count/docs

## Facts

- Provider: Douyin
- Type: Data API
- Endpoint: `POST https://api.sandbase.ai/v1/api/douyin/xingtu-v2/item-play-count`
- Price: $0.003 per call
- Free allowance: 100 calls per organization per UTC day, shared across eligible APIs
- Capabilities: api, douyin
- Billing: pay per use from one SandBase balance; no provider account or subscription needed

## Call it

`POST https://api.sandbase.ai/v1/api/douyin/xingtu-v2/item-play-count` with `Authorization: Bearer $SANDBASE_API_KEY` and the parameters as a JSON body.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `item_id` | string | yes |  |
| `need_cover_url` | boolean | no |  |
| `platform_source` | integer | no |  |

## 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.

## 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

```bash
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

| Name | Type | Required | Description |
|---|---|---|---|
| `item_id` | string | Yes | Video (item) ID |
| `need_cover_url` | boolean | No | Whether to return cover URL, default true |
| `platform_source` | integer | No | Platform source, default 1 |

#### Example response

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

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

#### Related APIs

- [Get Author Audience Distribution](/model/douyin/xingtu-v2/author-audience-distribution): Get creator audience profile distribution.
- [Get Author Base Info](/model/douyin/xingtu-v2/author-base-info): Get creator/author base information.
- [Get Author Business Card Info](/model/douyin/xingtu-v2/author-business-card-info): Get creator/author business card information.
