# Douyin API for developers: third-party Douyin data APIs and what they return (2026)

Douyin Open Platform gives an app the data of the user who authorises it, and its keyword search of videos is not open at present; to read public videos, accounts, comments, hot lists and Xingtu creators, use a third-party data API. DataXAPI has 38 Douyin endpoints on one key: a page of video search is $0.0200, a page of comments $0.0020. The free trial covers up to 333 calls; a failed call is not charged.

Updated 2026-11-06

## Does Douyin have an official API?

Yes: Douyin Open Platform, for organisations such as companies, sole proprietors and public bodies; an individual can build only mini programs and mini games. It reads the profile, fans and posts of the Douyin user who authorises your app, with up to 5,000 fans. Its keyword search of videos (`aweme.dy.video_search`) is marked an experimental ability that is not open at present.

## Three routes, side by side

Pick by the data you want: your own account goes through the open platform; other people's public posts take one of the other two.

| Route | What you get | What it takes |
| --- | --- | --- |
| Douyin Open Platform | The authorising user's own profile, fans and posts | An organisation, each ability applied for and reviewed in 5 to 7 working days |
| An open-source scraper, or your own | What the web pages show | Producing signatures such as `a_bogus` and `msToken` yourself, your own accounts and proxies, and keeping up with changes |
| A third-party data API (DataXAPI) | Public videos, accounts, comments, hot lists, Ocean Engine indexes and Xingtu creators | One key, paid per call; a failed call is not charged |

## What do DataXAPI's Douyin endpoints return?

The groups most used are below; every endpoint, with a recorded response, is on the Douyin API page.

| You want | Endpoint | Notes |
| --- | --- | --- |
| Videos by keyword | `douyin.videos.search` | Newest or most liked first, filtered by time posted; $0.0200 a page |
| One video | `douyin.videos.get` | By video ID, or the link or share text pasted as it is |
| Comments and replies | `douyin.videos.comments.list`, `douyin.comments.replies.list` | About 20 a page, with a cursor for the next |
| Accounts and their videos | `douyin.users.get`, `douyin.users.videos.list` | By `sec_uid` or profile link |
| Hot lists and breakout videos | `douyin.trends.list`, `douyin.videos.trending` | Hot searches, rising topics, and boards such as low-follower hits |
| Keyword heat (Ocean Engine) | `douyin.index.keywords.history` | Daily index for up to 5 words a call |
| Xingtu creators and rates | `douyin.xingtu.creators.search`, `douyin.xingtu.creators.rates.get` | Profiles, audiences and the rate of each kind of work |

## Do I need a Douyin account or cookie?

No. You send a DataXAPI key: no Douyin login, no cookie, no signatures to produce. It reads publicly visible data only; it cannot post, like or comment.

Connected to Claude, Cursor or ChatGPT, you can say “search Douyin for camping videos from the last week and get the comments under the 10 most liked”, and the AI calls these endpoints itself.

## Why DataXAPI

- Steady: endpoints were available 99.9% of the last 30 days, on a public status page you can check.
- Fast: a paid call took 2.2 seconds at the median over the last 7 days (counted 2026-11-06).
- Fewer tokens: across 36 endpoints on Douyin, one recorded real response each, the platform's own JSON comes to 2.4M tokens and what an AI reads through DataXAPI's MCP server to 72k, 97% fewer; the JSON of a direct API call is 96% fewer too (counted 2026-11-06). Every platform answers in one shape: the author in `author`, counts in `metrics`, the next page in `page.next_cursor`, so another platform needs no new parser.
- See before you pay: every endpoint's page shows a recorded real response, field by field.
- Spending you control: a failed call is not charged; each key can have a limit, `X-Max-Price` caps one call, and the same `Idempotency-Key` within 24 hours is never charged twice.
- Ready for AI: a remote MCP server listed in the official MCP registry as `com.dataxapi/mcp`, usable from Claude, Cursor and ChatGPT.
- Free trial of up to 333 calls, no card.

## Endpoints

- [Douyin video search](https://dataxapi.com/apis/douyin/videos/search/) ($0.0200 / a call): Search Douyin videos by terms, a page at a time, sorted by relevance, newest or most liked and filtered by time posted: caption, author with follower count, engagement counts.
- [Douyin video detail](https://dataxapi.com/apis/douyin/videos/get/) ($0.0020 / a call): Get one Douyin video or image post by ID or link: caption, author, engagement counts, time posted.
- [Douyin video comments](https://dataxapi.com/apis/douyin/videos/comments/list/) ($0.0020 / a call): Get a page of comments on a Douyin video: text, commenter, likes, reply count, time posted.
- [Douyin user profile](https://dataxapi.com/apis/douyin/users/get/) ($0.0020 / a call): Get a Douyin user's profile by account ID or profile link: name, handle, bio, follower, following and post counts, total likes, verification.
- [Douyin user videos](https://dataxapi.com/apis/douyin/users/videos/list/) ($0.0020 / a call): Get a page of the videos a Douyin account has posted, newest first: caption, engagement counts, time posted.
- [Douyin hot search board](https://dataxapi.com/apis/douyin/trends/list/) ($0.0020 / a call): Get a Douyin hot list: hot searches, rising topics, topic ranking, top search terms or the music chart, with rank and heat.
- [Douyin trend-index keyword trends](https://dataxapi.com/apis/douyin/index/keywords/history/) ($0.0060 / a call): Get the day-by-day search index and composite index of a keyword, or of one to five keywords at once, on Douyin over a date range, from 巨量算数 (the Douyin index), with the daily averages of the period, of the one before and of a year earlier. An index is the platform's score of volume, not a count of searches; days are calendar days in China time (UTC+8).
- [Douyin Xingtu creator search](https://dataxapi.com/apis/douyin/xingtu/creators/search/) ($0.0040 / a call): Search Douyin creators on Xingtu by words in their name: Xingtu creator ID, name, location, content categories, followers, and in the full view what a video of each of two lengths costs and the views expected of one. The creator ID the other Xingtu endpoints take comes from here.

## How-to guides

- [Does Douyin have an API? Get videos and comments with Python (2026)](https://dataxapi.com/guides/douyin-api-python/)
- [How to export Douyin video comments in bulk](https://dataxapi.com/guides/douyin-video-comments/)

## Sources

What this page says of other services is from their own pages and documents, read on 2026-10-29.

- [Douyin Open Platform: joining as a developer](https://developer.open-douyin.com/docs/resource/zh-CN/developer/join/join-into-developer-platform)
- [Douyin Open Platform: fan list](https://developer.open-douyin.com/docs/resource/zh-CN/dop/develop/openapi/account-management/user-data/get-fans-list)
- [Douyin Open Platform: video search](https://developer.open-douyin.com/docs/resource/zh-CN/dop/develop/openapi/douyin-search-capability/aweme-dy-video-search)

## More about Douyin

- [Douyin API](https://dataxapi.com/apis/douyin/)
- [Douyin trend-index API](https://dataxapi.com/apis/douyin/index/)
- [Douyin Xingtu API](https://dataxapi.com/apis/douyin/xingtu/)
- [How do I export Douyin data?](https://dataxapi.com/answers/export-douyin-data/)
- [What is sec_uid on Douyin, and how is it different from uid and the Douyin ID?](https://dataxapi.com/answers/douyin-sec-uid/)
- [What are aweme_id and modal_id on Douyin, and what is a v.douyin.com link?](https://dataxapi.com/answers/douyin-aweme-id-modal-id/)
- [Is the Douyin search index a number of searches?](https://dataxapi.com/answers/douyin-search-index-vs-search-count/)
- [What is the Douyin keyword index (Ocean Engine)?](https://dataxapi.com/answers/what-is-douyin-keyword-index-ocean-engine/)
- [What is Douyin Xingtu?](https://dataxapi.com/answers/what-is-douyin-xingtu/)
- [Can Douyin's open platform read other people's videos and comments? (2026)](https://dataxapi.com/answers/douyin-open-platform-api/)
- [How do I check a keyword's heat on Douyin and Xiaohongshu before advertising? (2026)](https://dataxapi.com/answers/douyin-xiaohongshu-keyword-heat/)
- [How do I export all of a Douyin creator's video data? (2026)](https://dataxapi.com/answers/export-douyin-creator-videos/)
- [How do I export Douyin comments in bulk to find what users want? (2026)](https://dataxapi.com/answers/export-douyin-comments-user-needs/)
- [How do I find Douyin videos that took off from small accounts, and can I pull them in bulk? (2026)](https://dataxapi.com/answers/douyin-low-fan-viral-videos/)
- [What are a_bogus and X-Bogus on Douyin? (2026)](https://dataxapi.com/answers/douyin-a-bogus-x-bogus/)
- [What is msToken on Douyin? (2026)](https://dataxapi.com/answers/douyin-mstoken/)
- [Which Douyin API should I use for search, accounts and comments? (2026)](https://dataxapi.com/answers/which-douyin-api-to-use/)
- [How do I pull Douyin's hot-topic data by program? (2026)](https://dataxapi.com/answers/douyin-hot-topics-by-program/)
- [How do I use AI to audit and review an account? (2026)](https://dataxapi.com/answers/ai-account-audit-and-review/)
- [How do I filter Xingtu creators in bulk and see their rates? (2026)](https://dataxapi.com/answers/douyin-xingtu-creators-bulk-filter/)
- [What is ttwid on Douyin? (2026)](https://dataxapi.com/answers/douyin-ttwid/)
- [What are verifyFp and s_v_web_id on Douyin? (2026)](https://dataxapi.com/answers/douyin-verifyfp-s-v-web-id/)
- [How do I convert a Douyin sec_uid to a uid, and back? (2026)](https://dataxapi.com/answers/douyin-sec-uid-to-uid/)
- [Douyin MCP server for Claude and Cursor (2026)](https://dataxapi.com/answers/douyin-mcp/)
- [Creator (KOL) data from Douyin and Xiaohongshu: profiles, posts and rates (2026)](https://dataxapi.com/answers/douyin-xiaohongshu-creator-data/)
- [Chinese social media marketing data tools: official tools and APIs (2026)](https://dataxapi.com/answers/chinese-social-media-marketing-data-tools/)
- [Which social media data API is best for AI agents? Count the tokens a response takes (2026)](https://dataxapi.com/answers/social-media-api-for-ai-agents/)
- [Social media API responses fill the AI's context and burn tokens: what to do](https://dataxapi.com/answers/api-response-too-many-tokens/)
- [Douyin, WeChat and Xiaohongshu data in Claude Code and Codex (2026)](https://dataxapi.com/answers/claude-code-codex-china-social-data/)
- [How many tokens does a social media API response take in an AI? Every endpoint measured (2026)](https://dataxapi.com/answers/social-media-api-token-benchmark/)
- [Douyin API for AI agents and LLMs: fewer tokens, called from Claude and Cursor (2026)](https://dataxapi.com/answers/douyin-api-for-ai-agents/)
- [Douyin video download URL: getting a video's play address by API (2026)](https://dataxapi.com/answers/douyin-video-play-url-api/)
- [Douyin and Xiaohongshu search box suggestions (autocomplete) by API, in bulk (2026)](https://dataxapi.com/answers/douyin-xiaohongshu-search-suggestions-api/)
- [Douyin video completion rate and plays: Xingtu's video report by API (2026)](https://dataxapi.com/answers/douyin-video-completion-rate/)
- [How to get Douyin keyword trends in bulk](https://dataxapi.com/guides/douyin-keyword-trends/)
- [How to look up a Douyin creator's Xingtu rate card](https://dataxapi.com/guides/douyin-xingtu-creator-rates/)
- [SocialCrawl alternative for Douyin, Xiaohongshu and WeChat data](https://dataxapi.com/compare/socialcrawl-alternative/)
- [How to choose a social media data API: failed-call charges, MCP and Chinese platforms](https://dataxapi.com/compare/social-media-data-apis/)

---

Catalog revision 9d3b7fa5a896745d. [HTML version](https://dataxapi.com/answers/douyin-third-party-data-apis/)
