TikHub Complete (149 Endpoints) icon

TikHub Complete (149 Endpoints)

Access ALL 149 TikHub social media data endpoints for TikTok (64), Instagram (56), YouTube (16), and X/Twitter (13)

Actions64

Overview

The node "TikHub Complete (149 Endpoints)" provides a unified interface to access 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.

This node is beneficial when you want to integrate multiple social media data sources into your workflows without managing separate nodes or API calls for each platform. For example, you can fetch detailed product information from TikTok shops, retrieve user analytics from Instagram, get video details from YouTube, or pull tweets and timelines from X/Twitter — all within a single node.

Practical examples:

  • Fetching detailed product data from TikTok shops by providing the product ID and region.
  • Retrieving Instagram post or story data for marketing analysis.
  • Accessing YouTube channel statistics or video metadata.
  • Pulling recent tweets or user timeline data from X/Twitter.

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 for TikTok platform when using the "Get product detail data V3" operation. Required for fetching product details.
商品的国家/地区代码/ Country/region code of the product Optional country or region code of the product for TikTok platform in the product detail operation.

Note: The properties product_id and region are shown only when the platform is TikTok and the operation is "detail" (Get product detail data V3).

Output

The node outputs an array of JSON objects representing the data retrieved from the selected social media platform endpoint. Each item corresponds to one input item processed.

  • The json field contains the structured response data from the API call, typically including detailed information such as product details, user info, posts, videos, or tweets depending on the operation.
  • If the API returns binary data (not explicitly shown in this code), it would be included accordingly, but this node primarily handles JSON responses.

Errors encountered during execution for individual items are returned as JSON objects with an error field describing the issue, allowing partial success if "Continue On Fail" is enabled.

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 other external dependencies are required beyond standard n8n workflow environment.

Troubleshooting

  • Unknown operation error: If an invalid or unsupported operation name is provided, the node throws an error indicating the unknown operation for the selected platform. Ensure the operation parameter matches one of the supported operations.
  • Missing required parameters: For example, the product ID is required for the TikTok product detail operation. Omitting required fields will cause the API request to fail.
  • API request failures: Network issues, invalid credentials, or rate limits may cause errors. Check that the API key credential is valid and has sufficient permissions.
  • Partial failures: When processing multiple input items, some may fail while others succeed. Enable "Continue On Fail" to handle such cases gracefully.
  • Parameter retrieval errors: The node attempts to gather many possible parameters dynamically; if parameters are missing or incorrectly named, the request may not behave as expected.

Links and References

  • TikHub API Documentation (official API base URL)
  • Social media platform developer documentation for TikTok, Instagram, YouTube, and X/Twitter for understanding data structures and endpoints.

Discussion