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 a unified interface to access a wide range of social media data endpoints from four major platforms: TikTok, Instagram, YouTube, and X/Twitter. It supports 149 endpoints in total, divided as follows:
- TikTok: 64 endpoints covering video, user, analytics, and shop data.
- Instagram: 56 endpoints including posts, users, stories, and reels.
- YouTube: 16 endpoints for videos, channels, and search data.
- X/Twitter: 13 endpoints for tweets, users, and timelines.
The node is designed to allow users to select a platform and an operation (endpoint) to fetch specific data. It handles both GET and other HTTP methods dynamically based on the selected operation.
Common scenarios where this node is beneficial:
- Social media marketers wanting to aggregate data across multiple platforms in one workflow.
- Data analysts collecting detailed metrics or content information from TikTok, Instagram, YouTube, or X/Twitter.
- Developers building dashboards or reports that require fetching diverse social media data programmatically.
- Automating social media monitoring or content curation tasks by pulling data from various sources.
Practical example:
A user wants to get detailed product information from TikTok Shop by providing a product ID. They select TikTok as the platform, choose the "Get product detail data" operation, and input the product ID. The node then calls the appropriate TikHub API endpoint and returns the product details in JSON format.
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) |
| 商品id/Product id | The product ID to query for product detail data. Required when Platform is TikTok and Operation is "Get product detail data". |
Note: The full list of operations and their parameters depends on the selected platform and operation, but for the provided Resource and Operation ("Get product detail data"), only the product_id string input is required.
Output
The node outputs an array of JSON objects representing the data returned from the TikHub API for the selected operation. Each item corresponds to one input item processed.
- The JSON structure depends on the specific endpoint called. For example, for the "Get product detail data" operation, the output JSON contains detailed product information such as product name, description, price, availability, seller info, etc., as provided by the TikHub API.
- If the API response includes multiple records, each record is returned as a separate JSON object in the output array.
- In case of errors and if "Continue On Fail" is enabled, the output will include JSON objects with an
errorfield describing the issue for the corresponding input item. - The node does not output binary data.
Dependencies
- Requires an active connection to the TikHub API service at
https://api.tikhub.io. - Needs an API authentication token credential configured in n8n to authorize requests to TikHub.
- No additional external dependencies are required beyond the TikHub API and its credentials.
Troubleshooting
- Unknown operation error: If you select an operation that is not supported or misspell it, the node throws an error like
Unknown operation: <operation> for platform: <platform>. Ensure the operation name matches exactly one of the supported endpoints. - Missing required parameters: For operations like "Get product detail data", missing required inputs such as
product_idwill cause the API call to fail. Always provide all mandatory fields. - API authentication errors: If the API key or token is invalid or missing, requests will fail. Verify your TikHub API credentials are correctly set up in n8n.
- Rate limiting or network issues: The TikHub API may enforce rate limits or experience downtime. Handle such errors gracefully by enabling "Continue On Fail" or implementing retries.
- Empty or unexpected responses: If the API returns no data or an unexpected structure, check the input parameters and consult TikHub API documentation for correct usage.
Links and References
- TikHub API Documentation — Official API docs for all supported endpoints.
- n8n Documentation — General guidance on using credentials and handling errors in n8n workflows.