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 64 TikTok endpoints, 56 Instagram endpoints, 16 YouTube endpoints, and 13 X/Twitter endpoints, enabling users to retrieve diverse data such as videos, user profiles, analytics, posts, stories, reels, channels, tweets, timelines, and shop data.

The node is highly versatile and beneficial for scenarios like social media analytics, content aggregation, marketing insights, influencer tracking, e-commerce product monitoring, and competitive analysis. For example, a marketer could use it to fetch live room product lists from TikTok shops or gather recent Instagram story data for engagement analysis.

Specifically, the "Get live room product list data V2" operation under the "Default" resource for the TikTok platform allows users to retrieve product listings associated with a live streaming room, including support for pagination and sorting.

Properties

Name Meaning
Platform Select the social media platform to work with. Options: TikTok, Instagram, YouTube, X/Twitter.
商家id,店铺id/Seller id, shop id Seller or shop identifier on TikTok. Required for listing products.
滚动参数,用于加载更多商品数据/Scroll parameter, used to load more product data Parameter to paginate through product data by scrolling. Optional.
每页数量/Number per page Number of items to return per page. Optional, default 20, min 1, max 1000.
排序字段/Sorting field Field by which to sort the product list. Optional.
排序方式/Sorting method Method of sorting (e.g., ascending or descending). Optional.
直播间id/Live room id Identifier of the live streaming room. Required to get product list.
主播id/Anchor id Identifier of the anchor or host of the live room. Required.
数量/Number Number of items to retrieve. Optional, default 20, min 1, max 1000.
offset Offset for pagination. Optional, min 1, max 1000.
地区/Region Region code or name to filter results. Optional.
用户自己的cookie/User's own cookie User-provided cookie string for authentication or session purposes. Optional.

Output

The node outputs JSON data representing the response from the selected social media API endpoint. For the "Get live room product list data V2" operation, the output JSON contains an array of product objects related to the specified live room, including details such as product IDs, names, prices, and other metadata provided by the TikTok API.

If the API returns binary data (not typical for this operation), the node would handle it accordingly, but this operation primarily deals with JSON data.

Each item in the output corresponds to one input item processed, enriched with the fetched data, and includes metadata linking back to the original input index.

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 environment variables are explicitly required beyond the API key credential.
  • The node depends on internal utility functions for making authenticated API calls.

Troubleshooting

  • Common Issues:

    • Missing or invalid API key credential will cause authentication failures.
    • Providing incorrect or missing required parameters such as seller_id, room_id, or author_id will result in errors or empty responses.
    • Pagination parameters (scroll_params, offset) must be correctly managed to avoid repeated or skipped data.
    • Rate limiting by the TikHub API may cause request failures; consider implementing retry logic or reducing request frequency.
  • Error Messages:

    • "Unknown operation: ... for platform: ..." indicates that the specified operation is not supported for the chosen platform. Verify the operation name and platform selection.
    • Network or HTTP errors will surface as exceptions; ensure network connectivity and valid API endpoint access.
    • If the node throws errors about missing parameters, double-check that all required fields are filled in the node configuration.

Links and References

These resources provide further details on the data available via each platform and how to interpret the returned data structures.

Discussion