@tikomni/skills 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.skill-package-allowlist.txt +4 -0
- package/LICENSE +21 -0
- package/README.md +167 -0
- package/README.zh-CN.md +167 -0
- package/bin/tikomni-skills.js +127 -0
- package/env.example +160 -0
- package/lib/installer.js +176 -0
- package/package.json +44 -0
- package/skills/creator-analysis/SKILL.md +71 -0
- package/skills/creator-analysis/agents/openai.yaml +4 -0
- package/skills/creator-analysis/env.example +36 -0
- package/skills/creator-analysis/references/api-capability-index.md +92 -0
- package/skills/creator-analysis/references/api-contracts/asr-api.md +130 -0
- package/skills/creator-analysis/references/api-contracts/bilibili-app-api.md +776 -0
- package/skills/creator-analysis/references/api-contracts/bilibili-web-api.md +2017 -0
- package/skills/creator-analysis/references/api-contracts/demo-api.md +717 -0
- package/skills/creator-analysis/references/api-contracts/douyin-app-v3-api.md +3594 -0
- package/skills/creator-analysis/references/api-contracts/douyin-billboard-api.md +2274 -0
- package/skills/creator-analysis/references/api-contracts/douyin-creator-api.md +1575 -0
- package/skills/creator-analysis/references/api-contracts/douyin-creator-v2-api.md +3254 -0
- package/skills/creator-analysis/references/api-contracts/douyin-search-api.md +4118 -0
- package/skills/creator-analysis/references/api-contracts/douyin-web-api.md +5544 -0
- package/skills/creator-analysis/references/api-contracts/douyin-xingtu-api.md +1916 -0
- package/skills/creator-analysis/references/api-contracts/douyin-xingtu-v2-api.md +1540 -0
- package/skills/creator-analysis/references/api-contracts/health-check.md +69 -0
- package/skills/creator-analysis/references/api-contracts/hybrid-parsing.md +78 -0
- package/skills/creator-analysis/references/api-contracts/instagram-v1-api.md +2256 -0
- package/skills/creator-analysis/references/api-contracts/instagram-v2-api.md +2011 -0
- package/skills/creator-analysis/references/api-contracts/instagram-v3-api.md +2630 -0
- package/skills/creator-analysis/references/api-contracts/ios-shortcut.md +44 -0
- package/skills/creator-analysis/references/api-contracts/kuaishou-app-api.md +1518 -0
- package/skills/creator-analysis/references/api-contracts/kuaishou-web-api.md +1242 -0
- package/skills/creator-analysis/references/api-contracts/lemon8-app-api.md +1088 -0
- package/skills/creator-analysis/references/api-contracts/linkedin-web-api.md +1949 -0
- package/skills/creator-analysis/references/api-contracts/media-ingest-api.md +126 -0
- package/skills/creator-analysis/references/api-contracts/pipixia-app-api.md +1142 -0
- package/skills/creator-analysis/references/api-contracts/reddit-app-api.md +2025 -0
- package/skills/creator-analysis/references/api-contracts/sora2-api.md +2266 -0
- package/skills/creator-analysis/references/api-contracts/temp-mail-api.md +208 -0
- package/skills/creator-analysis/references/api-contracts/threads-web-api.md +897 -0
- package/skills/creator-analysis/references/api-contracts/tikhub-downloader-api.md +134 -0
- package/skills/creator-analysis/references/api-contracts/tikhub-user-api.md +494 -0
- package/skills/creator-analysis/references/api-contracts/tiktok-ads-api.md +5947 -0
- package/skills/creator-analysis/references/api-contracts/tiktok-analytics-api.md +968 -0
- package/skills/creator-analysis/references/api-contracts/tiktok-app-v3-api.md +5735 -0
- package/skills/creator-analysis/references/api-contracts/tiktok-creator-api.md +1951 -0
- package/skills/creator-analysis/references/api-contracts/tiktok-interaction-api.md +742 -0
- package/skills/creator-analysis/references/api-contracts/tiktok-shop-web-api.md +1890 -0
- package/skills/creator-analysis/references/api-contracts/tiktok-web-api.md +4448 -0
- package/skills/creator-analysis/references/api-contracts/toutiao-app-api.md +342 -0
- package/skills/creator-analysis/references/api-contracts/toutiao-web-api.md +143 -0
- package/skills/creator-analysis/references/api-contracts/twitter-web-api.md +989 -0
- package/skills/creator-analysis/references/api-contracts/wechat-channels-api.md +809 -0
- package/skills/creator-analysis/references/api-contracts/wechat-media-platform-web-api.md +677 -0
- package/skills/creator-analysis/references/api-contracts/weibo-app-api.md +1547 -0
- package/skills/creator-analysis/references/api-contracts/weibo-web-api.md +798 -0
- package/skills/creator-analysis/references/api-contracts/weibo-web-v2-api.md +2459 -0
- package/skills/creator-analysis/references/api-contracts/xiaohongshu-app-api.md +1291 -0
- package/skills/creator-analysis/references/api-contracts/xiaohongshu-app-v2-api.md +1683 -0
- package/skills/creator-analysis/references/api-contracts/xiaohongshu-web-api.md +1324 -0
- package/skills/creator-analysis/references/api-contracts/xiaohongshu-web-v2-api.md +1209 -0
- package/skills/creator-analysis/references/api-contracts/xigua-app-v2-api.md +489 -0
- package/skills/creator-analysis/references/api-contracts/youtube-web-api.md +2636 -0
- package/skills/creator-analysis/references/api-contracts/youtube-web-v2-api.md +2660 -0
- package/skills/creator-analysis/references/api-contracts/zhihu-web-api.md +2315 -0
- package/skills/creator-analysis/references/api-tags/asr-api.md +100 -0
- package/skills/creator-analysis/references/api-tags/bilibili-app-api.md +482 -0
- package/skills/creator-analysis/references/api-tags/bilibili-web-api.md +1267 -0
- package/skills/creator-analysis/references/api-tags/demo-api.md +365 -0
- package/skills/creator-analysis/references/api-tags/douyin-app-v3-api.md +2012 -0
- package/skills/creator-analysis/references/api-tags/douyin-billboard-api.md +1428 -0
- package/skills/creator-analysis/references/api-tags/douyin-creator-api.md +694 -0
- package/skills/creator-analysis/references/api-tags/douyin-creator-v2-api.md +694 -0
- package/skills/creator-analysis/references/api-tags/douyin-search-api.md +1059 -0
- package/skills/creator-analysis/references/api-tags/douyin-web-api.md +3314 -0
- package/skills/creator-analysis/references/api-tags/douyin-xingtu-api.md +935 -0
- package/skills/creator-analysis/references/api-tags/douyin-xingtu-v2-api.md +925 -0
- package/skills/creator-analysis/references/api-tags/health-check.md +40 -0
- package/skills/creator-analysis/references/api-tags/hybrid-parsing.md +57 -0
- package/skills/creator-analysis/references/api-tags/instagram-v1-api.md +1224 -0
- package/skills/creator-analysis/references/api-tags/instagram-v2-api.md +1147 -0
- package/skills/creator-analysis/references/api-tags/instagram-v3-api.md +1123 -0
- package/skills/creator-analysis/references/api-tags/ios-shortcut.md +45 -0
- package/skills/creator-analysis/references/api-tags/kuaishou-app-api.md +846 -0
- package/skills/creator-analysis/references/api-tags/kuaishou-web-api.md +551 -0
- package/skills/creator-analysis/references/api-tags/lemon8-app-api.md +687 -0
- package/skills/creator-analysis/references/api-tags/linkedin-web-api.md +1105 -0
- package/skills/creator-analysis/references/api-tags/media-ingest-api.md +112 -0
- package/skills/creator-analysis/references/api-tags/pipixia-app-api.md +721 -0
- package/skills/creator-analysis/references/api-tags/reddit-app-api.md +1057 -0
- package/skills/creator-analysis/references/api-tags/sora2-api.md +737 -0
- package/skills/creator-analysis/references/api-tags/temp-mail-api.md +136 -0
- package/skills/creator-analysis/references/api-tags/threads-web-api.md +472 -0
- package/skills/creator-analysis/references/api-tags/tikhub-downloader-api.md +65 -0
- package/skills/creator-analysis/references/api-tags/tikhub-user-api.md +253 -0
- package/skills/creator-analysis/references/api-tags/tiktok-ads-api.md +1393 -0
- package/skills/creator-analysis/references/api-tags/tiktok-analytics-api.md +179 -0
- package/skills/creator-analysis/references/api-tags/tiktok-app-v3-api.md +3264 -0
- package/skills/creator-analysis/references/api-tags/tiktok-creator-api.md +709 -0
- package/skills/creator-analysis/references/api-tags/tiktok-interaction-api.md +366 -0
- package/skills/creator-analysis/references/api-tags/tiktok-shop-web-api.md +663 -0
- package/skills/creator-analysis/references/api-tags/tiktok-web-api.md +2516 -0
- package/skills/creator-analysis/references/api-tags/toutiao-app-api.md +220 -0
- package/skills/creator-analysis/references/api-tags/toutiao-web-api.md +96 -0
- package/skills/creator-analysis/references/api-tags/twitter-web-api.md +562 -0
- package/skills/creator-analysis/references/api-tags/wechat-channels-api.md +405 -0
- package/skills/creator-analysis/references/api-tags/wechat-media-platform-web-api.md +431 -0
- package/skills/creator-analysis/references/api-tags/weibo-app-api.md +851 -0
- package/skills/creator-analysis/references/api-tags/weibo-web-api.md +470 -0
- package/skills/creator-analysis/references/api-tags/weibo-web-v2-api.md +1405 -0
- package/skills/creator-analysis/references/api-tags/xiaohongshu-app-api.md +534 -0
- package/skills/creator-analysis/references/api-tags/xiaohongshu-app-v2-api.md +934 -0
- package/skills/creator-analysis/references/api-tags/xiaohongshu-web-api.md +757 -0
- package/skills/creator-analysis/references/api-tags/xiaohongshu-web-v2-api.md +762 -0
- package/skills/creator-analysis/references/api-tags/xigua-app-v2-api.md +308 -0
- package/skills/creator-analysis/references/api-tags/youtube-web-api.md +934 -0
- package/skills/creator-analysis/references/api-tags/youtube-web-v2-api.md +717 -0
- package/skills/creator-analysis/references/api-tags/zhihu-web-api.md +1384 -0
- package/skills/creator-analysis/references/asr-orchestration.md +33 -0
- package/skills/creator-analysis/references/config-templates/defaults.yaml +60 -0
- package/skills/creator-analysis/references/contracts/creator-card-fields.md +23 -0
- package/skills/creator-analysis/references/contracts/work-card-fields.md +32 -0
- package/skills/creator-analysis/references/platform-guides/douyin.md +49 -0
- package/skills/creator-analysis/references/platform-guides/generic.md +46 -0
- package/skills/creator-analysis/references/platform-guides/xiaohongshu.md +54 -0
- package/skills/creator-analysis/references/prompt-contracts/asr-clean.md +28 -0
- package/skills/creator-analysis/references/prompt-contracts/author-analysis-v2.md +46 -0
- package/skills/creator-analysis/references/prompt-contracts/author-analysis.md +49 -0
- package/skills/creator-analysis/references/prompt-contracts/cta.md +24 -0
- package/skills/creator-analysis/references/prompt-contracts/hook.md +25 -0
- package/skills/creator-analysis/references/prompt-contracts/insight.md +47 -0
- package/skills/creator-analysis/references/prompt-contracts/sampled-work-batch-explanations.md +30 -0
- package/skills/creator-analysis/references/prompt-contracts/structure.md +25 -0
- package/skills/creator-analysis/references/prompt-contracts/style.md +27 -0
- package/skills/creator-analysis/references/prompt-contracts/summary.md +29 -0
- package/skills/creator-analysis/references/prompt-contracts/topic.md +29 -0
- package/skills/creator-analysis/references/schemas/author-analysis-input-v1.schema.json +325 -0
- package/skills/creator-analysis/references/schemas/author-analysis-v2.schema.json +158 -0
- package/skills/creator-analysis/references/schemas/sampled-work-batch-explanations.schema.json +41 -0
- package/skills/creator-analysis/references/service-guides/asr-u2-u3-fallback.md +75 -0
- package/skills/creator-analysis/references/workflow.md +18 -0
- package/skills/creator-analysis/scripts/__init__.py +0 -0
- package/skills/creator-analysis/scripts/author_home/__init__.py +0 -0
- package/skills/creator-analysis/scripts/author_home/adapters/__init__.py +0 -0
- package/skills/creator-analysis/scripts/author_home/adapters/platform_adapters.py +299 -0
- package/skills/creator-analysis/scripts/author_home/analyzers/__init__.py +0 -0
- package/skills/creator-analysis/scripts/author_home/analyzers/author_analysis_v2_support.py +1122 -0
- package/skills/creator-analysis/scripts/author_home/analyzers/prompt_first_analyzers.py +260 -0
- package/skills/creator-analysis/scripts/author_home/analyzers/sampled_work_batch_explainer.py +260 -0
- package/skills/creator-analysis/scripts/author_home/asr/__init__.py +5 -0
- package/skills/creator-analysis/scripts/author_home/asr/home_asr.py +961 -0
- package/skills/creator-analysis/scripts/author_home/builders/__init__.py +0 -0
- package/skills/creator-analysis/scripts/author_home/builders/home_builders.py +149 -0
- package/skills/creator-analysis/scripts/author_home/collectors/__init__.py +0 -0
- package/skills/creator-analysis/scripts/author_home/collectors/homepage_collectors.py +636 -0
- package/skills/creator-analysis/scripts/author_home/orchestrator/__init__.py +0 -0
- package/skills/creator-analysis/scripts/author_home/orchestrator/run_author_analysis.py +491 -0
- package/skills/creator-analysis/scripts/author_home/orchestrator/work_analysis_artifacts.py +553 -0
- package/skills/creator-analysis/scripts/author_home/schema.py +417 -0
- package/skills/creator-analysis/scripts/core/__init__.py +0 -0
- package/skills/creator-analysis/scripts/core/analysis_pipeline.py +133 -0
- package/skills/creator-analysis/scripts/core/bootstrap_env.py +35 -0
- package/skills/creator-analysis/scripts/core/config_loader.py +418 -0
- package/skills/creator-analysis/scripts/core/extract_pipeline.py +173 -0
- package/skills/creator-analysis/scripts/core/progress_report.py +111 -0
- package/skills/creator-analysis/scripts/core/storage_router.py +253 -0
- package/skills/creator-analysis/scripts/core/tikomni_common.py +588 -0
- package/skills/creator-analysis/scripts/pipeline/__init__.py +0 -0
- package/skills/creator-analysis/scripts/pipeline/asr/__init__.py +0 -0
- package/skills/creator-analysis/scripts/pipeline/asr/asr_pipeline.py +1189 -0
- package/skills/creator-analysis/scripts/pipeline/asr/poll_u2_task.py +95 -0
- package/skills/creator-analysis/scripts/platform/__init__.py +0 -0
- package/skills/creator-analysis/scripts/platform/douyin/__init__.py +0 -0
- package/skills/creator-analysis/scripts/platform/douyin/douyin_video_type_matrix.py +224 -0
- package/skills/creator-analysis/scripts/platform/douyin/run_douyin_single_video.py +1208 -0
- package/skills/creator-analysis/scripts/platform/douyin/select_low_quality_video_url.py +200 -0
- package/skills/creator-analysis/scripts/platform/xiaohongshu/__init__.py +0 -0
- package/skills/creator-analysis/scripts/platform/xiaohongshu/run_xiaohongshu_extract.py +2128 -0
- package/skills/creator-analysis/scripts/writers/__init__.py +0 -0
- package/skills/creator-analysis/scripts/writers/write_author_homepage_samples.py +106 -0
- package/skills/creator-analysis/scripts/writers/write_benchmark_card.py +1402 -0
- package/skills/meta-capability/SKILL.md +69 -0
- package/skills/meta-capability/agents/openai.yaml +4 -0
- package/skills/meta-capability/env.example +42 -0
- package/skills/meta-capability/references/api-capability-index.md +92 -0
- package/skills/meta-capability/references/api-contracts/asr-api.md +130 -0
- package/skills/meta-capability/references/api-contracts/bilibili-app-api.md +776 -0
- package/skills/meta-capability/references/api-contracts/bilibili-web-api.md +2017 -0
- package/skills/meta-capability/references/api-contracts/demo-api.md +717 -0
- package/skills/meta-capability/references/api-contracts/douyin-app-v3-api.md +3594 -0
- package/skills/meta-capability/references/api-contracts/douyin-billboard-api.md +2274 -0
- package/skills/meta-capability/references/api-contracts/douyin-creator-api.md +1575 -0
- package/skills/meta-capability/references/api-contracts/douyin-creator-v2-api.md +3254 -0
- package/skills/meta-capability/references/api-contracts/douyin-search-api.md +4118 -0
- package/skills/meta-capability/references/api-contracts/douyin-web-api.md +5544 -0
- package/skills/meta-capability/references/api-contracts/douyin-xingtu-api.md +1916 -0
- package/skills/meta-capability/references/api-contracts/douyin-xingtu-v2-api.md +1540 -0
- package/skills/meta-capability/references/api-contracts/health-check.md +69 -0
- package/skills/meta-capability/references/api-contracts/hybrid-parsing.md +78 -0
- package/skills/meta-capability/references/api-contracts/instagram-v1-api.md +2256 -0
- package/skills/meta-capability/references/api-contracts/instagram-v2-api.md +2011 -0
- package/skills/meta-capability/references/api-contracts/instagram-v3-api.md +2630 -0
- package/skills/meta-capability/references/api-contracts/ios-shortcut.md +44 -0
- package/skills/meta-capability/references/api-contracts/kuaishou-app-api.md +1518 -0
- package/skills/meta-capability/references/api-contracts/kuaishou-web-api.md +1242 -0
- package/skills/meta-capability/references/api-contracts/lemon8-app-api.md +1088 -0
- package/skills/meta-capability/references/api-contracts/linkedin-web-api.md +1949 -0
- package/skills/meta-capability/references/api-contracts/media-ingest-api.md +126 -0
- package/skills/meta-capability/references/api-contracts/pipixia-app-api.md +1142 -0
- package/skills/meta-capability/references/api-contracts/reddit-app-api.md +2025 -0
- package/skills/meta-capability/references/api-contracts/sora2-api.md +2266 -0
- package/skills/meta-capability/references/api-contracts/temp-mail-api.md +208 -0
- package/skills/meta-capability/references/api-contracts/threads-web-api.md +897 -0
- package/skills/meta-capability/references/api-contracts/tikhub-downloader-api.md +134 -0
- package/skills/meta-capability/references/api-contracts/tikhub-user-api.md +494 -0
- package/skills/meta-capability/references/api-contracts/tiktok-ads-api.md +5947 -0
- package/skills/meta-capability/references/api-contracts/tiktok-analytics-api.md +968 -0
- package/skills/meta-capability/references/api-contracts/tiktok-app-v3-api.md +5735 -0
- package/skills/meta-capability/references/api-contracts/tiktok-creator-api.md +1951 -0
- package/skills/meta-capability/references/api-contracts/tiktok-interaction-api.md +742 -0
- package/skills/meta-capability/references/api-contracts/tiktok-shop-web-api.md +1890 -0
- package/skills/meta-capability/references/api-contracts/tiktok-web-api.md +4448 -0
- package/skills/meta-capability/references/api-contracts/toutiao-app-api.md +342 -0
- package/skills/meta-capability/references/api-contracts/toutiao-web-api.md +143 -0
- package/skills/meta-capability/references/api-contracts/twitter-web-api.md +989 -0
- package/skills/meta-capability/references/api-contracts/wechat-channels-api.md +809 -0
- package/skills/meta-capability/references/api-contracts/wechat-media-platform-web-api.md +677 -0
- package/skills/meta-capability/references/api-contracts/weibo-app-api.md +1547 -0
- package/skills/meta-capability/references/api-contracts/weibo-web-api.md +798 -0
- package/skills/meta-capability/references/api-contracts/weibo-web-v2-api.md +2459 -0
- package/skills/meta-capability/references/api-contracts/xiaohongshu-app-api.md +1291 -0
- package/skills/meta-capability/references/api-contracts/xiaohongshu-app-v2-api.md +1683 -0
- package/skills/meta-capability/references/api-contracts/xiaohongshu-web-api.md +1324 -0
- package/skills/meta-capability/references/api-contracts/xiaohongshu-web-v2-api.md +1209 -0
- package/skills/meta-capability/references/api-contracts/xigua-app-v2-api.md +489 -0
- package/skills/meta-capability/references/api-contracts/youtube-web-api.md +2636 -0
- package/skills/meta-capability/references/api-contracts/youtube-web-v2-api.md +2660 -0
- package/skills/meta-capability/references/api-contracts/zhihu-web-api.md +2315 -0
- package/skills/meta-capability/references/api-tags/asr-api.md +100 -0
- package/skills/meta-capability/references/api-tags/bilibili-app-api.md +482 -0
- package/skills/meta-capability/references/api-tags/bilibili-web-api.md +1267 -0
- package/skills/meta-capability/references/api-tags/demo-api.md +365 -0
- package/skills/meta-capability/references/api-tags/douyin-app-v3-api.md +2012 -0
- package/skills/meta-capability/references/api-tags/douyin-billboard-api.md +1428 -0
- package/skills/meta-capability/references/api-tags/douyin-creator-api.md +694 -0
- package/skills/meta-capability/references/api-tags/douyin-creator-v2-api.md +694 -0
- package/skills/meta-capability/references/api-tags/douyin-search-api.md +1059 -0
- package/skills/meta-capability/references/api-tags/douyin-web-api.md +3314 -0
- package/skills/meta-capability/references/api-tags/douyin-xingtu-api.md +935 -0
- package/skills/meta-capability/references/api-tags/douyin-xingtu-v2-api.md +925 -0
- package/skills/meta-capability/references/api-tags/health-check.md +40 -0
- package/skills/meta-capability/references/api-tags/hybrid-parsing.md +57 -0
- package/skills/meta-capability/references/api-tags/instagram-v1-api.md +1224 -0
- package/skills/meta-capability/references/api-tags/instagram-v2-api.md +1147 -0
- package/skills/meta-capability/references/api-tags/instagram-v3-api.md +1123 -0
- package/skills/meta-capability/references/api-tags/ios-shortcut.md +45 -0
- package/skills/meta-capability/references/api-tags/kuaishou-app-api.md +846 -0
- package/skills/meta-capability/references/api-tags/kuaishou-web-api.md +551 -0
- package/skills/meta-capability/references/api-tags/lemon8-app-api.md +687 -0
- package/skills/meta-capability/references/api-tags/linkedin-web-api.md +1105 -0
- package/skills/meta-capability/references/api-tags/media-ingest-api.md +112 -0
- package/skills/meta-capability/references/api-tags/pipixia-app-api.md +721 -0
- package/skills/meta-capability/references/api-tags/reddit-app-api.md +1057 -0
- package/skills/meta-capability/references/api-tags/sora2-api.md +737 -0
- package/skills/meta-capability/references/api-tags/temp-mail-api.md +136 -0
- package/skills/meta-capability/references/api-tags/threads-web-api.md +472 -0
- package/skills/meta-capability/references/api-tags/tikhub-downloader-api.md +65 -0
- package/skills/meta-capability/references/api-tags/tikhub-user-api.md +253 -0
- package/skills/meta-capability/references/api-tags/tiktok-ads-api.md +1393 -0
- package/skills/meta-capability/references/api-tags/tiktok-analytics-api.md +179 -0
- package/skills/meta-capability/references/api-tags/tiktok-app-v3-api.md +3264 -0
- package/skills/meta-capability/references/api-tags/tiktok-creator-api.md +709 -0
- package/skills/meta-capability/references/api-tags/tiktok-interaction-api.md +366 -0
- package/skills/meta-capability/references/api-tags/tiktok-shop-web-api.md +663 -0
- package/skills/meta-capability/references/api-tags/tiktok-web-api.md +2516 -0
- package/skills/meta-capability/references/api-tags/toutiao-app-api.md +220 -0
- package/skills/meta-capability/references/api-tags/toutiao-web-api.md +96 -0
- package/skills/meta-capability/references/api-tags/twitter-web-api.md +562 -0
- package/skills/meta-capability/references/api-tags/wechat-channels-api.md +405 -0
- package/skills/meta-capability/references/api-tags/wechat-media-platform-web-api.md +431 -0
- package/skills/meta-capability/references/api-tags/weibo-app-api.md +851 -0
- package/skills/meta-capability/references/api-tags/weibo-web-api.md +470 -0
- package/skills/meta-capability/references/api-tags/weibo-web-v2-api.md +1405 -0
- package/skills/meta-capability/references/api-tags/xiaohongshu-app-api.md +534 -0
- package/skills/meta-capability/references/api-tags/xiaohongshu-app-v2-api.md +934 -0
- package/skills/meta-capability/references/api-tags/xiaohongshu-web-api.md +757 -0
- package/skills/meta-capability/references/api-tags/xiaohongshu-web-v2-api.md +762 -0
- package/skills/meta-capability/references/api-tags/xigua-app-v2-api.md +308 -0
- package/skills/meta-capability/references/api-tags/youtube-web-api.md +934 -0
- package/skills/meta-capability/references/api-tags/youtube-web-v2-api.md +717 -0
- package/skills/meta-capability/references/api-tags/zhihu-web-api.md +1384 -0
- package/skills/meta-capability/references/config-templates/defaults.yaml +18 -0
- package/skills/meta-capability/references/dispatch.md +27 -0
- package/skills/meta-capability/references/execution-guidelines.md +25 -0
- package/skills/meta-capability/references/implemented-route-map.md +177 -0
- package/skills/meta-capability/references/service-guides/asr-u2-u3-fallback.md +75 -0
- package/skills/meta-capability/scripts/__init__.py +1 -0
- package/skills/meta-capability/scripts/call_route.py +141 -0
- package/skills/meta-capability/scripts/core/__init__.py +1 -0
- package/skills/meta-capability/scripts/core/bootstrap_env.py +32 -0
- package/skills/meta-capability/scripts/core/config_loader.py +204 -0
- package/skills/meta-capability/scripts/core/tikomni_common.py +443 -0
- package/skills/meta-capability/scripts/test_auth.py +98 -0
- package/skills/single-work-analysis/SKILL.md +62 -0
- package/skills/single-work-analysis/agents/openai.yaml +4 -0
- package/skills/single-work-analysis/env.example +36 -0
- package/skills/single-work-analysis/references/api-capability-index.md +92 -0
- package/skills/single-work-analysis/references/api-contracts/asr-api.md +130 -0
- package/skills/single-work-analysis/references/api-contracts/bilibili-app-api.md +776 -0
- package/skills/single-work-analysis/references/api-contracts/bilibili-web-api.md +2017 -0
- package/skills/single-work-analysis/references/api-contracts/demo-api.md +717 -0
- package/skills/single-work-analysis/references/api-contracts/douyin-app-v3-api.md +3594 -0
- package/skills/single-work-analysis/references/api-contracts/douyin-billboard-api.md +2274 -0
- package/skills/single-work-analysis/references/api-contracts/douyin-creator-api.md +1575 -0
- package/skills/single-work-analysis/references/api-contracts/douyin-creator-v2-api.md +3254 -0
- package/skills/single-work-analysis/references/api-contracts/douyin-search-api.md +4118 -0
- package/skills/single-work-analysis/references/api-contracts/douyin-web-api.md +5544 -0
- package/skills/single-work-analysis/references/api-contracts/douyin-xingtu-api.md +1916 -0
- package/skills/single-work-analysis/references/api-contracts/douyin-xingtu-v2-api.md +1540 -0
- package/skills/single-work-analysis/references/api-contracts/health-check.md +69 -0
- package/skills/single-work-analysis/references/api-contracts/hybrid-parsing.md +78 -0
- package/skills/single-work-analysis/references/api-contracts/instagram-v1-api.md +2256 -0
- package/skills/single-work-analysis/references/api-contracts/instagram-v2-api.md +2011 -0
- package/skills/single-work-analysis/references/api-contracts/instagram-v3-api.md +2630 -0
- package/skills/single-work-analysis/references/api-contracts/ios-shortcut.md +44 -0
- package/skills/single-work-analysis/references/api-contracts/kuaishou-app-api.md +1518 -0
- package/skills/single-work-analysis/references/api-contracts/kuaishou-web-api.md +1242 -0
- package/skills/single-work-analysis/references/api-contracts/lemon8-app-api.md +1088 -0
- package/skills/single-work-analysis/references/api-contracts/linkedin-web-api.md +1949 -0
- package/skills/single-work-analysis/references/api-contracts/media-ingest-api.md +126 -0
- package/skills/single-work-analysis/references/api-contracts/pipixia-app-api.md +1142 -0
- package/skills/single-work-analysis/references/api-contracts/reddit-app-api.md +2025 -0
- package/skills/single-work-analysis/references/api-contracts/sora2-api.md +2266 -0
- package/skills/single-work-analysis/references/api-contracts/temp-mail-api.md +208 -0
- package/skills/single-work-analysis/references/api-contracts/threads-web-api.md +897 -0
- package/skills/single-work-analysis/references/api-contracts/tikhub-downloader-api.md +134 -0
- package/skills/single-work-analysis/references/api-contracts/tikhub-user-api.md +494 -0
- package/skills/single-work-analysis/references/api-contracts/tiktok-ads-api.md +5947 -0
- package/skills/single-work-analysis/references/api-contracts/tiktok-analytics-api.md +968 -0
- package/skills/single-work-analysis/references/api-contracts/tiktok-app-v3-api.md +5735 -0
- package/skills/single-work-analysis/references/api-contracts/tiktok-creator-api.md +1951 -0
- package/skills/single-work-analysis/references/api-contracts/tiktok-interaction-api.md +742 -0
- package/skills/single-work-analysis/references/api-contracts/tiktok-shop-web-api.md +1890 -0
- package/skills/single-work-analysis/references/api-contracts/tiktok-web-api.md +4448 -0
- package/skills/single-work-analysis/references/api-contracts/toutiao-app-api.md +342 -0
- package/skills/single-work-analysis/references/api-contracts/toutiao-web-api.md +143 -0
- package/skills/single-work-analysis/references/api-contracts/twitter-web-api.md +989 -0
- package/skills/single-work-analysis/references/api-contracts/wechat-channels-api.md +809 -0
- package/skills/single-work-analysis/references/api-contracts/wechat-media-platform-web-api.md +677 -0
- package/skills/single-work-analysis/references/api-contracts/weibo-app-api.md +1547 -0
- package/skills/single-work-analysis/references/api-contracts/weibo-web-api.md +798 -0
- package/skills/single-work-analysis/references/api-contracts/weibo-web-v2-api.md +2459 -0
- package/skills/single-work-analysis/references/api-contracts/xiaohongshu-app-api.md +1291 -0
- package/skills/single-work-analysis/references/api-contracts/xiaohongshu-app-v2-api.md +1683 -0
- package/skills/single-work-analysis/references/api-contracts/xiaohongshu-web-api.md +1324 -0
- package/skills/single-work-analysis/references/api-contracts/xiaohongshu-web-v2-api.md +1209 -0
- package/skills/single-work-analysis/references/api-contracts/xigua-app-v2-api.md +489 -0
- package/skills/single-work-analysis/references/api-contracts/youtube-web-api.md +2636 -0
- package/skills/single-work-analysis/references/api-contracts/youtube-web-v2-api.md +2660 -0
- package/skills/single-work-analysis/references/api-contracts/zhihu-web-api.md +2315 -0
- package/skills/single-work-analysis/references/api-tags/asr-api.md +100 -0
- package/skills/single-work-analysis/references/api-tags/bilibili-app-api.md +482 -0
- package/skills/single-work-analysis/references/api-tags/bilibili-web-api.md +1267 -0
- package/skills/single-work-analysis/references/api-tags/demo-api.md +365 -0
- package/skills/single-work-analysis/references/api-tags/douyin-app-v3-api.md +2012 -0
- package/skills/single-work-analysis/references/api-tags/douyin-billboard-api.md +1428 -0
- package/skills/single-work-analysis/references/api-tags/douyin-creator-api.md +694 -0
- package/skills/single-work-analysis/references/api-tags/douyin-creator-v2-api.md +694 -0
- package/skills/single-work-analysis/references/api-tags/douyin-search-api.md +1059 -0
- package/skills/single-work-analysis/references/api-tags/douyin-web-api.md +3314 -0
- package/skills/single-work-analysis/references/api-tags/douyin-xingtu-api.md +935 -0
- package/skills/single-work-analysis/references/api-tags/douyin-xingtu-v2-api.md +925 -0
- package/skills/single-work-analysis/references/api-tags/health-check.md +40 -0
- package/skills/single-work-analysis/references/api-tags/hybrid-parsing.md +57 -0
- package/skills/single-work-analysis/references/api-tags/instagram-v1-api.md +1224 -0
- package/skills/single-work-analysis/references/api-tags/instagram-v2-api.md +1147 -0
- package/skills/single-work-analysis/references/api-tags/instagram-v3-api.md +1123 -0
- package/skills/single-work-analysis/references/api-tags/ios-shortcut.md +45 -0
- package/skills/single-work-analysis/references/api-tags/kuaishou-app-api.md +846 -0
- package/skills/single-work-analysis/references/api-tags/kuaishou-web-api.md +551 -0
- package/skills/single-work-analysis/references/api-tags/lemon8-app-api.md +687 -0
- package/skills/single-work-analysis/references/api-tags/linkedin-web-api.md +1105 -0
- package/skills/single-work-analysis/references/api-tags/media-ingest-api.md +112 -0
- package/skills/single-work-analysis/references/api-tags/pipixia-app-api.md +721 -0
- package/skills/single-work-analysis/references/api-tags/reddit-app-api.md +1057 -0
- package/skills/single-work-analysis/references/api-tags/sora2-api.md +737 -0
- package/skills/single-work-analysis/references/api-tags/temp-mail-api.md +136 -0
- package/skills/single-work-analysis/references/api-tags/threads-web-api.md +472 -0
- package/skills/single-work-analysis/references/api-tags/tikhub-downloader-api.md +65 -0
- package/skills/single-work-analysis/references/api-tags/tikhub-user-api.md +253 -0
- package/skills/single-work-analysis/references/api-tags/tiktok-ads-api.md +1393 -0
- package/skills/single-work-analysis/references/api-tags/tiktok-analytics-api.md +179 -0
- package/skills/single-work-analysis/references/api-tags/tiktok-app-v3-api.md +3264 -0
- package/skills/single-work-analysis/references/api-tags/tiktok-creator-api.md +709 -0
- package/skills/single-work-analysis/references/api-tags/tiktok-interaction-api.md +366 -0
- package/skills/single-work-analysis/references/api-tags/tiktok-shop-web-api.md +663 -0
- package/skills/single-work-analysis/references/api-tags/tiktok-web-api.md +2516 -0
- package/skills/single-work-analysis/references/api-tags/toutiao-app-api.md +220 -0
- package/skills/single-work-analysis/references/api-tags/toutiao-web-api.md +96 -0
- package/skills/single-work-analysis/references/api-tags/twitter-web-api.md +562 -0
- package/skills/single-work-analysis/references/api-tags/wechat-channels-api.md +405 -0
- package/skills/single-work-analysis/references/api-tags/wechat-media-platform-web-api.md +431 -0
- package/skills/single-work-analysis/references/api-tags/weibo-app-api.md +851 -0
- package/skills/single-work-analysis/references/api-tags/weibo-web-api.md +470 -0
- package/skills/single-work-analysis/references/api-tags/weibo-web-v2-api.md +1405 -0
- package/skills/single-work-analysis/references/api-tags/xiaohongshu-app-api.md +534 -0
- package/skills/single-work-analysis/references/api-tags/xiaohongshu-app-v2-api.md +934 -0
- package/skills/single-work-analysis/references/api-tags/xiaohongshu-web-api.md +757 -0
- package/skills/single-work-analysis/references/api-tags/xiaohongshu-web-v2-api.md +762 -0
- package/skills/single-work-analysis/references/api-tags/xigua-app-v2-api.md +308 -0
- package/skills/single-work-analysis/references/api-tags/youtube-web-api.md +934 -0
- package/skills/single-work-analysis/references/api-tags/youtube-web-v2-api.md +717 -0
- package/skills/single-work-analysis/references/api-tags/zhihu-web-api.md +1384 -0
- package/skills/single-work-analysis/references/asr-and-fallback.md +20 -0
- package/skills/single-work-analysis/references/config-templates/defaults.yaml +58 -0
- package/skills/single-work-analysis/references/contracts/work-card-fields.md +41 -0
- package/skills/single-work-analysis/references/platform-guides/douyin.md +47 -0
- package/skills/single-work-analysis/references/platform-guides/generic.md +43 -0
- package/skills/single-work-analysis/references/platform-guides/xiaohongshu.md +54 -0
- package/skills/single-work-analysis/references/prompt-contracts/asr-clean.md +28 -0
- package/skills/single-work-analysis/references/prompt-contracts/cta.md +24 -0
- package/skills/single-work-analysis/references/prompt-contracts/hook.md +25 -0
- package/skills/single-work-analysis/references/prompt-contracts/insight.md +47 -0
- package/skills/single-work-analysis/references/prompt-contracts/structure.md +25 -0
- package/skills/single-work-analysis/references/prompt-contracts/style.md +27 -0
- package/skills/single-work-analysis/references/prompt-contracts/summary.md +29 -0
- package/skills/single-work-analysis/references/prompt-contracts/topic.md +29 -0
- package/skills/single-work-analysis/references/schemas/work-card.schema.json +39 -0
- package/skills/single-work-analysis/references/service-guides/asr-u2-u3-fallback.md +75 -0
- package/skills/single-work-analysis/scripts/__init__.py +0 -0
- package/skills/single-work-analysis/scripts/core/__init__.py +0 -0
- package/skills/single-work-analysis/scripts/core/analysis_pipeline.py +133 -0
- package/skills/single-work-analysis/scripts/core/bootstrap_env.py +35 -0
- package/skills/single-work-analysis/scripts/core/config_loader.py +418 -0
- package/skills/single-work-analysis/scripts/core/extract_pipeline.py +173 -0
- package/skills/single-work-analysis/scripts/core/progress_report.py +111 -0
- package/skills/single-work-analysis/scripts/core/storage_router.py +253 -0
- package/skills/single-work-analysis/scripts/core/tikomni_common.py +588 -0
- package/skills/single-work-analysis/scripts/pipeline/__init__.py +0 -0
- package/skills/single-work-analysis/scripts/pipeline/asr/__init__.py +0 -0
- package/skills/single-work-analysis/scripts/pipeline/asr/asr_pipeline.py +1189 -0
- package/skills/single-work-analysis/scripts/pipeline/asr/poll_u2_task.py +95 -0
- package/skills/single-work-analysis/scripts/platform/__init__.py +0 -0
- package/skills/single-work-analysis/scripts/platform/douyin/__init__.py +0 -0
- package/skills/single-work-analysis/scripts/platform/douyin/douyin_video_type_matrix.py +224 -0
- package/skills/single-work-analysis/scripts/platform/douyin/run_douyin_single_video.py +1233 -0
- package/skills/single-work-analysis/scripts/platform/douyin/select_low_quality_video_url.py +200 -0
- package/skills/single-work-analysis/scripts/platform/xiaohongshu/__init__.py +0 -0
- package/skills/single-work-analysis/scripts/platform/xiaohongshu/run_xiaohongshu_extract.py +2156 -0
- package/skills/single-work-analysis/scripts/writers/__init__.py +0 -0
- package/skills/single-work-analysis/scripts/writers/write_benchmark_card.py +1402 -0
|
@@ -0,0 +1,742 @@
|
|
|
1
|
+
# TikTok-Interaction-API Full Contract
|
|
2
|
+
|
|
3
|
+
- Back to index: [`api-capability-index.md`](../api-capability-index.md)
|
|
4
|
+
- Back to route summary: [`api-tags/tiktok-interaction-api.md`](../api-tags/tiktok-interaction-api.md)
|
|
5
|
+
- Current contract file: `api-contracts/tiktok-interaction-api.md`
|
|
6
|
+
- Source: `https://app.tikomni.com/openapi/tikomni-openapi.full.with-u2.public.latest.json`
|
|
7
|
+
- Fetched at: `2026-03-08T06:54:04+00:00`
|
|
8
|
+
- Route count: `7`
|
|
9
|
+
- Default auth: Header `Authorization` Bearer
|
|
10
|
+
- Read this file only when you need precise auth notes, parameter descriptions, defaults, examples, or success-response fields.
|
|
11
|
+
- Tag description: **(TikTok交互类接口(不在提供该业务)/TikTok-Interaction-API (This service is no longer available))**
|
|
12
|
+
|
|
13
|
+
## Route Contracts
|
|
14
|
+
|
|
15
|
+
<a id="get-api-u1-v1-tiktok-interaction-apply"></a>
|
|
16
|
+
### `GET /api/u1/v1/tiktok/interaction/apply`
|
|
17
|
+
|
|
18
|
+
- Summary: 申请使用TikTok交互API权限(Scope)/Apply for TikTok Interaction API permission (Scope)
|
|
19
|
+
- Capabilities: general
|
|
20
|
+
- Auth: Header `Authorization: Bearer {token}`; docs also allow Cookie `Authorization` as fallback (`HTTPBearer`)
|
|
21
|
+
- operationId: `apply_for_scope_api_v1_tiktok_interaction_apply_get`
|
|
22
|
+
|
|
23
|
+
#### Notes
|
|
24
|
+
|
|
25
|
+
> # [通知]
|
|
26
|
+
> - 此接口已经废弃,用户现在无需手动申请调用权限,只需要在用户后台更新API Key的对应权限即可,即API Key对应的的Scope。
|
|
27
|
+
> # [中文]
|
|
28
|
+
> ### 接口用途:
|
|
29
|
+
> - 申请使用TikTok交互API的接口权限(Scope),请在使用交互类接口之前申请,否则将无法正常请求。
|
|
30
|
+
> ### 申请流程:
|
|
31
|
+
> - 申请接口权限需要邀请码,如果你没有邀请码,可以在Discord服务器中联系管理员获取。
|
|
32
|
+
> - Discord服务器链接: [TikHub Discord](https://discord.gg/aMEAS8Xsvz)
|
|
33
|
+
> ### 申请须知:
|
|
34
|
+
> - 此权限仅限于当前提交的API Key,不可跨API Key使用。
|
|
35
|
+
> - 用户需要使用美国地区注册且有效的的TikTok账号进行登录,否则保证将无法正常请求。
|
|
36
|
+
> - 用户需要使用美国地区的代理IP进行获取Cookie,否则将保证无法正常请求。
|
|
37
|
+
> - 用户需要使用美国地区的代理IP进行请求,否则将无法保证正常请求。
|
|
38
|
+
> ### 用户守则以及责任:
|
|
39
|
+
> - 请不要使用交互类接口对他人造成骚扰,或进行违法违规的操作,否则我们将会停止对你的服务,并且所有责任由你自己承担。
|
|
40
|
+
> - 请不要将接口权限分享给他人,否则我们将会停止对你的服务。
|
|
41
|
+
> - 接口请求目前暂时定为每秒5次请求。
|
|
42
|
+
> ### 返回:
|
|
43
|
+
> - 申请结果以及申请的邀请码,请自行保留邀请码,以便后续使用。
|
|
44
|
+
>
|
|
45
|
+
> # [Notice]
|
|
46
|
+
> - This interface has been deprecated, users no longer need to apply for permission to call the API, just update the corresponding permission of the API Key in the user background, that is, the Scope corresponding to the API Key.
|
|
47
|
+
> # [English]
|
|
48
|
+
> ### Purpose:
|
|
49
|
+
> - Apply for the interface permission (Scope) of TikTok Interaction API, please apply before using the interactive interface, otherwise the request will not be made normally.
|
|
50
|
+
> ### Application process:
|
|
51
|
+
> - Applying for interface permissions requires an invitation code, if you do not have an invitation code, you can contact the administrator on the Discord server.
|
|
52
|
+
> - Discord server link: [TikHub Discord](https://discord.gg/aMEAS8Xsvz)
|
|
53
|
+
> ### Application notes:
|
|
54
|
+
> - This permission is limited to the API Key submitted, and cannot be used across API Keys.
|
|
55
|
+
> - Users need to log in with a registered and valid TikTok account in the United States, otherwise the request will not be made normally.
|
|
56
|
+
> - Users need to use a proxy IP in the United States to obtain cookies, otherwise the request will not be made normally.
|
|
57
|
+
> - Users need to use a proxy IP in the United States for requests, otherwise the request will not be made normally.
|
|
58
|
+
> ### User guidelines and responsibilities:
|
|
59
|
+
> - Please do not use interactive interfaces to harass others, or engage in illegal or irregular operations, otherwise we will stop providing services to you, and all responsibilities will be borne by you.
|
|
60
|
+
> - Please do not share the interface permission with others, otherwise we will stop providing services to you.
|
|
61
|
+
> - The interface request is currently set to 5 requests per second.
|
|
62
|
+
> ### Return:
|
|
63
|
+
> - Application results and the invitation code applied for, please keep the invitation code for subsequent use.
|
|
64
|
+
>
|
|
65
|
+
> # [示例/Example]
|
|
66
|
+
> ```python
|
|
67
|
+
> # Python Code
|
|
68
|
+
> invite_code = "Your_Invite_Code"
|
|
69
|
+
> ```
|
|
70
|
+
|
|
71
|
+
#### Parameters
|
|
72
|
+
|
|
73
|
+
| Field | In | Type | Required | Description | Default | Example | Enum |
|
|
74
|
+
| --- | --- | --- | --- | --- | --- | --- | --- |
|
|
75
|
+
| api_key | query | string | Yes | None | None | None | None |
|
|
76
|
+
| invite_code | query | string | Yes | None | None | None | None |
|
|
77
|
+
|
|
78
|
+
#### Request Body
|
|
79
|
+
|
|
80
|
+
None
|
|
81
|
+
|
|
82
|
+
#### Success Response
|
|
83
|
+
|
|
84
|
+
##### `200 application/json`
|
|
85
|
+
|
|
86
|
+
- Schema summary: `code`:integer, `request_id`:string, `message`:string, `message_zh`:string, `support`:string, `time`:string, `time_stamp`:integer, `time_zone`:string, ...
|
|
87
|
+
|
|
88
|
+
| Field | Type | Required | Description | Default | Example | Enum |
|
|
89
|
+
| --- | --- | --- | --- | --- | --- | --- |
|
|
90
|
+
| code | integer | No | HTTP status code \| HTTP状态码 | 200 | None | None |
|
|
91
|
+
| request_id | string | No | Unique request identifier \| 唯一请求标识符 | None | None | None |
|
|
92
|
+
| message | string | No | Response message (EN-US) \| 响应消息 (English) | Request successful. This request will incur a charge. | None | None |
|
|
93
|
+
| message_zh | string | No | Response message (ZH-CN) \| 响应消息 (中文) | 请求成功,本次请求将被计费。 | None | None |
|
|
94
|
+
| support | string | No | Support message \| 支持消息 | Discord: https://discord.gg/aMEAS8Xsvz | None | None |
|
|
95
|
+
| time | string | No | The time the response was generated \| 生成响应的时间 | None | None | None |
|
|
96
|
+
| time_stamp | integer | No | The timestamp the response was generated \| 生成响应的时间戳 | None | None | None |
|
|
97
|
+
| time_zone | string | No | The timezone of the response time \| 响应时间的时区 | America/Los_Angeles | None | None |
|
|
98
|
+
| docs | string | No | Link to the API Swagger documentation for this endpoint \| 此端点的 API Swagger 文档链接 | None | None | None |
|
|
99
|
+
| cache_message | string | No | Cache message (EN-US) \| 缓存消息 (English) | This request will be cached. You can access the cached result directly using th… | None | None |
|
|
100
|
+
| cache_message_zh | string | No | Cache message (ZH-CN) \| 缓存消息 (中文) | 本次请求将被缓存,你可以使用下面的 URL 直接访问缓存结果,有效期为 24 小时,访问缓存不会产生额外费用。 | None | None |
|
|
101
|
+
| cache_url | string | No | The URL to access the cached result \| 访问缓存结果的 URL | None | None | None |
|
|
102
|
+
| router | string | No | The endpoint that generated this response \| 生成此响应的端点 | None | None | None |
|
|
103
|
+
| params | dynamic object | No | The parameters used in the request \| 请求中使用的参数 | None | None | None |
|
|
104
|
+
| data | null | No | The response data \| 响应数据 | None | None | None |
|
|
105
|
+
|
|
106
|
+
<a id="post-api-u1-v1-tiktok-interaction-collect"></a>
|
|
107
|
+
### `POST /api/u1/v1/tiktok/interaction/collect`
|
|
108
|
+
|
|
109
|
+
- Summary: 收藏/Collect
|
|
110
|
+
- Capabilities: general
|
|
111
|
+
- Auth: Header `Authorization: Bearer {token}`; docs also allow Cookie `Authorization` as fallback (`HTTPBearer`)
|
|
112
|
+
- operationId: `collect_api_v1_tiktok_interaction_collect_post`
|
|
113
|
+
|
|
114
|
+
#### Notes
|
|
115
|
+
|
|
116
|
+
> # [中文]
|
|
117
|
+
> ### 用途:
|
|
118
|
+
> - 使用用户Cookie收藏指定视频,当前请尽可能使用美国地区的TikTok账号,并且在获取Cookie时请使用美国地区的代理IP。
|
|
119
|
+
> ### 注意:
|
|
120
|
+
> - 交互类接口都需要使用用户的Cookie,因此请确保你的Cookie是有效的,否则将无法正常请求。
|
|
121
|
+
> - 交互类的接口可能会导致账号异常或封禁,因此请谨慎使用,建议使用代理IP进行请求。
|
|
122
|
+
> - 交互类接口的最终结果可能会受到TikTok风控系统的影响,大多数情况跟你所使用的账号有关,比如新注册的账号可能无法关注用户或点赞视频,我们无法处理基于账号的风控问题。
|
|
123
|
+
> - 请不要使用交互类接口对他人造成骚扰,或进行违法违规的操作,否则我们将会停止对你的服务,并且所有责任由你自己承担。
|
|
124
|
+
> ### 参数:
|
|
125
|
+
> - aweme_id: 视频id,可以从分享链接中获取,例如:https://www.tiktok.com/@username/video/7419966340443819295
|
|
126
|
+
> - cookie: 用户Cookie,可以从浏览器中登录自己的TikTok账号,然后复制Cookie信息,提交时请使用URL编码Cookie字符串。
|
|
127
|
+
> - device_id: 设备id,可选,如果不填写则会自动生成,如果需要自定义设备id,请使用设备信息接口获取设备id。
|
|
128
|
+
> - iid: 设备安装id,可选,如果不填写则会自动生成,如果需要自定义设备iid,请使用设备信息接口获取设备iid。
|
|
129
|
+
> - proxy: 代理IP,可选,如果不填写则会使用服务器IP进行请求(不推荐),建议使用代理IP进行请求防止账号异常获被封禁,支持格式如下:
|
|
130
|
+
> - 代理IP:端口
|
|
131
|
+
> - 用户名:密码@代理IP:端口
|
|
132
|
+
> ### 返回:
|
|
133
|
+
> - 点赞结果以及评论数据和设备信息,请自行保留设备信息,如请求时使用的`device_id`以及`iid`,以便后续调用接口时使用,频繁更换设备信息可能会导致账号异常或封禁。
|
|
134
|
+
>
|
|
135
|
+
> # [English]
|
|
136
|
+
> ### Purpose:
|
|
137
|
+
> - Collect a specified video using user cookies, please try to use TikTok accounts in the United States as much as possible, and use proxy IPs in the United States when obtaining cookies.
|
|
138
|
+
> ### Note:
|
|
139
|
+
> - Interactive interfaces all need to use the user's Cookie, so please make sure that your Cookie is valid, otherwise the request will not be made normally.
|
|
140
|
+
> - Interactive interfaces may cause account exceptions or bans, so please use them with caution, and it is recommended to use proxy IPs for requests.
|
|
141
|
+
> - The final result of the interactive interface may be affected by the TikTok risk control system, and in most cases it is related to the account you are using, for example, a newly registered account may not be able to follow users or like videos, and we cannot handle risk control issues based on accounts.
|
|
142
|
+
> - Please do not use interactive interfaces to harass others, or engage in illegal or irregular operations, otherwise we will stop providing services to you, and all responsibilities will be borne by you.
|
|
143
|
+
> ### Parameters:
|
|
144
|
+
> - aweme_id: Video id, which can be obtained from the sharing link, for example: https://www.tiktok.com/@username/video/7419966340443819295
|
|
145
|
+
> - cookie: User Cookie, you can log in to your TikTok account in the browser and then copy the Cookie information, please use URL-encoded Cookie string when submitting.
|
|
146
|
+
> - device_id: Device id, optional, if not filled in, it will be automatically generated, if you need to customize the device id, please use the device information interface to get the device id.
|
|
147
|
+
> - iid: Device install id, optional, if not filled in, it will be automatically generated, if you need to customize the device iid, please use the device information interface to get the device iid.
|
|
148
|
+
> - proxy: Proxy IP, optional, if not filled in, the server IP will be used for the request (not recommended), it is recommended to use a proxy IP for the request to prevent account exceptions or bans, support the following formats:
|
|
149
|
+
> - Proxy IP:Port
|
|
150
|
+
> - Username:Password@Proxy IP:Port
|
|
151
|
+
> ### Return:
|
|
152
|
+
> - Like results, comment data and device information, please keep the device information, such as the `device_id` and `iid` used when requesting, for subsequent calls to the interface, frequent replacement of device information may cause account exceptions or bans.
|
|
153
|
+
>
|
|
154
|
+
> # [示例/Example]
|
|
155
|
+
> ```python
|
|
156
|
+
> # Python Code
|
|
157
|
+
> cookie = urllib.parse.quote("Your_Cookie_From_Browser")
|
|
158
|
+
> payload = {
|
|
159
|
+
> "aweme_id": "7419966340443819295",
|
|
160
|
+
> "cookie": cookie,
|
|
161
|
+
> "proxy": "",
|
|
162
|
+
> }
|
|
163
|
+
> ```
|
|
164
|
+
|
|
165
|
+
#### Parameters
|
|
166
|
+
|
|
167
|
+
None
|
|
168
|
+
|
|
169
|
+
#### Request Body
|
|
170
|
+
|
|
171
|
+
- required: Yes
|
|
172
|
+
|
|
173
|
+
##### `application/json`
|
|
174
|
+
|
|
175
|
+
- Schema summary: `aweme_id`:string, `cookie`:string, `device_id`:string, `iid`:string, `proxy`:string
|
|
176
|
+
|
|
177
|
+
| Field | Type | Required | Description | Default | Example | Enum |
|
|
178
|
+
| --- | --- | --- | --- | --- | --- | --- |
|
|
179
|
+
| aweme_id | string | No | Video ID, which can be obtained from the sharing link, for example: https://www.tiktok.com/@username/video/7419966340443819295 | 7419966340443819295 | None | None |
|
|
180
|
+
| cookie | string | No | User Cookie, you can log in to your TikTok account in the browser and then copy the Cookie information, please use URL-encoded Cookie string when submitting. | Your_Cookie_From_Browser | None | None |
|
|
181
|
+
| device_id | string | No | Device id, optional, if not filled in, it will be automatically generated, if you need to customize the device id, please use the device information interface to get the device id. | None | None | None |
|
|
182
|
+
| iid | string | No | Device install id, optional, if not filled in, it will be automatically generated, if you need to customize the device iid, please use the device information interface to get the… | None | None | None |
|
|
183
|
+
| proxy | string | No | Proxy IP, optional, if not filled in, it will be automatically generated, if you need to customize the proxy IP, please use the proxy IP interface to get the proxy IP. | None | None | None |
|
|
184
|
+
|
|
185
|
+
#### Success Response
|
|
186
|
+
|
|
187
|
+
##### `200 application/json`
|
|
188
|
+
|
|
189
|
+
- Schema summary: `code`:integer, `request_id`:string, `message`:string, `message_zh`:string, `support`:string, `time`:string, `time_stamp`:integer, `time_zone`:string, ...
|
|
190
|
+
|
|
191
|
+
| Field | Type | Required | Description | Default | Example | Enum |
|
|
192
|
+
| --- | --- | --- | --- | --- | --- | --- |
|
|
193
|
+
| code | integer | No | HTTP status code \| HTTP状态码 | 200 | None | None |
|
|
194
|
+
| request_id | string | No | Unique request identifier \| 唯一请求标识符 | None | None | None |
|
|
195
|
+
| message | string | No | Response message (EN-US) \| 响应消息 (English) | Request successful. This request will incur a charge. | None | None |
|
|
196
|
+
| message_zh | string | No | Response message (ZH-CN) \| 响应消息 (中文) | 请求成功,本次请求将被计费。 | None | None |
|
|
197
|
+
| support | string | No | Support message \| 支持消息 | Discord: https://discord.gg/aMEAS8Xsvz | None | None |
|
|
198
|
+
| time | string | No | The time the response was generated \| 生成响应的时间 | None | None | None |
|
|
199
|
+
| time_stamp | integer | No | The timestamp the response was generated \| 生成响应的时间戳 | None | None | None |
|
|
200
|
+
| time_zone | string | No | The timezone of the response time \| 响应时间的时区 | America/Los_Angeles | None | None |
|
|
201
|
+
| docs | string | No | Link to the API Swagger documentation for this endpoint \| 此端点的 API Swagger 文档链接 | None | None | None |
|
|
202
|
+
| cache_message | string | No | Cache message (EN-US) \| 缓存消息 (English) | This request will be cached. You can access the cached result directly using th… | None | None |
|
|
203
|
+
| cache_message_zh | string | No | Cache message (ZH-CN) \| 缓存消息 (中文) | 本次请求将被缓存,你可以使用下面的 URL 直接访问缓存结果,有效期为 24 小时,访问缓存不会产生额外费用。 | None | None |
|
|
204
|
+
| cache_url | string | No | The URL to access the cached result \| 访问缓存结果的 URL | None | None | None |
|
|
205
|
+
| router | string | No | The endpoint that generated this response \| 生成此响应的端点 | None | None | None |
|
|
206
|
+
| params | dynamic object | No | The parameters used in the request \| 请求中使用的参数 | None | None | None |
|
|
207
|
+
| data | null | No | The response data \| 响应数据 | None | None | None |
|
|
208
|
+
|
|
209
|
+
<a id="post-api-u1-v1-tiktok-interaction-follow"></a>
|
|
210
|
+
### `POST /api/u1/v1/tiktok/interaction/follow`
|
|
211
|
+
|
|
212
|
+
- Summary: 关注/Follow
|
|
213
|
+
- Capabilities: general
|
|
214
|
+
- Auth: Header `Authorization: Bearer {token}`; docs also allow Cookie `Authorization` as fallback (`HTTPBearer`)
|
|
215
|
+
- operationId: `follow_api_v1_tiktok_interaction_follow_post`
|
|
216
|
+
|
|
217
|
+
#### Notes
|
|
218
|
+
|
|
219
|
+
> # [中文]
|
|
220
|
+
> ### 用途:
|
|
221
|
+
> - 使用用户Cookie关注指定用户,当前请尽可能使用美国地区的TikTok账号,并且在获取Cookie时请使用美国地区的代理IP。
|
|
222
|
+
> ### 注意:
|
|
223
|
+
> - 交互类接口都需要使用用户的Cookie,因此请确保你的Cookie是有效的,否则将无法正常请求。
|
|
224
|
+
> - 交互类的接口可能会导致账号异常或封禁,因此请谨慎使用,建议使用代理IP进行请求。
|
|
225
|
+
> - 交互类接口的最终结果可能会受到TikTok风控系统的影响,大多数情况跟你所使用的账号有关,比如新注册的账号可能无法关注用户或点赞视频,我们无法处理基于账号的风控问题。
|
|
226
|
+
> - 请不要使用交互类接口对他人造成骚扰,或进行违法违规的操作,否则我们将会停止对你的服务,并且所有责任由你自己承担。
|
|
227
|
+
> ### 参数:
|
|
228
|
+
> - user_id: 用户id,可以从接口`/api/v1/tiktok/app/v3/handler_user_profile`获取。
|
|
229
|
+
> - sec_user_id: 用户sec_id,可以从分接口`/api/v1/tiktok/web/get_sec_user_id`获取。
|
|
230
|
+
> - cookie: 用户Cookie,可以从浏览器中登录自己的TikTok账号,然后复制Cookie信息,提交时请使用URL编码Cookie字符串。
|
|
231
|
+
> - device_id: 设备id,可选,如果不填写则会自动生成,如果需要自定义设备id,请使用设备信息接口获取设备id。
|
|
232
|
+
> - iid: 设备安装id,可选,如果不填写则会自动生成,如果需要自定义设备iid,请使用设备信息接口获取设备iid。
|
|
233
|
+
> - proxy: 代理IP,可选,如果不填写则会使用服务器IP进行请求(不推荐),建议使用代理IP进行请求防止账号异常获被封禁,支持格式如下:
|
|
234
|
+
> - 代理IP:端口
|
|
235
|
+
> - 用户名:密码@代理IP:端口
|
|
236
|
+
> ### 返回:
|
|
237
|
+
> - 关注结果以及评论数据和设备信息,请自行保留设备信息,如请求时使用的`device_id`以及`iid`,以便后续调用接口时使用,频繁更换设备信息可能会导致账号异常或封禁。
|
|
238
|
+
>
|
|
239
|
+
> # [English]
|
|
240
|
+
> ### Purpose:
|
|
241
|
+
> - Follow a specified user using user cookies, please try to use TikTok accounts in the United States as much as possible, and use proxy IPs in the United States when obtaining cookies.
|
|
242
|
+
> ### Note:
|
|
243
|
+
> - Interactive interfaces all need to use the user's Cookie, so please make sure that your Cookie is valid, otherwise the request will not be made normally.
|
|
244
|
+
> - Interactive interfaces may cause account exceptions or bans, so please use them with caution, and it is recommended to use proxy IPs for requests.
|
|
245
|
+
> - The final result of the interactive interface may be affected by the TikTok risk control system, and in most cases it is related to the account you are using, for example, a newly registered account may not be able to follow users or like videos, and we cannot handle risk control issues based on accounts.
|
|
246
|
+
> - Please do not use interactive interfaces to harass others, or engage in illegal or irregular operations, otherwise we will stop providing services to you, and all responsibilities will be borne by you.
|
|
247
|
+
> ### Parameters:
|
|
248
|
+
> - user_id: User id, which can be obtained from the sub-interface `/api/v1/tiktok/app/v3/handler_user_profile`.
|
|
249
|
+
> - sec_user_id: User sec_id, which can be obtained from the sub-interface `/api/v1/tiktok/web/get_sec_user_id`.
|
|
250
|
+
> - cookie: User Cookie, you can log in to your TikTok account in the browser and then copy the Cookie information, please use URL-encoded Cookie string when submitting.
|
|
251
|
+
> - device_id: Device id, optional, if not filled in, it will be automatically generated, if you need to customize the device id, please use the device information interface to get the device id.
|
|
252
|
+
> - iid: Device install id, optional, if not filled in, it will be automatically generated, if you need to customize the device iid, please use the device information interface to get the device iid.
|
|
253
|
+
> - proxy: Proxy IP, optional, if not filled in, the server IP will be used for the request (not recommended), it is recommended to use a proxy IP for the request to prevent account exceptions or bans, support the following formats:
|
|
254
|
+
> - Proxy IP:Port
|
|
255
|
+
> - Username:Password@Proxy IP:Port
|
|
256
|
+
> ### Return:
|
|
257
|
+
> - Follow results, comment data and device information, please keep the device information, such as the `device_id` and `iid` used when requesting, for subsequent calls to the interface, frequent replacement of device information may cause account exceptions or bans.
|
|
258
|
+
>
|
|
259
|
+
> # [示例/Example]
|
|
260
|
+
> ```python
|
|
261
|
+
> # Python Code
|
|
262
|
+
> cookie = urllib.parse.quote("Your_Cookie_From_Browser")
|
|
263
|
+
> payload = {
|
|
264
|
+
> "user_id": "6881290705605477381",
|
|
265
|
+
> "sec_user_id": "MS4wLjABAAAAqB08cUbXaDWqbD6MCga2RbGTuhfO2EsHayBYx08NDrN7IE3jQuRDNNN6YwyfH6_6",
|
|
266
|
+
> "cookie": cookie,
|
|
267
|
+
> "proxy": "",
|
|
268
|
+
> }
|
|
269
|
+
> ```
|
|
270
|
+
|
|
271
|
+
#### Parameters
|
|
272
|
+
|
|
273
|
+
None
|
|
274
|
+
|
|
275
|
+
#### Request Body
|
|
276
|
+
|
|
277
|
+
- required: Yes
|
|
278
|
+
|
|
279
|
+
##### `application/json`
|
|
280
|
+
|
|
281
|
+
- Schema summary: `user_id`:string, `sec_user_id`:string, `cookie`:string, `device_id`:string, `iid`:string, `proxy`:string
|
|
282
|
+
|
|
283
|
+
| Field | Type | Required | Description | Default | Example | Enum |
|
|
284
|
+
| --- | --- | --- | --- | --- | --- | --- |
|
|
285
|
+
| user_id | string | No | Video ID, which can be obtained from the sharing link, for example: https://www.tiktok.com/@username/video/7419966340443819295 | 6881290705605477381 | None | None |
|
|
286
|
+
| sec_user_id | string | No | User sec_id, which can be obtained from the sharing link, for example: https://www.tiktok.com/@username/video/7419966340443819295 | MS4wLjABAAAAqB08cUbXaDWqbD6MCga2RbGTuhfO2EsHayBYx08NDrN7IE3jQuRDNNN6YwyfH6_6 | None | None |
|
|
287
|
+
| cookie | string | No | User Cookie, you can log in to your TikTok account in the browser and then copy the Cookie information, please use URL-encoded Cookie string when submitting. | Your_Cookie_From_Browser | None | None |
|
|
288
|
+
| device_id | string | No | Device id, optional, if not filled in, it will be automatically generated, if you need to customize the device id, please use the device information interface to get the device id. | None | None | None |
|
|
289
|
+
| iid | string | No | Device install id, optional, if not filled in, it will be automatically generated, if you need to customize the device iid, please use the device information interface to get the… | None | None | None |
|
|
290
|
+
| proxy | string | No | Proxy IP, optional, if not filled in, it will be automatically generated, if you need to customize the proxy IP, please use the proxy IP interface to get the proxy IP. | None | None | None |
|
|
291
|
+
|
|
292
|
+
#### Success Response
|
|
293
|
+
|
|
294
|
+
##### `200 application/json`
|
|
295
|
+
|
|
296
|
+
- Schema summary: `code`:integer, `request_id`:string, `message`:string, `message_zh`:string, `support`:string, `time`:string, `time_stamp`:integer, `time_zone`:string, ...
|
|
297
|
+
|
|
298
|
+
| Field | Type | Required | Description | Default | Example | Enum |
|
|
299
|
+
| --- | --- | --- | --- | --- | --- | --- |
|
|
300
|
+
| code | integer | No | HTTP status code \| HTTP状态码 | 200 | None | None |
|
|
301
|
+
| request_id | string | No | Unique request identifier \| 唯一请求标识符 | None | None | None |
|
|
302
|
+
| message | string | No | Response message (EN-US) \| 响应消息 (English) | Request successful. This request will incur a charge. | None | None |
|
|
303
|
+
| message_zh | string | No | Response message (ZH-CN) \| 响应消息 (中文) | 请求成功,本次请求将被计费。 | None | None |
|
|
304
|
+
| support | string | No | Support message \| 支持消息 | Discord: https://discord.gg/aMEAS8Xsvz | None | None |
|
|
305
|
+
| time | string | No | The time the response was generated \| 生成响应的时间 | None | None | None |
|
|
306
|
+
| time_stamp | integer | No | The timestamp the response was generated \| 生成响应的时间戳 | None | None | None |
|
|
307
|
+
| time_zone | string | No | The timezone of the response time \| 响应时间的时区 | America/Los_Angeles | None | None |
|
|
308
|
+
| docs | string | No | Link to the API Swagger documentation for this endpoint \| 此端点的 API Swagger 文档链接 | None | None | None |
|
|
309
|
+
| cache_message | string | No | Cache message (EN-US) \| 缓存消息 (English) | This request will be cached. You can access the cached result directly using th… | None | None |
|
|
310
|
+
| cache_message_zh | string | No | Cache message (ZH-CN) \| 缓存消息 (中文) | 本次请求将被缓存,你可以使用下面的 URL 直接访问缓存结果,有效期为 24 小时,访问缓存不会产生额外费用。 | None | None |
|
|
311
|
+
| cache_url | string | No | The URL to access the cached result \| 访问缓存结果的 URL | None | None | None |
|
|
312
|
+
| router | string | No | The endpoint that generated this response \| 生成此响应的端点 | None | None | None |
|
|
313
|
+
| params | dynamic object | No | The parameters used in the request \| 请求中使用的参数 | None | None | None |
|
|
314
|
+
| data | null | No | The response data \| 响应数据 | None | None | None |
|
|
315
|
+
|
|
316
|
+
<a id="post-api-u1-v1-tiktok-interaction-forward"></a>
|
|
317
|
+
### `POST /api/u1/v1/tiktok/interaction/forward`
|
|
318
|
+
|
|
319
|
+
- Summary: 转发/Forward
|
|
320
|
+
- Capabilities: general
|
|
321
|
+
- Auth: Header `Authorization: Bearer {token}`; docs also allow Cookie `Authorization` as fallback (`HTTPBearer`)
|
|
322
|
+
- operationId: `forward_api_v1_tiktok_interaction_forward_post`
|
|
323
|
+
|
|
324
|
+
#### Notes
|
|
325
|
+
|
|
326
|
+
> # [中文]
|
|
327
|
+
> ### 用途:
|
|
328
|
+
> - 使用用户Cookie转发指定作品,当前请尽可能使用美国地区的TikTok账号,并且在获取Cookie时请使用美国地区的代理IP。
|
|
329
|
+
> ### 注意:
|
|
330
|
+
> - 交互类接口都需要使用用户的Cookie,因此请确保你的Cookie是有效的,否则将无法正常请求。
|
|
331
|
+
> - 交互类的接口可能会导致账号异常或封禁,因此请谨慎使用,建议使用代理IP进行请求。
|
|
332
|
+
> - 交互类接口的最终结果可能会受到TikTok风控系统的影响,大多数情况跟你所使用的账号有关,比如新注册的账号可能无法关注用户或点赞视频,我们无法处理基于账号的风控问题。
|
|
333
|
+
> - 请不要使用交互类接口对他人造成骚扰,或进行违法违规的操作,否则我们将会停止对你的服务,并且所有责任由你自己承担。
|
|
334
|
+
> ### 参数:
|
|
335
|
+
> - aweme_id: 视频id,可以从分享链接中获取,例如:https://www.tiktok.com/@username/video/7419966340443819295
|
|
336
|
+
> - cookie: 用户Cookie,可以从浏览器中登录自己的TikTok账号,然后复制Cookie信息,提交时请使用URL编码Cookie字符串。
|
|
337
|
+
> - device_id: 设备id,可选,如果不填写则会自动生成,如果需要自定义设备id,请使用设备信息接口获取设备id。
|
|
338
|
+
> - iid: 设备安装id,可选,如果不填写则会自动生成,如果需要自定义设备iid,请使用设备信息接口获取设备iid。
|
|
339
|
+
> - proxy: 代理IP,可选,如果不填写则会使用服务器IP进行请求(不推荐),建议使用代理IP进行请求防止账号异常获被封禁,支持格式如下:
|
|
340
|
+
> - 代理IP:端口
|
|
341
|
+
> - 用户名:密码@代理IP:端口
|
|
342
|
+
> ### 返回:
|
|
343
|
+
> - 关注结果以及评论数据和设备信息,请自行保留设备信息,如请求时使用的`device_id`以及`iid`,以便后续调用接口时使用,频繁更换设备信息可能会导致账号异常或封禁。
|
|
344
|
+
>
|
|
345
|
+
> # [English]
|
|
346
|
+
> ### Purpose:
|
|
347
|
+
> - Forward a specified post using user cookies, please try to use TikTok accounts in the United States as much as possible, and use proxy IPs in the United States when obtaining cookies.
|
|
348
|
+
> ### Note:
|
|
349
|
+
> - Interactive interfaces all need to use the user's Cookie, so please make sure that your Cookie is valid, otherwise the request will not be made normally.
|
|
350
|
+
> - Interactive interfaces may cause account exceptions or bans, so please use them with caution, and it is recommended to use proxy IPs for requests.
|
|
351
|
+
> - The final result of the interactive interface may be affected by the TikTok risk control system, and in most cases it is related to the account you are using, for example, a newly registered account may not be able to follow users or like videos, and we cannot handle risk control issues based on accounts.
|
|
352
|
+
> - Please do not use interactive interfaces to harass others, or engage in illegal or irregular operations, otherwise we will stop providing services to you, and all responsibilities will be borne by you.
|
|
353
|
+
> ### Parameters:
|
|
354
|
+
> - aweme_id: Video id, which can be obtained from the sharing link, for example: https://www.tiktok.com/@username/video/7419966340443819295
|
|
355
|
+
> - sec_user_id: User sec_id, which can be obtained from the sub-interface `/api/v1/tiktok/web/get_sec_user_id`.
|
|
356
|
+
> - cookie: User Cookie, you can log in to your TikTok account in the browser and then copy the Cookie information, please use URL-encoded Cookie string when submitting.
|
|
357
|
+
> - device_id: Device id, optional, if not filled in, it will be automatically generated, if you need to customize the device id, please use the device information interface to get the device id.
|
|
358
|
+
> - iid: Device install id, optional, if not filled in, it will be automatically generated, if you need to customize the device iid, please use the device information interface to get the device iid.
|
|
359
|
+
> - proxy: Proxy IP, optional, if not filled in, the server IP will be used for the request (not recommended), it is recommended to use a proxy IP for the request to prevent account exceptions or bans, support the following formats:
|
|
360
|
+
> - Proxy IP:Port
|
|
361
|
+
> - Username:Password@Proxy IP:Port
|
|
362
|
+
> ### Return:
|
|
363
|
+
> - Follow results, comment data and device information, please keep the device information, such as the `device_id` and `iid` used when requesting, for subsequent calls to the interface, frequent replacement of device information may cause account exceptions or bans.
|
|
364
|
+
>
|
|
365
|
+
> # [示例/Example]
|
|
366
|
+
> ```python
|
|
367
|
+
> # Python Code
|
|
368
|
+
> cookie = urllib.parse.quote("Your_Cookie_From_Browser")
|
|
369
|
+
> payload = {
|
|
370
|
+
> "user_id": "6881290705605477381",
|
|
371
|
+
> "sec_user_id": "MS4wLjABAAAAqB08cUbXaDWqbD6MCga2RbGTuhfO2EsHayBYx08NDrN7IE3jQuRDNNN6YwyfH6_6",
|
|
372
|
+
> "cookie": cookie,
|
|
373
|
+
> "proxy": "",
|
|
374
|
+
> }
|
|
375
|
+
> ```
|
|
376
|
+
|
|
377
|
+
#### Parameters
|
|
378
|
+
|
|
379
|
+
None
|
|
380
|
+
|
|
381
|
+
#### Request Body
|
|
382
|
+
|
|
383
|
+
- required: Yes
|
|
384
|
+
|
|
385
|
+
##### `application/json`
|
|
386
|
+
|
|
387
|
+
- Schema summary: `aweme_id`:string, `cookie`:string, `device_id`:string, `iid`:string, `proxy`:string
|
|
388
|
+
|
|
389
|
+
| Field | Type | Required | Description | Default | Example | Enum |
|
|
390
|
+
| --- | --- | --- | --- | --- | --- | --- |
|
|
391
|
+
| aweme_id | string | No | Video ID, which can be obtained from the sharing link, for example: https://www.tiktok.com/@username/video/7419966340443819295 | 7419966340443819295 | None | None |
|
|
392
|
+
| cookie | string | No | User Cookie, you can log in to your TikTok account in the browser and then copy the Cookie information, please use URL-encoded Cookie string when submitting. | Your_Cookie_From_Browser | None | None |
|
|
393
|
+
| device_id | string | No | Device id, optional, if not filled in, it will be automatically generated, if you need to customize the device id, please use the device information interface to get the device id. | None | None | None |
|
|
394
|
+
| iid | string | No | Device install id, optional, if not filled in, it will be automatically generated, if you need to customize the device iid, please use the device information interface to get the… | None | None | None |
|
|
395
|
+
| proxy | string | No | Proxy IP, optional, if not filled in, it will be automatically generated, if you need to customize the proxy IP, please use the proxy IP interface to get the proxy IP. | None | None | None |
|
|
396
|
+
|
|
397
|
+
#### Success Response
|
|
398
|
+
|
|
399
|
+
##### `200 application/json`
|
|
400
|
+
|
|
401
|
+
- Schema summary: `code`:integer, `request_id`:string, `message`:string, `message_zh`:string, `support`:string, `time`:string, `time_stamp`:integer, `time_zone`:string, ...
|
|
402
|
+
|
|
403
|
+
| Field | Type | Required | Description | Default | Example | Enum |
|
|
404
|
+
| --- | --- | --- | --- | --- | --- | --- |
|
|
405
|
+
| code | integer | No | HTTP status code \| HTTP状态码 | 200 | None | None |
|
|
406
|
+
| request_id | string | No | Unique request identifier \| 唯一请求标识符 | None | None | None |
|
|
407
|
+
| message | string | No | Response message (EN-US) \| 响应消息 (English) | Request successful. This request will incur a charge. | None | None |
|
|
408
|
+
| message_zh | string | No | Response message (ZH-CN) \| 响应消息 (中文) | 请求成功,本次请求将被计费。 | None | None |
|
|
409
|
+
| support | string | No | Support message \| 支持消息 | Discord: https://discord.gg/aMEAS8Xsvz | None | None |
|
|
410
|
+
| time | string | No | The time the response was generated \| 生成响应的时间 | None | None | None |
|
|
411
|
+
| time_stamp | integer | No | The timestamp the response was generated \| 生成响应的时间戳 | None | None | None |
|
|
412
|
+
| time_zone | string | No | The timezone of the response time \| 响应时间的时区 | America/Los_Angeles | None | None |
|
|
413
|
+
| docs | string | No | Link to the API Swagger documentation for this endpoint \| 此端点的 API Swagger 文档链接 | None | None | None |
|
|
414
|
+
| cache_message | string | No | Cache message (EN-US) \| 缓存消息 (English) | This request will be cached. You can access the cached result directly using th… | None | None |
|
|
415
|
+
| cache_message_zh | string | No | Cache message (ZH-CN) \| 缓存消息 (中文) | 本次请求将被缓存,你可以使用下面的 URL 直接访问缓存结果,有效期为 24 小时,访问缓存不会产生额外费用。 | None | None |
|
|
416
|
+
| cache_url | string | No | The URL to access the cached result \| 访问缓存结果的 URL | None | None | None |
|
|
417
|
+
| router | string | No | The endpoint that generated this response \| 生成此响应的端点 | None | None | None |
|
|
418
|
+
| params | dynamic object | No | The parameters used in the request \| 请求中使用的参数 | None | None | None |
|
|
419
|
+
| data | null | No | The response data \| 响应数据 | None | None | None |
|
|
420
|
+
|
|
421
|
+
<a id="post-api-u1-v1-tiktok-interaction-like"></a>
|
|
422
|
+
### `POST /api/u1/v1/tiktok/interaction/like`
|
|
423
|
+
|
|
424
|
+
- Summary: 点赞/Like
|
|
425
|
+
- Capabilities: general
|
|
426
|
+
- Auth: Header `Authorization: Bearer {token}`; docs also allow Cookie `Authorization` as fallback (`HTTPBearer`)
|
|
427
|
+
- operationId: `like_api_v1_tiktok_interaction_like_post`
|
|
428
|
+
|
|
429
|
+
#### Notes
|
|
430
|
+
|
|
431
|
+
> # [中文]
|
|
432
|
+
> ### 用途:
|
|
433
|
+
> - 使用用户Cookie点赞指定视频,当前请尽可能使用美国地区的TikTok账号,并且在获取Cookie时请使用美国地区的代理IP。
|
|
434
|
+
> ### 注意:
|
|
435
|
+
> - 交互类接口都需要使用用户的Cookie,因此请确保你的Cookie是有效的,否则将无法正常请求。
|
|
436
|
+
> - 交互类的接口可能会导致账号异常或封禁,因此请谨慎使用,建议使用代理IP进行请求。
|
|
437
|
+
> - 交互类接口的最终结果可能会受到TikTok风控系统的影响,大多数情况跟你所使用的账号有关,比如新注册的账号可能无法关注用户或点赞视频,我们无法处理基于账号的风控问题。
|
|
438
|
+
> - 请不要使用交互类接口对他人造成骚扰,或进行违法违规的操作,否则我们将会停止对你的服务,并且所有责任由你自己承担。
|
|
439
|
+
> ### 参数:
|
|
440
|
+
> - aweme_id: 视频id,可以从分享链接中获取,例如:https://www.tiktok.com/@username/video/7419966340443819295
|
|
441
|
+
> - cookie: 用户Cookie,可以从浏览器中登录自己的TikTok账号,然后复制Cookie信息,提交时请使用URL编码Cookie字符串。
|
|
442
|
+
> - device_id: 设备id,可选,如果不填写则会自动生成,如果需要自定义设备id,请使用设备信息接口获取设备id。
|
|
443
|
+
> - iid: 设备安装id,可选,如果不填写则会自动生成,如果需要自定义设备iid,请使用设备信息接口获取设备iid。
|
|
444
|
+
> - proxy: 代理IP,可选,如果不填写则会使用服务器IP进行请求(不推荐),建议使用代理IP进行请求防止账号异常获被封禁,支持格式如下:
|
|
445
|
+
> - 代理IP:端口
|
|
446
|
+
> - 用户名:密码@代理IP:端口
|
|
447
|
+
> ### 返回:
|
|
448
|
+
> - 点赞结果以及评论数据和设备信息,请自行保留设备信息,如请求时使用的`device_id`以及`iid`,以便后续调用接口时使用,频繁更换设备信息可能会导致账号异常或封禁。
|
|
449
|
+
>
|
|
450
|
+
> # [English]
|
|
451
|
+
> ### Purpose:
|
|
452
|
+
> - Like a specified video using user cookies, please try to use TikTok accounts in the United States as much as possible, and use proxy IPs in the United States when obtaining cookies.
|
|
453
|
+
> ### Note:
|
|
454
|
+
> - Interactive interfaces all need to use the user's Cookie, so please make sure that your Cookie is valid, otherwise the request will not be made normally.
|
|
455
|
+
> - Interactive interfaces may cause account exceptions or bans, so please use them with caution, and it is recommended to use proxy IPs for requests.
|
|
456
|
+
> - The final result of the interactive interface may be affected by the TikTok risk control system, and in most cases it is related to the account you are using, for example, a newly registered account may not be able to follow users or like videos, and we cannot handle risk control issues based on accounts.
|
|
457
|
+
> - Please do not use interactive interfaces to harass others, or engage in illegal or irregular operations, otherwise we will stop providing services to you, and all responsibilities will be borne by you.
|
|
458
|
+
> ### Parameters:
|
|
459
|
+
> - aweme_id: Video id, which can be obtained from the sharing link, for example: https://www.tiktok.com/@username/video/7419966340443819295
|
|
460
|
+
> - cookie: User Cookie, you can log in to your TikTok account in the browser and then copy the Cookie information, please use URL-encoded Cookie string when submitting.
|
|
461
|
+
> - device_id: Device id, optional, if not filled in, it will be automatically generated, if you need to customize the device id, please use the device information interface to get the device id.
|
|
462
|
+
> - iid: Device install id, optional, if not filled in, it will be automatically generated, if you need to customize the device iid, please use the device information interface to get the device iid.
|
|
463
|
+
> - proxy: Proxy IP, optional, if not filled in, the server IP will be used for the request (not recommended), it is recommended to use a proxy IP for the request to prevent account exceptions or bans, support the following formats:
|
|
464
|
+
> - Proxy IP:Port
|
|
465
|
+
> - Username:Password@Proxy IP:Port
|
|
466
|
+
> ### Return:
|
|
467
|
+
> - Like results, comment data and device information, please keep the device information, such as the `device_id` and `iid` used when requesting, for subsequent calls to the interface, frequent replacement of device information may cause account exceptions or bans.
|
|
468
|
+
>
|
|
469
|
+
> # [示例/Example]
|
|
470
|
+
> ```python
|
|
471
|
+
> # Python Code
|
|
472
|
+
> cookie = urllib.parse.quote("Your_Cookie_From_Browser")
|
|
473
|
+
> payload = {
|
|
474
|
+
> "aweme_id": "7419966340443819295",
|
|
475
|
+
> "cookie": cookie,
|
|
476
|
+
> "proxy": "",
|
|
477
|
+
> }
|
|
478
|
+
> ```
|
|
479
|
+
|
|
480
|
+
#### Parameters
|
|
481
|
+
|
|
482
|
+
None
|
|
483
|
+
|
|
484
|
+
#### Request Body
|
|
485
|
+
|
|
486
|
+
- required: Yes
|
|
487
|
+
|
|
488
|
+
##### `application/json`
|
|
489
|
+
|
|
490
|
+
- Schema summary: `aweme_id`:string, `cookie`:string, `device_id`:string, `iid`:string, `proxy`:string
|
|
491
|
+
|
|
492
|
+
| Field | Type | Required | Description | Default | Example | Enum |
|
|
493
|
+
| --- | --- | --- | --- | --- | --- | --- |
|
|
494
|
+
| aweme_id | string | No | Video ID, which can be obtained from the sharing link, for example: https://www.tiktok.com/@username/video/7419966340443819295 | 7419966340443819295 | None | None |
|
|
495
|
+
| cookie | string | No | User Cookie, you can log in to your TikTok account in the browser and then copy the Cookie information, please use URL-encoded Cookie string when submitting. | Your_Cookie_From_Browser | None | None |
|
|
496
|
+
| device_id | string | No | Device id, optional, if not filled in, it will be automatically generated, if you need to customize the device id, please use the device information interface to get the device id. | None | None | None |
|
|
497
|
+
| iid | string | No | Device install id, optional, if not filled in, it will be automatically generated, if you need to customize the device iid, please use the device information interface to get the… | None | None | None |
|
|
498
|
+
| proxy | string | No | Proxy IP, optional, if not filled in, it will be automatically generated, if you need to customize the proxy IP, please use the proxy IP interface to get the proxy IP. | None | None | None |
|
|
499
|
+
|
|
500
|
+
#### Success Response
|
|
501
|
+
|
|
502
|
+
##### `200 application/json`
|
|
503
|
+
|
|
504
|
+
- Schema summary: `code`:integer, `request_id`:string, `message`:string, `message_zh`:string, `support`:string, `time`:string, `time_stamp`:integer, `time_zone`:string, ...
|
|
505
|
+
|
|
506
|
+
| Field | Type | Required | Description | Default | Example | Enum |
|
|
507
|
+
| --- | --- | --- | --- | --- | --- | --- |
|
|
508
|
+
| code | integer | No | HTTP status code \| HTTP状态码 | 200 | None | None |
|
|
509
|
+
| request_id | string | No | Unique request identifier \| 唯一请求标识符 | None | None | None |
|
|
510
|
+
| message | string | No | Response message (EN-US) \| 响应消息 (English) | Request successful. This request will incur a charge. | None | None |
|
|
511
|
+
| message_zh | string | No | Response message (ZH-CN) \| 响应消息 (中文) | 请求成功,本次请求将被计费。 | None | None |
|
|
512
|
+
| support | string | No | Support message \| 支持消息 | Discord: https://discord.gg/aMEAS8Xsvz | None | None |
|
|
513
|
+
| time | string | No | The time the response was generated \| 生成响应的时间 | None | None | None |
|
|
514
|
+
| time_stamp | integer | No | The timestamp the response was generated \| 生成响应的时间戳 | None | None | None |
|
|
515
|
+
| time_zone | string | No | The timezone of the response time \| 响应时间的时区 | America/Los_Angeles | None | None |
|
|
516
|
+
| docs | string | No | Link to the API Swagger documentation for this endpoint \| 此端点的 API Swagger 文档链接 | None | None | None |
|
|
517
|
+
| cache_message | string | No | Cache message (EN-US) \| 缓存消息 (English) | This request will be cached. You can access the cached result directly using th… | None | None |
|
|
518
|
+
| cache_message_zh | string | No | Cache message (ZH-CN) \| 缓存消息 (中文) | 本次请求将被缓存,你可以使用下面的 URL 直接访问缓存结果,有效期为 24 小时,访问缓存不会产生额外费用。 | None | None |
|
|
519
|
+
| cache_url | string | No | The URL to access the cached result \| 访问缓存结果的 URL | None | None | None |
|
|
520
|
+
| router | string | No | The endpoint that generated this response \| 生成此响应的端点 | None | None | None |
|
|
521
|
+
| params | dynamic object | No | The parameters used in the request \| 请求中使用的参数 | None | None | None |
|
|
522
|
+
| data | null | No | The response data \| 响应数据 | None | None | None |
|
|
523
|
+
|
|
524
|
+
<a id="post-api-u1-v1-tiktok-interaction-post-comment"></a>
|
|
525
|
+
### `POST /api/u1/v1/tiktok/interaction/post_comment`
|
|
526
|
+
|
|
527
|
+
- Summary: 发送评论/Post comment
|
|
528
|
+
- Capabilities: comments / content details
|
|
529
|
+
- Auth: Header `Authorization: Bearer {token}`; docs also allow Cookie `Authorization` as fallback (`HTTPBearer`)
|
|
530
|
+
- operationId: `post_comment_api_v1_tiktok_interaction_post_comment_post`
|
|
531
|
+
|
|
532
|
+
#### Notes
|
|
533
|
+
|
|
534
|
+
> # [中文]
|
|
535
|
+
> ### 用途:
|
|
536
|
+
> - 使用用户Cookie发送评论到指定视频,当前请尽可能使用美国地区的TikTok账号,并且在获取Cookie时请使用美国地区的代理IP。
|
|
537
|
+
> ### 注意:
|
|
538
|
+
> - 交互类接口都需要使用用户的Cookie,因此请确保你的Cookie是有效的,否则将无法正常请求。
|
|
539
|
+
> - 交互类的接口可能会导致账号异常或封禁,因此请谨慎使用,建议使用代理IP进行请求。
|
|
540
|
+
> - 交互类接口的最终结果可能会受到TikTok风控系统的影响,大多数情况跟你所使用的账号有关,比如新注册的账号可能无法关注用户或点赞视频,我们无法处理基于账号的风控问题。
|
|
541
|
+
> - 请不要使用交互类接口对他人造成骚扰,或进行违法违规的操作,否则我们将会停止对你的服务,并且所有责任由你自己承担。
|
|
542
|
+
> ### 参数:
|
|
543
|
+
> - aweme_id: 视频id,可以从分享链接中获取,例如:https://www.tiktok.com/@username/video/7419966340443819295
|
|
544
|
+
> - text: 评论内容,TikTok评论内容需要符合规范,不要带有违规的关键词,否则即使请求成功也会被系统判定为垃圾评论从而不被展示,提交时请使用URL编码评论字符串。
|
|
545
|
+
> - cookie: 用户Cookie,可以从浏览器中登录自己的TikTok账号,然后复制Cookie信息,提交时请使用URL编码Cookie字符串。
|
|
546
|
+
> - device_id: 设备id,可选,如果不填写则会自动生成,如果需要自定义设备id,请使用设备信息接口获取设备id。
|
|
547
|
+
> - iid: 设备安装id,可选,如果不填写则会自动生成,如果需要自定义设备iid,请使用设备信息接口获取设备iid。
|
|
548
|
+
> - proxy: 代理IP,可选,如果不填写则会使用服务器IP进行请求(不推荐),建议使用代理IP进行请求防止账号异常获被封禁,支持格式如下:
|
|
549
|
+
> - 代理IP:端口
|
|
550
|
+
> - 用户名:密码@代理IP:端口
|
|
551
|
+
> ### 返回:
|
|
552
|
+
> - 发送评论结果以及评论数据和设备信息,请自行保留设备信息,如请求时使用的`device_id`以及`iid`,以便后续调用接口时使用,频繁更换设备信息可能会导致账号异常或封禁。
|
|
553
|
+
>
|
|
554
|
+
> # [English]
|
|
555
|
+
> ### Purpose:
|
|
556
|
+
> - Post comments to the specified video using user cookies, please try to use TikTok accounts in the United States as much as possible, and use proxy IPs in the United States when obtaining cookies.
|
|
557
|
+
> ### Note:
|
|
558
|
+
> - Interactive interfaces all need to use the user's Cookie, so please make sure that your Cookie is valid, otherwise the request will not be made normally.
|
|
559
|
+
> - Interactive interfaces may cause account exceptions or bans, so please use them with caution, and it is recommended to use proxy IPs for requests.
|
|
560
|
+
> - The final result of the interactive interface may be affected by the TikTok risk control system, and in most cases it is related to the account you are using, for example, a newly registered account may not be able to follow users or like videos, and we cannot handle risk control issues based on accounts.
|
|
561
|
+
> - Please do not use interactive interfaces to harass others, or engage in illegal or irregular operations, otherwise we will stop providing services to you, and all responsibilities will be borne by you.
|
|
562
|
+
> ### Parameters:
|
|
563
|
+
> - aweme_id: Video id, which can be obtained from the sharing link, for example: https://www.tiktok.com/@username/video/7419966340443819295
|
|
564
|
+
> - text: Comment content, TikTok comment content needs to comply with the specifications, do not contain illegal keywords, otherwise, even if the request is successful, it will be judged as spam comments by the system and will not be displayed, please use URL-encoded comment string when submitting.
|
|
565
|
+
> - cookie: User Cookie, you can log in to your TikTok account in the browser and then copy the Cookie information, please use URL-encoded Cookie string when submitting.
|
|
566
|
+
> - device_id: Device id, optional, if not filled in, it will be automatically generated, if you need to customize the device id, please use the device information interface to get the device id.
|
|
567
|
+
> - iid: Device install id, optional, if not filled in, it will be automatically generated, if you need to customize the device iid, please use the device information interface to get the device iid.
|
|
568
|
+
> - proxy: Proxy IP, optional, if not filled in, the server IP will be used for the request (not recommended), it is recommended to use a proxy IP for the request to prevent account exceptions or bans, support the following formats:
|
|
569
|
+
> - Proxy IP:Port
|
|
570
|
+
> - Username:Password@Proxy IP:Port
|
|
571
|
+
> ### Return:
|
|
572
|
+
> - Post comment results, comment data and device information, please keep the device information, such as the `device_id` and `iid` used when requesting, for subsequent calls to the interface, frequent replacement of device information may cause account exceptions or bans.
|
|
573
|
+
>
|
|
574
|
+
> # [示例/Example]
|
|
575
|
+
> ```python
|
|
576
|
+
> # Python Code
|
|
577
|
+
> text = urllib.parse.quote("Hello, TikTok!")
|
|
578
|
+
> cookie = urllib.parse.quote("Your_Cookie_From_Browser")
|
|
579
|
+
> payload = {
|
|
580
|
+
> "aweme_id": "7419966340443819295",
|
|
581
|
+
> "text": text,
|
|
582
|
+
> "cookie": cookie,
|
|
583
|
+
> "proxy": "",
|
|
584
|
+
> }
|
|
585
|
+
> ```
|
|
586
|
+
|
|
587
|
+
#### Parameters
|
|
588
|
+
|
|
589
|
+
None
|
|
590
|
+
|
|
591
|
+
#### Request Body
|
|
592
|
+
|
|
593
|
+
- required: Yes
|
|
594
|
+
|
|
595
|
+
##### `application/json`
|
|
596
|
+
|
|
597
|
+
- Schema summary: `aweme_id`:string, `text`:string, `cookie`:string, `device_id`:string, `iid`:string, `proxy`:string
|
|
598
|
+
|
|
599
|
+
| Field | Type | Required | Description | Default | Example | Enum |
|
|
600
|
+
| --- | --- | --- | --- | --- | --- | --- |
|
|
601
|
+
| aweme_id | string | No | Video ID, which can be obtained from the sharing link, for example: https://www.tiktok.com/@username/video/7419966340443819295 | 7419966340443819295 | None | None |
|
|
602
|
+
| text | string | No | Comment content, TikTok comment content needs to comply with the specifications, do not contain illegal keywords, otherwise, even if the request is successful, it will be judged a… | Hello, TikTok! | None | None |
|
|
603
|
+
| cookie | string | No | User Cookie, you can log in to your TikTok account in the browser and then copy the Cookie information, please use URL-encoded Cookie string when submitting. | Your_Cookie_From_Browser | None | None |
|
|
604
|
+
| device_id | string | No | Device id, optional, if not filled in, it will be automatically generated, if you need to customize the device id, please use the device information interface to get the device id. | None | None | None |
|
|
605
|
+
| iid | string | No | Device install id, optional, if not filled in, it will be automatically generated, if you need to customize the device iid, please use the device information interface to get the… | None | None | None |
|
|
606
|
+
| proxy | string | No | Proxy IP, optional, if not filled in, it will be automatically generated, if you need to customize the proxy IP, please use the proxy IP interface to get the proxy IP. | None | None | None |
|
|
607
|
+
|
|
608
|
+
#### Success Response
|
|
609
|
+
|
|
610
|
+
##### `200 application/json`
|
|
611
|
+
|
|
612
|
+
- Schema summary: `code`:integer, `request_id`:string, `message`:string, `message_zh`:string, `support`:string, `time`:string, `time_stamp`:integer, `time_zone`:string, ...
|
|
613
|
+
|
|
614
|
+
| Field | Type | Required | Description | Default | Example | Enum |
|
|
615
|
+
| --- | --- | --- | --- | --- | --- | --- |
|
|
616
|
+
| code | integer | No | HTTP status code \| HTTP状态码 | 200 | None | None |
|
|
617
|
+
| request_id | string | No | Unique request identifier \| 唯一请求标识符 | None | None | None |
|
|
618
|
+
| message | string | No | Response message (EN-US) \| 响应消息 (English) | Request successful. This request will incur a charge. | None | None |
|
|
619
|
+
| message_zh | string | No | Response message (ZH-CN) \| 响应消息 (中文) | 请求成功,本次请求将被计费。 | None | None |
|
|
620
|
+
| support | string | No | Support message \| 支持消息 | Discord: https://discord.gg/aMEAS8Xsvz | None | None |
|
|
621
|
+
| time | string | No | The time the response was generated \| 生成响应的时间 | None | None | None |
|
|
622
|
+
| time_stamp | integer | No | The timestamp the response was generated \| 生成响应的时间戳 | None | None | None |
|
|
623
|
+
| time_zone | string | No | The timezone of the response time \| 响应时间的时区 | America/Los_Angeles | None | None |
|
|
624
|
+
| docs | string | No | Link to the API Swagger documentation for this endpoint \| 此端点的 API Swagger 文档链接 | None | None | None |
|
|
625
|
+
| cache_message | string | No | Cache message (EN-US) \| 缓存消息 (English) | This request will be cached. You can access the cached result directly using th… | None | None |
|
|
626
|
+
| cache_message_zh | string | No | Cache message (ZH-CN) \| 缓存消息 (中文) | 本次请求将被缓存,你可以使用下面的 URL 直接访问缓存结果,有效期为 24 小时,访问缓存不会产生额外费用。 | None | None |
|
|
627
|
+
| cache_url | string | No | The URL to access the cached result \| 访问缓存结果的 URL | None | None | None |
|
|
628
|
+
| router | string | No | The endpoint that generated this response \| 生成此响应的端点 | None | None | None |
|
|
629
|
+
| params | dynamic object | No | The parameters used in the request \| 请求中使用的参数 | None | None | None |
|
|
630
|
+
| data | null | No | The response data \| 响应数据 | None | None | None |
|
|
631
|
+
|
|
632
|
+
<a id="post-api-u1-v1-tiktok-interaction-reply-comment"></a>
|
|
633
|
+
### `POST /api/u1/v1/tiktok/interaction/reply_comment`
|
|
634
|
+
|
|
635
|
+
- Summary: 回复评论/Reply to comment
|
|
636
|
+
- Capabilities: comments / comment replies
|
|
637
|
+
- Auth: Header `Authorization: Bearer {token}`; docs also allow Cookie `Authorization` as fallback (`HTTPBearer`)
|
|
638
|
+
- operationId: `reply_comment_api_v1_tiktok_interaction_reply_comment_post`
|
|
639
|
+
|
|
640
|
+
#### Notes
|
|
641
|
+
|
|
642
|
+
> # [中文]
|
|
643
|
+
> ### 用途:
|
|
644
|
+
> - 使用用户Cookie回复指定视频的一个评论,当前请尽可能使用美国地区的TikTok账号,并且在获取Cookie时请使用美国地区的代理IP。
|
|
645
|
+
> ### 注意:
|
|
646
|
+
> - 交互类接口都需要使用用户的Cookie,因此请确保你的Cookie是有效的,否则将无法正常请求。
|
|
647
|
+
> - 交互类的接口可能会导致账号异常或封禁,因此请谨慎使用,建议使用代理IP进行请求。
|
|
648
|
+
> - 交互类接口的最终结果可能会受到TikTok风控系统的影响,大多数情况跟你所使用的账号有关,比如新注册的账号可能无法关注用户或点赞视频,我们无法处理基于账号的风控问题。
|
|
649
|
+
> - 请不要使用交互类接口对他人造成骚扰,或进行违法违规的操作,否则我们将会停止对你的服务,并且所有责任由你自己承担。
|
|
650
|
+
> ### 参数:
|
|
651
|
+
> - aweme_id: 视频id,可以从分享链接中获取,例如:https://www.tiktok.com/@username/video/7419966340443819295
|
|
652
|
+
> - reply_id: 要回复的目标评论ID,可以从指定视频的评论数据接口中获取,通常关键字为`cid`或`comment_id`或`reply_id`。
|
|
653
|
+
> - text: 评论内容,TikTok评论内容需要符合规范,不要带有违规的关键词,否则即使请求成功也会被系统判定为垃圾评论从而不被展示,提交时请使用URL编码评论字符串。
|
|
654
|
+
> - cookie: 用户Cookie,可以从浏览器中登录自己的TikTok账号,然后复制Cookie信息,提交时请使用URL编码Cookie字符串。
|
|
655
|
+
> - device_id: 设备id,可选,如果不填写则会自动生成,如果需要自定义设备id,请使用设备信息接口获取设备id。
|
|
656
|
+
> - iid: 设备安装id,可选,如果不填写则会自动生成,如果需要自定义设备iid,请使用设备信息接口获取设备iid。
|
|
657
|
+
> - proxy: 代理IP,可选,如果不填写则会使用服务器IP进行请求(不推荐),建议使用代理IP进行请求防止账号异常获被封禁,支持格式如下:
|
|
658
|
+
> - 代理IP:端口
|
|
659
|
+
> - 用户名:密码@代理IP:端口
|
|
660
|
+
> ### 返回:
|
|
661
|
+
> - 回复评论结果以及评论数据和设备信息,请自行保留设备信息,如请求时使用的`device_id`以及`iid`,以便后续调用接口时使用,频繁更换设备信息可能会导致账号异常或封禁。
|
|
662
|
+
>
|
|
663
|
+
> # [English]
|
|
664
|
+
> ### Purpose:
|
|
665
|
+
> - Reply to a comment on a specified video using user cookies, please try to use TikTok accounts in the United States as much as possible, and use proxy IPs in the United States when obtaining cookies.
|
|
666
|
+
> ### Note:
|
|
667
|
+
> - Interactive interfaces all need to use the user's Cookie, so please make sure that your Cookie is valid, otherwise the request will not be made normally.
|
|
668
|
+
> - Interactive interfaces may cause account exceptions or bans, so please use them with caution, and it is recommended to use proxy IPs for requests.
|
|
669
|
+
> - The final result of the interactive interface may be affected by the TikTok risk control system, and in most cases it is related to the account you are using, for example, a newly registered account may not be able to follow users or like videos, and we cannot handle risk control issues based on accounts.
|
|
670
|
+
> - Please do not use interactive interfaces to harass others, or engage in illegal or irregular operations, otherwise we will stop providing services to you, and all responsibilities will be borne by you.
|
|
671
|
+
> ### Parameters:
|
|
672
|
+
> - aweme_id: Video id, which can be obtained from the sharing link, for example: https://www.tiktok.com/@username/video/7419966340443819295
|
|
673
|
+
> - reply_id: The target comment ID to reply to, which can be obtained from the comment data interface of the specified video, usually the keyword is `cid` or `comment_id` or `reply_id`.
|
|
674
|
+
> - text: Comment content, TikTok comment content needs to comply with the specifications, do not contain illegal keywords, otherwise, even if the request is successful, it will be judged as spam comments by the system and will not be displayed, please use URL-encoded comment string when submitting.
|
|
675
|
+
> - cookie: User Cookie, you can log in to your TikTok account in the browser and then copy the Cookie information, please use URL-encoded Cookie string when submitting.
|
|
676
|
+
> - device_id: Device id, optional, if not filled in, it will be automatically generated, if you need to customize the device id, please use the device information interface to get the device id.
|
|
677
|
+
> - iid: Device install id, optional, if not filled in, it will be automatically generated, if you need to customize the device iid, please use the device information interface to get the device iid.
|
|
678
|
+
> - proxy: Proxy IP, optional, if not filled in, the server IP will be used for the request (not recommended), it is recommended to use a proxy IP for the request to prevent account exceptions or bans, support the following formats:
|
|
679
|
+
> - Proxy IP:Port
|
|
680
|
+
> - Username:Password@Proxy IP:Port
|
|
681
|
+
> ### Return:
|
|
682
|
+
> - Reply comment results, comment data and device information, please keep the device information, such as the `device_id` and `iid` used when requesting, for subsequent calls to the interface, frequent replacement of device information may cause account exceptions or bans.
|
|
683
|
+
>
|
|
684
|
+
> # [示例/Example]
|
|
685
|
+
> ```python
|
|
686
|
+
> # Python Code
|
|
687
|
+
> text = urllib.parse.quote("Hello, TikTok!")
|
|
688
|
+
> cookie = urllib.parse.quote("Your_Cookie_From_Browser")
|
|
689
|
+
> payload = {
|
|
690
|
+
> "aweme_id": "7419966340443819295",
|
|
691
|
+
> "reply_id": "7420673787547419435",
|
|
692
|
+
> "text": text,
|
|
693
|
+
> "cookie": cookie,
|
|
694
|
+
> "proxy": "",
|
|
695
|
+
> }
|
|
696
|
+
> ```
|
|
697
|
+
|
|
698
|
+
#### Parameters
|
|
699
|
+
|
|
700
|
+
None
|
|
701
|
+
|
|
702
|
+
#### Request Body
|
|
703
|
+
|
|
704
|
+
- required: Yes
|
|
705
|
+
|
|
706
|
+
##### `application/json`
|
|
707
|
+
|
|
708
|
+
- Schema summary: `aweme_id`:string, `reply_id`:string, `text`:string, `cookie`:string, `device_id`:string, `iid`:string, `proxy`:string
|
|
709
|
+
|
|
710
|
+
| Field | Type | Required | Description | Default | Example | Enum |
|
|
711
|
+
| --- | --- | --- | --- | --- | --- | --- |
|
|
712
|
+
| aweme_id | string | No | Video ID, which can be obtained from the sharing link, for example: https://www.tiktok.com/@username/video/7419966340443819295 | 7419966340443819295 | None | None |
|
|
713
|
+
| reply_id | string | No | Comment ID, which can be obtained from the comment data of the specified video. | 7420673787547419435 | None | None |
|
|
714
|
+
| text | string | No | Comment content, TikTok comment content needs to comply with the specifications, do not contain illegal keywords, otherwise, even if the request is successful, it will be judged a… | Hello, TikTok! | None | None |
|
|
715
|
+
| cookie | string | No | User Cookie, you can log in to your TikTok account in the browser and then copy the Cookie information, please use URL-encoded Cookie string when submitting. | Your_Cookie_From_Browser | None | None |
|
|
716
|
+
| device_id | string | No | Device id, optional, if not filled in, it will be automatically generated, if you need to customize the device id, please use the device information interface to get the device id. | None | None | None |
|
|
717
|
+
| iid | string | No | Device install id, optional, if not filled in, it will be automatically generated, if you need to customize the device iid, please use the device information interface to get the… | None | None | None |
|
|
718
|
+
| proxy | string | No | Proxy IP, optional, if not filled in, it will be automatically generated, if you need to customize the proxy IP, please use the proxy IP interface to get the proxy IP. | None | None | None |
|
|
719
|
+
|
|
720
|
+
#### Success Response
|
|
721
|
+
|
|
722
|
+
##### `200 application/json`
|
|
723
|
+
|
|
724
|
+
- Schema summary: `code`:integer, `request_id`:string, `message`:string, `message_zh`:string, `support`:string, `time`:string, `time_stamp`:integer, `time_zone`:string, ...
|
|
725
|
+
|
|
726
|
+
| Field | Type | Required | Description | Default | Example | Enum |
|
|
727
|
+
| --- | --- | --- | --- | --- | --- | --- |
|
|
728
|
+
| code | integer | No | HTTP status code \| HTTP状态码 | 200 | None | None |
|
|
729
|
+
| request_id | string | No | Unique request identifier \| 唯一请求标识符 | None | None | None |
|
|
730
|
+
| message | string | No | Response message (EN-US) \| 响应消息 (English) | Request successful. This request will incur a charge. | None | None |
|
|
731
|
+
| message_zh | string | No | Response message (ZH-CN) \| 响应消息 (中文) | 请求成功,本次请求将被计费。 | None | None |
|
|
732
|
+
| support | string | No | Support message \| 支持消息 | Discord: https://discord.gg/aMEAS8Xsvz | None | None |
|
|
733
|
+
| time | string | No | The time the response was generated \| 生成响应的时间 | None | None | None |
|
|
734
|
+
| time_stamp | integer | No | The timestamp the response was generated \| 生成响应的时间戳 | None | None | None |
|
|
735
|
+
| time_zone | string | No | The timezone of the response time \| 响应时间的时区 | America/Los_Angeles | None | None |
|
|
736
|
+
| docs | string | No | Link to the API Swagger documentation for this endpoint \| 此端点的 API Swagger 文档链接 | None | None | None |
|
|
737
|
+
| cache_message | string | No | Cache message (EN-US) \| 缓存消息 (English) | This request will be cached. You can access the cached result directly using th… | None | None |
|
|
738
|
+
| cache_message_zh | string | No | Cache message (ZH-CN) \| 缓存消息 (中文) | 本次请求将被缓存,你可以使用下面的 URL 直接访问缓存结果,有效期为 24 小时,访问缓存不会产生额外费用。 | None | None |
|
|
739
|
+
| cache_url | string | No | The URL to access the cached result \| 访问缓存结果的 URL | None | None | None |
|
|
740
|
+
| router | string | No | The endpoint that generated this response \| 生成此响应的端点 | None | None | None |
|
|
741
|
+
| params | dynamic object | No | The parameters used in the request \| 请求中使用的参数 | None | None | None |
|
|
742
|
+
| data | null | No | The response data \| 响应数据 | None | None | None |
|