Douyin modelsapi generation api

douyin/index/encrypt-user-id

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 manua...

Input
Idle

Example output — click Run to generate your own

API README

Encrypt Douyin uid to user_id

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"

Imported from a validated TikHub OpenAPI document. Pricing must be reviewed before enabling.

Related Models