@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,2459 @@
|
|
|
1
|
+
# Weibo-Web-V2-API Full Contract
|
|
2
|
+
|
|
3
|
+
- Back to index: [`api-capability-index.md`](../api-capability-index.md)
|
|
4
|
+
- Back to route summary: [`api-tags/weibo-web-v2-api.md`](../api-tags/weibo-web-v2-api.md)
|
|
5
|
+
- Current contract file: `api-contracts/weibo-web-v2-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: `33`
|
|
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: **(新浪微博 Web V2 数据接口/Weibo-Web-V2-API data endpoints)**
|
|
12
|
+
|
|
13
|
+
## Route Contracts
|
|
14
|
+
|
|
15
|
+
<a id="get-api-u1-v1-weibo-web-v2-check-allow-comment-with-pic"></a>
|
|
16
|
+
### `GET /api/u1/v1/weibo/web_v2/check_allow_comment_with_pic`
|
|
17
|
+
|
|
18
|
+
- Summary: 检查微博是否允许带图评论/Check if Weibo allows image comments
|
|
19
|
+
- Capabilities: comments
|
|
20
|
+
- Auth: Header `Authorization: Bearer {token}`; docs also allow Cookie `Authorization` as fallback (`HTTPBearer`)
|
|
21
|
+
- operationId: `check_allow_comment_with_pic_api_v1_weibo_web_v2_check_allow_comment_with_pic_get`
|
|
22
|
+
|
|
23
|
+
#### Notes
|
|
24
|
+
|
|
25
|
+
> # [中文]
|
|
26
|
+
> ### 用途:
|
|
27
|
+
> - 检查指定微博是否允许用户在评论时上传图片。
|
|
28
|
+
> ### 参数:
|
|
29
|
+
> - id: 微博ID(必填)
|
|
30
|
+
> ### 返回:
|
|
31
|
+
> - result: true表示允许带图评论,false表示不允许
|
|
32
|
+
> ### 注意:
|
|
33
|
+
> - 不同微博的图片评论权限可能不同
|
|
34
|
+
>
|
|
35
|
+
> # [English]
|
|
36
|
+
> ### Purpose:
|
|
37
|
+
> - Check if a specific Weibo post allows image comments.
|
|
38
|
+
> ### Parameters:
|
|
39
|
+
> - id: Weibo post ID (required)
|
|
40
|
+
> ### Return:
|
|
41
|
+
> - result: true means image comments allowed, false means not allowed
|
|
42
|
+
> ### Note:
|
|
43
|
+
> - Different posts may have different image comment permissions
|
|
44
|
+
>
|
|
45
|
+
> # [示例/Example]
|
|
46
|
+
> id = "5092682368025584"
|
|
47
|
+
|
|
48
|
+
#### Parameters
|
|
49
|
+
|
|
50
|
+
| Field | In | Type | Required | Description | Default | Example | Enum |
|
|
51
|
+
| --- | --- | --- | --- | --- | --- | --- | --- |
|
|
52
|
+
| id | query | string | Yes | 微博ID/Weibo ID | None | 5092682368025584 | None |
|
|
53
|
+
|
|
54
|
+
#### Request Body
|
|
55
|
+
|
|
56
|
+
None
|
|
57
|
+
|
|
58
|
+
#### Success Response
|
|
59
|
+
|
|
60
|
+
##### `200 application/json`
|
|
61
|
+
|
|
62
|
+
- Schema summary: `code`:integer, `request_id`:string, `message`:string, `message_zh`:string, `support`:string, `time`:string, `time_stamp`:integer, `time_zone`:string, ...
|
|
63
|
+
|
|
64
|
+
| Field | Type | Required | Description | Default | Example | Enum |
|
|
65
|
+
| --- | --- | --- | --- | --- | --- | --- |
|
|
66
|
+
| code | integer | No | HTTP status code \| HTTP状态码 | 200 | None | None |
|
|
67
|
+
| request_id | string | No | Unique request identifier \| 唯一请求标识符 | None | None | None |
|
|
68
|
+
| message | string | No | Response message (EN-US) \| 响应消息 (English) | Request successful. This request will incur a charge. | None | None |
|
|
69
|
+
| message_zh | string | No | Response message (ZH-CN) \| 响应消息 (中文) | 请求成功,本次请求将被计费。 | None | None |
|
|
70
|
+
| support | string | No | Support message \| 支持消息 | Discord: https://discord.gg/aMEAS8Xsvz | None | None |
|
|
71
|
+
| time | string | No | The time the response was generated \| 生成响应的时间 | None | None | None |
|
|
72
|
+
| time_stamp | integer | No | The timestamp the response was generated \| 生成响应的时间戳 | None | None | None |
|
|
73
|
+
| time_zone | string | No | The timezone of the response time \| 响应时间的时区 | America/Los_Angeles | None | None |
|
|
74
|
+
| docs | string | No | Link to the API Swagger documentation for this endpoint \| 此端点的 API Swagger 文档链接 | None | None | None |
|
|
75
|
+
| 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 |
|
|
76
|
+
| cache_message_zh | string | No | Cache message (ZH-CN) \| 缓存消息 (中文) | 本次请求将被缓存,你可以使用下面的 URL 直接访问缓存结果,有效期为 24 小时,访问缓存不会产生额外费用。 | None | None |
|
|
77
|
+
| cache_url | string | No | The URL to access the cached result \| 访问缓存结果的 URL | None | None | None |
|
|
78
|
+
| router | string | No | The endpoint that generated this response \| 生成此响应的端点 | None | None | None |
|
|
79
|
+
| params | dynamic object | No | The parameters used in the request \| 请求中使用的参数 | None | None | None |
|
|
80
|
+
| data | null | No | The response data \| 响应数据 | None | None | None |
|
|
81
|
+
|
|
82
|
+
<a id="get-api-u1-v1-weibo-web-v2-fetch-advanced-search"></a>
|
|
83
|
+
### `GET /api/u1/v1/weibo/web_v2/fetch_advanced_search`
|
|
84
|
+
|
|
85
|
+
- Summary: 微博高级搜索/Weibo Advanced Search
|
|
86
|
+
- Capabilities: search
|
|
87
|
+
- Auth: Header `Authorization: Bearer {token}`; docs also allow Cookie `Authorization` as fallback (`HTTPBearer`)
|
|
88
|
+
- operationId: `fetch_advanced_search_api_v1_weibo_web_v2_fetch_advanced_search_get`
|
|
89
|
+
|
|
90
|
+
#### Notes
|
|
91
|
+
|
|
92
|
+
> # [中文]
|
|
93
|
+
> ### 用途:
|
|
94
|
+
> - 微博高级搜索,支持多维度筛选。
|
|
95
|
+
> ### 参数:
|
|
96
|
+
> - q: 搜索关键词(必填)
|
|
97
|
+
> - search_type: 搜索类型(all/hot/original/verified/media/viewpoint)
|
|
98
|
+
> - include_type: 包含类型(all/pic/video/music/link)
|
|
99
|
+
> - timescope: 时间范围(格式: custom:开始日期:结束日期,如 custom:2025-09-01-0:2025-09-08-23)
|
|
100
|
+
> - page: 页码(默认1)
|
|
101
|
+
> ### 返回:
|
|
102
|
+
> - 搜索结果列表,包含微博内容、作者信息、图片、视频、互动数据等
|
|
103
|
+
> ### 注意:
|
|
104
|
+
> - 视频播放需设置请求头 Referer=https://weibo.com/
|
|
105
|
+
>
|
|
106
|
+
> # [English]
|
|
107
|
+
> ### Purpose:
|
|
108
|
+
> - Weibo advanced search with multi-dimensional filtering.
|
|
109
|
+
> ### Parameters:
|
|
110
|
+
> - q: Search keyword (required)
|
|
111
|
+
> - search_type: Search type (all/hot/original/verified/media/viewpoint)
|
|
112
|
+
> - include_type: Include type (all/pic/video/music/link)
|
|
113
|
+
> - timescope: Time scope (format: custom:start_date:end_date, e.g. custom:2025-09-01-0:2025-09-08-23)
|
|
114
|
+
> - page: Page number (default 1)
|
|
115
|
+
> ### Return:
|
|
116
|
+
> - Search result list, including post content, author info, images, videos, interaction data
|
|
117
|
+
> ### Note:
|
|
118
|
+
> - Video playback requires setting header Referer=https://weibo.com/
|
|
119
|
+
>
|
|
120
|
+
> # [示例/Example]
|
|
121
|
+
> q = "python"
|
|
122
|
+
> search_type = "hot"
|
|
123
|
+
> include_type = "pic"
|
|
124
|
+
> page = 1
|
|
125
|
+
|
|
126
|
+
#### Parameters
|
|
127
|
+
|
|
128
|
+
| Field | In | Type | Required | Description | Default | Example | Enum |
|
|
129
|
+
| --- | --- | --- | --- | --- | --- | --- | --- |
|
|
130
|
+
| q | query | string | Yes | 搜索关键词/Search keyword | None | yu7 | None |
|
|
131
|
+
| search_type | query | string | No | 搜索类型/Search type: all(全部), hot(热门), original(原创), verified(认证用户), media(媒体), viewpoint(观点) | None | hot | None |
|
|
132
|
+
| include_type | query | string | No | 包含类型/Include type: all(全部), pic(含图片), video(含视频), music(含音乐), link(含短链) | None | pic | None |
|
|
133
|
+
| timescope | query | string | No | 时间范围/Time scope (custom:start:end) | None | custom:2025-09-01-0:2025-09-08-23 | None |
|
|
134
|
+
| page | query | integer | No | 页码/Page number | 1 | 1 | None |
|
|
135
|
+
|
|
136
|
+
#### Request Body
|
|
137
|
+
|
|
138
|
+
None
|
|
139
|
+
|
|
140
|
+
#### Success Response
|
|
141
|
+
|
|
142
|
+
##### `200 application/json`
|
|
143
|
+
|
|
144
|
+
- Schema summary: `code`:integer, `request_id`:string, `message`:string, `message_zh`:string, `support`:string, `time`:string, `time_stamp`:integer, `time_zone`:string, ...
|
|
145
|
+
|
|
146
|
+
| Field | Type | Required | Description | Default | Example | Enum |
|
|
147
|
+
| --- | --- | --- | --- | --- | --- | --- |
|
|
148
|
+
| code | integer | No | HTTP status code \| HTTP状态码 | 200 | None | None |
|
|
149
|
+
| request_id | string | No | Unique request identifier \| 唯一请求标识符 | None | None | None |
|
|
150
|
+
| message | string | No | Response message (EN-US) \| 响应消息 (English) | Request successful. This request will incur a charge. | None | None |
|
|
151
|
+
| message_zh | string | No | Response message (ZH-CN) \| 响应消息 (中文) | 请求成功,本次请求将被计费。 | None | None |
|
|
152
|
+
| support | string | No | Support message \| 支持消息 | Discord: https://discord.gg/aMEAS8Xsvz | None | None |
|
|
153
|
+
| time | string | No | The time the response was generated \| 生成响应的时间 | None | None | None |
|
|
154
|
+
| time_stamp | integer | No | The timestamp the response was generated \| 生成响应的时间戳 | None | None | None |
|
|
155
|
+
| time_zone | string | No | The timezone of the response time \| 响应时间的时区 | America/Los_Angeles | None | None |
|
|
156
|
+
| docs | string | No | Link to the API Swagger documentation for this endpoint \| 此端点的 API Swagger 文档链接 | None | None | None |
|
|
157
|
+
| 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 |
|
|
158
|
+
| cache_message_zh | string | No | Cache message (ZH-CN) \| 缓存消息 (中文) | 本次请求将被缓存,你可以使用下面的 URL 直接访问缓存结果,有效期为 24 小时,访问缓存不会产生额外费用。 | None | None |
|
|
159
|
+
| cache_url | string | No | The URL to access the cached result \| 访问缓存结果的 URL | None | None | None |
|
|
160
|
+
| router | string | No | The endpoint that generated this response \| 生成此响应的端点 | None | None | None |
|
|
161
|
+
| params | dynamic object | No | The parameters used in the request \| 请求中使用的参数 | None | None | None |
|
|
162
|
+
| data | null | No | The response data \| 响应数据 | None | None | None |
|
|
163
|
+
|
|
164
|
+
<a id="get-api-u1-v1-weibo-web-v2-fetch-ai-related-search"></a>
|
|
165
|
+
### `GET /api/u1/v1/weibo/web_v2/fetch_ai_related_search`
|
|
166
|
+
|
|
167
|
+
- Summary: 微博AI搜索内容扩展/Weibo AI Search Content Extension
|
|
168
|
+
- Capabilities: search
|
|
169
|
+
- Auth: Header `Authorization: Bearer {token}`; docs also allow Cookie `Authorization` as fallback (`HTTPBearer`)
|
|
170
|
+
- operationId: `fetch_ai_related_search_api_v1_weibo_web_v2_fetch_ai_related_search_get`
|
|
171
|
+
|
|
172
|
+
#### Notes
|
|
173
|
+
|
|
174
|
+
> # [中文]
|
|
175
|
+
> ### 用途:
|
|
176
|
+
> - 获取与关键词相关的内容扩展(相关问题、博主推荐、参考博文等)。
|
|
177
|
+
> ### 参数:
|
|
178
|
+
> - keyword: 搜索关键词(必填,建议使用话题格式#话题名#)
|
|
179
|
+
> ### 返回:
|
|
180
|
+
> - HTML格式的扩展内容,包含相关问题、博主推荐、参考博文等
|
|
181
|
+
> ### 注意:
|
|
182
|
+
> - 返回内容为HTML格式,需要进行HTML解析处理
|
|
183
|
+
> - HTML结构可能会发生变化,需要做好容错处理
|
|
184
|
+
>
|
|
185
|
+
> # [English]
|
|
186
|
+
> ### Purpose:
|
|
187
|
+
> - Get content extensions related to keyword (related questions, blogger recommendations, reference posts).
|
|
188
|
+
> ### Parameters:
|
|
189
|
+
> - keyword: Search keyword (required, recommend using topic format #TopicName#)
|
|
190
|
+
> ### Return:
|
|
191
|
+
> - HTML format extension content, including related questions, blogger recommendations, reference posts
|
|
192
|
+
> ### Note:
|
|
193
|
+
> - Returned content is in HTML format, requires HTML parsing
|
|
194
|
+
> - HTML structure may change, need proper error handling
|
|
195
|
+
>
|
|
196
|
+
> # [示例/Example]
|
|
197
|
+
> keyword = "#微博奇遇记#"
|
|
198
|
+
|
|
199
|
+
#### Parameters
|
|
200
|
+
|
|
201
|
+
| Field | In | Type | Required | Description | Default | Example | Enum |
|
|
202
|
+
| --- | --- | --- | --- | --- | --- | --- | --- |
|
|
203
|
+
| keyword | query | string | Yes | 搜索关键词/Search keyword | None | #微博奇遇记# | None |
|
|
204
|
+
|
|
205
|
+
#### Request Body
|
|
206
|
+
|
|
207
|
+
None
|
|
208
|
+
|
|
209
|
+
#### Success Response
|
|
210
|
+
|
|
211
|
+
##### `200 application/json`
|
|
212
|
+
|
|
213
|
+
- Schema summary: `code`:integer, `request_id`:string, `message`:string, `message_zh`:string, `support`:string, `time`:string, `time_stamp`:integer, `time_zone`:string, ...
|
|
214
|
+
|
|
215
|
+
| Field | Type | Required | Description | Default | Example | Enum |
|
|
216
|
+
| --- | --- | --- | --- | --- | --- | --- |
|
|
217
|
+
| code | integer | No | HTTP status code \| HTTP状态码 | 200 | None | None |
|
|
218
|
+
| request_id | string | No | Unique request identifier \| 唯一请求标识符 | None | None | None |
|
|
219
|
+
| message | string | No | Response message (EN-US) \| 响应消息 (English) | Request successful. This request will incur a charge. | None | None |
|
|
220
|
+
| message_zh | string | No | Response message (ZH-CN) \| 响应消息 (中文) | 请求成功,本次请求将被计费。 | None | None |
|
|
221
|
+
| support | string | No | Support message \| 支持消息 | Discord: https://discord.gg/aMEAS8Xsvz | None | None |
|
|
222
|
+
| time | string | No | The time the response was generated \| 生成响应的时间 | None | None | None |
|
|
223
|
+
| time_stamp | integer | No | The timestamp the response was generated \| 生成响应的时间戳 | None | None | None |
|
|
224
|
+
| time_zone | string | No | The timezone of the response time \| 响应时间的时区 | America/Los_Angeles | None | None |
|
|
225
|
+
| docs | string | No | Link to the API Swagger documentation for this endpoint \| 此端点的 API Swagger 文档链接 | None | None | None |
|
|
226
|
+
| 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 |
|
|
227
|
+
| cache_message_zh | string | No | Cache message (ZH-CN) \| 缓存消息 (中文) | 本次请求将被缓存,你可以使用下面的 URL 直接访问缓存结果,有效期为 24 小时,访问缓存不会产生额外费用。 | None | None |
|
|
228
|
+
| cache_url | string | No | The URL to access the cached result \| 访问缓存结果的 URL | None | None | None |
|
|
229
|
+
| router | string | No | The endpoint that generated this response \| 生成此响应的端点 | None | None | None |
|
|
230
|
+
| params | dynamic object | No | The parameters used in the request \| 请求中使用的参数 | None | None | None |
|
|
231
|
+
| data | null | No | The response data \| 响应数据 | None | None | None |
|
|
232
|
+
|
|
233
|
+
<a id="get-api-u1-v1-weibo-web-v2-fetch-ai-search"></a>
|
|
234
|
+
### `GET /api/u1/v1/weibo/web_v2/fetch_ai_search`
|
|
235
|
+
|
|
236
|
+
- Summary: 微博智能搜索/Weibo AI Search
|
|
237
|
+
- Capabilities: search
|
|
238
|
+
- Auth: Header `Authorization: Bearer {token}`; docs also allow Cookie `Authorization` as fallback (`HTTPBearer`)
|
|
239
|
+
- operationId: `fetch_ai_search_api_v1_weibo_web_v2_fetch_ai_search_get`
|
|
240
|
+
|
|
241
|
+
#### Notes
|
|
242
|
+
|
|
243
|
+
> # [中文]
|
|
244
|
+
> ### 用途:
|
|
245
|
+
> - 通过微博AI智能搜索获取搜索结果。
|
|
246
|
+
> ### 参数:
|
|
247
|
+
> - query: 搜索关键词(必填,建议使用话题格式#话题名#)
|
|
248
|
+
> ### 返回:
|
|
249
|
+
> - AI搜索结果,包含推荐内容、相关话题等
|
|
250
|
+
> ### 注意:
|
|
251
|
+
> - AI搜索结果会根据用户行为进行个性化调整
|
|
252
|
+
>
|
|
253
|
+
> # [English]
|
|
254
|
+
> ### Purpose:
|
|
255
|
+
> - Get search results through Weibo AI intelligent search.
|
|
256
|
+
> ### Parameters:
|
|
257
|
+
> - query: Search keyword (required, recommend using topic format #TopicName#)
|
|
258
|
+
> ### Return:
|
|
259
|
+
> - AI search results, including recommended content, related topics
|
|
260
|
+
> ### Note:
|
|
261
|
+
> - AI search results are personalized based on user behavior
|
|
262
|
+
>
|
|
263
|
+
> # [示例/Example]
|
|
264
|
+
> query = "#法国#"
|
|
265
|
+
|
|
266
|
+
#### Parameters
|
|
267
|
+
|
|
268
|
+
| Field | In | Type | Required | Description | Default | Example | Enum |
|
|
269
|
+
| --- | --- | --- | --- | --- | --- | --- | --- |
|
|
270
|
+
| query | query | string | Yes | 搜索关键词/Search keyword | None | #法国# | None |
|
|
271
|
+
|
|
272
|
+
#### Request Body
|
|
273
|
+
|
|
274
|
+
None
|
|
275
|
+
|
|
276
|
+
#### Success Response
|
|
277
|
+
|
|
278
|
+
##### `200 application/json`
|
|
279
|
+
|
|
280
|
+
- Schema summary: `code`:integer, `request_id`:string, `message`:string, `message_zh`:string, `support`:string, `time`:string, `time_stamp`:integer, `time_zone`:string, ...
|
|
281
|
+
|
|
282
|
+
| Field | Type | Required | Description | Default | Example | Enum |
|
|
283
|
+
| --- | --- | --- | --- | --- | --- | --- |
|
|
284
|
+
| code | integer | No | HTTP status code \| HTTP状态码 | 200 | None | None |
|
|
285
|
+
| request_id | string | No | Unique request identifier \| 唯一请求标识符 | None | None | None |
|
|
286
|
+
| message | string | No | Response message (EN-US) \| 响应消息 (English) | Request successful. This request will incur a charge. | None | None |
|
|
287
|
+
| message_zh | string | No | Response message (ZH-CN) \| 响应消息 (中文) | 请求成功,本次请求将被计费。 | None | None |
|
|
288
|
+
| support | string | No | Support message \| 支持消息 | Discord: https://discord.gg/aMEAS8Xsvz | None | None |
|
|
289
|
+
| time | string | No | The time the response was generated \| 生成响应的时间 | None | None | None |
|
|
290
|
+
| time_stamp | integer | No | The timestamp the response was generated \| 生成响应的时间戳 | None | None | None |
|
|
291
|
+
| time_zone | string | No | The timezone of the response time \| 响应时间的时区 | America/Los_Angeles | None | None |
|
|
292
|
+
| docs | string | No | Link to the API Swagger documentation for this endpoint \| 此端点的 API Swagger 文档链接 | None | None | None |
|
|
293
|
+
| 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 |
|
|
294
|
+
| cache_message_zh | string | No | Cache message (ZH-CN) \| 缓存消息 (中文) | 本次请求将被缓存,你可以使用下面的 URL 直接访问缓存结果,有效期为 24 小时,访问缓存不会产生额外费用。 | None | None |
|
|
295
|
+
| cache_url | string | No | The URL to access the cached result \| 访问缓存结果的 URL | None | None | None |
|
|
296
|
+
| router | string | No | The endpoint that generated this response \| 生成此响应的端点 | None | None | None |
|
|
297
|
+
| params | dynamic object | No | The parameters used in the request \| 请求中使用的参数 | None | None | None |
|
|
298
|
+
| data | null | No | The response data \| 响应数据 | None | None | None |
|
|
299
|
+
|
|
300
|
+
<a id="get-api-u1-v1-weibo-web-v2-fetch-all-groups"></a>
|
|
301
|
+
### `GET /api/u1/v1/weibo/web_v2/fetch_all_groups`
|
|
302
|
+
|
|
303
|
+
- Summary: 获取所有分组信息/Get all groups information
|
|
304
|
+
- Capabilities: general
|
|
305
|
+
- Auth: Header `Authorization: Bearer {token}`; docs also allow Cookie `Authorization` as fallback (`HTTPBearer`)
|
|
306
|
+
- operationId: `fetch_all_groups_api_v1_weibo_web_v2_fetch_all_groups_get`
|
|
307
|
+
|
|
308
|
+
#### Notes
|
|
309
|
+
|
|
310
|
+
> # [中文]
|
|
311
|
+
> ### 用途:
|
|
312
|
+
> - 获取微博平台的所有分组信息,包括默认分组和用户自定义分组。
|
|
313
|
+
> ### 参数:
|
|
314
|
+
> - 无需额外参数
|
|
315
|
+
> ### 返回:
|
|
316
|
+
> - 分组列表,包含分组ID、名称、容器ID等
|
|
317
|
+
> ### 注意:
|
|
318
|
+
> - 返回的gid和containerid可用于时间轴接口的参数
|
|
319
|
+
> - 分组信息变化不频繁,建议缓存
|
|
320
|
+
>
|
|
321
|
+
> # [English]
|
|
322
|
+
> ### Purpose:
|
|
323
|
+
> - Get all group information on Weibo platform, including default and user-defined groups.
|
|
324
|
+
> ### Parameters:
|
|
325
|
+
> - No additional parameters required
|
|
326
|
+
> ### Return:
|
|
327
|
+
> - Group list, including group ID, name, container ID, etc.
|
|
328
|
+
> ### Note:
|
|
329
|
+
> - Returned gid and containerid can be used as parameters for timeline API
|
|
330
|
+
> - Group information changes infrequently, recommend caching
|
|
331
|
+
>
|
|
332
|
+
> # [示例/Example]
|
|
333
|
+
> # No parameters needed
|
|
334
|
+
|
|
335
|
+
#### Parameters
|
|
336
|
+
|
|
337
|
+
None
|
|
338
|
+
|
|
339
|
+
#### Request Body
|
|
340
|
+
|
|
341
|
+
None
|
|
342
|
+
|
|
343
|
+
#### Success Response
|
|
344
|
+
|
|
345
|
+
##### `200 application/json`
|
|
346
|
+
|
|
347
|
+
- Schema summary: `code`:integer, `request_id`:string, `message`:string, `message_zh`:string, `support`:string, `time`:string, `time_stamp`:integer, `time_zone`:string, ...
|
|
348
|
+
|
|
349
|
+
| Field | Type | Required | Description | Default | Example | Enum |
|
|
350
|
+
| --- | --- | --- | --- | --- | --- | --- |
|
|
351
|
+
| code | integer | No | HTTP status code \| HTTP状态码 | 200 | None | None |
|
|
352
|
+
| request_id | string | No | Unique request identifier \| 唯一请求标识符 | None | None | None |
|
|
353
|
+
| message | string | No | Response message (EN-US) \| 响应消息 (English) | Request successful. This request will incur a charge. | None | None |
|
|
354
|
+
| message_zh | string | No | Response message (ZH-CN) \| 响应消息 (中文) | 请求成功,本次请求将被计费。 | None | None |
|
|
355
|
+
| support | string | No | Support message \| 支持消息 | Discord: https://discord.gg/aMEAS8Xsvz | None | None |
|
|
356
|
+
| time | string | No | The time the response was generated \| 生成响应的时间 | None | None | None |
|
|
357
|
+
| time_stamp | integer | No | The timestamp the response was generated \| 生成响应的时间戳 | None | None | None |
|
|
358
|
+
| time_zone | string | No | The timezone of the response time \| 响应时间的时区 | America/Los_Angeles | None | None |
|
|
359
|
+
| docs | string | No | Link to the API Swagger documentation for this endpoint \| 此端点的 API Swagger 文档链接 | None | None | None |
|
|
360
|
+
| 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 |
|
|
361
|
+
| cache_message_zh | string | No | Cache message (ZH-CN) \| 缓存消息 (中文) | 本次请求将被缓存,你可以使用下面的 URL 直接访问缓存结果,有效期为 24 小时,访问缓存不会产生额外费用。 | None | None |
|
|
362
|
+
| cache_url | string | No | The URL to access the cached result \| 访问缓存结果的 URL | None | None | None |
|
|
363
|
+
| router | string | No | The endpoint that generated this response \| 生成此响应的端点 | None | None | None |
|
|
364
|
+
| params | dynamic object | No | The parameters used in the request \| 请求中使用的参数 | None | None | None |
|
|
365
|
+
| data | null | No | The response data \| 响应数据 | None | None | None |
|
|
366
|
+
|
|
367
|
+
<a id="get-api-u1-v1-weibo-web-v2-fetch-city-list"></a>
|
|
368
|
+
### `GET /api/u1/v1/weibo/web_v2/fetch_city_list`
|
|
369
|
+
|
|
370
|
+
- Summary: 地区省市映射/Region City List
|
|
371
|
+
- Capabilities: general
|
|
372
|
+
- Auth: Header `Authorization: Bearer {token}`; docs also allow Cookie `Authorization` as fallback (`HTTPBearer`)
|
|
373
|
+
- operationId: `fetch_city_list_api_v1_weibo_web_v2_fetch_city_list_get`
|
|
374
|
+
|
|
375
|
+
#### Notes
|
|
376
|
+
|
|
377
|
+
> # [中文]
|
|
378
|
+
> ### 用途:
|
|
379
|
+
> - 获取地区省市映射数据,用于用户搜索等接口的地区筛选参数。
|
|
380
|
+
> ### 参数:
|
|
381
|
+
> - normalized: 是否返回标准化结构(默认True)
|
|
382
|
+
> ### 返回:
|
|
383
|
+
> - 省市映射数据,用于fetch_user_search等接口的region参数
|
|
384
|
+
> ### 注意:
|
|
385
|
+
> - 返回的编码格式为 custom:省代码:市代码,如 custom:11:1
|
|
386
|
+
>
|
|
387
|
+
> # [English]
|
|
388
|
+
> ### Purpose:
|
|
389
|
+
> - Get region city mapping data for region filter parameter in user search APIs.
|
|
390
|
+
> ### Parameters:
|
|
391
|
+
> - normalized: Whether to return normalized structure (default True)
|
|
392
|
+
> ### Return:
|
|
393
|
+
> - Province-city mapping data, for region parameter in fetch_user_search and other APIs
|
|
394
|
+
> ### Note:
|
|
395
|
+
> - Returned code format is custom:province_code:city_code, e.g. custom:11:1
|
|
396
|
+
>
|
|
397
|
+
> # [示例/Example]
|
|
398
|
+
> normalized = True
|
|
399
|
+
|
|
400
|
+
#### Parameters
|
|
401
|
+
|
|
402
|
+
| Field | In | Type | Required | Description | Default | Example | Enum |
|
|
403
|
+
| --- | --- | --- | --- | --- | --- | --- | --- |
|
|
404
|
+
| normalized | query | boolean | No | 是否返回标准化结构(省份列表+城市数组)/Whether to return normalized structure | true | None | None |
|
|
405
|
+
|
|
406
|
+
#### Request Body
|
|
407
|
+
|
|
408
|
+
None
|
|
409
|
+
|
|
410
|
+
#### Success Response
|
|
411
|
+
|
|
412
|
+
##### `200 application/json`
|
|
413
|
+
|
|
414
|
+
- Schema summary: `code`:integer, `request_id`:string, `message`:string, `message_zh`:string, `support`:string, `time`:string, `time_stamp`:integer, `time_zone`:string, ...
|
|
415
|
+
|
|
416
|
+
| Field | Type | Required | Description | Default | Example | Enum |
|
|
417
|
+
| --- | --- | --- | --- | --- | --- | --- |
|
|
418
|
+
| code | integer | No | HTTP status code \| HTTP状态码 | 200 | None | None |
|
|
419
|
+
| request_id | string | No | Unique request identifier \| 唯一请求标识符 | None | None | None |
|
|
420
|
+
| message | string | No | Response message (EN-US) \| 响应消息 (English) | Request successful. This request will incur a charge. | None | None |
|
|
421
|
+
| message_zh | string | No | Response message (ZH-CN) \| 响应消息 (中文) | 请求成功,本次请求将被计费。 | None | None |
|
|
422
|
+
| support | string | No | Support message \| 支持消息 | Discord: https://discord.gg/aMEAS8Xsvz | None | None |
|
|
423
|
+
| time | string | No | The time the response was generated \| 生成响应的时间 | None | None | None |
|
|
424
|
+
| time_stamp | integer | No | The timestamp the response was generated \| 生成响应的时间戳 | None | None | None |
|
|
425
|
+
| time_zone | string | No | The timezone of the response time \| 响应时间的时区 | America/Los_Angeles | None | None |
|
|
426
|
+
| docs | string | No | Link to the API Swagger documentation for this endpoint \| 此端点的 API Swagger 文档链接 | None | None | None |
|
|
427
|
+
| 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 |
|
|
428
|
+
| cache_message_zh | string | No | Cache message (ZH-CN) \| 缓存消息 (中文) | 本次请求将被缓存,你可以使用下面的 URL 直接访问缓存结果,有效期为 24 小时,访问缓存不会产生额外费用。 | None | None |
|
|
429
|
+
| cache_url | string | No | The URL to access the cached result \| 访问缓存结果的 URL | None | None | None |
|
|
430
|
+
| router | string | No | The endpoint that generated this response \| 生成此响应的端点 | None | None | None |
|
|
431
|
+
| params | dynamic object | No | The parameters used in the request \| 请求中使用的参数 | None | None | None |
|
|
432
|
+
| data | null | No | The response data \| 响应数据 | None | None | None |
|
|
433
|
+
|
|
434
|
+
<a id="get-api-u1-v1-weibo-web-v2-fetch-entertainment-ranking"></a>
|
|
435
|
+
### `GET /api/u1/v1/weibo/web_v2/fetch_entertainment_ranking`
|
|
436
|
+
|
|
437
|
+
- Summary: 获取微博文娱榜单/Get Weibo entertainment ranking
|
|
438
|
+
- Capabilities: general
|
|
439
|
+
- Auth: Header `Authorization: Bearer {token}`; docs also allow Cookie `Authorization` as fallback (`HTTPBearer`)
|
|
440
|
+
- operationId: `fetch_entertainment_ranking_api_v1_weibo_web_v2_fetch_entertainment_ranking_get`
|
|
441
|
+
|
|
442
|
+
#### Notes
|
|
443
|
+
|
|
444
|
+
> # [中文]
|
|
445
|
+
> ### 用途:
|
|
446
|
+
> - 获取微博文娱榜单数据(娱乐圈、影视、综艺等)。
|
|
447
|
+
> ### 参数:
|
|
448
|
+
> - 无需额外参数
|
|
449
|
+
> ### 返回:
|
|
450
|
+
> - 文娱话题列表,包含话题、热度值、排名、分类等
|
|
451
|
+
> ### 注意:
|
|
452
|
+
> - 建议缓存5-10分钟
|
|
453
|
+
>
|
|
454
|
+
> # [English]
|
|
455
|
+
> ### Purpose:
|
|
456
|
+
> - Get Weibo entertainment ranking data (entertainment, film & TV, variety shows).
|
|
457
|
+
> ### Parameters:
|
|
458
|
+
> - No additional parameters required
|
|
459
|
+
> ### Return:
|
|
460
|
+
> - Entertainment topic list, including topic, heat value, rank, category
|
|
461
|
+
> ### Note:
|
|
462
|
+
> - Recommend caching for 5-10 minutes
|
|
463
|
+
>
|
|
464
|
+
> # [示例/Example]
|
|
465
|
+
> # No parameters needed
|
|
466
|
+
|
|
467
|
+
#### Parameters
|
|
468
|
+
|
|
469
|
+
None
|
|
470
|
+
|
|
471
|
+
#### Request Body
|
|
472
|
+
|
|
473
|
+
None
|
|
474
|
+
|
|
475
|
+
#### Success Response
|
|
476
|
+
|
|
477
|
+
##### `200 application/json`
|
|
478
|
+
|
|
479
|
+
- Schema summary: `code`:integer, `request_id`:string, `message`:string, `message_zh`:string, `support`:string, `time`:string, `time_stamp`:integer, `time_zone`:string, ...
|
|
480
|
+
|
|
481
|
+
| Field | Type | Required | Description | Default | Example | Enum |
|
|
482
|
+
| --- | --- | --- | --- | --- | --- | --- |
|
|
483
|
+
| code | integer | No | HTTP status code \| HTTP状态码 | 200 | None | None |
|
|
484
|
+
| request_id | string | No | Unique request identifier \| 唯一请求标识符 | None | None | None |
|
|
485
|
+
| message | string | No | Response message (EN-US) \| 响应消息 (English) | Request successful. This request will incur a charge. | None | None |
|
|
486
|
+
| message_zh | string | No | Response message (ZH-CN) \| 响应消息 (中文) | 请求成功,本次请求将被计费。 | None | None |
|
|
487
|
+
| support | string | No | Support message \| 支持消息 | Discord: https://discord.gg/aMEAS8Xsvz | None | None |
|
|
488
|
+
| time | string | No | The time the response was generated \| 生成响应的时间 | None | None | None |
|
|
489
|
+
| time_stamp | integer | No | The timestamp the response was generated \| 生成响应的时间戳 | None | None | None |
|
|
490
|
+
| time_zone | string | No | The timezone of the response time \| 响应时间的时区 | America/Los_Angeles | None | None |
|
|
491
|
+
| docs | string | No | Link to the API Swagger documentation for this endpoint \| 此端点的 API Swagger 文档链接 | None | None | None |
|
|
492
|
+
| 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 |
|
|
493
|
+
| cache_message_zh | string | No | Cache message (ZH-CN) \| 缓存消息 (中文) | 本次请求将被缓存,你可以使用下面的 URL 直接访问缓存结果,有效期为 24 小时,访问缓存不会产生额外费用。 | None | None |
|
|
494
|
+
| cache_url | string | No | The URL to access the cached result \| 访问缓存结果的 URL | None | None | None |
|
|
495
|
+
| router | string | No | The endpoint that generated this response \| 生成此响应的端点 | None | None | None |
|
|
496
|
+
| params | dynamic object | No | The parameters used in the request \| 请求中使用的参数 | None | None | None |
|
|
497
|
+
| data | null | No | The response data \| 响应数据 | None | None | None |
|
|
498
|
+
|
|
499
|
+
<a id="get-api-u1-v1-weibo-web-v2-fetch-hot-ranking-timeline"></a>
|
|
500
|
+
### `GET /api/u1/v1/weibo/web_v2/fetch_hot_ranking_timeline`
|
|
501
|
+
|
|
502
|
+
- Summary: 获取微博热门榜单时间轴/Get hot ranking timeline
|
|
503
|
+
- Capabilities: trends / rankings
|
|
504
|
+
- Auth: Header `Authorization: Bearer {token}`; docs also allow Cookie `Authorization` as fallback (`HTTPBearer`)
|
|
505
|
+
- operationId: `fetch_hot_ranking_timeline_api_v1_weibo_web_v2_fetch_hot_ranking_timeline_get`
|
|
506
|
+
|
|
507
|
+
#### Notes
|
|
508
|
+
|
|
509
|
+
> # [中文]
|
|
510
|
+
> ### 用途:
|
|
511
|
+
> - 获取微博平台各种类型的热门榜单内容。
|
|
512
|
+
> ### 参数:
|
|
513
|
+
> - ranking_type: 榜单类型(必填)
|
|
514
|
+
> - hour: 小时榜
|
|
515
|
+
> - yesterday: 昨日榜
|
|
516
|
+
> - day_before: 前日榜
|
|
517
|
+
> - week: 周榜
|
|
518
|
+
> - male: 男榜
|
|
519
|
+
> - female: 女榜
|
|
520
|
+
> - max_id: 翻页游标,首次请求传"0"
|
|
521
|
+
> - count: 获取数量(默认10)
|
|
522
|
+
> ### 返回:
|
|
523
|
+
> - 热门微博列表,包含微博内容、作者信息、互动数据等
|
|
524
|
+
> ### 注意:
|
|
525
|
+
> - 不同榜单更新频率不同:小时榜实时性最强,周榜影响力较大
|
|
526
|
+
>
|
|
527
|
+
> # [English]
|
|
528
|
+
> ### Purpose:
|
|
529
|
+
> - Get various types of hot ranking content from Weibo platform.
|
|
530
|
+
> ### Parameters:
|
|
531
|
+
> - ranking_type: Ranking type (required)
|
|
532
|
+
> - hour: Hourly ranking
|
|
533
|
+
> - yesterday: Yesterday ranking
|
|
534
|
+
> - day_before: Day before ranking
|
|
535
|
+
> - week: Weekly ranking
|
|
536
|
+
> - male: Male ranking
|
|
537
|
+
> - female: Female ranking
|
|
538
|
+
> - max_id: Pagination cursor, pass "0" for first request
|
|
539
|
+
> - count: Count (default 10)
|
|
540
|
+
> ### Return:
|
|
541
|
+
> - Hot post list, including post content, author info, interaction data
|
|
542
|
+
> ### Note:
|
|
543
|
+
> - Different rankings have different update frequencies: hourly has highest real-time relevance, weekly has high influence
|
|
544
|
+
>
|
|
545
|
+
> # [示例/Example]
|
|
546
|
+
> ranking_type = "hour"
|
|
547
|
+
> max_id = "0"
|
|
548
|
+
> count = 10
|
|
549
|
+
|
|
550
|
+
#### Parameters
|
|
551
|
+
|
|
552
|
+
| Field | In | Type | Required | Description | Default | Example | Enum |
|
|
553
|
+
| --- | --- | --- | --- | --- | --- | --- | --- |
|
|
554
|
+
| ranking_type | query | string | Yes | 榜单类型:hour=小时榜,yesterday=昨日榜,day_before=前日榜,week=周榜,male=男榜,female=女榜/Ranking type: hour=hourly, yesterday=yesterday, day_before=day before, week=weekly, male=male ranking, female=… | None | hour | None |
|
|
555
|
+
| since_id | query | string | No | 分页标识,默认为0/Pagination identifier, default is 0 | 0 | 0 | None |
|
|
556
|
+
| max_id | query | string | No | 最大ID,默认为0/Max ID, default is 0 | 0 | 0 | None |
|
|
557
|
+
| count | query | integer | No | 获取数量,默认10/Count, default is 10 | 10 | 10 | None |
|
|
558
|
+
|
|
559
|
+
#### Request Body
|
|
560
|
+
|
|
561
|
+
None
|
|
562
|
+
|
|
563
|
+
#### Success Response
|
|
564
|
+
|
|
565
|
+
##### `200 application/json`
|
|
566
|
+
|
|
567
|
+
- Schema summary: `code`:integer, `request_id`:string, `message`:string, `message_zh`:string, `support`:string, `time`:string, `time_stamp`:integer, `time_zone`:string, ...
|
|
568
|
+
|
|
569
|
+
| Field | Type | Required | Description | Default | Example | Enum |
|
|
570
|
+
| --- | --- | --- | --- | --- | --- | --- |
|
|
571
|
+
| code | integer | No | HTTP status code \| HTTP状态码 | 200 | None | None |
|
|
572
|
+
| request_id | string | No | Unique request identifier \| 唯一请求标识符 | None | None | None |
|
|
573
|
+
| message | string | No | Response message (EN-US) \| 响应消息 (English) | Request successful. This request will incur a charge. | None | None |
|
|
574
|
+
| message_zh | string | No | Response message (ZH-CN) \| 响应消息 (中文) | 请求成功,本次请求将被计费。 | None | None |
|
|
575
|
+
| support | string | No | Support message \| 支持消息 | Discord: https://discord.gg/aMEAS8Xsvz | None | None |
|
|
576
|
+
| time | string | No | The time the response was generated \| 生成响应的时间 | None | None | None |
|
|
577
|
+
| time_stamp | integer | No | The timestamp the response was generated \| 生成响应的时间戳 | None | None | None |
|
|
578
|
+
| time_zone | string | No | The timezone of the response time \| 响应时间的时区 | America/Los_Angeles | None | None |
|
|
579
|
+
| docs | string | No | Link to the API Swagger documentation for this endpoint \| 此端点的 API Swagger 文档链接 | None | None | None |
|
|
580
|
+
| 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 |
|
|
581
|
+
| cache_message_zh | string | No | Cache message (ZH-CN) \| 缓存消息 (中文) | 本次请求将被缓存,你可以使用下面的 URL 直接访问缓存结果,有效期为 24 小时,访问缓存不会产生额外费用。 | None | None |
|
|
582
|
+
| cache_url | string | No | The URL to access the cached result \| 访问缓存结果的 URL | None | None | None |
|
|
583
|
+
| router | string | No | The endpoint that generated this response \| 生成此响应的端点 | None | None | None |
|
|
584
|
+
| params | dynamic object | No | The parameters used in the request \| 请求中使用的参数 | None | None | None |
|
|
585
|
+
| data | null | No | The response data \| 响应数据 | None | None | None |
|
|
586
|
+
|
|
587
|
+
<a id="get-api-u1-v1-weibo-web-v2-fetch-hot-search"></a>
|
|
588
|
+
### `GET /api/u1/v1/weibo/web_v2/fetch_hot_search`
|
|
589
|
+
|
|
590
|
+
- Summary: 获取微博热搜榜单/Get Weibo hot search ranking
|
|
591
|
+
- Capabilities: search / trends / rankings
|
|
592
|
+
- Auth: Header `Authorization: Bearer {token}`; docs also allow Cookie `Authorization` as fallback (`HTTPBearer`)
|
|
593
|
+
- operationId: `fetch_hot_search_api_v1_weibo_web_v2_fetch_hot_search_get`
|
|
594
|
+
|
|
595
|
+
#### Notes
|
|
596
|
+
|
|
597
|
+
> # [中文]
|
|
598
|
+
> ### 用途:
|
|
599
|
+
> - 获取微博实时热搜榜单数据。
|
|
600
|
+
> ### 参数:
|
|
601
|
+
> - 无需额外参数
|
|
602
|
+
> ### 返回:
|
|
603
|
+
> - 热搜数据,包含realtime(实时热搜)、hotgov等多个板块
|
|
604
|
+
> ### 注意:
|
|
605
|
+
> - 热搜更新频繁,建议缓存2-5分钟
|
|
606
|
+
>
|
|
607
|
+
> # [English]
|
|
608
|
+
> ### Purpose:
|
|
609
|
+
> - Get Weibo real-time hot search ranking data.
|
|
610
|
+
> ### Parameters:
|
|
611
|
+
> - No additional parameters required
|
|
612
|
+
> ### Return:
|
|
613
|
+
> - Hot search data, including realtime (real-time hot search), hotgov and other sections
|
|
614
|
+
> ### Note:
|
|
615
|
+
> - Hot search updates frequently, recommend caching for 2-5 minutes
|
|
616
|
+
>
|
|
617
|
+
> # [示例/Example]
|
|
618
|
+
> # No parameters needed
|
|
619
|
+
|
|
620
|
+
#### Parameters
|
|
621
|
+
|
|
622
|
+
None
|
|
623
|
+
|
|
624
|
+
#### Request Body
|
|
625
|
+
|
|
626
|
+
None
|
|
627
|
+
|
|
628
|
+
#### Success Response
|
|
629
|
+
|
|
630
|
+
##### `200 application/json`
|
|
631
|
+
|
|
632
|
+
- Schema summary: `code`:integer, `request_id`:string, `message`:string, `message_zh`:string, `support`:string, `time`:string, `time_stamp`:integer, `time_zone`:string, ...
|
|
633
|
+
|
|
634
|
+
| Field | Type | Required | Description | Default | Example | Enum |
|
|
635
|
+
| --- | --- | --- | --- | --- | --- | --- |
|
|
636
|
+
| code | integer | No | HTTP status code \| HTTP状态码 | 200 | None | None |
|
|
637
|
+
| request_id | string | No | Unique request identifier \| 唯一请求标识符 | None | None | None |
|
|
638
|
+
| message | string | No | Response message (EN-US) \| 响应消息 (English) | Request successful. This request will incur a charge. | None | None |
|
|
639
|
+
| message_zh | string | No | Response message (ZH-CN) \| 响应消息 (中文) | 请求成功,本次请求将被计费。 | None | None |
|
|
640
|
+
| support | string | No | Support message \| 支持消息 | Discord: https://discord.gg/aMEAS8Xsvz | None | None |
|
|
641
|
+
| time | string | No | The time the response was generated \| 生成响应的时间 | None | None | None |
|
|
642
|
+
| time_stamp | integer | No | The timestamp the response was generated \| 生成响应的时间戳 | None | None | None |
|
|
643
|
+
| time_zone | string | No | The timezone of the response time \| 响应时间的时区 | America/Los_Angeles | None | None |
|
|
644
|
+
| docs | string | No | Link to the API Swagger documentation for this endpoint \| 此端点的 API Swagger 文档链接 | None | None | None |
|
|
645
|
+
| 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 |
|
|
646
|
+
| cache_message_zh | string | No | Cache message (ZH-CN) \| 缓存消息 (中文) | 本次请求将被缓存,你可以使用下面的 URL 直接访问缓存结果,有效期为 24 小时,访问缓存不会产生额外费用。 | None | None |
|
|
647
|
+
| cache_url | string | No | The URL to access the cached result \| 访问缓存结果的 URL | None | None | None |
|
|
648
|
+
| router | string | No | The endpoint that generated this response \| 生成此响应的端点 | None | None | None |
|
|
649
|
+
| params | dynamic object | No | The parameters used in the request \| 请求中使用的参数 | None | None | None |
|
|
650
|
+
| data | null | No | The response data \| 响应数据 | None | None | None |
|
|
651
|
+
|
|
652
|
+
<a id="get-api-u1-v1-weibo-web-v2-fetch-hot-search-index"></a>
|
|
653
|
+
### `GET /api/u1/v1/weibo/web_v2/fetch_hot_search_index`
|
|
654
|
+
|
|
655
|
+
- Summary: 获取微博热搜词条(10条)/Get Weibo hot search index (10 items)
|
|
656
|
+
- Capabilities: search / trends / rankings
|
|
657
|
+
- Auth: Header `Authorization: Bearer {token}`; docs also allow Cookie `Authorization` as fallback (`HTTPBearer`)
|
|
658
|
+
- operationId: `fetch_hot_search_index_api_v1_weibo_web_v2_fetch_hot_search_index_get`
|
|
659
|
+
|
|
660
|
+
#### Notes
|
|
661
|
+
|
|
662
|
+
> # [中文]
|
|
663
|
+
> ### 用途:
|
|
664
|
+
> - 快速获取微博热搜前10条。
|
|
665
|
+
> ### 参数:
|
|
666
|
+
> - 无需额外参数
|
|
667
|
+
> ### 返回:
|
|
668
|
+
> - 热搜词条列表,包含关键词、热度值、排名等
|
|
669
|
+
> ### 注意:
|
|
670
|
+
> - 只返回前10条热搜
|
|
671
|
+
> - 热搜更新频繁,建议缓存2-5分钟
|
|
672
|
+
> - 如需完整热搜,使用fetch_hot_search_summary
|
|
673
|
+
>
|
|
674
|
+
> # [English]
|
|
675
|
+
> ### Purpose:
|
|
676
|
+
> - Quickly get top 10 Weibo hot search items.
|
|
677
|
+
> ### Parameters:
|
|
678
|
+
> - No additional parameters required
|
|
679
|
+
> ### Return:
|
|
680
|
+
> - Hot search term list, including keyword, popularity value, rank
|
|
681
|
+
> ### Note:
|
|
682
|
+
> - Only returns top 10 hot search items
|
|
683
|
+
> - Hot search updates frequently, recommend caching for 2-5 minutes
|
|
684
|
+
> - For complete hot search, use fetch_hot_search_summary
|
|
685
|
+
>
|
|
686
|
+
> # [示例/Example]
|
|
687
|
+
> # No parameters needed
|
|
688
|
+
|
|
689
|
+
#### Parameters
|
|
690
|
+
|
|
691
|
+
None
|
|
692
|
+
|
|
693
|
+
#### Request Body
|
|
694
|
+
|
|
695
|
+
None
|
|
696
|
+
|
|
697
|
+
#### Success Response
|
|
698
|
+
|
|
699
|
+
##### `200 application/json`
|
|
700
|
+
|
|
701
|
+
- Schema summary: `code`:integer, `request_id`:string, `message`:string, `message_zh`:string, `support`:string, `time`:string, `time_stamp`:integer, `time_zone`:string, ...
|
|
702
|
+
|
|
703
|
+
| Field | Type | Required | Description | Default | Example | Enum |
|
|
704
|
+
| --- | --- | --- | --- | --- | --- | --- |
|
|
705
|
+
| code | integer | No | HTTP status code \| HTTP状态码 | 200 | None | None |
|
|
706
|
+
| request_id | string | No | Unique request identifier \| 唯一请求标识符 | None | None | None |
|
|
707
|
+
| message | string | No | Response message (EN-US) \| 响应消息 (English) | Request successful. This request will incur a charge. | None | None |
|
|
708
|
+
| message_zh | string | No | Response message (ZH-CN) \| 响应消息 (中文) | 请求成功,本次请求将被计费。 | None | None |
|
|
709
|
+
| support | string | No | Support message \| 支持消息 | Discord: https://discord.gg/aMEAS8Xsvz | None | None |
|
|
710
|
+
| time | string | No | The time the response was generated \| 生成响应的时间 | None | None | None |
|
|
711
|
+
| time_stamp | integer | No | The timestamp the response was generated \| 生成响应的时间戳 | None | None | None |
|
|
712
|
+
| time_zone | string | No | The timezone of the response time \| 响应时间的时区 | America/Los_Angeles | None | None |
|
|
713
|
+
| docs | string | No | Link to the API Swagger documentation for this endpoint \| 此端点的 API Swagger 文档链接 | None | None | None |
|
|
714
|
+
| 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 |
|
|
715
|
+
| cache_message_zh | string | No | Cache message (ZH-CN) \| 缓存消息 (中文) | 本次请求将被缓存,你可以使用下面的 URL 直接访问缓存结果,有效期为 24 小时,访问缓存不会产生额外费用。 | None | None |
|
|
716
|
+
| cache_url | string | No | The URL to access the cached result \| 访问缓存结果的 URL | None | None | None |
|
|
717
|
+
| router | string | No | The endpoint that generated this response \| 生成此响应的端点 | None | None | None |
|
|
718
|
+
| params | dynamic object | No | The parameters used in the request \| 请求中使用的参数 | None | None | None |
|
|
719
|
+
| data | null | No | The response data \| 响应数据 | None | None | None |
|
|
720
|
+
|
|
721
|
+
<a id="get-api-u1-v1-weibo-web-v2-fetch-hot-search-summary"></a>
|
|
722
|
+
### `GET /api/u1/v1/weibo/web_v2/fetch_hot_search_summary`
|
|
723
|
+
|
|
724
|
+
- Summary: 获取微博完整热搜榜单(50条)/Get Weibo complete hot search ranking (50 items)
|
|
725
|
+
- Capabilities: search / trends / rankings
|
|
726
|
+
- Auth: Header `Authorization: Bearer {token}`; docs also allow Cookie `Authorization` as fallback (`HTTPBearer`)
|
|
727
|
+
- operationId: `fetch_hot_search_summary_api_v1_weibo_web_v2_fetch_hot_search_summary_get`
|
|
728
|
+
|
|
729
|
+
#### Notes
|
|
730
|
+
|
|
731
|
+
> # [中文]
|
|
732
|
+
> ### 用途:
|
|
733
|
+
> - 获取微博完整热搜榜单(50条)。
|
|
734
|
+
> ### 参数:
|
|
735
|
+
> - 无需额外参数
|
|
736
|
+
> ### 返回:
|
|
737
|
+
> - 完整热搜列表,包含排名、关键词、标签(热点/沸点/官宣/新)、热度值
|
|
738
|
+
> ### 注意:
|
|
739
|
+
> - 与fetch_hot_search_index的区别:本接口返回50条,fetch_hot_search_index返回10条
|
|
740
|
+
> - rank为0表示置顶内容
|
|
741
|
+
> - 建议缓存5-10分钟
|
|
742
|
+
>
|
|
743
|
+
> # [English]
|
|
744
|
+
> ### Purpose:
|
|
745
|
+
> - Get complete Weibo hot search ranking (50 items).
|
|
746
|
+
> ### Parameters:
|
|
747
|
+
> - No additional parameters required
|
|
748
|
+
> ### Return:
|
|
749
|
+
> - Complete hot search list, including rank, keyword, tag (Hot/Boiling/Official/New), heat value
|
|
750
|
+
> ### Note:
|
|
751
|
+
> - Difference from fetch_hot_search_index: this API returns 50 items, fetch_hot_search_index returns 10 items
|
|
752
|
+
> - rank 0 indicates pinned content
|
|
753
|
+
> - Recommend caching for 5-10 minutes
|
|
754
|
+
>
|
|
755
|
+
> # [示例/Example]
|
|
756
|
+
> # No parameters needed
|
|
757
|
+
|
|
758
|
+
#### Parameters
|
|
759
|
+
|
|
760
|
+
None
|
|
761
|
+
|
|
762
|
+
#### Request Body
|
|
763
|
+
|
|
764
|
+
None
|
|
765
|
+
|
|
766
|
+
#### Success Response
|
|
767
|
+
|
|
768
|
+
##### `200 application/json`
|
|
769
|
+
|
|
770
|
+
- Schema summary: `code`:integer, `request_id`:string, `message`:string, `message_zh`:string, `support`:string, `time`:string, `time_stamp`:integer, `time_zone`:string, ...
|
|
771
|
+
|
|
772
|
+
| Field | Type | Required | Description | Default | Example | Enum |
|
|
773
|
+
| --- | --- | --- | --- | --- | --- | --- |
|
|
774
|
+
| code | integer | No | HTTP status code \| HTTP状态码 | 200 | None | None |
|
|
775
|
+
| request_id | string | No | Unique request identifier \| 唯一请求标识符 | None | None | None |
|
|
776
|
+
| message | string | No | Response message (EN-US) \| 响应消息 (English) | Request successful. This request will incur a charge. | None | None |
|
|
777
|
+
| message_zh | string | No | Response message (ZH-CN) \| 响应消息 (中文) | 请求成功,本次请求将被计费。 | None | None |
|
|
778
|
+
| support | string | No | Support message \| 支持消息 | Discord: https://discord.gg/aMEAS8Xsvz | None | None |
|
|
779
|
+
| time | string | No | The time the response was generated \| 生成响应的时间 | None | None | None |
|
|
780
|
+
| time_stamp | integer | No | The timestamp the response was generated \| 生成响应的时间戳 | None | None | None |
|
|
781
|
+
| time_zone | string | No | The timezone of the response time \| 响应时间的时区 | America/Los_Angeles | None | None |
|
|
782
|
+
| docs | string | No | Link to the API Swagger documentation for this endpoint \| 此端点的 API Swagger 文档链接 | None | None | None |
|
|
783
|
+
| 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 |
|
|
784
|
+
| cache_message_zh | string | No | Cache message (ZH-CN) \| 缓存消息 (中文) | 本次请求将被缓存,你可以使用下面的 URL 直接访问缓存结果,有效期为 24 小时,访问缓存不会产生额外费用。 | None | None |
|
|
785
|
+
| cache_url | string | No | The URL to access the cached result \| 访问缓存结果的 URL | None | None | None |
|
|
786
|
+
| router | string | No | The endpoint that generated this response \| 生成此响应的端点 | None | None | None |
|
|
787
|
+
| params | dynamic object | No | The parameters used in the request \| 请求中使用的参数 | None | None | None |
|
|
788
|
+
| data | null | No | The response data \| 响应数据 | None | None | None |
|
|
789
|
+
|
|
790
|
+
<a id="get-api-u1-v1-weibo-web-v2-fetch-life-ranking"></a>
|
|
791
|
+
### `GET /api/u1/v1/weibo/web_v2/fetch_life_ranking`
|
|
792
|
+
|
|
793
|
+
- Summary: 获取微博生活榜单/Get Weibo life ranking
|
|
794
|
+
- Capabilities: general
|
|
795
|
+
- Auth: Header `Authorization: Bearer {token}`; docs also allow Cookie `Authorization` as fallback (`HTTPBearer`)
|
|
796
|
+
- operationId: `fetch_life_ranking_api_v1_weibo_web_v2_fetch_life_ranking_get`
|
|
797
|
+
|
|
798
|
+
#### Notes
|
|
799
|
+
|
|
800
|
+
> # [中文]
|
|
801
|
+
> ### 用途:
|
|
802
|
+
> - 获取微博生活榜单数据(美食、旅游、健康、时尚等)。
|
|
803
|
+
> ### 参数:
|
|
804
|
+
> - 无需额外参数
|
|
805
|
+
> ### 返回:
|
|
806
|
+
> - 生活话题列表,包含话题、热度值、排名、分类等
|
|
807
|
+
> ### 注意:
|
|
808
|
+
> - 建议缓存5-10分钟
|
|
809
|
+
>
|
|
810
|
+
> # [English]
|
|
811
|
+
> ### Purpose:
|
|
812
|
+
> - Get Weibo life ranking data (food, travel, health, fashion).
|
|
813
|
+
> ### Parameters:
|
|
814
|
+
> - No additional parameters required
|
|
815
|
+
> ### Return:
|
|
816
|
+
> - Life topic list, including topic, heat value, rank, category
|
|
817
|
+
> ### Note:
|
|
818
|
+
> - Recommend caching for 5-10 minutes
|
|
819
|
+
>
|
|
820
|
+
> # [示例/Example]
|
|
821
|
+
> # No parameters needed
|
|
822
|
+
|
|
823
|
+
#### Parameters
|
|
824
|
+
|
|
825
|
+
None
|
|
826
|
+
|
|
827
|
+
#### Request Body
|
|
828
|
+
|
|
829
|
+
None
|
|
830
|
+
|
|
831
|
+
#### Success Response
|
|
832
|
+
|
|
833
|
+
##### `200 application/json`
|
|
834
|
+
|
|
835
|
+
- Schema summary: `code`:integer, `request_id`:string, `message`:string, `message_zh`:string, `support`:string, `time`:string, `time_stamp`:integer, `time_zone`:string, ...
|
|
836
|
+
|
|
837
|
+
| Field | Type | Required | Description | Default | Example | Enum |
|
|
838
|
+
| --- | --- | --- | --- | --- | --- | --- |
|
|
839
|
+
| code | integer | No | HTTP status code \| HTTP状态码 | 200 | None | None |
|
|
840
|
+
| request_id | string | No | Unique request identifier \| 唯一请求标识符 | None | None | None |
|
|
841
|
+
| message | string | No | Response message (EN-US) \| 响应消息 (English) | Request successful. This request will incur a charge. | None | None |
|
|
842
|
+
| message_zh | string | No | Response message (ZH-CN) \| 响应消息 (中文) | 请求成功,本次请求将被计费。 | None | None |
|
|
843
|
+
| support | string | No | Support message \| 支持消息 | Discord: https://discord.gg/aMEAS8Xsvz | None | None |
|
|
844
|
+
| time | string | No | The time the response was generated \| 生成响应的时间 | None | None | None |
|
|
845
|
+
| time_stamp | integer | No | The timestamp the response was generated \| 生成响应的时间戳 | None | None | None |
|
|
846
|
+
| time_zone | string | No | The timezone of the response time \| 响应时间的时区 | America/Los_Angeles | None | None |
|
|
847
|
+
| docs | string | No | Link to the API Swagger documentation for this endpoint \| 此端点的 API Swagger 文档链接 | None | None | None |
|
|
848
|
+
| 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 |
|
|
849
|
+
| cache_message_zh | string | No | Cache message (ZH-CN) \| 缓存消息 (中文) | 本次请求将被缓存,你可以使用下面的 URL 直接访问缓存结果,有效期为 24 小时,访问缓存不会产生额外费用。 | None | None |
|
|
850
|
+
| cache_url | string | No | The URL to access the cached result \| 访问缓存结果的 URL | None | None | None |
|
|
851
|
+
| router | string | No | The endpoint that generated this response \| 生成此响应的端点 | None | None | None |
|
|
852
|
+
| params | dynamic object | No | The parameters used in the request \| 请求中使用的参数 | None | None | None |
|
|
853
|
+
| data | null | No | The response data \| 响应数据 | None | None | None |
|
|
854
|
+
|
|
855
|
+
<a id="get-api-u1-v1-weibo-web-v2-fetch-pic-search"></a>
|
|
856
|
+
### `GET /api/u1/v1/weibo/web_v2/fetch_pic_search`
|
|
857
|
+
|
|
858
|
+
- Summary: 图片搜索/Weibo picture search
|
|
859
|
+
- Capabilities: search
|
|
860
|
+
- Auth: Header `Authorization: Bearer {token}`; docs also allow Cookie `Authorization` as fallback (`HTTPBearer`)
|
|
861
|
+
- operationId: `fetch_pic_search_api_v1_weibo_web_v2_fetch_pic_search_get`
|
|
862
|
+
|
|
863
|
+
#### Notes
|
|
864
|
+
|
|
865
|
+
> # [中文]
|
|
866
|
+
> ### 用途:
|
|
867
|
+
> - 搜索微博图片内容,按微博ID聚合多图。
|
|
868
|
+
> ### 参数:
|
|
869
|
+
> - query: 搜索关键词(必填)
|
|
870
|
+
> - page: 页码(默认1)
|
|
871
|
+
> ### 返回:
|
|
872
|
+
> - 图片列表,包含微博ID、缩略图、原图链接、作者信息、图片数量
|
|
873
|
+
> ### 注意:
|
|
874
|
+
> - 缩略图会自动转换为原图链接
|
|
875
|
+
>
|
|
876
|
+
> # [English]
|
|
877
|
+
> ### Purpose:
|
|
878
|
+
> - Search Weibo picture content, aggregated by weibo ID.
|
|
879
|
+
> ### Parameters:
|
|
880
|
+
> - query: Search keyword (required)
|
|
881
|
+
> - page: Page number (default 1)
|
|
882
|
+
> ### Return:
|
|
883
|
+
> - Image list with weibo ID, thumbnail, large image URL, author info, image count
|
|
884
|
+
> ### Note:
|
|
885
|
+
> - Thumbnails are automatically converted to large image URLs
|
|
886
|
+
>
|
|
887
|
+
> # [示例/Example]
|
|
888
|
+
> query = "yu7"
|
|
889
|
+
> page = 1
|
|
890
|
+
|
|
891
|
+
#### Parameters
|
|
892
|
+
|
|
893
|
+
| Field | In | Type | Required | Description | Default | Example | Enum |
|
|
894
|
+
| --- | --- | --- | --- | --- | --- | --- | --- |
|
|
895
|
+
| query | query | string | Yes | 搜索关键词/Search keyword | None | yu7 | None |
|
|
896
|
+
| page | query | integer | No | 页码/Page number | 1 | 1 | None |
|
|
897
|
+
|
|
898
|
+
#### Request Body
|
|
899
|
+
|
|
900
|
+
None
|
|
901
|
+
|
|
902
|
+
#### Success Response
|
|
903
|
+
|
|
904
|
+
##### `200 application/json`
|
|
905
|
+
|
|
906
|
+
- Schema summary: `code`:integer, `request_id`:string, `message`:string, `message_zh`:string, `support`:string, `time`:string, `time_stamp`:integer, `time_zone`:string, ...
|
|
907
|
+
|
|
908
|
+
| Field | Type | Required | Description | Default | Example | Enum |
|
|
909
|
+
| --- | --- | --- | --- | --- | --- | --- |
|
|
910
|
+
| code | integer | No | HTTP status code \| HTTP状态码 | 200 | None | None |
|
|
911
|
+
| request_id | string | No | Unique request identifier \| 唯一请求标识符 | None | None | None |
|
|
912
|
+
| message | string | No | Response message (EN-US) \| 响应消息 (English) | Request successful. This request will incur a charge. | None | None |
|
|
913
|
+
| message_zh | string | No | Response message (ZH-CN) \| 响应消息 (中文) | 请求成功,本次请求将被计费。 | None | None |
|
|
914
|
+
| support | string | No | Support message \| 支持消息 | Discord: https://discord.gg/aMEAS8Xsvz | None | None |
|
|
915
|
+
| time | string | No | The time the response was generated \| 生成响应的时间 | None | None | None |
|
|
916
|
+
| time_stamp | integer | No | The timestamp the response was generated \| 生成响应的时间戳 | None | None | None |
|
|
917
|
+
| time_zone | string | No | The timezone of the response time \| 响应时间的时区 | America/Los_Angeles | None | None |
|
|
918
|
+
| docs | string | No | Link to the API Swagger documentation for this endpoint \| 此端点的 API Swagger 文档链接 | None | None | None |
|
|
919
|
+
| 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 |
|
|
920
|
+
| cache_message_zh | string | No | Cache message (ZH-CN) \| 缓存消息 (中文) | 本次请求将被缓存,你可以使用下面的 URL 直接访问缓存结果,有效期为 24 小时,访问缓存不会产生额外费用。 | None | None |
|
|
921
|
+
| cache_url | string | No | The URL to access the cached result \| 访问缓存结果的 URL | None | None | None |
|
|
922
|
+
| router | string | No | The endpoint that generated this response \| 生成此响应的端点 | None | None | None |
|
|
923
|
+
| params | dynamic object | No | The parameters used in the request \| 请求中使用的参数 | None | None | None |
|
|
924
|
+
| data | null | No | The response data \| 响应数据 | None | None | None |
|
|
925
|
+
|
|
926
|
+
<a id="get-api-u1-v1-weibo-web-v2-fetch-post-comments"></a>
|
|
927
|
+
### `GET /api/u1/v1/weibo/web_v2/fetch_post_comments`
|
|
928
|
+
|
|
929
|
+
- Summary: 获取微博评论/Get Weibo comments
|
|
930
|
+
- Capabilities: comments / content details
|
|
931
|
+
- Auth: Header `Authorization: Bearer {token}`; docs also allow Cookie `Authorization` as fallback (`HTTPBearer`)
|
|
932
|
+
- operationId: `fetch_post_comments_api_v1_weibo_web_v2_fetch_post_comments_get`
|
|
933
|
+
|
|
934
|
+
#### Notes
|
|
935
|
+
|
|
936
|
+
> # [中文]
|
|
937
|
+
> ### 用途:
|
|
938
|
+
> - 获取指定微博的一级评论列表。
|
|
939
|
+
> ### 参数:
|
|
940
|
+
> - id: 微博ID(必填)
|
|
941
|
+
> - count: 评论数量(默认10)
|
|
942
|
+
> - max_id: 翻页游标,首次请求传空,后续请求使用返回的max_id值
|
|
943
|
+
> ### 返回:
|
|
944
|
+
> - 评论列表数据,包含评论内容、评论者信息、点赞数等
|
|
945
|
+
> - 包含 max_id 字段用于翻页
|
|
946
|
+
> ### 注意:
|
|
947
|
+
> - 当没有更多评论时,max_id 为空
|
|
948
|
+
>
|
|
949
|
+
> # [English]
|
|
950
|
+
> ### Purpose:
|
|
951
|
+
> - Get the first-level comment list of specified post.
|
|
952
|
+
> ### Parameters:
|
|
953
|
+
> - id: Weibo post ID (required)
|
|
954
|
+
> - count: Number of comments (default 10)
|
|
955
|
+
> - max_id: Pagination cursor, pass empty for first request, use returned max_id for subsequent requests
|
|
956
|
+
> ### Return:
|
|
957
|
+
> - Comment list data, including comment content, commenter info, likes count
|
|
958
|
+
> - Contains max_id field for pagination
|
|
959
|
+
> ### Note:
|
|
960
|
+
> - When no more comments, max_id is empty
|
|
961
|
+
>
|
|
962
|
+
> # [示例/Example]
|
|
963
|
+
> id = "5188973773455957"
|
|
964
|
+
> count = 10
|
|
965
|
+
> max_id = ""
|
|
966
|
+
|
|
967
|
+
#### Parameters
|
|
968
|
+
|
|
969
|
+
| Field | In | Type | Required | Description | Default | Example | Enum |
|
|
970
|
+
| --- | --- | --- | --- | --- | --- | --- | --- |
|
|
971
|
+
| id | query | string | Yes | 微博ID/Weibo ID | None | 5188973773455957 | None |
|
|
972
|
+
| count | query | integer | No | 评论数量/Number of comments | 10 | 10 | None |
|
|
973
|
+
| max_id | query | string | No | 页码/Page number | None | None | None |
|
|
974
|
+
|
|
975
|
+
#### Request Body
|
|
976
|
+
|
|
977
|
+
None
|
|
978
|
+
|
|
979
|
+
#### Success Response
|
|
980
|
+
|
|
981
|
+
##### `200 application/json`
|
|
982
|
+
|
|
983
|
+
- Schema summary: `code`:integer, `request_id`:string, `message`:string, `message_zh`:string, `support`:string, `time`:string, `time_stamp`:integer, `time_zone`:string, ...
|
|
984
|
+
|
|
985
|
+
| Field | Type | Required | Description | Default | Example | Enum |
|
|
986
|
+
| --- | --- | --- | --- | --- | --- | --- |
|
|
987
|
+
| code | integer | No | HTTP status code \| HTTP状态码 | 200 | None | None |
|
|
988
|
+
| request_id | string | No | Unique request identifier \| 唯一请求标识符 | None | None | None |
|
|
989
|
+
| message | string | No | Response message (EN-US) \| 响应消息 (English) | Request successful. This request will incur a charge. | None | None |
|
|
990
|
+
| message_zh | string | No | Response message (ZH-CN) \| 响应消息 (中文) | 请求成功,本次请求将被计费。 | None | None |
|
|
991
|
+
| support | string | No | Support message \| 支持消息 | Discord: https://discord.gg/aMEAS8Xsvz | None | None |
|
|
992
|
+
| time | string | No | The time the response was generated \| 生成响应的时间 | None | None | None |
|
|
993
|
+
| time_stamp | integer | No | The timestamp the response was generated \| 生成响应的时间戳 | None | None | None |
|
|
994
|
+
| time_zone | string | No | The timezone of the response time \| 响应时间的时区 | America/Los_Angeles | None | None |
|
|
995
|
+
| docs | string | No | Link to the API Swagger documentation for this endpoint \| 此端点的 API Swagger 文档链接 | None | None | None |
|
|
996
|
+
| 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 |
|
|
997
|
+
| cache_message_zh | string | No | Cache message (ZH-CN) \| 缓存消息 (中文) | 本次请求将被缓存,你可以使用下面的 URL 直接访问缓存结果,有效期为 24 小时,访问缓存不会产生额外费用。 | None | None |
|
|
998
|
+
| cache_url | string | No | The URL to access the cached result \| 访问缓存结果的 URL | None | None | None |
|
|
999
|
+
| router | string | No | The endpoint that generated this response \| 生成此响应的端点 | None | None | None |
|
|
1000
|
+
| params | dynamic object | No | The parameters used in the request \| 请求中使用的参数 | None | None | None |
|
|
1001
|
+
| data | null | No | The response data \| 响应数据 | None | None | None |
|
|
1002
|
+
|
|
1003
|
+
<a id="get-api-u1-v1-weibo-web-v2-fetch-post-detail"></a>
|
|
1004
|
+
### `GET /api/u1/v1/weibo/web_v2/fetch_post_detail`
|
|
1005
|
+
|
|
1006
|
+
- Summary: 获取单个作品数据/Get single post data
|
|
1007
|
+
- Capabilities: content details / details
|
|
1008
|
+
- Auth: Header `Authorization: Bearer {token}`; docs also allow Cookie `Authorization` as fallback (`HTTPBearer`)
|
|
1009
|
+
- operationId: `fetch_post_detail_api_v1_weibo_web_v2_fetch_post_detail_get`
|
|
1010
|
+
|
|
1011
|
+
#### Notes
|
|
1012
|
+
|
|
1013
|
+
> # [中文]
|
|
1014
|
+
> ### 用途:
|
|
1015
|
+
> - 获取指定微博的详细信息,包括内容、作者、互动数据等。
|
|
1016
|
+
> ### 参数:
|
|
1017
|
+
> - id: 微博ID(必填)
|
|
1018
|
+
> - is_get_long_text: 是否获取长微博全文(默认"true")
|
|
1019
|
+
> ### 返回:
|
|
1020
|
+
> - 微博详细数据,包含完整文本、图片、视频、点赞数、评论数、转发数等
|
|
1021
|
+
>
|
|
1022
|
+
> # [English]
|
|
1023
|
+
> ### Purpose:
|
|
1024
|
+
> - Get detailed information of a specific Weibo post, including content, author, interaction data.
|
|
1025
|
+
> ### Parameters:
|
|
1026
|
+
> - id: Weibo post ID (required)
|
|
1027
|
+
> - is_get_long_text: Whether to get full text of long posts (default "true")
|
|
1028
|
+
> ### Return:
|
|
1029
|
+
> - Post detailed data, including full text, images, videos, likes, comments, reposts count
|
|
1030
|
+
>
|
|
1031
|
+
> # [示例/Example]
|
|
1032
|
+
> id = "5092682368025584"
|
|
1033
|
+
> is_get_long_text = "true"
|
|
1034
|
+
|
|
1035
|
+
#### Parameters
|
|
1036
|
+
|
|
1037
|
+
| Field | In | Type | Required | Description | Default | Example | Enum |
|
|
1038
|
+
| --- | --- | --- | --- | --- | --- | --- | --- |
|
|
1039
|
+
| id | query | string | Yes | 作品id/Post id | None | 5092682368025584 | None |
|
|
1040
|
+
| is_get_long_text | query | string | No | 是否获取长微博全文/Whether to get the full text of long Weibo posts (true/false) | true | true | None |
|
|
1041
|
+
|
|
1042
|
+
#### Request Body
|
|
1043
|
+
|
|
1044
|
+
None
|
|
1045
|
+
|
|
1046
|
+
#### Success Response
|
|
1047
|
+
|
|
1048
|
+
##### `200 application/json`
|
|
1049
|
+
|
|
1050
|
+
- Schema summary: `code`:integer, `request_id`:string, `message`:string, `message_zh`:string, `support`:string, `time`:string, `time_stamp`:integer, `time_zone`:string, ...
|
|
1051
|
+
|
|
1052
|
+
| Field | Type | Required | Description | Default | Example | Enum |
|
|
1053
|
+
| --- | --- | --- | --- | --- | --- | --- |
|
|
1054
|
+
| code | integer | No | HTTP status code \| HTTP状态码 | 200 | None | None |
|
|
1055
|
+
| request_id | string | No | Unique request identifier \| 唯一请求标识符 | None | None | None |
|
|
1056
|
+
| message | string | No | Response message (EN-US) \| 响应消息 (English) | Request successful. This request will incur a charge. | None | None |
|
|
1057
|
+
| message_zh | string | No | Response message (ZH-CN) \| 响应消息 (中文) | 请求成功,本次请求将被计费。 | None | None |
|
|
1058
|
+
| support | string | No | Support message \| 支持消息 | Discord: https://discord.gg/aMEAS8Xsvz | None | None |
|
|
1059
|
+
| time | string | No | The time the response was generated \| 生成响应的时间 | None | None | None |
|
|
1060
|
+
| time_stamp | integer | No | The timestamp the response was generated \| 生成响应的时间戳 | None | None | None |
|
|
1061
|
+
| time_zone | string | No | The timezone of the response time \| 响应时间的时区 | America/Los_Angeles | None | None |
|
|
1062
|
+
| docs | string | No | Link to the API Swagger documentation for this endpoint \| 此端点的 API Swagger 文档链接 | None | None | None |
|
|
1063
|
+
| 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 |
|
|
1064
|
+
| cache_message_zh | string | No | Cache message (ZH-CN) \| 缓存消息 (中文) | 本次请求将被缓存,你可以使用下面的 URL 直接访问缓存结果,有效期为 24 小时,访问缓存不会产生额外费用。 | None | None |
|
|
1065
|
+
| cache_url | string | No | The URL to access the cached result \| 访问缓存结果的 URL | None | None | None |
|
|
1066
|
+
| router | string | No | The endpoint that generated this response \| 生成此响应的端点 | None | None | None |
|
|
1067
|
+
| params | dynamic object | No | The parameters used in the request \| 请求中使用的参数 | None | None | None |
|
|
1068
|
+
| data | null | No | The response data \| 响应数据 | None | None | None |
|
|
1069
|
+
|
|
1070
|
+
<a id="get-api-u1-v1-weibo-web-v2-fetch-post-sub-comments"></a>
|
|
1071
|
+
### `GET /api/u1/v1/weibo/web_v2/fetch_post_sub_comments`
|
|
1072
|
+
|
|
1073
|
+
- Summary: 获取微博子评论/Get Weibo sub-comments
|
|
1074
|
+
- Capabilities: comments / content details
|
|
1075
|
+
- Auth: Header `Authorization: Bearer {token}`; docs also allow Cookie `Authorization` as fallback (`HTTPBearer`)
|
|
1076
|
+
- operationId: `fetch_post_sub_comments_api_v1_weibo_web_v2_fetch_post_sub_comments_get`
|
|
1077
|
+
|
|
1078
|
+
#### Notes
|
|
1079
|
+
|
|
1080
|
+
> # [中文]
|
|
1081
|
+
> ### 用途:
|
|
1082
|
+
> - 获取指定评论的回复(子评论)列表。
|
|
1083
|
+
> ### 参数:
|
|
1084
|
+
> - id: 主评论ID(必填)
|
|
1085
|
+
> - count: 子评论数量(默认10)
|
|
1086
|
+
> - max_id: 翻页游标,首次请求传空,后续请求使用返回的max_id值
|
|
1087
|
+
> ### 返回:
|
|
1088
|
+
> - 子评论列表数据,包含回复内容、回复者信息、点赞数等
|
|
1089
|
+
> - 包含 max_id 字段用于翻页
|
|
1090
|
+
> ### 注意:
|
|
1091
|
+
> - 与fetch_post_comments的区别:本接口获取的是评论的回复,而非微博的主评论
|
|
1092
|
+
>
|
|
1093
|
+
> # [English]
|
|
1094
|
+
> ### Purpose:
|
|
1095
|
+
> - Get the reply (sub-comment) list of a specified comment.
|
|
1096
|
+
> ### Parameters:
|
|
1097
|
+
> - id: Main comment ID (required)
|
|
1098
|
+
> - count: Number of sub-comments (default 10)
|
|
1099
|
+
> - max_id: Pagination cursor, pass empty for first request, use returned max_id for subsequent requests
|
|
1100
|
+
> ### Return:
|
|
1101
|
+
> - Sub-comment list data, including reply content, replier info, likes count
|
|
1102
|
+
> - Contains max_id field for pagination
|
|
1103
|
+
> ### Note:
|
|
1104
|
+
> - Difference from fetch_post_comments: this API gets replies to comments, not main comments of posts
|
|
1105
|
+
>
|
|
1106
|
+
> # [示例/Example]
|
|
1107
|
+
> id = "5201793550385562"
|
|
1108
|
+
> count = 10
|
|
1109
|
+
> max_id = ""
|
|
1110
|
+
|
|
1111
|
+
#### Parameters
|
|
1112
|
+
|
|
1113
|
+
| Field | In | Type | Required | Description | Default | Example | Enum |
|
|
1114
|
+
| --- | --- | --- | --- | --- | --- | --- | --- |
|
|
1115
|
+
| id | query | string | Yes | 主评论ID/Comment ID | None | 5201793550385562 | None |
|
|
1116
|
+
| count | query | integer | No | 子评论数量/Number of sub-comments | 10 | 10 | None |
|
|
1117
|
+
| max_id | query | string | No | 分页标识/Page identifier | None | None | None |
|
|
1118
|
+
|
|
1119
|
+
#### Request Body
|
|
1120
|
+
|
|
1121
|
+
None
|
|
1122
|
+
|
|
1123
|
+
#### Success Response
|
|
1124
|
+
|
|
1125
|
+
##### `200 application/json`
|
|
1126
|
+
|
|
1127
|
+
- Schema summary: `code`:integer, `request_id`:string, `message`:string, `message_zh`:string, `support`:string, `time`:string, `time_stamp`:integer, `time_zone`:string, ...
|
|
1128
|
+
|
|
1129
|
+
| Field | Type | Required | Description | Default | Example | Enum |
|
|
1130
|
+
| --- | --- | --- | --- | --- | --- | --- |
|
|
1131
|
+
| code | integer | No | HTTP status code \| HTTP状态码 | 200 | None | None |
|
|
1132
|
+
| request_id | string | No | Unique request identifier \| 唯一请求标识符 | None | None | None |
|
|
1133
|
+
| message | string | No | Response message (EN-US) \| 响应消息 (English) | Request successful. This request will incur a charge. | None | None |
|
|
1134
|
+
| message_zh | string | No | Response message (ZH-CN) \| 响应消息 (中文) | 请求成功,本次请求将被计费。 | None | None |
|
|
1135
|
+
| support | string | No | Support message \| 支持消息 | Discord: https://discord.gg/aMEAS8Xsvz | None | None |
|
|
1136
|
+
| time | string | No | The time the response was generated \| 生成响应的时间 | None | None | None |
|
|
1137
|
+
| time_stamp | integer | No | The timestamp the response was generated \| 生成响应的时间戳 | None | None | None |
|
|
1138
|
+
| time_zone | string | No | The timezone of the response time \| 响应时间的时区 | America/Los_Angeles | None | None |
|
|
1139
|
+
| docs | string | No | Link to the API Swagger documentation for this endpoint \| 此端点的 API Swagger 文档链接 | None | None | None |
|
|
1140
|
+
| 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 |
|
|
1141
|
+
| cache_message_zh | string | No | Cache message (ZH-CN) \| 缓存消息 (中文) | 本次请求将被缓存,你可以使用下面的 URL 直接访问缓存结果,有效期为 24 小时,访问缓存不会产生额外费用。 | None | None |
|
|
1142
|
+
| cache_url | string | No | The URL to access the cached result \| 访问缓存结果的 URL | None | None | None |
|
|
1143
|
+
| router | string | No | The endpoint that generated this response \| 生成此响应的端点 | None | None | None |
|
|
1144
|
+
| params | dynamic object | No | The parameters used in the request \| 请求中使用的参数 | None | None | None |
|
|
1145
|
+
| data | null | No | The response data \| 响应数据 | None | None | None |
|
|
1146
|
+
|
|
1147
|
+
<a id="get-api-u1-v1-weibo-web-v2-fetch-realtime-search"></a>
|
|
1148
|
+
### `GET /api/u1/v1/weibo/web_v2/fetch_realtime_search`
|
|
1149
|
+
|
|
1150
|
+
- Summary: 实时搜索/Weibo Realtime Search
|
|
1151
|
+
- Capabilities: search
|
|
1152
|
+
- Auth: Header `Authorization: Bearer {token}`; docs also allow Cookie `Authorization` as fallback (`HTTPBearer`)
|
|
1153
|
+
- operationId: `fetch_realtime_search_api_v1_weibo_web_v2_fetch_realtime_search_get`
|
|
1154
|
+
|
|
1155
|
+
#### Notes
|
|
1156
|
+
|
|
1157
|
+
> # [中文]
|
|
1158
|
+
> ### 用途:
|
|
1159
|
+
> - 获取微博实时搜索结果(按时间排序的最新微博)。
|
|
1160
|
+
> ### 参数:
|
|
1161
|
+
> - query: 搜索关键词(必填)
|
|
1162
|
+
> - page: 页码(默认1)
|
|
1163
|
+
> ### 返回:
|
|
1164
|
+
> - 实时搜索结果列表,包含微博内容、作者信息、图片、视频、互动数据等
|
|
1165
|
+
> ### 注意:
|
|
1166
|
+
> - 视频播放需设置请求头 Referer=https://weibo.com/
|
|
1167
|
+
> - 返回结构与高级搜索一致
|
|
1168
|
+
>
|
|
1169
|
+
> # [English]
|
|
1170
|
+
> ### Purpose:
|
|
1171
|
+
> - Get Weibo realtime search results (latest posts sorted by time).
|
|
1172
|
+
> ### Parameters:
|
|
1173
|
+
> - query: Search keyword (required)
|
|
1174
|
+
> - page: Page number (default 1)
|
|
1175
|
+
> ### Return:
|
|
1176
|
+
> - Realtime search result list, including post content, author info, images, videos, interaction data
|
|
1177
|
+
> ### Note:
|
|
1178
|
+
> - Video playback requires setting header Referer=https://weibo.com/
|
|
1179
|
+
> - Return structure is same as advanced search
|
|
1180
|
+
>
|
|
1181
|
+
> # [示例/Example]
|
|
1182
|
+
> query = "苹果发布会"
|
|
1183
|
+
> page = 1
|
|
1184
|
+
|
|
1185
|
+
#### Parameters
|
|
1186
|
+
|
|
1187
|
+
| Field | In | Type | Required | Description | Default | Example | Enum |
|
|
1188
|
+
| --- | --- | --- | --- | --- | --- | --- | --- |
|
|
1189
|
+
| query | query | string | Yes | 搜索关键词/Search keyword | None | yu7 | None |
|
|
1190
|
+
| page | query | integer | No | 页码/Page number | 1 | 1 | None |
|
|
1191
|
+
|
|
1192
|
+
#### Request Body
|
|
1193
|
+
|
|
1194
|
+
None
|
|
1195
|
+
|
|
1196
|
+
#### Success Response
|
|
1197
|
+
|
|
1198
|
+
##### `200 application/json`
|
|
1199
|
+
|
|
1200
|
+
- Schema summary: `code`:integer, `request_id`:string, `message`:string, `message_zh`:string, `support`:string, `time`:string, `time_stamp`:integer, `time_zone`:string, ...
|
|
1201
|
+
|
|
1202
|
+
| Field | Type | Required | Description | Default | Example | Enum |
|
|
1203
|
+
| --- | --- | --- | --- | --- | --- | --- |
|
|
1204
|
+
| code | integer | No | HTTP status code \| HTTP状态码 | 200 | None | None |
|
|
1205
|
+
| request_id | string | No | Unique request identifier \| 唯一请求标识符 | None | None | None |
|
|
1206
|
+
| message | string | No | Response message (EN-US) \| 响应消息 (English) | Request successful. This request will incur a charge. | None | None |
|
|
1207
|
+
| message_zh | string | No | Response message (ZH-CN) \| 响应消息 (中文) | 请求成功,本次请求将被计费。 | None | None |
|
|
1208
|
+
| support | string | No | Support message \| 支持消息 | Discord: https://discord.gg/aMEAS8Xsvz | None | None |
|
|
1209
|
+
| time | string | No | The time the response was generated \| 生成响应的时间 | None | None | None |
|
|
1210
|
+
| time_stamp | integer | No | The timestamp the response was generated \| 生成响应的时间戳 | None | None | None |
|
|
1211
|
+
| time_zone | string | No | The timezone of the response time \| 响应时间的时区 | America/Los_Angeles | None | None |
|
|
1212
|
+
| docs | string | No | Link to the API Swagger documentation for this endpoint \| 此端点的 API Swagger 文档链接 | None | None | None |
|
|
1213
|
+
| 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 |
|
|
1214
|
+
| cache_message_zh | string | No | Cache message (ZH-CN) \| 缓存消息 (中文) | 本次请求将被缓存,你可以使用下面的 URL 直接访问缓存结果,有效期为 24 小时,访问缓存不会产生额外费用。 | None | None |
|
|
1215
|
+
| cache_url | string | No | The URL to access the cached result \| 访问缓存结果的 URL | None | None | None |
|
|
1216
|
+
| router | string | No | The endpoint that generated this response \| 生成此响应的端点 | None | None | None |
|
|
1217
|
+
| params | dynamic object | No | The parameters used in the request \| 请求中使用的参数 | None | None | None |
|
|
1218
|
+
| data | null | No | The response data \| 响应数据 | None | None | None |
|
|
1219
|
+
|
|
1220
|
+
<a id="get-api-u1-v1-weibo-web-v2-fetch-similar-search"></a>
|
|
1221
|
+
### `GET /api/u1/v1/weibo/web_v2/fetch_similar_search`
|
|
1222
|
+
|
|
1223
|
+
- Summary: 获取微博相似搜索词推荐/Get Weibo similar search recommendations
|
|
1224
|
+
- Capabilities: search
|
|
1225
|
+
- Auth: Header `Authorization: Bearer {token}`; docs also allow Cookie `Authorization` as fallback (`HTTPBearer`)
|
|
1226
|
+
- operationId: `fetch_similar_search_api_v1_weibo_web_v2_fetch_similar_search_get`
|
|
1227
|
+
|
|
1228
|
+
#### Notes
|
|
1229
|
+
|
|
1230
|
+
> # [中文]
|
|
1231
|
+
> ### 用途:
|
|
1232
|
+
> - 根据关键词获取微博推荐的相似搜索词。
|
|
1233
|
+
> ### 参数:
|
|
1234
|
+
> - keyword: 搜索关键词(必填,支持话题标签格式如#话题名#)
|
|
1235
|
+
> ### 返回:
|
|
1236
|
+
> - 相似搜索词列表,包含推荐词、搜索次数等
|
|
1237
|
+
> ### 注意:
|
|
1238
|
+
> - 相似词推荐相对稳定,可缓存15-30分钟
|
|
1239
|
+
>
|
|
1240
|
+
> # [English]
|
|
1241
|
+
> ### Purpose:
|
|
1242
|
+
> - Get similar search word recommendations based on keyword.
|
|
1243
|
+
> ### Parameters:
|
|
1244
|
+
> - keyword: Search keyword (required, supports topic tag format like #TopicName#)
|
|
1245
|
+
> ### Return:
|
|
1246
|
+
> - Similar search term list, including suggestion, search count
|
|
1247
|
+
> ### Note:
|
|
1248
|
+
> - Similar word recommendations are relatively stable, can cache for 15-30 minutes
|
|
1249
|
+
>
|
|
1250
|
+
> # [示例/Example]
|
|
1251
|
+
> keyword = "#微博奇遇记#"
|
|
1252
|
+
|
|
1253
|
+
#### Parameters
|
|
1254
|
+
|
|
1255
|
+
| Field | In | Type | Required | Description | Default | Example | Enum |
|
|
1256
|
+
| --- | --- | --- | --- | --- | --- | --- | --- |
|
|
1257
|
+
| keyword | query | string | Yes | 搜索关键词/Search keyword | None | #微博奇遇记# | None |
|
|
1258
|
+
|
|
1259
|
+
#### Request Body
|
|
1260
|
+
|
|
1261
|
+
None
|
|
1262
|
+
|
|
1263
|
+
#### Success Response
|
|
1264
|
+
|
|
1265
|
+
##### `200 application/json`
|
|
1266
|
+
|
|
1267
|
+
- Schema summary: `code`:integer, `request_id`:string, `message`:string, `message_zh`:string, `support`:string, `time`:string, `time_stamp`:integer, `time_zone`:string, ...
|
|
1268
|
+
|
|
1269
|
+
| Field | Type | Required | Description | Default | Example | Enum |
|
|
1270
|
+
| --- | --- | --- | --- | --- | --- | --- |
|
|
1271
|
+
| code | integer | No | HTTP status code \| HTTP状态码 | 200 | None | None |
|
|
1272
|
+
| request_id | string | No | Unique request identifier \| 唯一请求标识符 | None | None | None |
|
|
1273
|
+
| message | string | No | Response message (EN-US) \| 响应消息 (English) | Request successful. This request will incur a charge. | None | None |
|
|
1274
|
+
| message_zh | string | No | Response message (ZH-CN) \| 响应消息 (中文) | 请求成功,本次请求将被计费。 | None | None |
|
|
1275
|
+
| support | string | No | Support message \| 支持消息 | Discord: https://discord.gg/aMEAS8Xsvz | None | None |
|
|
1276
|
+
| time | string | No | The time the response was generated \| 生成响应的时间 | None | None | None |
|
|
1277
|
+
| time_stamp | integer | No | The timestamp the response was generated \| 生成响应的时间戳 | None | None | None |
|
|
1278
|
+
| time_zone | string | No | The timezone of the response time \| 响应时间的时区 | America/Los_Angeles | None | None |
|
|
1279
|
+
| docs | string | No | Link to the API Swagger documentation for this endpoint \| 此端点的 API Swagger 文档链接 | None | None | None |
|
|
1280
|
+
| 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 |
|
|
1281
|
+
| cache_message_zh | string | No | Cache message (ZH-CN) \| 缓存消息 (中文) | 本次请求将被缓存,你可以使用下面的 URL 直接访问缓存结果,有效期为 24 小时,访问缓存不会产生额外费用。 | None | None |
|
|
1282
|
+
| cache_url | string | No | The URL to access the cached result \| 访问缓存结果的 URL | None | None | None |
|
|
1283
|
+
| router | string | No | The endpoint that generated this response \| 生成此响应的端点 | None | None | None |
|
|
1284
|
+
| params | dynamic object | No | The parameters used in the request \| 请求中使用的参数 | None | None | None |
|
|
1285
|
+
| data | null | No | The response data \| 响应数据 | None | None | None |
|
|
1286
|
+
|
|
1287
|
+
<a id="get-api-u1-v1-weibo-web-v2-fetch-social-ranking"></a>
|
|
1288
|
+
### `GET /api/u1/v1/weibo/web_v2/fetch_social_ranking`
|
|
1289
|
+
|
|
1290
|
+
- Summary: 获取微博社会榜单/Get Weibo social ranking
|
|
1291
|
+
- Capabilities: general
|
|
1292
|
+
- Auth: Header `Authorization: Bearer {token}`; docs also allow Cookie `Authorization` as fallback (`HTTPBearer`)
|
|
1293
|
+
- operationId: `fetch_social_ranking_api_v1_weibo_web_v2_fetch_social_ranking_get`
|
|
1294
|
+
|
|
1295
|
+
#### Notes
|
|
1296
|
+
|
|
1297
|
+
> # [中文]
|
|
1298
|
+
> ### 用途:
|
|
1299
|
+
> - 获取微博社会榜单数据(时事新闻、社会热点、民生话题等)。
|
|
1300
|
+
> ### 参数:
|
|
1301
|
+
> - 无需额外参数
|
|
1302
|
+
> ### 返回:
|
|
1303
|
+
> - 社会话题列表,包含话题、热度值、排名、分类等
|
|
1304
|
+
> ### 注意:
|
|
1305
|
+
> - 社会热点变化较快,建议缓存2-5分钟
|
|
1306
|
+
>
|
|
1307
|
+
> # [English]
|
|
1308
|
+
> ### Purpose:
|
|
1309
|
+
> - Get Weibo social ranking data (current affairs, social hotspots, livelihood topics).
|
|
1310
|
+
> ### Parameters:
|
|
1311
|
+
> - No additional parameters required
|
|
1312
|
+
> ### Return:
|
|
1313
|
+
> - Social topic list, including topic, heat value, rank, category
|
|
1314
|
+
> ### Note:
|
|
1315
|
+
> - Social hotspots change rapidly, recommend caching for 2-5 minutes
|
|
1316
|
+
>
|
|
1317
|
+
> # [示例/Example]
|
|
1318
|
+
> # No parameters needed
|
|
1319
|
+
|
|
1320
|
+
#### Parameters
|
|
1321
|
+
|
|
1322
|
+
None
|
|
1323
|
+
|
|
1324
|
+
#### Request Body
|
|
1325
|
+
|
|
1326
|
+
None
|
|
1327
|
+
|
|
1328
|
+
#### Success Response
|
|
1329
|
+
|
|
1330
|
+
##### `200 application/json`
|
|
1331
|
+
|
|
1332
|
+
- Schema summary: `code`:integer, `request_id`:string, `message`:string, `message_zh`:string, `support`:string, `time`:string, `time_stamp`:integer, `time_zone`:string, ...
|
|
1333
|
+
|
|
1334
|
+
| Field | Type | Required | Description | Default | Example | Enum |
|
|
1335
|
+
| --- | --- | --- | --- | --- | --- | --- |
|
|
1336
|
+
| code | integer | No | HTTP status code \| HTTP状态码 | 200 | None | None |
|
|
1337
|
+
| request_id | string | No | Unique request identifier \| 唯一请求标识符 | None | None | None |
|
|
1338
|
+
| message | string | No | Response message (EN-US) \| 响应消息 (English) | Request successful. This request will incur a charge. | None | None |
|
|
1339
|
+
| message_zh | string | No | Response message (ZH-CN) \| 响应消息 (中文) | 请求成功,本次请求将被计费。 | None | None |
|
|
1340
|
+
| support | string | No | Support message \| 支持消息 | Discord: https://discord.gg/aMEAS8Xsvz | None | None |
|
|
1341
|
+
| time | string | No | The time the response was generated \| 生成响应的时间 | None | None | None |
|
|
1342
|
+
| time_stamp | integer | No | The timestamp the response was generated \| 生成响应的时间戳 | None | None | None |
|
|
1343
|
+
| time_zone | string | No | The timezone of the response time \| 响应时间的时区 | America/Los_Angeles | None | None |
|
|
1344
|
+
| docs | string | No | Link to the API Swagger documentation for this endpoint \| 此端点的 API Swagger 文档链接 | None | None | None |
|
|
1345
|
+
| 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 |
|
|
1346
|
+
| cache_message_zh | string | No | Cache message (ZH-CN) \| 缓存消息 (中文) | 本次请求将被缓存,你可以使用下面的 URL 直接访问缓存结果,有效期为 24 小时,访问缓存不会产生额外费用。 | None | None |
|
|
1347
|
+
| cache_url | string | No | The URL to access the cached result \| 访问缓存结果的 URL | None | None | None |
|
|
1348
|
+
| router | string | No | The endpoint that generated this response \| 生成此响应的端点 | None | None | None |
|
|
1349
|
+
| params | dynamic object | No | The parameters used in the request \| 请求中使用的参数 | None | None | None |
|
|
1350
|
+
| data | null | No | The response data \| 响应数据 | None | None | None |
|
|
1351
|
+
|
|
1352
|
+
<a id="get-api-u1-v1-weibo-web-v2-fetch-topic-search"></a>
|
|
1353
|
+
### `GET /api/u1/v1/weibo/web_v2/fetch_topic_search`
|
|
1354
|
+
|
|
1355
|
+
- Summary: 话题搜索/Weibo topic search
|
|
1356
|
+
- Capabilities: search / topics
|
|
1357
|
+
- Auth: Header `Authorization: Bearer {token}`; docs also allow Cookie `Authorization` as fallback (`HTTPBearer`)
|
|
1358
|
+
- operationId: `fetch_topic_search_api_v1_weibo_web_v2_fetch_topic_search_get`
|
|
1359
|
+
|
|
1360
|
+
#### Notes
|
|
1361
|
+
|
|
1362
|
+
> # [中文]
|
|
1363
|
+
> ### 用途:
|
|
1364
|
+
> - 搜索微博话题,获取话题名称、封面、讨论量、阅读量。
|
|
1365
|
+
> ### 参数:
|
|
1366
|
+
> - query: 搜索关键词(必填)
|
|
1367
|
+
> - page: 页码(默认1)
|
|
1368
|
+
> ### 返回:
|
|
1369
|
+
> - 话题列表,包含话题名、封面图、讨论数、阅读数
|
|
1370
|
+
> ### 注意:
|
|
1371
|
+
> - 数量单位(万/亿)已转换为整数
|
|
1372
|
+
>
|
|
1373
|
+
> # [English]
|
|
1374
|
+
> ### Purpose:
|
|
1375
|
+
> - Search Weibo topics, get topic name, cover, discussion count, read count.
|
|
1376
|
+
> ### Parameters:
|
|
1377
|
+
> - query: Search keyword (required)
|
|
1378
|
+
> - page: Page number (default 1)
|
|
1379
|
+
> ### Return:
|
|
1380
|
+
> - Topic list with topic name, cover image, discussion count, read count
|
|
1381
|
+
> ### Note:
|
|
1382
|
+
> - Count units (万/亿) are converted to integers
|
|
1383
|
+
>
|
|
1384
|
+
> # [示例/Example]
|
|
1385
|
+
> query = "yu7"
|
|
1386
|
+
> page = 1
|
|
1387
|
+
|
|
1388
|
+
#### Parameters
|
|
1389
|
+
|
|
1390
|
+
| Field | In | Type | Required | Description | Default | Example | Enum |
|
|
1391
|
+
| --- | --- | --- | --- | --- | --- | --- | --- |
|
|
1392
|
+
| query | query | string | Yes | 搜索关键词/Search keyword | None | yu7 | None |
|
|
1393
|
+
| page | query | integer | No | 页码/Page number | 1 | 1 | None |
|
|
1394
|
+
|
|
1395
|
+
#### Request Body
|
|
1396
|
+
|
|
1397
|
+
None
|
|
1398
|
+
|
|
1399
|
+
#### Success Response
|
|
1400
|
+
|
|
1401
|
+
##### `200 application/json`
|
|
1402
|
+
|
|
1403
|
+
- Schema summary: `code`:integer, `request_id`:string, `message`:string, `message_zh`:string, `support`:string, `time`:string, `time_stamp`:integer, `time_zone`:string, ...
|
|
1404
|
+
|
|
1405
|
+
| Field | Type | Required | Description | Default | Example | Enum |
|
|
1406
|
+
| --- | --- | --- | --- | --- | --- | --- |
|
|
1407
|
+
| code | integer | No | HTTP status code \| HTTP状态码 | 200 | None | None |
|
|
1408
|
+
| request_id | string | No | Unique request identifier \| 唯一请求标识符 | None | None | None |
|
|
1409
|
+
| message | string | No | Response message (EN-US) \| 响应消息 (English) | Request successful. This request will incur a charge. | None | None |
|
|
1410
|
+
| message_zh | string | No | Response message (ZH-CN) \| 响应消息 (中文) | 请求成功,本次请求将被计费。 | None | None |
|
|
1411
|
+
| support | string | No | Support message \| 支持消息 | Discord: https://discord.gg/aMEAS8Xsvz | None | None |
|
|
1412
|
+
| time | string | No | The time the response was generated \| 生成响应的时间 | None | None | None |
|
|
1413
|
+
| time_stamp | integer | No | The timestamp the response was generated \| 生成响应的时间戳 | None | None | None |
|
|
1414
|
+
| time_zone | string | No | The timezone of the response time \| 响应时间的时区 | America/Los_Angeles | None | None |
|
|
1415
|
+
| docs | string | No | Link to the API Swagger documentation for this endpoint \| 此端点的 API Swagger 文档链接 | None | None | None |
|
|
1416
|
+
| 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 |
|
|
1417
|
+
| cache_message_zh | string | No | Cache message (ZH-CN) \| 缓存消息 (中文) | 本次请求将被缓存,你可以使用下面的 URL 直接访问缓存结果,有效期为 24 小时,访问缓存不会产生额外费用。 | None | None |
|
|
1418
|
+
| cache_url | string | No | The URL to access the cached result \| 访问缓存结果的 URL | None | None | None |
|
|
1419
|
+
| router | string | No | The endpoint that generated this response \| 生成此响应的端点 | None | None | None |
|
|
1420
|
+
| params | dynamic object | No | The parameters used in the request \| 请求中使用的参数 | None | None | None |
|
|
1421
|
+
| data | null | No | The response data \| 响应数据 | None | None | None |
|
|
1422
|
+
|
|
1423
|
+
<a id="get-api-u1-v1-weibo-web-v2-fetch-user-basic-info"></a>
|
|
1424
|
+
### `GET /api/u1/v1/weibo/web_v2/fetch_user_basic_info`
|
|
1425
|
+
|
|
1426
|
+
- Summary: 获取用户基本信息/Get user basic information
|
|
1427
|
+
- Capabilities: profiles / accounts
|
|
1428
|
+
- Auth: Header `Authorization: Bearer {token}`; docs also allow Cookie `Authorization` as fallback (`HTTPBearer`)
|
|
1429
|
+
- operationId: `fetch_user_basic_info_api_v1_weibo_web_v2_fetch_user_basic_info_get`
|
|
1430
|
+
|
|
1431
|
+
#### Notes
|
|
1432
|
+
|
|
1433
|
+
> # [中文]
|
|
1434
|
+
> ### 用途:
|
|
1435
|
+
> - 获取微博用户的基本信息(轻量级接口)。
|
|
1436
|
+
> ### 参数:
|
|
1437
|
+
> - uid: 用户ID(必填)
|
|
1438
|
+
> ### 返回:
|
|
1439
|
+
> - 用户基本信息,包括用户ID、用户名、头像、简介、认证信息
|
|
1440
|
+
> ### 注意:
|
|
1441
|
+
> - 与fetch_user_info相比,本接口返回数据更少,响应更快
|
|
1442
|
+
> - 适合批量用户信息获取和用户卡片展示
|
|
1443
|
+
>
|
|
1444
|
+
> # [English]
|
|
1445
|
+
> ### Purpose:
|
|
1446
|
+
> - Get basic information of Weibo users (lightweight API).
|
|
1447
|
+
> ### Parameters:
|
|
1448
|
+
> - uid: User ID (required)
|
|
1449
|
+
> ### Return:
|
|
1450
|
+
> - User basic info, including user ID, username, avatar, bio, verification
|
|
1451
|
+
> ### Note:
|
|
1452
|
+
> - Compared to fetch_user_info, this API returns less data with faster response
|
|
1453
|
+
> - Suitable for batch user info retrieval and user card display
|
|
1454
|
+
>
|
|
1455
|
+
> # [示例/Example]
|
|
1456
|
+
> uid = "7277477906"
|
|
1457
|
+
|
|
1458
|
+
#### Parameters
|
|
1459
|
+
|
|
1460
|
+
| Field | In | Type | Required | Description | Default | Example | Enum |
|
|
1461
|
+
| --- | --- | --- | --- | --- | --- | --- | --- |
|
|
1462
|
+
| uid | query | string | Yes | 用户id/User id | None | 7277477906 | None |
|
|
1463
|
+
|
|
1464
|
+
#### Request Body
|
|
1465
|
+
|
|
1466
|
+
None
|
|
1467
|
+
|
|
1468
|
+
#### Success Response
|
|
1469
|
+
|
|
1470
|
+
##### `200 application/json`
|
|
1471
|
+
|
|
1472
|
+
- Schema summary: `code`:integer, `request_id`:string, `message`:string, `message_zh`:string, `support`:string, `time`:string, `time_stamp`:integer, `time_zone`:string, ...
|
|
1473
|
+
|
|
1474
|
+
| Field | Type | Required | Description | Default | Example | Enum |
|
|
1475
|
+
| --- | --- | --- | --- | --- | --- | --- |
|
|
1476
|
+
| code | integer | No | HTTP status code \| HTTP状态码 | 200 | None | None |
|
|
1477
|
+
| request_id | string | No | Unique request identifier \| 唯一请求标识符 | None | None | None |
|
|
1478
|
+
| message | string | No | Response message (EN-US) \| 响应消息 (English) | Request successful. This request will incur a charge. | None | None |
|
|
1479
|
+
| message_zh | string | No | Response message (ZH-CN) \| 响应消息 (中文) | 请求成功,本次请求将被计费。 | None | None |
|
|
1480
|
+
| support | string | No | Support message \| 支持消息 | Discord: https://discord.gg/aMEAS8Xsvz | None | None |
|
|
1481
|
+
| time | string | No | The time the response was generated \| 生成响应的时间 | None | None | None |
|
|
1482
|
+
| time_stamp | integer | No | The timestamp the response was generated \| 生成响应的时间戳 | None | None | None |
|
|
1483
|
+
| time_zone | string | No | The timezone of the response time \| 响应时间的时区 | America/Los_Angeles | None | None |
|
|
1484
|
+
| docs | string | No | Link to the API Swagger documentation for this endpoint \| 此端点的 API Swagger 文档链接 | None | None | None |
|
|
1485
|
+
| 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 |
|
|
1486
|
+
| cache_message_zh | string | No | Cache message (ZH-CN) \| 缓存消息 (中文) | 本次请求将被缓存,你可以使用下面的 URL 直接访问缓存结果,有效期为 24 小时,访问缓存不会产生额外费用。 | None | None |
|
|
1487
|
+
| cache_url | string | No | The URL to access the cached result \| 访问缓存结果的 URL | None | None | None |
|
|
1488
|
+
| router | string | No | The endpoint that generated this response \| 生成此响应的端点 | None | None | None |
|
|
1489
|
+
| params | dynamic object | No | The parameters used in the request \| 请求中使用的参数 | None | None | None |
|
|
1490
|
+
| data | null | No | The response data \| 响应数据 | None | None | None |
|
|
1491
|
+
|
|
1492
|
+
<a id="get-api-u1-v1-weibo-web-v2-fetch-user-fans"></a>
|
|
1493
|
+
### `GET /api/u1/v1/weibo/web_v2/fetch_user_fans`
|
|
1494
|
+
|
|
1495
|
+
- Summary: 获取用户粉丝列表/Get user fans list
|
|
1496
|
+
- Capabilities: profiles / accounts
|
|
1497
|
+
- Auth: Header `Authorization: Bearer {token}`; docs also allow Cookie `Authorization` as fallback (`HTTPBearer`)
|
|
1498
|
+
- operationId: `fetch_user_fans_api_v1_weibo_web_v2_fetch_user_fans_get`
|
|
1499
|
+
|
|
1500
|
+
#### Notes
|
|
1501
|
+
|
|
1502
|
+
> # [中文]
|
|
1503
|
+
> ### 用途:
|
|
1504
|
+
> - 获取指定用户的粉丝列表(谁关注了该用户)。
|
|
1505
|
+
> ### 参数:
|
|
1506
|
+
> - uid: 用户ID(必填)
|
|
1507
|
+
> - page: 页码,从0开始(默认0)
|
|
1508
|
+
> ### 返回:
|
|
1509
|
+
> - 粉丝用户列表,包含用户名、头像、简介、粉丝数等
|
|
1510
|
+
> ### 注意:
|
|
1511
|
+
> - 粉丝列表受用户隐私设置影响
|
|
1512
|
+
> - page参数从0开始,而不是1
|
|
1513
|
+
> - 与fetch_user_following的区别:本接口获取谁关注了该用户,fetch_user_following获取用户关注了谁
|
|
1514
|
+
>
|
|
1515
|
+
> # [English]
|
|
1516
|
+
> ### Purpose:
|
|
1517
|
+
> - Get the fans list of specified user (who follows the user).
|
|
1518
|
+
> ### Parameters:
|
|
1519
|
+
> - uid: User ID (required)
|
|
1520
|
+
> - page: Page number, starts from 0 (default 0)
|
|
1521
|
+
> ### Return:
|
|
1522
|
+
> - Fans user list, including username, avatar, bio, followers count
|
|
1523
|
+
> ### Note:
|
|
1524
|
+
> - Fans list affected by user privacy settings
|
|
1525
|
+
> - page parameter starts from 0, not 1
|
|
1526
|
+
> - Difference from fetch_user_following: this API gets who follows the user, fetch_user_following gets who user follows
|
|
1527
|
+
>
|
|
1528
|
+
> # [示例/Example]
|
|
1529
|
+
> uid = "1722594714"
|
|
1530
|
+
> page = 0
|
|
1531
|
+
|
|
1532
|
+
#### Parameters
|
|
1533
|
+
|
|
1534
|
+
| Field | In | Type | Required | Description | Default | Example | Enum |
|
|
1535
|
+
| --- | --- | --- | --- | --- | --- | --- | --- |
|
|
1536
|
+
| uid | query | string | Yes | 用户ID/User ID | None | 1722594714 | None |
|
|
1537
|
+
| page | query | integer | No | 页码/Page number | 0 | 0 | None |
|
|
1538
|
+
|
|
1539
|
+
#### Request Body
|
|
1540
|
+
|
|
1541
|
+
None
|
|
1542
|
+
|
|
1543
|
+
#### Success Response
|
|
1544
|
+
|
|
1545
|
+
##### `200 application/json`
|
|
1546
|
+
|
|
1547
|
+
- Schema summary: `code`:integer, `request_id`:string, `message`:string, `message_zh`:string, `support`:string, `time`:string, `time_stamp`:integer, `time_zone`:string, ...
|
|
1548
|
+
|
|
1549
|
+
| Field | Type | Required | Description | Default | Example | Enum |
|
|
1550
|
+
| --- | --- | --- | --- | --- | --- | --- |
|
|
1551
|
+
| code | integer | No | HTTP status code \| HTTP状态码 | 200 | None | None |
|
|
1552
|
+
| request_id | string | No | Unique request identifier \| 唯一请求标识符 | None | None | None |
|
|
1553
|
+
| message | string | No | Response message (EN-US) \| 响应消息 (English) | Request successful. This request will incur a charge. | None | None |
|
|
1554
|
+
| message_zh | string | No | Response message (ZH-CN) \| 响应消息 (中文) | 请求成功,本次请求将被计费。 | None | None |
|
|
1555
|
+
| support | string | No | Support message \| 支持消息 | Discord: https://discord.gg/aMEAS8Xsvz | None | None |
|
|
1556
|
+
| time | string | No | The time the response was generated \| 生成响应的时间 | None | None | None |
|
|
1557
|
+
| time_stamp | integer | No | The timestamp the response was generated \| 生成响应的时间戳 | None | None | None |
|
|
1558
|
+
| time_zone | string | No | The timezone of the response time \| 响应时间的时区 | America/Los_Angeles | None | None |
|
|
1559
|
+
| docs | string | No | Link to the API Swagger documentation for this endpoint \| 此端点的 API Swagger 文档链接 | None | None | None |
|
|
1560
|
+
| 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 |
|
|
1561
|
+
| cache_message_zh | string | No | Cache message (ZH-CN) \| 缓存消息 (中文) | 本次请求将被缓存,你可以使用下面的 URL 直接访问缓存结果,有效期为 24 小时,访问缓存不会产生额外费用。 | None | None |
|
|
1562
|
+
| cache_url | string | No | The URL to access the cached result \| 访问缓存结果的 URL | None | None | None |
|
|
1563
|
+
| router | string | No | The endpoint that generated this response \| 生成此响应的端点 | None | None | None |
|
|
1564
|
+
| params | dynamic object | No | The parameters used in the request \| 请求中使用的参数 | None | None | None |
|
|
1565
|
+
| data | null | No | The response data \| 响应数据 | None | None | None |
|
|
1566
|
+
|
|
1567
|
+
<a id="get-api-u1-v1-weibo-web-v2-fetch-user-following"></a>
|
|
1568
|
+
### `GET /api/u1/v1/weibo/web_v2/fetch_user_following`
|
|
1569
|
+
|
|
1570
|
+
- Summary: 获取用户关注列表/Get user following list
|
|
1571
|
+
- Capabilities: profiles / accounts
|
|
1572
|
+
- Auth: Header `Authorization: Bearer {token}`; docs also allow Cookie `Authorization` as fallback (`HTTPBearer`)
|
|
1573
|
+
- operationId: `fetch_user_following_api_v1_weibo_web_v2_fetch_user_following_get`
|
|
1574
|
+
|
|
1575
|
+
#### Notes
|
|
1576
|
+
|
|
1577
|
+
> # [中文]
|
|
1578
|
+
> ### 用途:
|
|
1579
|
+
> - 获取指定用户的关注列表(该用户关注了谁)。
|
|
1580
|
+
> ### 参数:
|
|
1581
|
+
> - uid: 用户ID(必填)
|
|
1582
|
+
> - page: 页码,从0开始(默认0)
|
|
1583
|
+
> ### 返回:
|
|
1584
|
+
> - 关注用户列表,包含用户名、头像、简介、粉丝数等
|
|
1585
|
+
> ### 注意:
|
|
1586
|
+
> - 关注列表受用户隐私设置影响
|
|
1587
|
+
> - page参数从0开始,而不是1
|
|
1588
|
+
> - 与fetch_user_fans的区别:本接口获取用户关注了谁,fetch_user_fans获取谁关注了该用户
|
|
1589
|
+
>
|
|
1590
|
+
> # [English]
|
|
1591
|
+
> ### Purpose:
|
|
1592
|
+
> - Get the following list of specified user (who the user follows).
|
|
1593
|
+
> ### Parameters:
|
|
1594
|
+
> - uid: User ID (required)
|
|
1595
|
+
> - page: Page number, starts from 0 (default 0)
|
|
1596
|
+
> ### Return:
|
|
1597
|
+
> - Following user list, including username, avatar, bio, followers count
|
|
1598
|
+
> ### Note:
|
|
1599
|
+
> - Following list affected by user privacy settings
|
|
1600
|
+
> - page parameter starts from 0, not 1
|
|
1601
|
+
> - Difference from fetch_user_fans: this API gets who user follows, fetch_user_fans gets who follows the user
|
|
1602
|
+
>
|
|
1603
|
+
> # [示例/Example]
|
|
1604
|
+
> uid = "1722594714"
|
|
1605
|
+
> page = 0
|
|
1606
|
+
|
|
1607
|
+
#### Parameters
|
|
1608
|
+
|
|
1609
|
+
| Field | In | Type | Required | Description | Default | Example | Enum |
|
|
1610
|
+
| --- | --- | --- | --- | --- | --- | --- | --- |
|
|
1611
|
+
| uid | query | string | Yes | 用户ID/User ID | None | 1722594714 | None |
|
|
1612
|
+
| page | query | integer | No | 页码/Page number | 0 | 0 | None |
|
|
1613
|
+
|
|
1614
|
+
#### Request Body
|
|
1615
|
+
|
|
1616
|
+
None
|
|
1617
|
+
|
|
1618
|
+
#### Success Response
|
|
1619
|
+
|
|
1620
|
+
##### `200 application/json`
|
|
1621
|
+
|
|
1622
|
+
- Schema summary: `code`:integer, `request_id`:string, `message`:string, `message_zh`:string, `support`:string, `time`:string, `time_stamp`:integer, `time_zone`:string, ...
|
|
1623
|
+
|
|
1624
|
+
| Field | Type | Required | Description | Default | Example | Enum |
|
|
1625
|
+
| --- | --- | --- | --- | --- | --- | --- |
|
|
1626
|
+
| code | integer | No | HTTP status code \| HTTP状态码 | 200 | None | None |
|
|
1627
|
+
| request_id | string | No | Unique request identifier \| 唯一请求标识符 | None | None | None |
|
|
1628
|
+
| message | string | No | Response message (EN-US) \| 响应消息 (English) | Request successful. This request will incur a charge. | None | None |
|
|
1629
|
+
| message_zh | string | No | Response message (ZH-CN) \| 响应消息 (中文) | 请求成功,本次请求将被计费。 | None | None |
|
|
1630
|
+
| support | string | No | Support message \| 支持消息 | Discord: https://discord.gg/aMEAS8Xsvz | None | None |
|
|
1631
|
+
| time | string | No | The time the response was generated \| 生成响应的时间 | None | None | None |
|
|
1632
|
+
| time_stamp | integer | No | The timestamp the response was generated \| 生成响应的时间戳 | None | None | None |
|
|
1633
|
+
| time_zone | string | No | The timezone of the response time \| 响应时间的时区 | America/Los_Angeles | None | None |
|
|
1634
|
+
| docs | string | No | Link to the API Swagger documentation for this endpoint \| 此端点的 API Swagger 文档链接 | None | None | None |
|
|
1635
|
+
| 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 |
|
|
1636
|
+
| cache_message_zh | string | No | Cache message (ZH-CN) \| 缓存消息 (中文) | 本次请求将被缓存,你可以使用下面的 URL 直接访问缓存结果,有效期为 24 小时,访问缓存不会产生额外费用。 | None | None |
|
|
1637
|
+
| cache_url | string | No | The URL to access the cached result \| 访问缓存结果的 URL | None | None | None |
|
|
1638
|
+
| router | string | No | The endpoint that generated this response \| 生成此响应的端点 | None | None | None |
|
|
1639
|
+
| params | dynamic object | No | The parameters used in the request \| 请求中使用的参数 | None | None | None |
|
|
1640
|
+
| data | null | No | The response data \| 响应数据 | None | None | None |
|
|
1641
|
+
|
|
1642
|
+
<a id="get-api-u1-v1-weibo-web-v2-fetch-user-info"></a>
|
|
1643
|
+
### `GET /api/u1/v1/weibo/web_v2/fetch_user_info`
|
|
1644
|
+
|
|
1645
|
+
- Summary: 获取用户信息/Get user information
|
|
1646
|
+
- Capabilities: profiles / accounts
|
|
1647
|
+
- Auth: Header `Authorization: Bearer {token}`; docs also allow Cookie `Authorization` as fallback (`HTTPBearer`)
|
|
1648
|
+
- operationId: `fetch_user_info_api_v1_weibo_web_v2_fetch_user_info_get`
|
|
1649
|
+
|
|
1650
|
+
#### Notes
|
|
1651
|
+
|
|
1652
|
+
> # [中文]
|
|
1653
|
+
> ### 用途:
|
|
1654
|
+
> - 获取微博用户的详细信息,包括昵称、头像、简介、关注数、粉丝数等。
|
|
1655
|
+
> ### 参数:
|
|
1656
|
+
> - uid: 用户ID(可选,与custom二选一)
|
|
1657
|
+
> - custom: 自定义用户名(可选,与uid二选一)
|
|
1658
|
+
> ### 返回:
|
|
1659
|
+
> - 用户详细信息数据
|
|
1660
|
+
> ### 注意:
|
|
1661
|
+
> - uid和custom参数至少需要提供一个
|
|
1662
|
+
> - 如果同时提供,优先使用uid
|
|
1663
|
+
> - 建议优先使用uid参数
|
|
1664
|
+
>
|
|
1665
|
+
> # [English]
|
|
1666
|
+
> ### Purpose:
|
|
1667
|
+
> - Get detailed information of Weibo users, including nickname, avatar, bio, following count, followers count.
|
|
1668
|
+
> ### Parameters:
|
|
1669
|
+
> - uid: User ID (optional, choose one with custom)
|
|
1670
|
+
> - custom: Custom username (optional, choose one with uid)
|
|
1671
|
+
> ### Return:
|
|
1672
|
+
> - User detailed information data
|
|
1673
|
+
> ### Note:
|
|
1674
|
+
> - At least one of uid and custom must be provided
|
|
1675
|
+
> - If both provided, uid takes priority
|
|
1676
|
+
> - It's recommended to use uid parameter first
|
|
1677
|
+
>
|
|
1678
|
+
> # [示例/Example]
|
|
1679
|
+
> uid = "1722594714"
|
|
1680
|
+
> # or
|
|
1681
|
+
> custom = "shuqi"
|
|
1682
|
+
|
|
1683
|
+
#### Parameters
|
|
1684
|
+
|
|
1685
|
+
| Field | In | Type | Required | Description | Default | Example | Enum |
|
|
1686
|
+
| --- | --- | --- | --- | --- | --- | --- | --- |
|
|
1687
|
+
| uid | query | string | No | 用户id/User id | None | 1722594714 | None |
|
|
1688
|
+
| custom | query | string | No | 自定义微博用户名/Custom Weibo username | None | shuqi | None |
|
|
1689
|
+
|
|
1690
|
+
#### Request Body
|
|
1691
|
+
|
|
1692
|
+
None
|
|
1693
|
+
|
|
1694
|
+
#### Success Response
|
|
1695
|
+
|
|
1696
|
+
##### `200 application/json`
|
|
1697
|
+
|
|
1698
|
+
- Schema summary: `code`:integer, `request_id`:string, `message`:string, `message_zh`:string, `support`:string, `time`:string, `time_stamp`:integer, `time_zone`:string, ...
|
|
1699
|
+
|
|
1700
|
+
| Field | Type | Required | Description | Default | Example | Enum |
|
|
1701
|
+
| --- | --- | --- | --- | --- | --- | --- |
|
|
1702
|
+
| code | integer | No | HTTP status code \| HTTP状态码 | 200 | None | None |
|
|
1703
|
+
| request_id | string | No | Unique request identifier \| 唯一请求标识符 | None | None | None |
|
|
1704
|
+
| message | string | No | Response message (EN-US) \| 响应消息 (English) | Request successful. This request will incur a charge. | None | None |
|
|
1705
|
+
| message_zh | string | No | Response message (ZH-CN) \| 响应消息 (中文) | 请求成功,本次请求将被计费。 | None | None |
|
|
1706
|
+
| support | string | No | Support message \| 支持消息 | Discord: https://discord.gg/aMEAS8Xsvz | None | None |
|
|
1707
|
+
| time | string | No | The time the response was generated \| 生成响应的时间 | None | None | None |
|
|
1708
|
+
| time_stamp | integer | No | The timestamp the response was generated \| 生成响应的时间戳 | None | None | None |
|
|
1709
|
+
| time_zone | string | No | The timezone of the response time \| 响应时间的时区 | America/Los_Angeles | None | None |
|
|
1710
|
+
| docs | string | No | Link to the API Swagger documentation for this endpoint \| 此端点的 API Swagger 文档链接 | None | None | None |
|
|
1711
|
+
| 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 |
|
|
1712
|
+
| cache_message_zh | string | No | Cache message (ZH-CN) \| 缓存消息 (中文) | 本次请求将被缓存,你可以使用下面的 URL 直接访问缓存结果,有效期为 24 小时,访问缓存不会产生额外费用。 | None | None |
|
|
1713
|
+
| cache_url | string | No | The URL to access the cached result \| 访问缓存结果的 URL | None | None | None |
|
|
1714
|
+
| router | string | No | The endpoint that generated this response \| 生成此响应的端点 | None | None | None |
|
|
1715
|
+
| params | dynamic object | No | The parameters used in the request \| 请求中使用的参数 | None | None | None |
|
|
1716
|
+
| data | null | No | The response data \| 响应数据 | None | None | None |
|
|
1717
|
+
|
|
1718
|
+
<a id="get-api-u1-v1-weibo-web-v2-fetch-user-original-posts"></a>
|
|
1719
|
+
### `GET /api/u1/v1/weibo/web_v2/fetch_user_original_posts`
|
|
1720
|
+
|
|
1721
|
+
- Summary: 获取微博用户原创微博数据/Get Weibo user original posts
|
|
1722
|
+
- Capabilities: profiles / accounts / content details
|
|
1723
|
+
- Auth: Header `Authorization: Bearer {token}`; docs also allow Cookie `Authorization` as fallback (`HTTPBearer`)
|
|
1724
|
+
- operationId: `fetch_user_original_posts_api_v1_weibo_web_v2_fetch_user_original_posts_get`
|
|
1725
|
+
|
|
1726
|
+
#### Notes
|
|
1727
|
+
|
|
1728
|
+
> # [中文]
|
|
1729
|
+
> ### 用途:
|
|
1730
|
+
> - 获取指定用户发布的原创微博列表(排除转发内容)。
|
|
1731
|
+
> ### 参数:
|
|
1732
|
+
> - uid: 用户ID(必填)
|
|
1733
|
+
> - page: 页码,从1开始(默认1)
|
|
1734
|
+
> - since_id: 翻页标识(第一页必须从fetch_user_posts接口获取)
|
|
1735
|
+
> ### 返回:
|
|
1736
|
+
> - 原创微博列表,包含微博内容、图片、视频、互动数据等
|
|
1737
|
+
> ### 注意:
|
|
1738
|
+
> - 与fetch_user_posts的区别:本接口只返回原创微博,排除转发
|
|
1739
|
+
> - since_id必须先调用fetch_user_posts获取,第一页必传,后续页面不传
|
|
1740
|
+
>
|
|
1741
|
+
> # [English]
|
|
1742
|
+
> ### Purpose:
|
|
1743
|
+
> - Get original posts published by specified user (excluding reposts).
|
|
1744
|
+
> ### Parameters:
|
|
1745
|
+
> - uid: User ID (required)
|
|
1746
|
+
> - page: Page number, starts from 1 (default 1)
|
|
1747
|
+
> - since_id: Pagination identifier (first page must get from fetch_user_posts)
|
|
1748
|
+
> ### Return:
|
|
1749
|
+
> - Original post list, including content, images, videos, interaction data
|
|
1750
|
+
> ### Note:
|
|
1751
|
+
> - Difference from fetch_user_posts: this API only returns original posts, excludes reposts
|
|
1752
|
+
> - since_id must be obtained from fetch_user_posts first, required for first page, not needed for subsequent pages
|
|
1753
|
+
>
|
|
1754
|
+
> # [示例/Example]
|
|
1755
|
+
> uid = "7277477906"
|
|
1756
|
+
> page = 1
|
|
1757
|
+
> since_id = "4924526881242703" # from fetch_user_posts response
|
|
1758
|
+
|
|
1759
|
+
#### Parameters
|
|
1760
|
+
|
|
1761
|
+
| Field | In | Type | Required | Description | Default | Example | Enum |
|
|
1762
|
+
| --- | --- | --- | --- | --- | --- | --- | --- |
|
|
1763
|
+
| uid | query | string | Yes | 用户id/User id | None | 7277477906 | None |
|
|
1764
|
+
| page | query | integer | No | 页数/Page number | 1 | 1 | None |
|
|
1765
|
+
| since_id | query | string | No | 翻页标识,用于获取下一页数据/Pagination identifier for getting next page data | None | None | None |
|
|
1766
|
+
|
|
1767
|
+
#### Request Body
|
|
1768
|
+
|
|
1769
|
+
None
|
|
1770
|
+
|
|
1771
|
+
#### Success Response
|
|
1772
|
+
|
|
1773
|
+
##### `200 application/json`
|
|
1774
|
+
|
|
1775
|
+
- Schema summary: `code`:integer, `request_id`:string, `message`:string, `message_zh`:string, `support`:string, `time`:string, `time_stamp`:integer, `time_zone`:string, ...
|
|
1776
|
+
|
|
1777
|
+
| Field | Type | Required | Description | Default | Example | Enum |
|
|
1778
|
+
| --- | --- | --- | --- | --- | --- | --- |
|
|
1779
|
+
| code | integer | No | HTTP status code \| HTTP状态码 | 200 | None | None |
|
|
1780
|
+
| request_id | string | No | Unique request identifier \| 唯一请求标识符 | None | None | None |
|
|
1781
|
+
| message | string | No | Response message (EN-US) \| 响应消息 (English) | Request successful. This request will incur a charge. | None | None |
|
|
1782
|
+
| message_zh | string | No | Response message (ZH-CN) \| 响应消息 (中文) | 请求成功,本次请求将被计费。 | None | None |
|
|
1783
|
+
| support | string | No | Support message \| 支持消息 | Discord: https://discord.gg/aMEAS8Xsvz | None | None |
|
|
1784
|
+
| time | string | No | The time the response was generated \| 生成响应的时间 | None | None | None |
|
|
1785
|
+
| time_stamp | integer | No | The timestamp the response was generated \| 生成响应的时间戳 | None | None | None |
|
|
1786
|
+
| time_zone | string | No | The timezone of the response time \| 响应时间的时区 | America/Los_Angeles | None | None |
|
|
1787
|
+
| docs | string | No | Link to the API Swagger documentation for this endpoint \| 此端点的 API Swagger 文档链接 | None | None | None |
|
|
1788
|
+
| 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 |
|
|
1789
|
+
| cache_message_zh | string | No | Cache message (ZH-CN) \| 缓存消息 (中文) | 本次请求将被缓存,你可以使用下面的 URL 直接访问缓存结果,有效期为 24 小时,访问缓存不会产生额外费用。 | None | None |
|
|
1790
|
+
| cache_url | string | No | The URL to access the cached result \| 访问缓存结果的 URL | None | None | None |
|
|
1791
|
+
| router | string | No | The endpoint that generated this response \| 生成此响应的端点 | None | None | None |
|
|
1792
|
+
| params | dynamic object | No | The parameters used in the request \| 请求中使用的参数 | None | None | None |
|
|
1793
|
+
| data | null | No | The response data \| 响应数据 | None | None | None |
|
|
1794
|
+
|
|
1795
|
+
<a id="get-api-u1-v1-weibo-web-v2-fetch-user-posts"></a>
|
|
1796
|
+
### `GET /api/u1/v1/weibo/web_v2/fetch_user_posts`
|
|
1797
|
+
|
|
1798
|
+
- Summary: 获取微博用户文章数据/Get Weibo user posts
|
|
1799
|
+
- Capabilities: profiles / accounts / content details
|
|
1800
|
+
- Auth: Header `Authorization: Bearer {token}`; docs also allow Cookie `Authorization` as fallback (`HTTPBearer`)
|
|
1801
|
+
- operationId: `fetch_user_posts_api_v1_weibo_web_v2_fetch_user_posts_get`
|
|
1802
|
+
|
|
1803
|
+
#### Notes
|
|
1804
|
+
|
|
1805
|
+
> # [中文]
|
|
1806
|
+
> ### 用途:
|
|
1807
|
+
> - 获取指定用户发布的微博列表,支持分页和多种数据详细程度。
|
|
1808
|
+
> ### 参数:
|
|
1809
|
+
> - uid: 用户ID(必填)
|
|
1810
|
+
> - page: 页码,从1开始(默认1)
|
|
1811
|
+
> - feature: 数据特征值(默认0)
|
|
1812
|
+
> - 0: 返回10条基础数据
|
|
1813
|
+
> - 1: 返回20条扩展数据
|
|
1814
|
+
> - 2: 返回20条图片相关数据
|
|
1815
|
+
> - 3: 返回20条完整数据
|
|
1816
|
+
> - since_id: 翻页标识,用于获取下一页数据
|
|
1817
|
+
> ### 返回:
|
|
1818
|
+
> - 微博列表数据,包含微博内容、图片、视频等信息
|
|
1819
|
+
> - 包含 since_id 字段用于翻页
|
|
1820
|
+
> ### 注意:
|
|
1821
|
+
> - feature=0性能最佳,feature=3数据最全
|
|
1822
|
+
>
|
|
1823
|
+
> # [English]
|
|
1824
|
+
> ### Purpose:
|
|
1825
|
+
> - Get the list of posts published by specified user, support pagination and multiple data detail levels.
|
|
1826
|
+
> ### Parameters:
|
|
1827
|
+
> - uid: User ID (required)
|
|
1828
|
+
> - page: Page number, starts from 1 (default 1)
|
|
1829
|
+
> - feature: Data feature value (default 0)
|
|
1830
|
+
> - 0: Return 10 basic posts
|
|
1831
|
+
> - 1: Return 20 extended posts
|
|
1832
|
+
> - 2: Return 20 image-related posts
|
|
1833
|
+
> - 3: Return 20 complete posts
|
|
1834
|
+
> - since_id: Pagination identifier for next page
|
|
1835
|
+
> ### Return:
|
|
1836
|
+
> - Post list data, including post content, images, videos, etc.
|
|
1837
|
+
> - Contains since_id field for pagination
|
|
1838
|
+
> ### Note:
|
|
1839
|
+
> - feature=0 has best performance, feature=3 has most complete data
|
|
1840
|
+
>
|
|
1841
|
+
> # [示例/Example]
|
|
1842
|
+
> uid = "7277477906"
|
|
1843
|
+
> page = 1
|
|
1844
|
+
> feature = 0
|
|
1845
|
+
|
|
1846
|
+
#### Parameters
|
|
1847
|
+
|
|
1848
|
+
| Field | In | Type | Required | Description | Default | Example | Enum |
|
|
1849
|
+
| --- | --- | --- | --- | --- | --- | --- | --- |
|
|
1850
|
+
| uid | query | string | Yes | 用户id/User id | None | 7277477906 | None |
|
|
1851
|
+
| page | query | integer | No | 页数/Page number | 1 | 1 | None |
|
|
1852
|
+
| feature | query | integer | No | 特征值,控制返回数据的数量和字段:0=返回10条基础数据,1=返回20条扩展数据,2=返回20条图片相关数据,3=返回20条视频相关数据,字段逐级增加/Feature type: 0=10 basic posts, 1=20 extended posts, 2=20 image-related posts, 3=20 video-related posts… | 0 | 0 | None |
|
|
1853
|
+
| since_id | query | string | No | 翻页标识,用于获取下一页数据/Pagination identifier for getting next page data | None | None | None |
|
|
1854
|
+
|
|
1855
|
+
#### Request Body
|
|
1856
|
+
|
|
1857
|
+
None
|
|
1858
|
+
|
|
1859
|
+
#### Success Response
|
|
1860
|
+
|
|
1861
|
+
##### `200 application/json`
|
|
1862
|
+
|
|
1863
|
+
- Schema summary: `code`:integer, `request_id`:string, `message`:string, `message_zh`:string, `support`:string, `time`:string, `time_stamp`:integer, `time_zone`:string, ...
|
|
1864
|
+
|
|
1865
|
+
| Field | Type | Required | Description | Default | Example | Enum |
|
|
1866
|
+
| --- | --- | --- | --- | --- | --- | --- |
|
|
1867
|
+
| code | integer | No | HTTP status code \| HTTP状态码 | 200 | None | None |
|
|
1868
|
+
| request_id | string | No | Unique request identifier \| 唯一请求标识符 | None | None | None |
|
|
1869
|
+
| message | string | No | Response message (EN-US) \| 响应消息 (English) | Request successful. This request will incur a charge. | None | None |
|
|
1870
|
+
| message_zh | string | No | Response message (ZH-CN) \| 响应消息 (中文) | 请求成功,本次请求将被计费。 | None | None |
|
|
1871
|
+
| support | string | No | Support message \| 支持消息 | Discord: https://discord.gg/aMEAS8Xsvz | None | None |
|
|
1872
|
+
| time | string | No | The time the response was generated \| 生成响应的时间 | None | None | None |
|
|
1873
|
+
| time_stamp | integer | No | The timestamp the response was generated \| 生成响应的时间戳 | None | None | None |
|
|
1874
|
+
| time_zone | string | No | The timezone of the response time \| 响应时间的时区 | America/Los_Angeles | None | None |
|
|
1875
|
+
| docs | string | No | Link to the API Swagger documentation for this endpoint \| 此端点的 API Swagger 文档链接 | None | None | None |
|
|
1876
|
+
| 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 |
|
|
1877
|
+
| cache_message_zh | string | No | Cache message (ZH-CN) \| 缓存消息 (中文) | 本次请求将被缓存,你可以使用下面的 URL 直接访问缓存结果,有效期为 24 小时,访问缓存不会产生额外费用。 | None | None |
|
|
1878
|
+
| cache_url | string | No | The URL to access the cached result \| 访问缓存结果的 URL | None | None | None |
|
|
1879
|
+
| router | string | No | The endpoint that generated this response \| 生成此响应的端点 | None | None | None |
|
|
1880
|
+
| params | dynamic object | No | The parameters used in the request \| 请求中使用的参数 | None | None | None |
|
|
1881
|
+
| data | null | No | The response data \| 响应数据 | None | None | None |
|
|
1882
|
+
|
|
1883
|
+
<a id="get-api-u1-v1-weibo-web-v2-fetch-user-recommend-timeline"></a>
|
|
1884
|
+
### `GET /api/u1/v1/weibo/web_v2/fetch_user_recommend_timeline`
|
|
1885
|
+
|
|
1886
|
+
- Summary: 获取微博主页推荐时间轴/Get user recommend timeline
|
|
1887
|
+
- Capabilities: profiles / accounts
|
|
1888
|
+
- Auth: Header `Authorization: Bearer {token}`; docs also allow Cookie `Authorization` as fallback (`HTTPBearer`)
|
|
1889
|
+
- operationId: `fetch_user_recommend_timeline_api_v1_weibo_web_v2_fetch_user_recommend_timeline_get`
|
|
1890
|
+
|
|
1891
|
+
#### Notes
|
|
1892
|
+
|
|
1893
|
+
> # [中文]
|
|
1894
|
+
> ### 用途:
|
|
1895
|
+
> - 获取微博主页的推荐时间轴内容,基于用户兴趣展示个性化推荐。
|
|
1896
|
+
> ### 参数:
|
|
1897
|
+
> - refresh: 刷新类型(0=正常刷新,1=强制刷新)
|
|
1898
|
+
> - group_id: 分组ID(可通过fetch_all_groups获取)
|
|
1899
|
+
> - containerid: 容器ID(通常与group_id相同)
|
|
1900
|
+
> - extparam: 扩展参数(默认"discover|new_feed")
|
|
1901
|
+
> - max_id: 翻页游标,首次请求传"0"
|
|
1902
|
+
> - count: 获取数量(默认10,建议5-20)
|
|
1903
|
+
> ### 返回:
|
|
1904
|
+
> - 推荐微博列表,包含微博内容、作者信息、互动数据等
|
|
1905
|
+
> - 包含 max_id 字段用于翻页
|
|
1906
|
+
> ### 注意:
|
|
1907
|
+
> - 建议先调用fetch_all_groups获取可用分组
|
|
1908
|
+
>
|
|
1909
|
+
> # [English]
|
|
1910
|
+
> ### Purpose:
|
|
1911
|
+
> - Get recommended timeline content from Weibo homepage, displaying personalized recommendations based on user interests.
|
|
1912
|
+
> ### Parameters:
|
|
1913
|
+
> - refresh: Refresh type (0=normal refresh, 1=force refresh)
|
|
1914
|
+
> - group_id: Group ID (can be obtained through fetch_all_groups)
|
|
1915
|
+
> - containerid: Container ID (usually same as group_id)
|
|
1916
|
+
> - extparam: Extended parameters (default "discover|new_feed")
|
|
1917
|
+
> - max_id: Pagination cursor, pass "0" for first request
|
|
1918
|
+
> - count: Count (default 10, suggested 5-20)
|
|
1919
|
+
> ### Return:
|
|
1920
|
+
> - Recommended post list, including post content, author info, interaction data
|
|
1921
|
+
> - Contains max_id field for pagination
|
|
1922
|
+
> ### Note:
|
|
1923
|
+
> - Recommend calling fetch_all_groups first to get available groups
|
|
1924
|
+
>
|
|
1925
|
+
> # [示例/Example]
|
|
1926
|
+
> refresh = 0
|
|
1927
|
+
> group_id = "102803"
|
|
1928
|
+
> containerid = "102803"
|
|
1929
|
+
> max_id = "0"
|
|
1930
|
+
> count = 10
|
|
1931
|
+
|
|
1932
|
+
#### Parameters
|
|
1933
|
+
|
|
1934
|
+
| Field | In | Type | Required | Description | Default | Example | Enum |
|
|
1935
|
+
| --- | --- | --- | --- | --- | --- | --- | --- |
|
|
1936
|
+
| refresh | query | integer | No | 刷新类型,0=正常刷新,1=强制刷新/Refresh type, 0=normal refresh, 1=force refresh | 0 | 0 | None |
|
|
1937
|
+
| group_id | query | string | No | 分组ID/Group ID | 102803 | 102803 | None |
|
|
1938
|
+
| containerid | query | string | No | 容器ID/Container ID | 102803 | 102803 | None |
|
|
1939
|
+
| extparam | query | string | No | 扩展参数/Extended parameters | discover\|new_feed | discover\|new_feed | None |
|
|
1940
|
+
| max_id | query | string | No | 最大ID/Max ID | 0 | 0 | None |
|
|
1941
|
+
| count | query | integer | No | 获取数量/Count | 10 | 10 | None |
|
|
1942
|
+
|
|
1943
|
+
#### Request Body
|
|
1944
|
+
|
|
1945
|
+
None
|
|
1946
|
+
|
|
1947
|
+
#### Success Response
|
|
1948
|
+
|
|
1949
|
+
##### `200 application/json`
|
|
1950
|
+
|
|
1951
|
+
- Schema summary: `code`:integer, `request_id`:string, `message`:string, `message_zh`:string, `support`:string, `time`:string, `time_stamp`:integer, `time_zone`:string, ...
|
|
1952
|
+
|
|
1953
|
+
| Field | Type | Required | Description | Default | Example | Enum |
|
|
1954
|
+
| --- | --- | --- | --- | --- | --- | --- |
|
|
1955
|
+
| code | integer | No | HTTP status code \| HTTP状态码 | 200 | None | None |
|
|
1956
|
+
| request_id | string | No | Unique request identifier \| 唯一请求标识符 | None | None | None |
|
|
1957
|
+
| message | string | No | Response message (EN-US) \| 响应消息 (English) | Request successful. This request will incur a charge. | None | None |
|
|
1958
|
+
| message_zh | string | No | Response message (ZH-CN) \| 响应消息 (中文) | 请求成功,本次请求将被计费。 | None | None |
|
|
1959
|
+
| support | string | No | Support message \| 支持消息 | Discord: https://discord.gg/aMEAS8Xsvz | None | None |
|
|
1960
|
+
| time | string | No | The time the response was generated \| 生成响应的时间 | None | None | None |
|
|
1961
|
+
| time_stamp | integer | No | The timestamp the response was generated \| 生成响应的时间戳 | None | None | None |
|
|
1962
|
+
| time_zone | string | No | The timezone of the response time \| 响应时间的时区 | America/Los_Angeles | None | None |
|
|
1963
|
+
| docs | string | No | Link to the API Swagger documentation for this endpoint \| 此端点的 API Swagger 文档链接 | None | None | None |
|
|
1964
|
+
| 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 |
|
|
1965
|
+
| cache_message_zh | string | No | Cache message (ZH-CN) \| 缓存消息 (中文) | 本次请求将被缓存,你可以使用下面的 URL 直接访问缓存结果,有效期为 24 小时,访问缓存不会产生额外费用。 | None | None |
|
|
1966
|
+
| cache_url | string | No | The URL to access the cached result \| 访问缓存结果的 URL | None | None | None |
|
|
1967
|
+
| router | string | No | The endpoint that generated this response \| 生成此响应的端点 | None | None | None |
|
|
1968
|
+
| params | dynamic object | No | The parameters used in the request \| 请求中使用的参数 | None | None | None |
|
|
1969
|
+
| data | null | No | The response data \| 响应数据 | None | None | None |
|
|
1970
|
+
|
|
1971
|
+
<a id="get-api-u1-v1-weibo-web-v2-fetch-user-search"></a>
|
|
1972
|
+
### `GET /api/u1/v1/weibo/web_v2/fetch_user_search`
|
|
1973
|
+
|
|
1974
|
+
- Summary: 用户搜索/User search
|
|
1975
|
+
- Capabilities: search / profiles / accounts
|
|
1976
|
+
- Auth: Header `Authorization: Bearer {token}`; docs also allow Cookie `Authorization` as fallback (`HTTPBearer`)
|
|
1977
|
+
- operationId: `fetch_user_search_api_v1_weibo_web_v2_fetch_user_search_get`
|
|
1978
|
+
|
|
1979
|
+
#### Notes
|
|
1980
|
+
|
|
1981
|
+
> # [中文]
|
|
1982
|
+
> ### 用途:
|
|
1983
|
+
> - 搜索微博用户,支持多种筛选条件。
|
|
1984
|
+
> ### 参数:
|
|
1985
|
+
> - query: 搜索关键词(可选)
|
|
1986
|
+
> - page: 页码(默认1)
|
|
1987
|
+
> - region: 地区编码,从/fetch_city_list获取(可选)
|
|
1988
|
+
> - auth: 认证类型 org_vip/per_vip/ord(可选)
|
|
1989
|
+
> - gender: 性别 man/women(可选)
|
|
1990
|
+
> - age: 年龄段 18y/22y/29y/39y/40y(可选)
|
|
1991
|
+
> - nickname: 昵称筛选(可选)
|
|
1992
|
+
> - tag: 标签筛选(可选)
|
|
1993
|
+
> - school: 学校筛选(可选)
|
|
1994
|
+
> - work: 公司筛选(可选)
|
|
1995
|
+
> ### 返回:
|
|
1996
|
+
> - 用户列表,包含uid、昵称、头像、粉丝数、主页链接
|
|
1997
|
+
> ### 注意:
|
|
1998
|
+
> - 筛选参数过多可能导致无结果
|
|
1999
|
+
>
|
|
2000
|
+
> # [English]
|
|
2001
|
+
> ### Purpose:
|
|
2002
|
+
> - Search Weibo users with multiple filter options.
|
|
2003
|
+
> ### Parameters:
|
|
2004
|
+
> - query: Search keyword (optional)
|
|
2005
|
+
> - page: Page number (default 1)
|
|
2006
|
+
> - region: Region code from /fetch_city_list (optional)
|
|
2007
|
+
> - auth: Auth type org_vip/per_vip/ord (optional)
|
|
2008
|
+
> - gender: Gender man/women (optional)
|
|
2009
|
+
> - age: Age bucket 18y/22y/29y/39y/40y (optional)
|
|
2010
|
+
> - nickname: Nickname filter (optional)
|
|
2011
|
+
> - tag: Tag filter (optional)
|
|
2012
|
+
> - school: School filter (optional)
|
|
2013
|
+
> - work: Company filter (optional)
|
|
2014
|
+
> ### Return:
|
|
2015
|
+
> - User list with uid, nickname, avatar, fans count, profile URL
|
|
2016
|
+
> ### Note:
|
|
2017
|
+
> - Too many filters may result in no results
|
|
2018
|
+
>
|
|
2019
|
+
> # [示例/Example]
|
|
2020
|
+
> query = "yu7"
|
|
2021
|
+
> page = 1
|
|
2022
|
+
|
|
2023
|
+
#### Parameters
|
|
2024
|
+
|
|
2025
|
+
| Field | In | Type | Required | Description | Default | Example | Enum |
|
|
2026
|
+
| --- | --- | --- | --- | --- | --- | --- | --- |
|
|
2027
|
+
| query | query | string | No | 搜索关键词/Query(提供则视为“全部”搜索;留空则仅应用高级筛选参数) | None | yu7 | None |
|
|
2028
|
+
| page | query | integer | No | 页码/Page | 1 | 1 | None |
|
|
2029
|
+
| region | query | string | No | 地区编码,从 /city_list 获取/Region code from /city_list | None | custom:11:1 | None |
|
|
2030
|
+
| auth | query | string | No | 认证类型 org_vip(机构)/per_vip(个人)/ord(普通)/Auth type | None | org_vip | None |
|
|
2031
|
+
| gender | query | string | No | 性别 man / women / Gender | None | man | None |
|
|
2032
|
+
| age | query | string | No | 年龄段 18y/22y/29y/39y/40y / Age bucket | None | 22y | None |
|
|
2033
|
+
| nickname | query | string | No | 昵称筛选/Nickname filter | None | 张三 | None |
|
|
2034
|
+
| tag | query | string | No | 标签筛选/Tag filter | None | 摄影 | None |
|
|
2035
|
+
| school | query | string | No | 学校筛选/School filter | None | 清华大学 | None |
|
|
2036
|
+
| work | query | string | No | 公司筛选/Company filter | None | 字节跳动 | None |
|
|
2037
|
+
|
|
2038
|
+
#### Request Body
|
|
2039
|
+
|
|
2040
|
+
None
|
|
2041
|
+
|
|
2042
|
+
#### Success Response
|
|
2043
|
+
|
|
2044
|
+
##### `200 application/json`
|
|
2045
|
+
|
|
2046
|
+
- Schema summary: `code`:integer, `request_id`:string, `message`:string, `message_zh`:string, `support`:string, `time`:string, `time_stamp`:integer, `time_zone`:string, ...
|
|
2047
|
+
|
|
2048
|
+
| Field | Type | Required | Description | Default | Example | Enum |
|
|
2049
|
+
| --- | --- | --- | --- | --- | --- | --- |
|
|
2050
|
+
| code | integer | No | HTTP status code \| HTTP状态码 | 200 | None | None |
|
|
2051
|
+
| request_id | string | No | Unique request identifier \| 唯一请求标识符 | None | None | None |
|
|
2052
|
+
| message | string | No | Response message (EN-US) \| 响应消息 (English) | Request successful. This request will incur a charge. | None | None |
|
|
2053
|
+
| message_zh | string | No | Response message (ZH-CN) \| 响应消息 (中文) | 请求成功,本次请求将被计费。 | None | None |
|
|
2054
|
+
| support | string | No | Support message \| 支持消息 | Discord: https://discord.gg/aMEAS8Xsvz | None | None |
|
|
2055
|
+
| time | string | No | The time the response was generated \| 生成响应的时间 | None | None | None |
|
|
2056
|
+
| time_stamp | integer | No | The timestamp the response was generated \| 生成响应的时间戳 | None | None | None |
|
|
2057
|
+
| time_zone | string | No | The timezone of the response time \| 响应时间的时区 | America/Los_Angeles | None | None |
|
|
2058
|
+
| docs | string | No | Link to the API Swagger documentation for this endpoint \| 此端点的 API Swagger 文档链接 | None | None | None |
|
|
2059
|
+
| 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 |
|
|
2060
|
+
| cache_message_zh | string | No | Cache message (ZH-CN) \| 缓存消息 (中文) | 本次请求将被缓存,你可以使用下面的 URL 直接访问缓存结果,有效期为 24 小时,访问缓存不会产生额外费用。 | None | None |
|
|
2061
|
+
| cache_url | string | No | The URL to access the cached result \| 访问缓存结果的 URL | None | None | None |
|
|
2062
|
+
| router | string | No | The endpoint that generated this response \| 生成此响应的端点 | None | None | None |
|
|
2063
|
+
| params | dynamic object | No | The parameters used in the request \| 请求中使用的参数 | None | None | None |
|
|
2064
|
+
| data | null | No | The response data \| 响应数据 | None | None | None |
|
|
2065
|
+
|
|
2066
|
+
<a id="get-api-u1-v1-weibo-web-v2-fetch-user-video-collection-detail"></a>
|
|
2067
|
+
### `GET /api/u1/v1/weibo/web_v2/fetch_user_video_collection_detail`
|
|
2068
|
+
|
|
2069
|
+
- Summary: 获取用户微博视频收藏夹详情/Get user video collection detail
|
|
2070
|
+
- Capabilities: profiles / accounts / content details / details
|
|
2071
|
+
- Auth: Header `Authorization: Bearer {token}`; docs also allow Cookie `Authorization` as fallback (`HTTPBearer`)
|
|
2072
|
+
- operationId: `fetch_user_video_collection_detail_api_v1_weibo_web_v2_fetch_user_video_collection_detail_get`
|
|
2073
|
+
|
|
2074
|
+
#### Notes
|
|
2075
|
+
|
|
2076
|
+
> # [中文]
|
|
2077
|
+
> ### 用途:
|
|
2078
|
+
> - 获取指定收藏夹的详细内容,包括视频列表。
|
|
2079
|
+
> ### 参数:
|
|
2080
|
+
> - cid: 收藏夹ID(必填,从fetch_user_video_collection_list获取)
|
|
2081
|
+
> - cursor: 分页游标,首次请求传空,后续使用返回的cursor
|
|
2082
|
+
> - tab_code: 排序方式(0=默认,1=最热,2=最新)
|
|
2083
|
+
> ### 返回:
|
|
2084
|
+
> - 收藏夹信息和视频列表,包含视频标题、封面、时长、播放数等
|
|
2085
|
+
> - 包含 next_cursor 和 has_more 字段用于翻页
|
|
2086
|
+
> ### 注意:
|
|
2087
|
+
> - 不同排序方式的cursor不通用,切换排序需重新开始分页
|
|
2088
|
+
>
|
|
2089
|
+
> # [English]
|
|
2090
|
+
> ### Purpose:
|
|
2091
|
+
> - Get detailed content of specified collection, including video list.
|
|
2092
|
+
> ### Parameters:
|
|
2093
|
+
> - cid: Collection ID (required, get from fetch_user_video_collection_list)
|
|
2094
|
+
> - cursor: Pagination cursor, pass empty for first request, use returned cursor for subsequent
|
|
2095
|
+
> - tab_code: Sort type (0=default, 1=hottest, 2=latest)
|
|
2096
|
+
> ### Return:
|
|
2097
|
+
> - Collection info and video list, including video title, cover, duration, views
|
|
2098
|
+
> - Contains next_cursor and has_more fields for pagination
|
|
2099
|
+
> ### Note:
|
|
2100
|
+
> - Cursors for different sorting methods are not universal, switching sorting requires restarting pagination
|
|
2101
|
+
>
|
|
2102
|
+
> # [示例/Example]
|
|
2103
|
+
> cid = "4883992307236954"
|
|
2104
|
+
> cursor = ""
|
|
2105
|
+
> tab_code = 0
|
|
2106
|
+
|
|
2107
|
+
#### Parameters
|
|
2108
|
+
|
|
2109
|
+
| Field | In | Type | Required | Description | Default | Example | Enum |
|
|
2110
|
+
| --- | --- | --- | --- | --- | --- | --- | --- |
|
|
2111
|
+
| cid | query | string | Yes | 收藏夹ID/Collection ID | None | 4883992307236954 | None |
|
|
2112
|
+
| cursor | query | string | No | 分页游标/Pagination cursor | None | None | None |
|
|
2113
|
+
| tab_code | query | integer | No | 排序方式:0=默认,1=最热,2=最新/Sort type: 0=default, 1=hottest, 2=latest | 0 | 0 | None |
|
|
2114
|
+
|
|
2115
|
+
#### Request Body
|
|
2116
|
+
|
|
2117
|
+
None
|
|
2118
|
+
|
|
2119
|
+
#### Success Response
|
|
2120
|
+
|
|
2121
|
+
##### `200 application/json`
|
|
2122
|
+
|
|
2123
|
+
- Schema summary: `code`:integer, `request_id`:string, `message`:string, `message_zh`:string, `support`:string, `time`:string, `time_stamp`:integer, `time_zone`:string, ...
|
|
2124
|
+
|
|
2125
|
+
| Field | Type | Required | Description | Default | Example | Enum |
|
|
2126
|
+
| --- | --- | --- | --- | --- | --- | --- |
|
|
2127
|
+
| code | integer | No | HTTP status code \| HTTP状态码 | 200 | None | None |
|
|
2128
|
+
| request_id | string | No | Unique request identifier \| 唯一请求标识符 | None | None | None |
|
|
2129
|
+
| message | string | No | Response message (EN-US) \| 响应消息 (English) | Request successful. This request will incur a charge. | None | None |
|
|
2130
|
+
| message_zh | string | No | Response message (ZH-CN) \| 响应消息 (中文) | 请求成功,本次请求将被计费。 | None | None |
|
|
2131
|
+
| support | string | No | Support message \| 支持消息 | Discord: https://discord.gg/aMEAS8Xsvz | None | None |
|
|
2132
|
+
| time | string | No | The time the response was generated \| 生成响应的时间 | None | None | None |
|
|
2133
|
+
| time_stamp | integer | No | The timestamp the response was generated \| 生成响应的时间戳 | None | None | None |
|
|
2134
|
+
| time_zone | string | No | The timezone of the response time \| 响应时间的时区 | America/Los_Angeles | None | None |
|
|
2135
|
+
| docs | string | No | Link to the API Swagger documentation for this endpoint \| 此端点的 API Swagger 文档链接 | None | None | None |
|
|
2136
|
+
| 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 |
|
|
2137
|
+
| cache_message_zh | string | No | Cache message (ZH-CN) \| 缓存消息 (中文) | 本次请求将被缓存,你可以使用下面的 URL 直接访问缓存结果,有效期为 24 小时,访问缓存不会产生额外费用。 | None | None |
|
|
2138
|
+
| cache_url | string | No | The URL to access the cached result \| 访问缓存结果的 URL | None | None | None |
|
|
2139
|
+
| router | string | No | The endpoint that generated this response \| 生成此响应的端点 | None | None | None |
|
|
2140
|
+
| params | dynamic object | No | The parameters used in the request \| 请求中使用的参数 | None | None | None |
|
|
2141
|
+
| data | null | No | The response data \| 响应数据 | None | None | None |
|
|
2142
|
+
|
|
2143
|
+
<a id="get-api-u1-v1-weibo-web-v2-fetch-user-video-collection-list"></a>
|
|
2144
|
+
### `GET /api/u1/v1/weibo/web_v2/fetch_user_video_collection_list`
|
|
2145
|
+
|
|
2146
|
+
- Summary: 获取用户微博视频收藏夹列表/Get user video collection list
|
|
2147
|
+
- Capabilities: profiles / accounts / content details
|
|
2148
|
+
- Auth: Header `Authorization: Bearer {token}`; docs also allow Cookie `Authorization` as fallback (`HTTPBearer`)
|
|
2149
|
+
- operationId: `fetch_user_video_collection_list_api_v1_weibo_web_v2_fetch_user_video_collection_list_get`
|
|
2150
|
+
|
|
2151
|
+
#### Notes
|
|
2152
|
+
|
|
2153
|
+
> # [中文]
|
|
2154
|
+
> ### 用途:
|
|
2155
|
+
> - 获取指定用户的视频收藏夹列表。
|
|
2156
|
+
> ### 参数:
|
|
2157
|
+
> - uid: 用户ID(必填)
|
|
2158
|
+
> ### 返回:
|
|
2159
|
+
> - 收藏夹列表,包含收藏夹ID、名称、描述、视频数量等
|
|
2160
|
+
> ### 注意:
|
|
2161
|
+
> - 收藏夹列表受用户隐私设置影响
|
|
2162
|
+
> - 部分用户可能没有创建视频收藏夹
|
|
2163
|
+
>
|
|
2164
|
+
> # [English]
|
|
2165
|
+
> ### Purpose:
|
|
2166
|
+
> - Get video collection list of specified user.
|
|
2167
|
+
> ### Parameters:
|
|
2168
|
+
> - uid: User ID (required)
|
|
2169
|
+
> ### Return:
|
|
2170
|
+
> - Collection list, including collection ID, name, description, video count
|
|
2171
|
+
> ### Note:
|
|
2172
|
+
> - Collection list affected by user privacy settings
|
|
2173
|
+
> - Some users may not have created video collections
|
|
2174
|
+
>
|
|
2175
|
+
> # [示例/Example]
|
|
2176
|
+
> uid = "7277477906"
|
|
2177
|
+
|
|
2178
|
+
#### Parameters
|
|
2179
|
+
|
|
2180
|
+
| Field | In | Type | Required | Description | Default | Example | Enum |
|
|
2181
|
+
| --- | --- | --- | --- | --- | --- | --- | --- |
|
|
2182
|
+
| uid | query | string | Yes | 用户ID/User ID | None | 7277477906 | None |
|
|
2183
|
+
|
|
2184
|
+
#### Request Body
|
|
2185
|
+
|
|
2186
|
+
None
|
|
2187
|
+
|
|
2188
|
+
#### Success Response
|
|
2189
|
+
|
|
2190
|
+
##### `200 application/json`
|
|
2191
|
+
|
|
2192
|
+
- Schema summary: `code`:integer, `request_id`:string, `message`:string, `message_zh`:string, `support`:string, `time`:string, `time_stamp`:integer, `time_zone`:string, ...
|
|
2193
|
+
|
|
2194
|
+
| Field | Type | Required | Description | Default | Example | Enum |
|
|
2195
|
+
| --- | --- | --- | --- | --- | --- | --- |
|
|
2196
|
+
| code | integer | No | HTTP status code \| HTTP状态码 | 200 | None | None |
|
|
2197
|
+
| request_id | string | No | Unique request identifier \| 唯一请求标识符 | None | None | None |
|
|
2198
|
+
| message | string | No | Response message (EN-US) \| 响应消息 (English) | Request successful. This request will incur a charge. | None | None |
|
|
2199
|
+
| message_zh | string | No | Response message (ZH-CN) \| 响应消息 (中文) | 请求成功,本次请求将被计费。 | None | None |
|
|
2200
|
+
| support | string | No | Support message \| 支持消息 | Discord: https://discord.gg/aMEAS8Xsvz | None | None |
|
|
2201
|
+
| time | string | No | The time the response was generated \| 生成响应的时间 | None | None | None |
|
|
2202
|
+
| time_stamp | integer | No | The timestamp the response was generated \| 生成响应的时间戳 | None | None | None |
|
|
2203
|
+
| time_zone | string | No | The timezone of the response time \| 响应时间的时区 | America/Los_Angeles | None | None |
|
|
2204
|
+
| docs | string | No | Link to the API Swagger documentation for this endpoint \| 此端点的 API Swagger 文档链接 | None | None | None |
|
|
2205
|
+
| 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 |
|
|
2206
|
+
| cache_message_zh | string | No | Cache message (ZH-CN) \| 缓存消息 (中文) | 本次请求将被缓存,你可以使用下面的 URL 直接访问缓存结果,有效期为 24 小时,访问缓存不会产生额外费用。 | None | None |
|
|
2207
|
+
| cache_url | string | No | The URL to access the cached result \| 访问缓存结果的 URL | None | None | None |
|
|
2208
|
+
| router | string | No | The endpoint that generated this response \| 生成此响应的端点 | None | None | None |
|
|
2209
|
+
| params | dynamic object | No | The parameters used in the request \| 请求中使用的参数 | None | None | None |
|
|
2210
|
+
| data | null | No | The response data \| 响应数据 | None | None | None |
|
|
2211
|
+
|
|
2212
|
+
<a id="get-api-u1-v1-weibo-web-v2-fetch-user-video-list"></a>
|
|
2213
|
+
### `GET /api/u1/v1/weibo/web_v2/fetch_user_video_list`
|
|
2214
|
+
|
|
2215
|
+
- Summary: 获取微博用户全部视频/Get user all videos
|
|
2216
|
+
- Capabilities: profiles / accounts / content details
|
|
2217
|
+
- Auth: Header `Authorization: Bearer {token}`; docs also allow Cookie `Authorization` as fallback (`HTTPBearer`)
|
|
2218
|
+
- operationId: `fetch_user_video_list_api_v1_weibo_web_v2_fetch_user_video_list_get`
|
|
2219
|
+
|
|
2220
|
+
#### Notes
|
|
2221
|
+
|
|
2222
|
+
> # [中文]
|
|
2223
|
+
> ### 用途:
|
|
2224
|
+
> - 获取指定用户发布的所有视频内容(瀑布流展示)。
|
|
2225
|
+
> ### 参数:
|
|
2226
|
+
> - uid: 用户ID(必填)
|
|
2227
|
+
> - cursor: 翻页游标,初次请求传"0",后续请求使用返回的next_cursor值
|
|
2228
|
+
> ### 返回:
|
|
2229
|
+
> - 视频列表数据,包含视频标题、封面、播放量等信息
|
|
2230
|
+
> - 包含 next_cursor 和 has_more 字段用于翻页
|
|
2231
|
+
> ### 注意:
|
|
2232
|
+
> - 与收藏夹接口的区别:本接口获取用户发布的视频,收藏夹接口获取用户收藏的视频
|
|
2233
|
+
>
|
|
2234
|
+
> # [English]
|
|
2235
|
+
> ### Purpose:
|
|
2236
|
+
> - Get all videos published by specified user (waterfall layout).
|
|
2237
|
+
> ### Parameters:
|
|
2238
|
+
> - uid: User ID (required)
|
|
2239
|
+
> - cursor: Pagination cursor, pass "0" for first request, use returned next_cursor for subsequent requests
|
|
2240
|
+
> ### Return:
|
|
2241
|
+
> - Video list data, including video title, cover, views, etc.
|
|
2242
|
+
> - Contains next_cursor and has_more fields for pagination
|
|
2243
|
+
> ### Note:
|
|
2244
|
+
> - Difference from collection APIs: this API gets user published videos, collection APIs get user collected videos
|
|
2245
|
+
>
|
|
2246
|
+
> # [示例/Example]
|
|
2247
|
+
> uid = "7277477906"
|
|
2248
|
+
> cursor = "0"
|
|
2249
|
+
|
|
2250
|
+
#### Parameters
|
|
2251
|
+
|
|
2252
|
+
| Field | In | Type | Required | Description | Default | Example | Enum |
|
|
2253
|
+
| --- | --- | --- | --- | --- | --- | --- | --- |
|
|
2254
|
+
| uid | query | string | Yes | 用户ID/User ID | None | 7277477906 | None |
|
|
2255
|
+
| cursor | query | string | No | 分页游标/Pagination cursor | 0 | 0 | None |
|
|
2256
|
+
|
|
2257
|
+
#### Request Body
|
|
2258
|
+
|
|
2259
|
+
None
|
|
2260
|
+
|
|
2261
|
+
#### Success Response
|
|
2262
|
+
|
|
2263
|
+
##### `200 application/json`
|
|
2264
|
+
|
|
2265
|
+
- Schema summary: `code`:integer, `request_id`:string, `message`:string, `message_zh`:string, `support`:string, `time`:string, `time_stamp`:integer, `time_zone`:string, ...
|
|
2266
|
+
|
|
2267
|
+
| Field | Type | Required | Description | Default | Example | Enum |
|
|
2268
|
+
| --- | --- | --- | --- | --- | --- | --- |
|
|
2269
|
+
| code | integer | No | HTTP status code \| HTTP状态码 | 200 | None | None |
|
|
2270
|
+
| request_id | string | No | Unique request identifier \| 唯一请求标识符 | None | None | None |
|
|
2271
|
+
| message | string | No | Response message (EN-US) \| 响应消息 (English) | Request successful. This request will incur a charge. | None | None |
|
|
2272
|
+
| message_zh | string | No | Response message (ZH-CN) \| 响应消息 (中文) | 请求成功,本次请求将被计费。 | None | None |
|
|
2273
|
+
| support | string | No | Support message \| 支持消息 | Discord: https://discord.gg/aMEAS8Xsvz | None | None |
|
|
2274
|
+
| time | string | No | The time the response was generated \| 生成响应的时间 | None | None | None |
|
|
2275
|
+
| time_stamp | integer | No | The timestamp the response was generated \| 生成响应的时间戳 | None | None | None |
|
|
2276
|
+
| time_zone | string | No | The timezone of the response time \| 响应时间的时区 | America/Los_Angeles | None | None |
|
|
2277
|
+
| docs | string | No | Link to the API Swagger documentation for this endpoint \| 此端点的 API Swagger 文档链接 | None | None | None |
|
|
2278
|
+
| 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 |
|
|
2279
|
+
| cache_message_zh | string | No | Cache message (ZH-CN) \| 缓存消息 (中文) | 本次请求将被缓存,你可以使用下面的 URL 直接访问缓存结果,有效期为 24 小时,访问缓存不会产生额外费用。 | None | None |
|
|
2280
|
+
| cache_url | string | No | The URL to access the cached result \| 访问缓存结果的 URL | None | None | None |
|
|
2281
|
+
| router | string | No | The endpoint that generated this response \| 生成此响应的端点 | None | None | None |
|
|
2282
|
+
| params | dynamic object | No | The parameters used in the request \| 请求中使用的参数 | None | None | None |
|
|
2283
|
+
| data | null | No | The response data \| 响应数据 | None | None | None |
|
|
2284
|
+
|
|
2285
|
+
<a id="get-api-u1-v1-weibo-web-v2-fetch-video-search"></a>
|
|
2286
|
+
### `GET /api/u1/v1/weibo/web_v2/fetch_video_search`
|
|
2287
|
+
|
|
2288
|
+
- Summary: 视频搜索(热门/全部)/Weibo video search (hot/all)
|
|
2289
|
+
- Capabilities: search / content details
|
|
2290
|
+
- Auth: Header `Authorization: Bearer {token}`; docs also allow Cookie `Authorization` as fallback (`HTTPBearer`)
|
|
2291
|
+
- operationId: `fetch_video_search_api_v1_weibo_web_v2_fetch_video_search_get`
|
|
2292
|
+
|
|
2293
|
+
#### Notes
|
|
2294
|
+
|
|
2295
|
+
> # [中文]
|
|
2296
|
+
> ### 用途:
|
|
2297
|
+
> - 搜索微博视频内容,支持热门和全部模式。
|
|
2298
|
+
> ### 参数:
|
|
2299
|
+
> - query: 搜索关键词(必填)
|
|
2300
|
+
> - mode: 搜索模式 hot=热门 / all=全部(默认hot)
|
|
2301
|
+
> - page: 页码(默认1)
|
|
2302
|
+
> ### 返回:
|
|
2303
|
+
> - 视频列表,包含微博ID、作者、内容、视频链接、互动数据
|
|
2304
|
+
> ### 注意:
|
|
2305
|
+
> - 播放视频需设置Referer=https://weibo.com/
|
|
2306
|
+
>
|
|
2307
|
+
> # [English]
|
|
2308
|
+
> ### Purpose:
|
|
2309
|
+
> - Search Weibo video content, supports hot and all modes.
|
|
2310
|
+
> ### Parameters:
|
|
2311
|
+
> - query: Search keyword (required)
|
|
2312
|
+
> - mode: Search mode hot=popular / all=all (default hot)
|
|
2313
|
+
> - page: Page number (default 1)
|
|
2314
|
+
> ### Return:
|
|
2315
|
+
> - Video list with weibo ID, author, content, video URL, interaction data
|
|
2316
|
+
> ### Note:
|
|
2317
|
+
> - Video playback requires setting Referer=https://weibo.com/
|
|
2318
|
+
>
|
|
2319
|
+
> # [示例/Example]
|
|
2320
|
+
> query = "yu7"
|
|
2321
|
+
> mode = "hot"
|
|
2322
|
+
> page = 1
|
|
2323
|
+
|
|
2324
|
+
#### Parameters
|
|
2325
|
+
|
|
2326
|
+
| Field | In | Type | Required | Description | Default | Example | Enum |
|
|
2327
|
+
| --- | --- | --- | --- | --- | --- | --- | --- |
|
|
2328
|
+
| query | query | string | Yes | 搜索关键词/Search keyword | None | yu7 | None |
|
|
2329
|
+
| mode | query | string | No | 搜索模式:hot=热门 / all=全部 | hot | hot | None |
|
|
2330
|
+
| page | query | integer | No | 页码/Page number | 1 | 1 | None |
|
|
2331
|
+
|
|
2332
|
+
#### Request Body
|
|
2333
|
+
|
|
2334
|
+
None
|
|
2335
|
+
|
|
2336
|
+
#### Success Response
|
|
2337
|
+
|
|
2338
|
+
##### `200 application/json`
|
|
2339
|
+
|
|
2340
|
+
- Schema summary: `code`:integer, `request_id`:string, `message`:string, `message_zh`:string, `support`:string, `time`:string, `time_stamp`:integer, `time_zone`:string, ...
|
|
2341
|
+
|
|
2342
|
+
| Field | Type | Required | Description | Default | Example | Enum |
|
|
2343
|
+
| --- | --- | --- | --- | --- | --- | --- |
|
|
2344
|
+
| code | integer | No | HTTP status code \| HTTP状态码 | 200 | None | None |
|
|
2345
|
+
| request_id | string | No | Unique request identifier \| 唯一请求标识符 | None | None | None |
|
|
2346
|
+
| message | string | No | Response message (EN-US) \| 响应消息 (English) | Request successful. This request will incur a charge. | None | None |
|
|
2347
|
+
| message_zh | string | No | Response message (ZH-CN) \| 响应消息 (中文) | 请求成功,本次请求将被计费。 | None | None |
|
|
2348
|
+
| support | string | No | Support message \| 支持消息 | Discord: https://discord.gg/aMEAS8Xsvz | None | None |
|
|
2349
|
+
| time | string | No | The time the response was generated \| 生成响应的时间 | None | None | None |
|
|
2350
|
+
| time_stamp | integer | No | The timestamp the response was generated \| 生成响应的时间戳 | None | None | None |
|
|
2351
|
+
| time_zone | string | No | The timezone of the response time \| 响应时间的时区 | America/Los_Angeles | None | None |
|
|
2352
|
+
| docs | string | No | Link to the API Swagger documentation for this endpoint \| 此端点的 API Swagger 文档链接 | None | None | None |
|
|
2353
|
+
| 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 |
|
|
2354
|
+
| cache_message_zh | string | No | Cache message (ZH-CN) \| 缓存消息 (中文) | 本次请求将被缓存,你可以使用下面的 URL 直接访问缓存结果,有效期为 24 小时,访问缓存不会产生额外费用。 | None | None |
|
|
2355
|
+
| cache_url | string | No | The URL to access the cached result \| 访问缓存结果的 URL | None | None | None |
|
|
2356
|
+
| router | string | No | The endpoint that generated this response \| 生成此响应的端点 | None | None | None |
|
|
2357
|
+
| params | dynamic object | No | The parameters used in the request \| 请求中使用的参数 | None | None | None |
|
|
2358
|
+
| data | null | No | The response data \| 响应数据 | None | None | None |
|
|
2359
|
+
|
|
2360
|
+
<a id="get-api-u1-v1-weibo-web-v2-search-user-posts"></a>
|
|
2361
|
+
### `GET /api/u1/v1/weibo/web_v2/search_user_posts`
|
|
2362
|
+
|
|
2363
|
+
- Summary: 搜索用户微博/Search user posts
|
|
2364
|
+
- Capabilities: search / profiles / accounts / content details
|
|
2365
|
+
- Auth: Header `Authorization: Bearer {token}`; docs also allow Cookie `Authorization` as fallback (`HTTPBearer`)
|
|
2366
|
+
- operationId: `search_user_posts_api_v1_weibo_web_v2_search_user_posts_get`
|
|
2367
|
+
|
|
2368
|
+
#### Notes
|
|
2369
|
+
|
|
2370
|
+
> # [中文]
|
|
2371
|
+
> ### 用途:
|
|
2372
|
+
> - 在指定用户的微博中搜索包含特定关键词的内容。
|
|
2373
|
+
> ### 参数:
|
|
2374
|
+
> - uid: 用户ID(必填)
|
|
2375
|
+
> - q: 搜索关键词(必填)
|
|
2376
|
+
> - page: 页码,从1开始(默认1)
|
|
2377
|
+
> - starttime: 开始时间戳(可选,Unix时间戳格式)
|
|
2378
|
+
> - endtime: 结束时间戳(可选,Unix时间戳格式)
|
|
2379
|
+
> - hasori: 是否包含原创(默认1包含)
|
|
2380
|
+
> - hasret: 是否包含转发(默认1包含)
|
|
2381
|
+
> - hastext: 是否包含文字(默认1包含)
|
|
2382
|
+
> - haspic: 是否包含图片(默认1包含)
|
|
2383
|
+
> - hasvideo: 是否包含视频(默认1包含)
|
|
2384
|
+
> - hasmusic: 是否包含音乐(默认1包含)
|
|
2385
|
+
> ### 返回:
|
|
2386
|
+
> - 搜索结果列表,包含微博内容、作者信息、互动数据等
|
|
2387
|
+
> ### 注意:
|
|
2388
|
+
> - 搜索结果受用户隐私设置影响
|
|
2389
|
+
> - 时间戳参数使用Unix时间戳格式
|
|
2390
|
+
>
|
|
2391
|
+
> # [English]
|
|
2392
|
+
> ### Purpose:
|
|
2393
|
+
> - Search for content containing specific keywords in a specified user's posts.
|
|
2394
|
+
> ### Parameters:
|
|
2395
|
+
> - uid: User ID (required)
|
|
2396
|
+
> - q: Search keyword (required)
|
|
2397
|
+
> - page: Page number, starts from 1 (default 1)
|
|
2398
|
+
> - starttime: Start timestamp (optional, Unix timestamp format)
|
|
2399
|
+
> - endtime: End timestamp (optional, Unix timestamp format)
|
|
2400
|
+
> - hasori: Include original posts (default 1 include)
|
|
2401
|
+
> - hasret: Include retweets (default 1 include)
|
|
2402
|
+
> - hastext: Include text posts (default 1 include)
|
|
2403
|
+
> - haspic: Include image posts (default 1 include)
|
|
2404
|
+
> - hasvideo: Include video posts (default 1 include)
|
|
2405
|
+
> - hasmusic: Include music posts (default 1 include)
|
|
2406
|
+
> ### Return:
|
|
2407
|
+
> - Search result list, including post content, author info, interaction data
|
|
2408
|
+
> ### Note:
|
|
2409
|
+
> - Search results affected by user privacy settings
|
|
2410
|
+
> - Timestamp parameters use Unix timestamp format
|
|
2411
|
+
>
|
|
2412
|
+
> # [示例/Example]
|
|
2413
|
+
> uid = "7277477906"
|
|
2414
|
+
> q = "python"
|
|
2415
|
+
> page = 1
|
|
2416
|
+
|
|
2417
|
+
#### Parameters
|
|
2418
|
+
|
|
2419
|
+
| Field | In | Type | Required | Description | Default | Example | Enum |
|
|
2420
|
+
| --- | --- | --- | --- | --- | --- | --- | --- |
|
|
2421
|
+
| uid | query | string | Yes | 用户ID/User ID | None | 7277477906 | None |
|
|
2422
|
+
| q | query | string | Yes | 搜索关键词/Search keyword | None | python | None |
|
|
2423
|
+
| page | query | integer | No | 页数/Page number | 1 | 1 | None |
|
|
2424
|
+
| starttime | query | integer | Yes | 开始时间戳/Start timestamp | None | None | None |
|
|
2425
|
+
| endtime | query | integer | Yes | 结束时间戳/End timestamp | None | None | None |
|
|
2426
|
+
| hasori | query | integer | No | 是否包含原创微博,1=包含,0=不包含/Include original posts, 1=include, 0=exclude | 1 | 1 | None |
|
|
2427
|
+
| hasret | query | integer | No | 是否包含转发微博,1=包含,0=不包含/Include retweets, 1=include, 0=exclude | 1 | 1 | None |
|
|
2428
|
+
| hastext | query | integer | No | 是否包含文字微博,1=包含,0=不包含/Include text posts, 1=include, 0=exclude | 1 | 1 | None |
|
|
2429
|
+
| haspic | query | integer | No | 是否包含图片微博,1=包含,0=不包含/Include image posts, 1=include, 0=exclude | 1 | 1 | None |
|
|
2430
|
+
| hasvideo | query | integer | No | 是否包含视频微博,1=包含,0=不包含/Include video posts, 1=include, 0=exclude | 1 | 1 | None |
|
|
2431
|
+
| hasmusic | query | integer | No | 是否包含音乐微博,1=包含,0=不包含/Include music posts, 1=include, 0=exclude | 1 | 1 | None |
|
|
2432
|
+
|
|
2433
|
+
#### Request Body
|
|
2434
|
+
|
|
2435
|
+
None
|
|
2436
|
+
|
|
2437
|
+
#### Success Response
|
|
2438
|
+
|
|
2439
|
+
##### `200 application/json`
|
|
2440
|
+
|
|
2441
|
+
- Schema summary: `code`:integer, `request_id`:string, `message`:string, `message_zh`:string, `support`:string, `time`:string, `time_stamp`:integer, `time_zone`:string, ...
|
|
2442
|
+
|
|
2443
|
+
| Field | Type | Required | Description | Default | Example | Enum |
|
|
2444
|
+
| --- | --- | --- | --- | --- | --- | --- |
|
|
2445
|
+
| code | integer | No | HTTP status code \| HTTP状态码 | 200 | None | None |
|
|
2446
|
+
| request_id | string | No | Unique request identifier \| 唯一请求标识符 | None | None | None |
|
|
2447
|
+
| message | string | No | Response message (EN-US) \| 响应消息 (English) | Request successful. This request will incur a charge. | None | None |
|
|
2448
|
+
| message_zh | string | No | Response message (ZH-CN) \| 响应消息 (中文) | 请求成功,本次请求将被计费。 | None | None |
|
|
2449
|
+
| support | string | No | Support message \| 支持消息 | Discord: https://discord.gg/aMEAS8Xsvz | None | None |
|
|
2450
|
+
| time | string | No | The time the response was generated \| 生成响应的时间 | None | None | None |
|
|
2451
|
+
| time_stamp | integer | No | The timestamp the response was generated \| 生成响应的时间戳 | None | None | None |
|
|
2452
|
+
| time_zone | string | No | The timezone of the response time \| 响应时间的时区 | America/Los_Angeles | None | None |
|
|
2453
|
+
| docs | string | No | Link to the API Swagger documentation for this endpoint \| 此端点的 API Swagger 文档链接 | None | None | None |
|
|
2454
|
+
| 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 |
|
|
2455
|
+
| cache_message_zh | string | No | Cache message (ZH-CN) \| 缓存消息 (中文) | 本次请求将被缓存,你可以使用下面的 URL 直接访问缓存结果,有效期为 24 小时,访问缓存不会产生额外费用。 | None | None |
|
|
2456
|
+
| cache_url | string | No | The URL to access the cached result \| 访问缓存结果的 URL | None | None | None |
|
|
2457
|
+
| router | string | No | The endpoint that generated this response \| 生成此响应的端点 | None | None | None |
|
|
2458
|
+
| params | dynamic object | No | The parameters used in the request \| 请求中使用的参数 | None | None | None |
|
|
2459
|
+
| data | null | No | The response data \| 响应数据 | None | None | None |
|