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 64 for TikTok, 56 for Instagram, 16 for YouTube, and 13 for X/Twitter.
The node is designed to fetch various types of social media data such as videos, users, analytics, posts, stories, reels, channels, tweets, timelines, and more. Users select the platform and operation they want to perform, then provide relevant parameters to retrieve live or historical data.
Common scenarios where this node is beneficial:
- Social media marketers analyzing content performance and trends.
- Developers building dashboards aggregating multi-platform social media data.
- Researchers collecting user or video metadata for analysis.
- Automation workflows that require fetching latest posts, videos, or user info from multiple platforms.
Practical example:
- Fetching live search results on TikTok for a specific keyword with pagination and sorting options.
- Retrieving recent Instagram stories or reels for a given user.
- Getting YouTube channel statistics or searching videos by keywords.
- Accessing X/Twitter tweets or user timelines based on search queries.
Properties
| Name | Meaning |
|---|---|
| Platform | Select the social media platform to work with. Options: TikTok, Instagram, YouTube, X/Twitter |
| 关键词/Keyword | The keyword to search for (required for TikTok search result operation) |
| 偏移量/Offset | Offset for pagination, defines starting point of results (default 20, min 1, max 1000) |
| 数量/Number | Number of results to return (default 20, min 1, max 1000) |
| 排序类型/Sort type | Sort type parameter to define ordering of results |
| 发布时间/Publish time | Filter results by publish time |
| 根据粉丝数排序/Sort by number of followers | Sort results based on follower count |
| 根据账号类型排序/Sort by account type | Sort results based on account type |
| 根据其他偏好排序/Sort by other preferences | Sort results based on other user-defined preferences |
Note: The above properties are primarily shown when the platform is TikTok and the operation is to get live search results of specified keywords.
Output
The node outputs JSON data representing the response from the selected social media platform's API endpoint. The structure of the JSON depends on the chosen operation and platform but generally includes arrays or objects containing:
- Video details (IDs, URLs, descriptions, stats)
- User information (usernames, IDs, follower counts)
- Post or tweet data (content, timestamps, engagement metrics)
- Analytics or metadata related to the requested resource
If the API returns binary data (e.g., media files), it would be handled accordingly, but this node primarily deals with JSON responses representing social media data.
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 external dependencies beyond the n8n environment and the provided API credential.
Troubleshooting
- Unknown operation error: If you select an operation not supported for the chosen platform, the node throws an error indicating the unknown operation. Ensure the operation matches the platform.
- Missing required parameters: Some operations require mandatory fields like keywords or IDs. Omitting these will cause errors.
- API authentication failures: Invalid or missing API credentials will prevent successful requests.
- Rate limiting or quota exceeded: The TikHub API may limit request rates; handle errors gracefully or implement retries.
- Empty or malformed responses: Check if the parameters are correct and the API endpoint is functioning.
To resolve issues:
- Verify platform and operation selections.
- Provide all required input parameters.
- Confirm API key validity and permissions.
- Review API documentation for parameter constraints.
Links and References
- TikHub API Documentation (assumed official docs for the API)
- n8n Documentation on Creating Custom Nodes
- Social media platform developer portals for TikTok, Instagram, YouTube, and X/Twitter for understanding underlying data models and endpoints.