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," provides unified access to a wide range of social media data endpoints through the TikHub API. It supports four major platforms: TikTok, Instagram, YouTube, and X (formerly Twitter). The node allows users to retrieve various types of data such as videos, user profiles, analytics, posts, stories, reels, tweets, channels, and search results by selecting the platform and operation.
Common scenarios where this node is beneficial include:
- Social media analytics workflows that aggregate data from multiple platforms.
- Content monitoring and research by fetching video feeds, posts, or tweets.
- Marketing automation that requires up-to-date social media content or user information.
- Data enrichment pipelines combining social media insights with other datasets.
For example, a user can configure the node to fetch the home feed (recommended videos) from TikTok or retrieve recent tweets from a specific user on X/Twitter, all within a single n8n workflow.
Properties
| Name | Meaning |
|---|---|
| Platform | Select the social media platform to work with. Options: |
| - TikTok (64 endpoints): Access TikTok video, user, analytics, and shop data | |
| - Instagram (56 endpoints): Access Instagram post, user, story, and reel data | |
| - YouTube (16 endpoints): Access YouTube video, channel, and search data | |
| - X/Twitter (13 endpoints): Access X (Twitter) tweet, user, and timeline data |
Note: Additional properties depend on the selected operation and platform but are not detailed here since only the "Get home feed (recommend) video data" operation under the "Default" resource was requested.
Output
The node outputs an array of JSON objects representing the data retrieved from the selected social media platform's endpoint. Each item corresponds to one piece of data returned by the API, such as a video, post, tweet, or channel information.
- The output JSON structure depends on the platform and operation chosen.
- If the API returns multiple items, they are flattened into individual output items.
- In case of errors per input item, the output includes an error message in the JSON field for that item if "Continue On Fail" is enabled.
- The node does not explicitly handle binary data output.
Dependencies
- Requires an active API key credential for the TikHub API service.
- The node makes HTTP requests to
https://api.tikhub.io. - No additional environment variables or external services are required beyond the TikHub API authentication.
Troubleshooting
- Unknown operation error: If the selected operation is not recognized for the chosen platform, the node throws an error indicating the unknown operation. Ensure the operation name matches one supported by the platform.
- API request failures: Network issues or invalid API credentials will cause request errors. Verify the API key is valid and the network connection is stable.
- Missing parameters: Some operations require specific parameters (e.g., video ID, user ID). Omitting these may result in API errors or empty responses.
- Continue On Fail behavior: When enabled, the node continues processing remaining items even if some fail, returning error details in the output JSON.
Links and References
- TikHub API Documentation (for detailed endpoint descriptions)
- n8n Documentation on Creating Custom Nodes
- Social media platform developer portals for TikTok, Instagram, YouTube, and X/Twitter APIs