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 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.

This node is beneficial when you want to aggregate or analyze social media data from multiple platforms within a single workflow. For example, marketers can use it to fetch detailed product information from TikTok shops, gather user analytics from Instagram, retrieve video statistics from YouTube, or collect tweet data from X/Twitter — all without switching between different nodes or APIs.

Specifically, the "Get product detail data V2" operation under the "Default" resource allows fetching detailed product information from TikTok shops by providing the product ID and optionally the country/region code.

Properties

Name Meaning
Platform Select the social media platform to work with. Options: TikTok, Instagram, YouTube, X/Twitter.
商品id/Product id The unique identifier of the product on TikTok. Required for the product detail operation.
商品的国家/地区代码/ Country/region code of the product Optional country or region code for the product, used to specify the market context.

Note: The properties product_id and region are shown only when the platform is TikTok and the operation is "detail".

Output

  • The output JSON contains the data returned by the selected TikHub API endpoint.
  • For the "Get product detail data V2" operation, the output JSON will include detailed information about the specified TikTok product such as its attributes, pricing, availability, and other metadata as provided by the TikHub service.
  • If the node encounters an error and "Continue On Fail" is enabled, the output will contain an error object with the error message for the respective item.
  • The node does not explicitly handle binary data outputs.

Dependencies

  • Requires an API key credential for authenticating requests to the TikHub API service.
  • The base URL for API requests is https://api.tikhub.io.
  • No additional environment variables are required beyond the API authentication credential.
  • The node internally uses helper functions to make HTTP requests to TikHub endpoints.

Troubleshooting

  • Unknown operation error: If an invalid 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 product detail operation. Omitting it will likely cause the API request to fail.
  • API authentication errors: If the API key credential is missing or invalid, requests will fail. Verify that the correct API key is configured.
  • Rate limiting or network issues: As with any external API, network failures or rate limits may cause errors. Use the "Continue On Fail" option to handle such cases gracefully.
  • Parameter mismatches: Some parameters are only valid for certain platforms or operations. Make sure to provide parameters consistent with the chosen platform and operation.

Links and References

  • TikHub Official Website - For more details on available endpoints and API documentation.
  • n8n Documentation on Creating Custom Nodes - For understanding how nodes like this are structured.
  • Social media platform developer portals (TikTok, Instagram, YouTube, X/Twitter) for reference on data types and IDs used.

Discussion