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 product lists.

The specific operation "Get shop product list data V2" under the "Default" resource for the TikTok platform allows users to fetch product listings from a TikTok shop or live room. This is useful for e-commerce analytics, inventory monitoring, competitor analysis, or integrating TikTok shop data into other workflows.

Practical examples:

  • An e-commerce manager can use this node to automatically pull product lists from their TikTok shop to update their inventory database.
  • A marketing analyst might extract product data from a competitor’s live room to analyze pricing and product trends.
  • Developers can integrate TikTok shop product data into dashboards or reporting tools for real-time insights.

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 (required for TikTok shop product list retrieval)
滚动参数,用于加载更多商品数据/Scroll parameter, used to load more product data Parameter to paginate and load additional product data
每页数量/Number per page Number of products to retrieve per page (default 20, max 1000)
排序字段/Sorting field Field by which to sort the product list
排序方式/Sorting method Sorting order/method (e.g., ascending or descending)
直播间id/Live room id Identifier of the live room (required for TikTok shop product list retrieval)
主播id/Anchor id Identifier of the anchor/host (required for TikTok shop product list retrieval)
数量/Number Number of items to retrieve (alternative pagination parameter)
offset Offset for pagination
地区/Region Region code or name to filter the product list
用户自己的cookie/User's own cookie User’s own cookie string for authentication or session purposes

Output

The node outputs an array of JSON objects representing the retrieved data from the selected social media platform endpoint. For the "Get shop product list data V2" operation on TikTok, the output JSON contains the product list data including details such as product IDs, names, prices, availability, and other metadata returned by the TikTok API.

If the node encounters errors during execution and "Continue On Fail" is enabled, it outputs error messages paired with the corresponding input item index.

No binary data output is indicated for this operation.

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 credential.
  • The node depends on internal utility functions to handle API requests and response parsing.

Troubleshooting

  • Common issues:

    • Missing or invalid seller/shop ID, live room ID, or anchor ID will cause the API request to fail.
    • Incorrect or expired API credentials will result in authentication errors.
    • Pagination parameters like scroll parameters or offsets may need adjustment if no further data is returned.
    • Providing unsupported or incorrect sorting fields or methods may lead to unexpected results or errors.
  • Error messages:

    • "Unknown operation" error indicates that the specified operation is not supported for the chosen platform.
    • API errors returned from TikHub (e.g., rate limits, invalid parameters) will be surfaced as error messages in the node output.
  • Resolutions:

    • Verify all required IDs and parameters are correctly set.
    • Ensure the API key credential is valid and has necessary permissions.
    • Use correct pagination parameters to navigate through large datasets.
    • Enable "Continue On Fail" to allow partial processing when some items fail.

Links and References

  • TikHub API Documentation (general reference for available endpoints)
  • TikTok Shop Developer Resources (for understanding shop and live room concepts)
  • n8n Documentation on creating and using custom nodes and credentials

Discussion