# TikTokDownloader shows Douyin cookie errors after a few dozen creators: why? (2026)

A TikTokDownloader issue reports that batch-collecting Douyin creators starts throwing cookie errors after about 35 accounts, and works again only after waiting an hour: Douyin is limiting the cookie. To list many creators' videos without a cookie, XTikAPI's `douyin.videos.list` takes the sec_uid and returns a page of videos for $0.002 a call. XTikAPI reads Douyin with 34 endpoints from $0.002 a call. A failed call is not charged, and a verified account gets $0.50 of trial balance.

Updated 2026-11-20

## What was reported

Issue 478 (2025-05-22, 12 comments): with 200 creators to collect, the cookie error appears around the 35th; closing the program and waiting an hour lets it continue, so every run only gets through the first few dozen. A fresh cookie hits the same wall, because the limit is on how much one logged-in session requests.

## How XTikAPI does it

1. If you have profile links, `douyin.accounts.id_from_url` turns each into a sec_uid.
2. `douyin.videos.list` takes the sec_uid and returns a page of videos with caption, cover, play address and counts; page with `cursor`.
3. For one video's full data use `douyin.videos.detail`.

No cookie of yours is sent, so there is no session to throttle.

## What 200 creators cost

200 profile links to sec_uid, then 3 pages of videos each: 800 calls at $0.002, $1.60.

## Why XTikAPI

- See before you pay: 192 of 229 endpoints show a recorded real response on their page (30 of 34 for Douyin).
- One shape: posts, comments and accounts from 19 platforms come back as the same objects, author in author and counts in metrics, so another platform needs no new parser.
- Spending you control: a failed call or a timeout is not charged (charged: false), X-Max-Price caps one call, and the same Idempotency-Key within 24 hours is never billed twice.
- Prepaid balance, no subscription. Balance never expires, and unused top-up money can be refunded within 14 days.
- Made for AI: every page has a Markdown twin, plus llms.txt and OpenAPI, so ChatGPT, Claude and Cursor can read it directly.

## Endpoints

- [Douyin video list API](https://xtikapi.com/apis/douyin/videos/list) ($0.002 a call): Get user homepage video data
- [Douyin sec_uid from profile link API](https://xtikapi.com/apis/douyin/accounts/id_from_url) ($0.002 a call): Extract the sec_user_id from a Douyin profile link.
- [Douyin video details API](https://xtikapi.com/apis/douyin/videos/detail) ($0.002 a call): Get single video data

## More about Douyin

- [Douyin API](https://xtikapi.com/apis/douyin)
- [Does Chanmama (蝉妈妈) have an API?](https://xtikapi.com/answers/chanmama-api)
- [How do I get replies to Douyin comments (second-level comments)?](https://xtikapi.com/answers/douyin-comment-replies-api)
- [How do I export Douyin video comments to Excel?](https://xtikapi.com/answers/douyin-comments-export-excel)
- [How do I get the video ID from a Douyin share link?](https://xtikapi.com/answers/douyin-share-link-to-video-id)
- [What is a good Apify alternative for social media data?](https://xtikapi.com/answers/apify-alternative-for-social-media-data)
- [How do I pull the Douyin hot search list with code?](https://xtikapi.com/answers/douyin-hot-search-api)
- [How do I find viral Douyin videos from small accounts, and can I pull them in bulk?](https://xtikapi.com/answers/douyin-low-fan-viral-videos)
- [Is there an official Douyin API for public videos?](https://xtikapi.com/answers/douyin-open-platform-api)
- [What is the Ocean Engine (Juliang Suanshu) keyword index, and can I get it by API?](https://xtikapi.com/answers/douyin-trend-index-keywords)
- [What is a_bogus on Douyin and do I need to generate it?](https://xtikapi.com/answers/douyin-a-bogus)
- [What is the difference between uid and sec_uid on Douyin, and how do I convert one to the other?](https://xtikapi.com/answers/douyin-sec-uid-vs-uid)
- [Is there a hosted alternative to MediaCrawler for Xiaohongshu, Douyin and other Chinese platforms?](https://xtikapi.com/answers/mediacrawler-alternative)

## Sources

What this page says about other products comes from their own pages and docs, read on 2026-11-20.

- TikTokDownloader issue 478: cookie errors after 35 creators, back after an hour

---

XTikAPI: one API key for public social media data, prepaid per call. [HTML version](https://xtikapi.com/answers/tiktokdownloader-douyin-cookie-error) · [llms.txt](https://xtikapi.com/llms.txt) · [OpenAPI](https://xtikapi.com/openapi.json)
