f2 TikTok user posts return status 200 with an empty response: why?
TikTok answers 200 with no data when the request's tokens don't add up, even if the cookie is valid. In f2 issue 384 (September 2025, 16 comments) a user with a working cookie and device_id only got videos after generating a 152-character msToken and signing with X-Gnarly and X-Bogus, another found two msToken values in their cookie, and a TikTokDownloader maintainer said X-Gnarly itself isn't required. XTikAPI's tiktok.videos.list takes the @username and returns the account's videos, $0.002 a page.
Updated 2026-11-25
Things users checked
The cookie in the YAML config is wrapped in double quotes
Where it came up: Issue 198 (Nov 2024), "JSON interface failed, empty response"
device_id matches the cookie it was issued with
Where it came up: Issue 384
msToken is 152 characters, and there is only one in the cookie
Where it came up: Issue 384
X-Gnarly / X-Bogus signing
Where it came up: Issue 384; disputed by a TikTokDownloader maintainer
Only one of fetch_one_video and fetch_user_post_videos fails
Where it came up: Two users in issue 384 saw opposite cases
No single fix worked for everyone, which is typical when TikTok changes its web signing.
Without tokens
- Call
tiktok.videos.listwithid(the username in tiktok.com/@username, or a secUid);cursorpages,sortorders. - Profile numbers:
tiktok.accounts.detailwithuniqueId. - One video:
tiktok.videos.detail.
Cost: 200 accounts, 2 pages a week = 1,600 calls a month × $0.002 = $3.20.
Why XTikAPI
- XTikAPI reads TikTok with 24 endpoints from $0.002 a call, and a failed call is not charged.
- Fewer tokens for AI: across 14 recorded live TikTok calls (2026-11-18), raw platform JSON is ~1.21M tokens vs ~35k via XTikAPI REST (97.1% fewer) and ~35k via MCP (97.1% fewer).
- See before you pay: 192 of 229 endpoints show a recorded real response on their page (22 of 24 for TikTok).
- One shape: posts, comments and accounts from 19 platforms come back as the same objects, author in author and counts in metrics, so another platform needs no new parser.
- 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.
Sources
What this page says about other products comes from their own pages and docs, read on 2026-11-25.
More about TikTok
- TikTok API
- TikTok-Api errors (EmptyResponseException, 200 empty body, Captcha, statusCode): how do I fix them?
- yt-dlp fails on a TikTok user profile with "[tiktok:user] Failed to parse JSON": how do I fix it?
- Can the TikTok Display API read other users' videos?
- Can I use the TikTok Research API for commercial work?
- Why does the Douyin video URL I parsed return 403 Forbidden?
Questions
Does a proxy in another country fix it?
The reporter in issue 384 could view the profile in a browser through Singapore and US nodes, so the IP was not the cause there.
One key. Start now.
19 platforms, 229 endpoints, from $0.002 a call. Errors and timeouts are free.
Start free