Douyin scraper keeps getting CODE 429: what actually works?

429 is Douyin's rate limit, and the usual home fixes don't move it. In TikTokDownload issue 639 (January 2024, 26 comments) it hit every version including f2, users restarted routers, re-pasted cookies and switched accounts with no change, it also appeared on a Tencent Cloud server, one user saw it on Douyin's own web page and said simply resending gets through, and another found changing IP didn't help. XTikAPI's Douyin endpoints send the requests from our side, $0.002 a call, and a failed call is not charged, so you can just retry.

Updated 2026-11-25

What people tried in issue 639

Restart router, PC, modem

Result: No change

Re-copy cookie, change Douyin web account

Result: No change

Run on a cloud server

Result: Same 429

Change IP

Result: Did not help, per one user

Resend the request

Result: Works, per a user who saw 429 in Douyin's web app too

max_connections = 1 in conf.ini

Result: One user said it had no effect in the new version

The pattern points at a per-time-window limit on Douyin's API, so slowing down and retrying is the lever, not the cookie.

Retry on our side instead

  1. Call douyin.videos.list (an account's works), douyin.videos.detail (one video) or douyin.comments.list (comments) as you need.
  2. If a call fails, retry with the same Idempotency-Key; it is never billed twice within 24 hours, and failed calls cost nothing.

Cost: 300 videos' comments, 5 pages each = 1,500 calls × $0.002 = $3.

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-25.

More about Douyin

Questions

Is the limit per IP or per cookie?

Users in issue 639 changed both without effect; one concluded it limits requests per time window.

One key. Start now.

19 platforms, 229 endpoints, from $0.002 a call. Errors and timeouts are free.

Start free