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," provides unified access to a wide range of social media data endpoints across four major platforms: TikTok, Instagram, YouTube, and X (formerly Twitter). It supports 149 endpoints in total, allowing users to retrieve various types of data such as videos, user profiles, analytics, posts, stories, reels, channels, tweets, timelines, and more.

The node is particularly useful for social media analysts, marketers, content creators, and developers who want to aggregate and analyze data from multiple social networks within a single workflow. For example, you can use it to search for locations on TikTok, fetch Instagram story insights, get YouTube channel statistics, or retrieve tweets from a specific user timeline.

In the context of the provided Resource "Default" and Operation "Get location search results," the node enables searching for location-based data on TikTok by keyword, with options to control pagination via offset and count parameters.

Properties

Name Meaning
Platform Select the social media platform to work with. Options: TikTok, Instagram, YouTube, X/Twitter
关键词/Keyword The search keyword used for location search on TikTok (required when platform is TikTok)
偏移量/Offset Offset for pagination in the location search results on TikTok (optional, default 20)
数量/Number Number of results to return in the location search on TikTok (optional, default 20)

Note: The properties keyword, offset, and count are only shown and applicable when the platform is set to TikTok and the operation is "locationsearch."

Output

The node outputs an array of JSON objects representing the data retrieved from the selected social media platform's endpoint. Each item corresponds to one result from the API response, enriched with execution metadata linking it back to the input item index.

For the "Get location search results" operation on TikTok, the output JSON contains location search results matching the given keyword, including details such as location names, IDs, and possibly other metadata returned by the TikTok API.

If the node encounters errors during execution and "Continue On Fail" is enabled, the output will include error objects with an error field describing the issue for each failed item.

The node does not output binary data.

Dependencies

  • Requires an API key credential for the TikHub service to authenticate requests.
  • The node makes HTTP requests to the TikHub API at https://api.tikhub.io.
  • No additional environment variables or external services are required beyond the configured API key credential.

Troubleshooting

  • Unknown operation error: If the operation parameter does not match any known endpoint, the node throws an error indicating the unknown operation and platform. Ensure the operation name is correct and supported.
  • Missing required parameters: For operations like location search, required parameters such as keyword must be provided; otherwise, the API call may fail or return empty results.
  • API request failures: Network issues, invalid API keys, or rate limiting by TikHub can cause request failures. Check your API credentials and network connectivity.
  • Handling partial failures: Enable "Continue On Fail" to allow the node to process all items even if some fail, capturing errors in the output for troubleshooting.

Links and References

  • TikHub API Documentation (official API base URL referenced)
  • n8n Documentation on Creating Custom Nodes
  • Social media platform official developer docs for TikTok, Instagram, YouTube, and X/Twitter for understanding data structures and endpoints

Discussion