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 different API endpoints in total, allowing users to retrieve detailed information such as videos, posts, user profiles, analytics, and more from these platforms.

A common use case for this node is aggregating social media data for marketing analysis, content monitoring, or competitive research. For example, a marketer could fetch detailed video data from TikTok or retrieve specific tweets from X/Twitter to analyze engagement metrics or trending topics.

Specifically, the "Get single video data V2" operation under the "Default" resource allows fetching detailed information about a single video by its ID on the selected platform.

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/Video id (aweme_id) The unique identifier of the video on TikTok. Required when Platform is TikTok and Operation is video.

Note: The provided properties JSON only includes the "Platform" selector and the "作品id/Video id" (aweme_id) string input relevant for TikTok video operations. Other operations and platforms have their own respective parameters not listed here.

Output

The node outputs an array of JSON objects representing the data retrieved from the selected social media platform's API endpoint. Each item corresponds to one piece of data returned by the API call, typically containing detailed metadata about the requested video or other resource.

If the API response contains multiple entries, all are flattened into the output array. The output JSON structure depends on the specific endpoint called but generally includes fields like video details, user info, statistics, timestamps, etc.

The node does not explicitly handle binary data output; it focuses on JSON data responses.

Dependencies

  • Requires an active API key credential for the TikHub service to authenticate requests.
  • The node makes HTTP requests to the TikHub API base URL: https://api.tikhub.io.
  • No additional external dependencies beyond the TikHub API and n8n's standard HTTP request capabilities.

Troubleshooting

  • Unknown operation error: If you select an operation that does not exist for the chosen platform, the node will throw an error indicating the unknown operation. Ensure the operation name matches one supported by the platform.
  • Missing required parameters: Some operations require specific parameters (e.g., video ID). Omitting these will cause errors or empty results.
  • API authentication failures: Make sure the TikHub API key credential is correctly configured and valid.
  • Rate limits or API errors: The TikHub API may enforce rate limits or return errors if requests are malformed. Check the error messages returned in the output JSON for clues.
  • Continue on Fail: If enabled, the node will continue processing subsequent items even if some fail, returning error details in the output JSON.

Links and References

  • TikHub API Documentation (for detailed endpoint descriptions)
  • n8n Documentation on Creating Custom Nodes
  • Social media platform developer docs (TikTok, Instagram, YouTube, X/Twitter) for understanding underlying data structures

Discussion