Douyin_TikTok_Download_API works locally but returns no video after Docker deploy: why?

Usually the container isn't reading the config you edited: in issue 391 (May 2024, 19 comments) the same cookie and UA worked locally but not in Docker on a NAS, and the fix that worked was mounting your config.yaml into the container's crawlers/douyin/web/ path and restarting it. Later the maintainer added that an empty response means Douyin blocked the request, so change the cookie. XTikAPI's douyin.videos.detail returns a video's data with no cookie to keep alive, $0.002 a call.

Updated 2026-11-23

Check these in order

Works locally, nothing in Docker, same IP (issue 391)

Likely cause: The container still uses the config baked into the image

What to do: Mount the file: -v /path/config.yaml:/app/crawlers/douyin/web/config.yaml, then restart the container

You edited the file inside the container

Likely cause: Changes need a restart

What to do: docker restart after editing

Web page in Docker says "暂未开放,敬请期待" for user homepages (issue 538)

Likely cause: That page isn't offered in the web UI

What to do: Call the API route instead, per the maintainer

API returns empty data

Likely cause: Douyin blocked the request (risk control)

What to do: Replace the cookie in the config (maintainer, issue 538)

In September 2026 the maintainer released v5.0.0, a rewrite with different endpoints and configuration, and closed the v4 issues, so paths above apply to v4.

Getting video data without the container

  1. Turn a share link into an aweme ID with douyin.videos.id_from_url.
  2. douyin.videos.detail with that id returns caption, author, plays, likes, comments, shares and publish time.
  3. A creator's videos: douyin.videos.list with their id, cursor for more.

Cost: 2,000 links a month = 4,000 calls (ID + detail) × $0.002 = $8.

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).
  • Made for AI: hosted OAuth MCP server (/v1/mcp), Markdown twin per page, llms.txt and OpenAPI for ChatGPT, Claude and Cursor.
  • 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

Questions

Does XTikAPI return the video file?

It returns the video's data (caption, author, counts, publish time); download the file yourself if you need it.

One key. Start now.

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

Start free