Douyin-Index-API
抖音 uid 转加密 user_id/Encrypt Douyin uid to user_id
Changed on[中文]
用途:
- 将抖音 uid(纯数字)转换为抖音指数 API 内部使用的加密 user_id
- 达人相关接口(如 fetch_daren_similar_users、fetch_daren_great_item_mile_info 等) 已自动处理此转换,通常无需手动调用本接口
- 本接口仅用于调试或需要直接拿到加密 user_id 的特殊场景
参数:
- uid: 抖音 uid,纯数字字符串
返回:
- uid: 原始输入的抖音 uid
- user_id: 加密后的 user_id
[English]
Purpose:
- 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
Parameters:
- uid: Douyin uid, numeric string
Return:
- uid: Original input uid
- user_id: Encrypted user_id
[示例/Example]
uid = "3100268042915212"
get/api/v1/douyin/index/fetch_encrypt_user_id
Request
- Base URLhttps://api.tikhub.io (the document declares no server; this is the origin it was published from)
- AuthHTTP bearer
Query parameters
uidstring required
抖音 uid (纯数字) / Douyin uid (numeric). Example: 3100268042915212
Response
Successful Response
Changes
- info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status
- info
- info
endpoint added
- info