WellbyteWellbyte

GET /v1/douyin/index/fetch_encrypt_user_id

Encrypt Douyin uid to user_id

stable · 2 credits per success

Convert a Douyin uid (numeric) to the encrypted user_id used internally by Douyin Index API;The daren-related endpoints already handle this conversion automatically,;so you usually do NOT need to call this endpoint manually;Only useful for debugging or when you need the encrypted user_id directly;uid: Douyin uid, numeric string;uid: Original input uid;user_id: Encrypted user_id

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

Request

curl -s 'https://api.wellbyte.net/v1/douyin/index/fetch_encrypt_user_id?uid=3100268042915212' \
  -H "Authorization: Bearer dg_live_…"

Response

Sample captured 2026-08-27

data{
code:0
data{
uid:"3100268042915212"
user_id:"dbaacgiaecjbfcbc"
}
meta{
endpoint:"douyin.index.fetch_encrypt_user_id"
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
    uidstringqueryyes抖音 uid (纯数字)3100268042915212

    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 2 credits. Any failure — including a 200 from upstream that fails the quality gate — costs 0.

    Search

    Search endpoints and docs