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 access to a comprehensive set of social media data endpoints across four major platforms: TikTok, Instagram, YouTube, and X/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 specific operation "Check if live room is online" under the "Default" resource allows users to verify whether a particular live streaming room on TikTok is currently active (online). This can be useful for monitoring live events, automating notifications when a stream goes live, or integrating live status checks into broader workflows.

Practical examples:

  • Automatically notify a marketing team when a TikTok live room starts broadcasting.
  • Aggregate live status data from multiple influencers' rooms for real-time dashboards.
  • Trigger downstream processes only when a live room is confirmed online.

Properties

Name Meaning
Platform Select the social media platform to work with. Options: TikTok, Instagram, YouTube, X/Twitter.
直播间id/Live room id The unique identifier of the TikTok live room to check for online status. Required for this operation.

Output

The node outputs an array of JSON objects representing the response data from the TikHub API endpoint corresponding to the "Check if live room is online" operation. Each item in the output contains the live room's status information, typically indicating whether the room is currently live or offline.

If the API returns binary data (not typical for this operation), it would represent media content or related files, but this operation primarily deals with JSON status data.

Errors during execution are returned as JSON objects containing an error field with the error message, allowing workflows to handle failures gracefully if configured to continue on fail.

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 additional external dependencies beyond the TikHub API and n8n's standard HTTP request capabilities.

Troubleshooting

  • Common issues:

    • Invalid or missing live room ID will cause the API to return errors or empty results.
    • Incorrect platform selection may lead to unknown operation errors.
    • Network or authentication failures if the API key is invalid or expired.
  • Error messages:

    • "Unknown operation: roomonline for platform: tiktok": Indicates the operation name or platform parameter is incorrect or unsupported.
    • API errors returned from TikHub will appear in the output JSON under an error property; these should be checked for details like rate limits or invalid parameters.
  • Resolutions:

    • Verify that the live room ID is correct and corresponds to an existing TikTok live room.
    • Ensure the platform is set to "TikTok" when using this operation.
    • Confirm that the API key credential is valid and has necessary permissions.
    • Enable "Continue On Fail" in the node settings to handle intermittent API errors without stopping the workflow.

Links and References

Discussion