TikHub Complete (149 Endpoints)
Actions64
- Get single video data
- Get single video data V2
- Batch Get Video Information
- Batch Get Video Information V2
- Get single video data by sharing link
- Get information of specified user
- Get user repost video data
- Get user homepage video data
- Get user like video data
- Get single video comments data
- Get comment replies data of specified video
- Get comprehensive search results of specified keywords
- Get video search results of specified keywords
- Get user search results of specified keywords
- Get music search results of specified keywords
- Get hashtag search results of specified keywords
- Get live search results of specified keywords
- Get details of specified music
- Get video list of specified music
- Get details of specified hashtag
- Get video list of specified hashtag
- Get follower list of specified user
- Get following list of specified user
- Get data of specified live room
- Get live room ranking list
- Check if live room is online
- Batch check if live rooms are online
- Get share short link
- Get share QR code
- Get location search results
- Get product search results
- Get shopping creator information
- Get creator showcase product list
- Get Shop ID by Share Link
- Get Product ID by Share Link
- Get product detail data (will be deprecated, use fetch_product_detail_v2 instead)
- Get product detail data V2
- Get product detail data V3
- Get product detail data V4
- Get product review data
- Get shop home page list data
- Get shop home page data
- Get shop product recommend data
- Get shop product list data
- Get shop product list data V2
- Get shop information data
- Get shop product category data
- Get live daily rank data
- Get user music list data
- Get content translation data
- Get home feed(recommend) video data
- TikTok APP encryption algorithm
- Get live room product list data
- Get live room product list data V2
- Increase the number of plays of the work according to the video ID
- Encrypt or Decrypt TikTok APP login request body
- Generate TikTok share link, call TikTok APP, and jump to the specified video details page
- Generate TikTok share link, call TikTok APP, and jump to the specified user profile
- Generate TikTok share link, call TikTok APP, and jump to the specified keyword search result
- Generate TikTok share link, call TikTok APP, and send private messages to specified users
- Get video metrics
- Detect fake views in video
- Get comment keywords analysis
- Get creator info and milestones
Overview
This node, named "TikHub Complete (149 Endpoints)," provides unified access to a wide range of social media data endpoints across four major platforms: TikTok, Instagram, YouTube, and X/Twitter. It supports 149 endpoints in total, including video, user, analytics, post, story, reel, channel, tweet, and timeline data.
The node is useful for scenarios where users want to aggregate or analyze social media content and metadata from multiple platforms within a single workflow. For example, marketers can use it to gather video performance data from TikTok and YouTube, social engagement metrics from Instagram stories and reels, or recent tweets and timelines from X/Twitter, all without switching between different APIs.
Specifically, the "Get user homepage video data" operation under the "Default" resource allows fetching videos related to a user’s homepage or channel on these platforms, with options to control pagination, sorting, and filtering.
Properties
| Name | Meaning |
|---|---|
| Platform | Select the social media platform to work with. Options: TikTok (64 endpoints), Instagram (56 endpoints), YouTube (16 endpoints), X/Twitter (13 endpoints). |
用户sec_user_id/User sec_user_id (sec_user_id) |
(TikTok only) The user's sec_user_id identifier used to fetch videos. Optional. |
用户unique_id/User unique_id (unique_id) |
(TikTok only) The user's unique_id identifier used to fetch videos. Optional. |
最大游标/Maximum cursor (max_cursor) |
(TikTok only) Maximum cursor value for pagination. Number between 1 and 1000. Default 20. |
每页数量/Number per page (count) |
(TikTok only) Number of videos to return per page. Number between 1 and 1000. Default 20. |
排序类型/Sort type (sort_type) |
(TikTok only) Sort type for returned videos. Number between 1 and 1000. Default 20. |
频道ID/Channel ID (channel_id) |
(YouTube only) Channel ID to fetch videos from. Required. |
视频结果语言代码/Video result language code (lang) |
(YouTube only) Language code to filter video results by language. Optional. |
排序方式/Sort by (sortBy) |
(YouTube only) Sorting method for videos (e.g., date, rating). Optional. |
内容类型/Content type (contentType) |
(YouTube only) Content type filter for videos. Optional. |
翻页令牌/Pagination token (nextToken) |
(YouTube only) Token for fetching the next page of results. Optional. |
Output
The node outputs an array of JSON objects representing the data retrieved from the selected social media platform endpoint. Each item corresponds to a piece of social media content such as a video, post, or tweet, depending on the platform and operation.
- The output JSON structure depends on the specific platform and endpoint called but generally includes metadata fields relevant to videos or posts (e.g., IDs, URLs, titles, descriptions, timestamps).
- If the API returns binary data (e.g., video files or images), it would be included in the binary property of the output items, though this particular operation focuses on metadata retrieval.
- In case of errors during execution, the node outputs an error object with an
errorfield containing the error message, paired with the input item index.
Dependencies
- Requires an API key credential for authenticating requests to the TikHub API service at
https://api.tikhub.io. - No other external dependencies are required.
- The node uses internal helper functions to make HTTP requests to TikHub endpoints corresponding to the selected platform and operation.
Troubleshooting
- Unknown operation error: If the specified operation is not recognized for the chosen platform, the node throws an error indicating the unknown operation. Ensure that the operation name matches one of the supported operations for the selected platform.
- Missing required parameters: For example, the YouTube "videos" operation requires a valid
channel_id. Omitting required parameters will cause the API request to fail. - API authentication errors: If the API key credential is missing or invalid, requests will fail. Verify that the correct API key is configured in n8n credentials.
- Rate limiting or quota exceeded: The TikHub API may enforce rate limits. If you encounter errors related to too many requests, consider adding delays or reducing request frequency.
- Pagination issues: When using pagination tokens or cursors, ensure they are correctly passed and updated to retrieve subsequent pages.
Links and References
- TikHub API Documentation (official API base URL)
- Social media platform official API docs for reference:
If you need details about other resources or operations, please provide their names.