# Douyin user homepage videos API (fetch_user_post_videos) returns 400: why?

In Douyin_TikTok_Download_API the 400 from `/api/douyin/web/fetch_user_post_videos` came from Douyin's side: in issue 739 (September 2026) a user found the raw response read "Blocked by ArgusSecurityPlugin Uifid Not Found", with 400 arriving after at most four successful calls whatever the speed. The maintainer pushed a new version on 10 September 2026 (v5.0.0, a full rewrite). XTikAPI's `douyin.videos.list` pages a creator's videos with no cookie or signature on your side, $0.002 a page.

Updated 2026-11-23

## What the reports say

| When | What was seen |
| --- | --- |
| Sep 2025 (issue 665) | The endpoint stopped returning a creator's newest videos; the maintainer said some latest videos now needed a logged-in cookie |
| Sep 2025 | A user confirmed a logged-in cookie got them, then asked how long it lasts |
| 4 Sep 2026 (issue 739) | Every call: `code 400, An error occurred` |
| 8 Sep 2026 | 400 unrelated to request speed; up to 4 successes, then 400, recovering after tens of seconds; raw body "Blocked by ArgusSecurityPlugin Uifid Not Found" |
| 10 Sep 2026 | Maintainer: new version pushed; v4 issues closed for the v5.0.0 rewrite |

So 400 here is a block on the old web endpoint, not a bad `sec_user_id`.

## What to do

1. On v4: upgrade to v5, which has different endpoints and config; your old routes won't exist.
2. If you stay on your own crawler: use a logged-in cookie for the newest videos, and expect the endpoint to break again when Douyin changes its checks.
3. Or call `douyin.videos.list` with the creator's `id` (sec_uid); pass `cursor` for the next page, `sort` to order. Turn a homepage link into the ID with `douyin.accounts.id_from_url`.

Cost: 100 creators × 5 pages = 500 calls × $0.002 = $1.

## 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

- [Douyin video list API](https://xtikapi.com/apis/douyin/videos/list) ($0.002 a call): Videos posted by one Douyin account, newest first.
- [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 account details API](https://xtikapi.com/apis/douyin/accounts/detail) ($0.002 a call): A Douyin account profile by UID.

## More about Douyin

- [Douyin API](https://xtikapi.com/apis/douyin)
- [What does "failed to get user data, get a new ttwid from the web" mean for Douyin?](https://xtikapi.com/answers/douyin-get-new-ttwid)
- [Why does my Douyin crawler only get the first 18 videos of an account?](https://xtikapi.com/answers/douyin-account-videos-only-first-page)
- [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)
- [f2 Douyin download fails with Client error '403 Forbidden': how to fix it?](https://xtikapi.com/answers/f2-douyin-403-forbidden)
- [How can an AI agent search Zhihu and Douyin?](https://xtikapi.com/answers/ai-agent-search-zhihu-douyin)
- [MediaCrawler errors (Verifytype, Douyin page 1 empty, XHS 406, Kuaishou) & hosted alternatives?](https://xtikapi.com/answers/mediacrawler-errors-and-alternatives)

## How to do it

- [How to list every video from a Douyin account](https://xtikapi.com/guides/douyin-user-videos)

## Sources

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

- [Douyin_TikTok_Download_API issue #739 (user videos API returns 400)](https://github.com/Evil0ctal/Douyin_TikTok_Download_API/issues/739)
- [Douyin_TikTok_Download_API issue #665 (newest videos missing)](https://github.com/Evil0ctal/Douyin_TikTok_Download_API/issues/665)

## Questions

### Does slowing down fix it?

Not in issue 739: the reporter got 400 whether requests were fast or slow.

---

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