WellbyteWellbyte

GET /v1/tiktok/web/fetch_tiktok_web_guest_cookie

Get the guest Cookie

stable · 3 credits per success

Get the guest Cookie of TikTok Web;Can be used to crawl data of TikTok Web, such as user videos, mix videos, etc.;Can fix identity to avoid duplicate data for some interfaces.;Please note: Guest Cookie cannot crawl all data, there are certain restrictions.;Can be used with open source projects to implement data crawling of TikTok Web using this interface.;user_agent: User browser agent;Guest Cook…

Sign up for 500 credits and run with your own API key. Sign up free

Request

curl -s 'https://api.wellbyte.net/v1/tiktok/web/fetch_tiktok_web_guest_cookie?user_agent=Mozilla%2F5.0%20(Windows%20NT%2010.0%3B%20Win64%3B%20x64)%20AppleWebKit%2F537.36%20(KHTML%2C%20like%20Gecko)%20Chrome%2F90.0.4430.212%20Safari%2F537.36' \
  -H "Authorization: Bearer dg_live_…"

Response

Sample captured 2026-08-27

data{
code:0
data{
Cookie:
"ttwid=1%7C55rsS1ki_y9xvdgwuuVoIbtfwe0MwoYb6cASjIKwAEw%7C1787677253%7C9112f4c886f..."
Referer:"https://www.tiktok.com/explore"
User-Agent:
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko)..."
}
meta{
endpoint:"tiktok.web.fetch_tiktok_web_guest_cookie"
cache_hit:false
elapsed_ms:0
request_id:"req_sample"
credits_charged:0
}
message:"ok"
}

No calls yet. Get one green run first, then switch to your own data.

    Request parameters

    NameTypeInRequiredDescriptionExample
    user_agentstringqueryyes用户浏览器代理Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.212 Safari/537.36

    Response fields

    Field dictionary coming soon — the executable panel shows the live shape.

    Errors

    codeHTTPMeaningBilled
    40001400Invalid parametersno
    40102401Invalid or revoked API Keyno
    40201402Insufficient creditsno
    40402404Resource not foundno
    42201422Quality gate failedno
    42901429Rate limit exceededno
    50401504Upstream timeoutno
    50201502Upstream errorno

    Billing

    Success costs 3 credits. Any failure — including a 200 from upstream that fails the quality gate — costs 0.

    Search

    Search endpoints and docs