# Does Douyin have an API?

Not for public content: Douyin's open platform serves the users who authorise your app, and documents no endpoint for any public video or profile. SocialToAI reads its publicly visible videos, comments, accounts and trends without a Douyin developer account: 33 interfaces from 2 credits a call (≈ $0.004–$0.0067), and failed calls are free. Official facts checked 2026-10-17.

- Page: https://socialtoai.com/does-douyin-have-an-api/
- Last updated: 2026-10-29

## The short answer

Not for public content: Douyin's open platform serves the users who authorise your app, and documents no endpoint for any public video or profile.

## What the official API allows

Douyin's open platform provides video data for users who authorise the app: the video list endpoint needs the user's authorisation and a permission applied for in the developer console. No endpoint for reading any public video or profile is documented.

Source: [Douyin's own developer documentation](https://open.douyin.com/platform/resource/docs/openapi/video-management/douyin/search-video/account-video-list), checked 2026-10-17. What a platform allows changes; its own pages are the authority.

## Reading Douyin's public data with SocialToAI

SocialToAI is an API and MCP server for publicly visible content and account information. You need no Douyin account and no app review: one SocialToAI key, or signing in from [Claude](https://socialtoai.com/connect/claude.md), [ChatGPT](https://socialtoai.com/connect/chatgpt.md), [Claude Code](https://socialtoai.com/connect/claude-code.md), [Cursor](https://socialtoai.com/connect/cursor.md) and [Codex](https://socialtoai.com/connect/codex.md). Each call costs a fixed number of credits, and a failed call costs nothing.

| Interface | What it returns | Price key | Credits |
| --- | --- | --- | --- |
| [Search](https://socialtoai.com/douyin-search-api.md) | Find videos by keyword: text, author, likes, comment count and publish time. | `douyin.search` | 12 |
| [Search · type=user](https://socialtoai.com/douyin-search-api.md) | Find accounts by keyword: name, followers and post count. | `douyin.search:user` | 2 |
| [Trending](https://socialtoai.com/douyin-trending-api.md) | What is trending now: title, rank and heat. | `douyin.trending` | 2 |
| [Trending · type=videos](https://socialtoai.com/douyin-trending-api.md) | The videos trending now. | `douyin.trending:videos` | 2 |
| [Detail](https://socialtoai.com/douyin-detail-api.md) | One video by ID or link: text, author, likes, comment count and publish time. | `douyin.detail` | 2 |
| [Comments](https://socialtoai.com/douyin-comments-api.md) | The comments under one video: text, likes, reply count and time. | `douyin.comments` | 2 |
| [Comments · reply_of](https://socialtoai.com/douyin-comments-api.md) | The comments under one video: text, likes and time. | `douyin.comments:replies` | 2 |
| [User Profile](https://socialtoai.com/douyin-user-profile-api.md) | One account: name, bio, followers, following and post count. | `douyin.user_profile` | 2 |
| [User Posts](https://socialtoai.com/douyin-user-posts-api.md) | The recent videos of one account. | `douyin.user_posts` | 2 |
| [Xingtu creator search](https://socialtoai.com/douyin-kol-search-api.md) | Search Douyin creators on Xingtu by words in their name. | `douyin.kol_search` | 3 |
| [Xingtu creator profile](https://socialtoai.com/douyin-kol-profile-api.md) | Get a Douyin creator's profile on Xingtu by Xingtu creator ID. | `douyin.kol_profile` | 3 |
| [Xingtu creator audience](https://socialtoai.com/douyin-kol-audience-api.md) | Get who follows a Douyin creator, by Xingtu creator ID. | `douyin.kol_audience` | 3 |

21 more on the [Douyin API page](https://socialtoai.com/platforms/douyin.md).

**One call: Search**

```
curl https://api.socialtoai.com/v1/search \
  -H "Authorization: Bearer $SOCIALTOAI_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
    "platform": "douyin",
    "query": "露营"
  }'
```

- No Douyin account, cookie or developer approval on your side.
- What comes back is what the platform shows publicly; commenters are anonymised.
- Every platform answers in the same response format, so the same code reads Douyin and the others.
- Prepaid credits from 2 credits a call; 100 free credits on sign-up, no card.

## Reading Douyin without the official API

There are three ways in, and they differ in what you have to hand over and keep running. These are kinds of tool, not products.

| Way | What you need | What to watch for |
| --- | --- | --- |
| Write your own scraper | Code, proxies, and often your own Douyin login or cookies | Requests made in your account's name can get it limited or banned; pages and signatures change, so the code needs upkeep. |
| Run an open-source MCP server or script locally | Install it, then sign in with your account or paste its cookies | It reads as your account, and stops when the platform changes or your computer is off. |
| Call a hosted API (SocialToAI) | One SocialToAI key, or one MCP address and sign-in | No account of yours is used; you pay from 2 credits a call and nothing for a failed one; keeping up with Douyin is our job. |

## FAQ

### Can I read Douyin without a developer account?

Yes. SocialToAI reads its publicly visible videos, comments, accounts and trends for you: 33 interfaces from 2 credits a call (≈$0.0067), and failed calls are free. You need one SocialToAI key, or sign-in from your AI client.

### Will reading Douyin this way get my account banned?

No account of yours is involved: you never sign in to Douyin, hand over a cookie or install anything, so nothing is read in your account's name.

### How much does reading Douyin cost here?

From 2 credits a call: $0.0067 at the first pack, $6.67 for a thousand such calls. A failed call costs nothing, and every answer states what it charged. 100 free credits on sign-up, no card.

### Can Claude and ChatGPT read Douyin?

Yes: add SocialToAI's MCP address in Claude or ChatGPT, sign in and press Allow, then ask in plain words. Each answer states the credits it used.

## Read next

- [How to let Claude read Douyin comments](https://socialtoai.com/how-to/let-claude-read-douyin-comments.md): connect Claude to the comments under Douyin videos
- [Every Douyin trend-index API](https://socialtoai.com/douyin-trend-index-api.md): Keywords, brands, creators and topics: all 10 on one page.
- [Official social media API prices and limits](https://socialtoai.com/data/official-social-api-pricing.md): Every platform's official API on one page, with sources.

## Sources

- [Douyin: open.douyin.com](https://open.douyin.com/platform/resource/docs/openapi/video-management/douyin/search-video/account-video-list), checked 2026-10-17
- [Douyin API on SocialToAI](https://socialtoai.com/platforms/douyin.md): every call and its credits, last tested 2026-10-17
- [The live catalog](https://api.socialtoai.com/v1/capabilities): what is offered now and its credits, readable without a key

- [Douyin API](https://socialtoai.com/platforms/douyin.md): Every call on Douyin, with a request to copy.
- [Douyin MCP server](https://socialtoai.com/mcp/douyin.md): Let your AI read Douyin.
- [Claude](https://socialtoai.com/connect/claude.md): Connect Claude: sign in, no key.
- [ChatGPT](https://socialtoai.com/connect/chatgpt.md): Connect ChatGPT: sign in, no key.
