TikTok modelsapi generation api

tiktok/app-v3/user-post-videos-v2

Get user homepage video data

Input
Idle

Example output — click Run to generate your own

API README

Get user homepage video data V2

Purpose:

  • Get user homepage video data Parameters:
  • sec_user_id: User sec_user_id, use sec_user_id to get user video data first, if sec_user_id is empty, use unique_id to get user video data.
  • max_cursor: Maximum cursor, used for paging, the first page is 0, the second page is the max_cursor value in the first response.
  • count: Maximum count number
  • sort_type: Sort type, 0-Latest, 1-Hot
  • unique_id: User unique_id, optional parameter, if sec_user_id is empty, use unique_id to get user video data, unique_id is also the user's username.
  • About the parameters of user ID, the priority is sec_user_id > unique_id, the higher the priority, the faster the speed, and it is recommended to use only sec_user_id to get user data. Return:
  • User video data

[Example]

sec_user_id = "MS4wLjABAAAA5u9HhzjGAj-leViCcvZD6b4-qyqHHgr9lVJmcPMzcBUX_Q2NpBeCgz8Uh6KugkfS" max_cursor = 0 counts = 20 sort_type = 0 unique_id = "tiktok"

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

Related Models