Why does my Douyin crawler only get the first 18 videos of an account?

Douyin returns the first page of an account's videos to anyone but answers the next page with {"status_code": 0} and no data unless the cookie is a valid login, so tools stop at the first page; in TikTokDownloader issue 706 (March 2026) that was 18 videos, and the author said reading cookies from newer browsers no longer works. XTikAPI's douyin.videos.list pages through an account's videos by sec_uid with cursor, no cookie needed, $0.002 a page.

Updated 2026-11-21

What issue 706 shows

Page 1

Result: 18 videos, has_more=1

Page 2

Result: {"status_code": 0} with no list

Tool message

Result: "配置文件 cookie 参数未登录,数据获取已提前结束"

Cookie source

Result: Read from Chrome by the tool's "read cookie from browser" option

Author's reply

Result: That option doesn't work with newer browser versions and will be removed

So the cookie looked valid but wasn't a usable login; paste the full cookie from the browser's developer tools instead.

With XTikAPI

  1. Get the sec_uid from a profile link with douyin.accounts.id_from_url.
  2. douyin.videos.list with id (the sec_uid) and cursor from the previous page until there are no more.
  3. douyin.accounts.detail gives the video count so you can check you got them all.

Cost: an account with 600 videos at 18 per page = 34 calls × $0.002 = $0.068.

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

More about Douyin

Questions

Is status_code 0 a success?

Usually 0 means success on Douyin, which is what makes this confusing: here it comes with an empty list, and the tool treats it as "not logged in".

One key. Start now.

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

Start free