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

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 total endpoints distributed as follows: TikTok (64), Instagram (56), YouTube (16), and X/Twitter (13). The node allows users to select a platform and an operation to retrieve specific data such as videos, user profiles, analytics, posts, stories, reels, tweets, channels, and more.

A typical use case is automating the retrieval of social media content or analytics for marketing, research, or monitoring purposes. For example, a marketer could use this node to fetch TikTok video details by share link, gather Instagram story insights, or extract YouTube channel statistics, all within a single workflow.

Specifically, for the "Get Product ID by Share Link" operation under the "Default" resource (which corresponds to the "sharelink" operation on TikTok platform), the node extracts product identifiers from a given TikTok share link, enabling workflows that integrate TikTok shop data with other systems.

Properties

Name Meaning
Platform Select the social media platform to work with. Options: TikTok, Instagram, YouTube, X/Twitter
分享链接/Share link The share link URL string from which to extract the product ID (required for TikTok sharelink operation)

Note: The "分享链接/Share link" property appears twice in the input JSON but represents the same input field shown conditionally when Platform is TikTok and Operation is "sharelink".

Output

The node outputs an array of JSON objects representing the data returned by the selected API endpoint. For the "Get Product ID by Share Link" operation, the output JSON contains the extracted product ID(s) or related product information parsed from the provided TikTok share link.

If the API response includes multiple items, each item is returned as a separate JSON object in the output array. The node also attaches metadata linking each output item to its corresponding input item index.

Binary data output is not indicated in the source code and thus is not supported by this node.

Dependencies

  • Requires an API key credential for authenticating requests to the TikHub API service at https://api.tikhub.io.
  • The node uses internal helper functions to make HTTP requests to TikHub endpoints.
  • No additional external dependencies are required beyond the configured API key credential.

Troubleshooting

  • Unknown operation error: If you select an operation that does not exist for the chosen platform, the node throws an error like Unknown operation: <operation> for platform: <platform>. Ensure the operation name matches one of the supported operations for the selected platform.
  • Missing or invalid share link: For the "Get Product ID by Share Link" operation, providing an empty or malformed share link will likely cause the API request to fail or return no data. Verify the share link format before running the node.
  • API authentication errors: If the API key credential is missing, invalid, or expired, requests to TikHub will fail. Confirm that the API key is correctly configured in n8n credentials.
  • Continue on Fail behavior: If enabled, the node will continue processing subsequent items even if some fail, returning error messages in the output JSON for failed items.

Links and References

  • TikHub API Documentation (general reference for available endpoints)
  • n8n Documentation on Creating Custom Nodes
  • Social media platform official developer docs for TikTok, Instagram, YouTube, and X/Twitter APIs (for understanding underlying data structures)

This summary is based solely on static analysis of the provided source code and input properties definition.

Discussion