X-Bogus is the query signature on TikTok’s web API. Here is what it does, why web scrapers keep breaking on it, and how the mobile API gets you more data with fewer headaches.
{
"context_id": "ctx_d6f929112c074f698e32",
"aweme_id": "7693184538704416031",
"aweme_detail": {
"aweme_id": "7693184538704416031",
"desc": "Real conversations happen on TikTok, and protecting the integrity of elections is a top priority. 🗳️🔐 Through dedicated in-app Election Centers and global fact-checking partnerships, TikTok connects y...",
"statistics": {
"aweme_id": "7693184538704416031",
"collect_count": 2465,
"comment_count": 4681,
"digg_count": 25034,
"download_count": 118,
"forward_count": 0,
"lose_comment_count": 0,
"lose_count": 0,
"play_count": 628797,
"repost_count": 0
},
"author": {
"uid": "107955",
"sec_uid": "MS4wLjABAAAAv7iSuuXDJGDvJkmH_vz1qkDZYo1apxgzaxdBSeIuPiM",
"unique_id": "tiktok",
…
}X-Bogus is a signature parameter that TikTok’s website adds to its web API requests (for example item_list and comment list calls), computed in obfuscated JavaScript from the query, the user agent and a timestamp, alongside an msToken cookie and newer web tokens. Without a valid X-Bogus, web endpoints return empty bodies or errors. Many scrapers generate it by running TikTok’s JavaScript in a headless browser or a JS sandbox, which breaks whenever TikTok updates that script. Tikultra does not use the web API: it calls TikTok’s mobile API, signed with X-Argus, X-Ladon and X-Gorgon from managed devices, which returns richer data and is maintained for you.
The web request’s query string with the user agent and time, checked with msToken cookies.
X-BogusmsTokenuser-agentThe JavaScript that makes it is obfuscated and changes; headless browsers get fingerprinted.
webmssdkheadlessManaged endpoints call the app API and return clean JSON, no signature work on your side.
/v1/video/v1/user/v1/searchIf you run your own client, sign mobile requests with X-Argus and friends.
/v1/crypto/signMap each web call you make to its managed endpoint (videos, posts, comments, search).
One HTTPS request with your key; JSON back.
Use /v1/crypto/sign for mobile requests you send yourself.
The example calls GET /v1/video. Swap the tab for your language, or open it in the API reference.
import { TikUltra } from 'tikultra'
const client = new TikUltra({ apiKey: process.env.TIKULTRA_KEY })
const res = await client.video.get({ aweme_id: '7693184538704416031' })
console.log(res.data)Managed reads are 1 req per call; there is no separate signing fee for them.
Plans include a monthly request quota; past it, the same per-request price applies. Failed calls are never billed. Estimate your cost
| Starter $49/mo | $1.22 |
|---|---|
| Growth $159/mo | $0.91 |
| Scale $499/mo | $0.67 |
The web API is easy to find in DevTools but returns less, rotates its signing script, and rate-limits datacenter traffic hard. The mobile API returns richer objects (stream specs, Shop product pages, LIVE bags, stories) but needs device-bound signatures. A managed gateway gives you the mobile data without either signing problem.
| Capability | Tikultra | TikAPI | EnsembleData | ScrapeCreators | Apify |
|---|---|---|---|---|---|
| Native mobile request signing | 8 apps, 50+ releases (<1 ms) | — | — | — | — |
| TikTok endpoints | 233 | ≈ 60 | 20 | 28 | 1 actor |
| Failed or empty upstream calls | Never billed (0 reqs / $0) | — | Free | — | Compute billed |
Prices checked 19 Nov 2026 on each vendor’s public pricing page; capabilities from their public API docs. A dash means the vendor’s public docs don’t list it (checked 19 Nov 2026). Full comparison
Teams whose X-Bogus generator stopped working after a TikTok update.
Replace headless browsers with plain HTTP calls.
Get stream specs, Shop and LIVE data the web API does not return.
Sign up and get 500 free requests — test public data & browser tools with no credit card, then upgrade anytime.