<!-- GENERATED BY scripts/gen_social_pages.py; DO NOT EDIT -->
# Douyin API: video search, comments and replies

Use ChinaAPI to search public Douyin content, retrieve a video and collect available comments and replies. Each capability has its own request parameters and per-call price; this is a third-party integration, not an official Douyin developer API.

Canonical: https://chinaapi.ai/social-data-api/douyin/
Catalog captured: 2026-10-29T17:56:18Z
Price and availability source: https://dash.chinaapi.ai/api/social/catalog?lang=en&utm_source=chinaapi&utm_medium=social-catalog&utm_campaign=social-data-beta

[Create an account](https://dash.chinaapi.ai/register?lang=en&utm_source=chinaapi&utm_medium=social-social-data-api-douyin&utm_campaign=social-data-beta)

## Choose a video before collecting comments

Start with keyword search, select a relevant result and retain its aweme_id as a string. Pass that ID to the comments endpoint; the post endpoint expects share_url. A video URL is not interchangeable with an aweme_id.

## Comment pages and replies have different identifiers

Comments use aweme_id. Replies use item_id for the video and comment_id for a parent comment. Start cursor at 0 and count at 20. The current comments contract uses App V3 cursors; do not reuse a cursor saved from an older Web implementation.

## Avoid paying repeatedly for overlapping pages

Pages can contain repeated comments even when the cursor advances. Deduplicate by cid, stop on a repeated cursor or a page without new IDs, and set a hard maximum number of pages. Each successful page is billed even when some items overlap.

## What a result does and does not establish

Returned comments are a sample available at request time. Deleted content, visibility changes and retrieval limits can affect results. Do not present a bounded collection as the complete discussion or a representative audience survey.

## Available endpoints and USD prices

| Capability | Endpoint | USD / successful call |
| --- | --- | --- |
| [Search posts](https://chinaapi.ai/social-data-api/docs/#douyin-search) | `GET /v1/social/douyin/search` | $0.02 |
| [Post details](https://chinaapi.ai/social-data-api/docs/#douyin-post) | `GET /v1/social/douyin/post` | $0.002 |
| [Profiles](https://chinaapi.ai/social-data-api/docs/#douyin-user) | `GET /v1/social/douyin/user` | $0.006 |
| [Comments](https://chinaapi.ai/social-data-api/docs/#douyin-comments) | `GET /v1/social/douyin/comments` | $0.002 |
| [Comment replies](https://chinaapi.ai/social-data-api/docs/#douyin-comment-replies) | `GET /v1/social/douyin/comment-replies` | $0.002 |
| [User posts](https://chinaapi.ai/social-data-api/docs/#douyin-user-posts) | `GET /v1/social/douyin/user-posts` | $0.002 |
| [Trending](https://chinaapi.ai/social-data-api/docs/#douyin-trending) | `GET /v1/social/douyin/trending` | $0.002 |

First top-up required. Recheck the live catalog before integration.

## Request example

```bash
curl --fail-with-body --get "https://api.chinaapi.ai/v1/social/douyin/search" \
  -H "Authorization: Bearer $CHINAAPI_API_KEY" \
  --data-urlencode 'keyword=猫咪'
```

Keep the key server-side. Replace resource identifiers before running.

## Billing and limits

First top-up required; trial credit is excluded. No SLA. Synchronous empty or failed results are not charged. Every successful page is separately billed. Follow platform terms; personal profiling and private-content access are excluded.

[Full reference](https://chinaapi.ai/social-data-api/docs/)

## Related guides

- [Douyin API: video search, comments and replies](https://chinaapi.ai/social-data-api/douyin/index.md)
- [Bilibili API: search videos and retrieve public discussion](https://chinaapi.ai/social-data-api/bilibili/index.md)
- [Weibo API: keyword search, posts, comments and trends](https://chinaapi.ai/social-data-api/weibo/index.md)
- [Xiaohongshu API: search notes, details and comments](https://chinaapi.ai/social-data-api/xiaohongshu/index.md)
- [Collect comments with bounded pagination](https://chinaapi.ai/social-data-api/guides/comment-pagination/index.md)
- [Build an MCP social research workflow](https://chinaapi.ai/social-data-api/guides/mcp-research/index.md)
