Setup
Put them in your environment or
.env; Data APIs covers the other ways.
Notes
- The full catalog has hundreds of endpoints (Douyin, Xiaohongshu, Bilibili, Weibo and more, plus ‘web_v2’ and app variants); this file names the main reads for TikTok, Instagram, YouTube and X.
- Identifiers vary per call: TikTok lists want secUid, Instagram posts want a numeric user_id (look it up with the profile call), X accepts screen_name or rest_id.
- Paging tokens differ per endpoint (cursor, offset plus search_id, max_id, min_id, continuation_token).
- Calls are billed per request from your TikHub balance; account.info shows the account.