# Douyin Video Comments API

> Get the comments on a Douyin video: comment text, publish time, like count, reply count and commenter location, with cursor pagination.

Source: https://www.sandbase.ai/model/douyin/app-v3/video-comments
API reference: https://www.sandbase.ai/model/douyin/app-v3/video-comments/docs

## Facts

- Provider: Douyin
- Type: Data API
- Endpoint: `POST https://api.sandbase.ai/v1/api/douyin/app-v3/video-comments`
- Price: $0.0015 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/app-v3/video-comments` with `Authorization: Bearer $SANDBASE_API_KEY` and the parameters as a JSON body.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `aweme_id` | string | yes |  |
| `count` | integer | no |  |
| `cursor` | integer | no |  |

## FAQ

### How do I use the Douyin Video Comments API?

Send a POST request to https://api.sandbase.ai/v1/api/douyin/app-v3/video-comments 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 Comments API cost?

$0.0015 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 Comments API accept?

Required: aweme_id (string). Optional: count (integer) and cursor (integer). The Parameters table and the Playground on this page list every field.

### What does the Douyin Video Comments 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 Comments 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 Comments API

Pass a Douyin video ID (`aweme_id`) and get its first-level comments with text, likes, reply counts and IP location.

#### Use cases

- Analyze audience sentiment on a video.
- Collect feedback on a product or campaign video.
- Find frequently asked questions in comments.

#### Request

```bash
curl -X POST "https://api.sandbase.ai/v1/api/douyin/app-v3/video-comments" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"aweme_id": "7565738211130035491"}'
```

#### Parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `aweme_id` | string | Yes | Video id |
| `count` | integer | No | Number Please keep the default, otherwise there will be BUG. |
| `cursor` | integer | No | Cursor, used for paging, the first page is 0, the second page is the cursor value in the first response. |

#### Example response

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

```json
{
  "total": 4960,
  "has_more": 1,
  "cursor": "<next cursor>",
  "comments": [
    {
      "cid": "7693474478307853091",
      "aweme_id": "7565738211130035491",
      "create_time": 1791276616,
      "digg_count": 0,
      "reply_comment_total": 0,
      "text": "我家小猫很活泼了才3个月[捂脸]",
      "ip_label": "河南",
      "user": {
        "nickname": "<user>"
      }
    }
  ]
}
```

#### Notes

- Keep `count` at the default 20.
- Paginate with the `cursor` from the previous response.

#### Related APIs

- [Douyin Hot Search List](/model/douyin/app-v3/hot-search-list): Get the Douyin hot search list and other boards (seeding, entertainment, social and challenge lists): trending words with heat values and video counts.
- [Douyin Video Statistics (Batch)](/model/douyin/app-v3/multi-video-statistics): Get play, like, share and download counts for up to 50 Douyin videos in one request by passing comma-separated video IDs.
- [Douyin Video Detail](/model/douyin/app-v3/one-video-v3): Get the full data of a single Douyin post by ID (video, photo or article): description, author, hashtags, music, statistics and play URLs.
