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 64 TikTok endpoints, 56 Instagram endpoints, 16 YouTube endpoints, and 13 X/Twitter endpoints, enabling comprehensive data retrieval such as videos, users, analytics, posts, stories, reels, channels, tweets, timelines, and more.
The specific operation "Get comprehensive search results of specified keywords" allows users to perform keyword-based searches on the selected platform (in this case, TikTok) and retrieve detailed search results with various filtering and sorting options.
Common scenarios where this node is beneficial:
- Marketing teams analyzing trending content or hashtags on TikTok.
- Social media managers searching for relevant user-generated content.
- Data analysts gathering insights on video performance or user engagement.
- Developers building dashboards or reports based on social media search data.
Practical example:
A marketer wants to find the top 20 TikTok videos related to "fitness tips," sorted by publish time, starting from an offset of 0. They configure the node with the platform set to TikTok, operation to the search result, keyword to "fitness tips," count to 20, offset to 0, and specify sorting preferences. The node returns a list of matching videos with metadata for further processing.
Properties
| Name | Meaning |
|---|---|
| Platform | Select the social media platform to work with. Options: TikTok, Instagram, YouTube, X/Twitter |
| 关键词/Keyword | The keyword to search for on the selected platform (required for TikTok search operation). |
| 偏移量/Offset | Offset for pagination; defines the starting point of the search results (default 20). |
| 数量/Number | Number of results to return (default 20). |
| 排序类型/Sort type | Sort type identifier to order the search results (numeric value, optional). |
| 发布时间/Publish time | Filter or sort by publish time (numeric value, optional). |
| 根据粉丝数排序/Sort by number of followers | Sort results based on the number of followers (string, optional). |
| 根据账号类型排序/Sort by account type | Sort results based on account type (string, optional). |
| 根据其他偏好排序/Sort by other preferences | Sort results based on other user-defined preferences (string, optional). |
Note: All properties except "Platform" and "Keyword" are optional and mostly numeric or string values used for filtering and sorting the search results.
Output
The node outputs an array of JSON objects representing the search results returned by the TikHub API for the specified keyword query. Each item in the output corresponds to one search result entry, which may include details such as video information, user profiles, timestamps, follower counts, and other metadata depending on the endpoint's response structure.
If the API returns binary data (e.g., media files), it would be included accordingly, but this particular operation focuses on JSON search results.
Dependencies
- Requires an API key credential for authenticating requests to the TikHub API service.
- The node makes HTTP requests to
https://api.tikhub.io. - No additional environment variables are explicitly required beyond the API key credential.
- The node depends on internal utility functions for making authenticated API calls.
Troubleshooting
- Unknown operation error: If the operation name does not match any known endpoint, the node throws an error indicating an unknown operation for the selected platform. Ensure the operation parameter is correctly set.
- Missing required parameters: The keyword property is mandatory for the search operation. Omitting it will likely cause errors or empty results.
- API request failures: Network issues, invalid API keys, or rate limiting by TikHub can cause request failures. Check API credentials and network connectivity.
- Invalid parameter values: Numeric parameters like offset, count, sort_type, and publish_time have defined minimum and maximum values. Providing out-of-range values may cause errors.
- Continue on fail: If enabled, the node will continue processing subsequent items even if some fail, returning error messages in the output JSON.
Links and References
- TikHub API Documentation (Assumed URL for reference)
- n8n Documentation on Creating Custom Nodes
- Social Media Data Analysis Best Practices (external resource)