How often should a Douyin scraper change its cookie, and how fast can it request?
Users report a Douyin web cookie can last about a week, and that Douyin blocks by IP and by request pattern rather than by account: in Douyin_TikTok_Download_API issue 417 one user ran with a random interval around 30 seconds plus a proxy, and in TikTokDownloader issue 478 (May 2025) a batch job hit cookie errors after about 35 creators and recovered after an hour. Neither project publishes official limits. XTikAPI reads Douyin with no cookie on your side, from $0.002 a call.
Updated 2026-11-23
What users report
Issue 417 (Jun 2024)
Report: Cookie fine for a week; Douyin bans the IP; random ~30 s between requests "可以用很久"
Issue 417, maintainer
Report: Douyin and TikTok generally don't ban the account; when the cookie fails, get a new one by hand
Issue 417
Report: Another user saw the video detail page itself blocked (redirects to other videos) while other features worked
Issue 478 (May 2025)
Report: Batch download of 200 creators: cookie error after ~35; waiting an hour restored it
Issue 478, maintainer
Report: Run from source to set your own request delay and pause interval
These are user observations, not limits Douyin publishes, and they shift when Douyin changes its checks.
If you keep your own crawler
- Randomize the delay between requests and pause between creators, as the old TikTokDownloader 5.5 did (3 minutes after every 10 creators, per issue 478).
- Treat an empty response as a block, not as no data.
- Keep a fresh cookie ready and rotate IPs; a pool of accounts, as one user in 417 suggests, spreads the load.
Or skip cookies
douyin.videos.list pages a creator's videos (id, cursor), douyin.videos.detail reads one video, douyin.comments.list its comments. A failed call is not charged.
Cost: 200 creators × 3 pages = 600 calls × $0.002 = $1.20 per run.
Why XTikAPI
- XTikAPI reads Douyin with 34 endpoints from $0.002 a call, and a failed call is not charged.
- Fewer tokens for AI: across 19 recorded live Douyin calls (2026-11-18), raw platform JSON is ~1.44M tokens vs ~169k via XTikAPI REST (88.3% fewer) and ~36k via MCP (97.5% fewer).
- See before you pay: 192 of 229 endpoints show a recorded real response on their page (30 of 34 for Douyin).
- 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.
- Free trial: a verified account gets $0.50, no card.
Endpoints
Each with its price; the endpoint page has parameters, fields and a recorded response.
How to do it
Sources
What this page says about other products comes from their own pages and docs, read on 2026-11-23.
More about Douyin
- Douyin API
- Douyin scraper keeps getting CODE 429: what actually works?
- f2 Douyin download fails with Client error '403 Forbidden': how to fix it?
- Douyin_TikTok_Download_API works locally but returns no video after Docker deploy: why?
- How can I get the play count of a Douyin video?
- MediaCrawler errors (Verifytype, Douyin page 1 empty, XHS 406, Kuaishou) & hosted alternatives?
- How can an AI agent search Zhihu and Douyin?
Questions
Will Douyin ban my account?
The Douyin_TikTok_Download_API maintainer said in issue 417 that Douyin and TikTok generally don't ban accounts; blocks hit the IP or the request.
One key. Start now.
19 platforms, 229 endpoints, from $0.002 a call. Errors and timeouts are free.
Start free