@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,1324 @@
|
|
|
1
|
+
# Xiaohongshu-Web-API Full Contract
|
|
2
|
+
|
|
3
|
+
- Back to index: [`api-capability-index.md`](../api-capability-index.md)
|
|
4
|
+
- Back to route summary: [`api-tags/xiaohongshu-web-api.md`](../api-tags/xiaohongshu-web-api.md)
|
|
5
|
+
- Current contract file: `api-contracts/xiaohongshu-web-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: `17`
|
|
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数据接口/Xiaohongshu-Web-API data endpoints)** - 第四优先/Fourth choice
|
|
12
|
+
|
|
13
|
+
## Route Contracts
|
|
14
|
+
|
|
15
|
+
<a id="post-api-u1-v1-xiaohongshu-web-get-home-recommend"></a>
|
|
16
|
+
### `POST /api/u1/v1/xiaohongshu/web/get_home_recommend`
|
|
17
|
+
|
|
18
|
+
- Summary: 获取首页推荐/Get home recommend
|
|
19
|
+
- Capabilities: profiles / accounts
|
|
20
|
+
- Auth: Header `Authorization: Bearer {token}`; docs also allow Cookie `Authorization` as fallback (`HTTPBearer`)
|
|
21
|
+
- operationId: `get_home_recommend_api_v1_xiaohongshu_web_get_home_recommend_post`
|
|
22
|
+
|
|
23
|
+
#### Notes
|
|
24
|
+
|
|
25
|
+
> # [中文]
|
|
26
|
+
> ### 用途:
|
|
27
|
+
> - 获取首页推荐
|
|
28
|
+
> ### 接口优先级:
|
|
29
|
+
> - 小红书接口推荐优先级: `App V2` > `App` > `Web V2` > `Web(本接口)`
|
|
30
|
+
> ### 参数:
|
|
31
|
+
> - feed_type: 推荐类型
|
|
32
|
+
> - 全部: 0
|
|
33
|
+
> - 穿搭: 1
|
|
34
|
+
> - 美食: 2
|
|
35
|
+
> - 彩妆: 3
|
|
36
|
+
> - 影视: 4
|
|
37
|
+
> - 职场: 5
|
|
38
|
+
> - 情感: 6
|
|
39
|
+
> - 家居: 7
|
|
40
|
+
> - 游戏: 8
|
|
41
|
+
> - 旅行: 9
|
|
42
|
+
> - 健身: 10
|
|
43
|
+
> - need_filter_image: 是否只看图文笔记,默认为 False
|
|
44
|
+
> - cookie: 可选参数,用户自行提供的已登录的网页Cookie获取个性化推荐,如果不提供,则使用游客模式
|
|
45
|
+
> - proxy: 可选参数,网络代理,可降低封号概率,格式:http://用户名:密码@IP:端口/Proxy, format: http://username:password@IP:port
|
|
46
|
+
> ### 返回:
|
|
47
|
+
> - 推荐列表
|
|
48
|
+
>
|
|
49
|
+
> # [English]
|
|
50
|
+
> ### Purpose:
|
|
51
|
+
> - Get home recommend
|
|
52
|
+
> ### API Priority:
|
|
53
|
+
> - Xiaohongshu API priority: `App V2` > `App` > `Web V2` > `Web (this)`
|
|
54
|
+
> ### Parameters:
|
|
55
|
+
> - feed_type: Feed type
|
|
56
|
+
> - Dress: 1
|
|
57
|
+
> - Food: 2
|
|
58
|
+
> - Makeup: 3
|
|
59
|
+
> - Film: 4
|
|
60
|
+
> - Workplace: 5
|
|
61
|
+
> - Emotion: 6
|
|
62
|
+
> - Home: 7
|
|
63
|
+
> - Game: 8
|
|
64
|
+
> - Travel: 9
|
|
65
|
+
> - Fitness: 10
|
|
66
|
+
> - need_filter_image: Whether to view only image notes, default is False
|
|
67
|
+
> - cookie: Optional parameter, user-provided logged-in web Cookie to get personalized recommendations, if not provided, use visitor mode
|
|
68
|
+
> - proxy: Optional parameter, network proxy, can reduce the probability of account ban, format: http://username:password@IP:port
|
|
69
|
+
> ### Return:
|
|
70
|
+
> - Recommend list
|
|
71
|
+
>
|
|
72
|
+
> # [示例/Example]
|
|
73
|
+
> feed_type="0"
|
|
74
|
+
> need_filter_image=False
|
|
75
|
+
|
|
76
|
+
#### Parameters
|
|
77
|
+
|
|
78
|
+
None
|
|
79
|
+
|
|
80
|
+
#### Request Body
|
|
81
|
+
|
|
82
|
+
- required: Yes
|
|
83
|
+
|
|
84
|
+
##### `application/json`
|
|
85
|
+
|
|
86
|
+
- Schema summary: `feed_type`:string, `need_filter_image`:boolean, `cursor_score`:string, `cookie`:string, `proxy`:string
|
|
87
|
+
|
|
88
|
+
| Field | Type | Required | Description | Default | Example | Enum |
|
|
89
|
+
| --- | --- | --- | --- | --- | --- | --- |
|
|
90
|
+
| feed_type | string | No | 推荐类型/Feed type | 0 | None | None |
|
|
91
|
+
| need_filter_image | boolean | No | 是否只看图文笔记/Whether to view only image notes | false | None | None |
|
|
92
|
+
| cursor_score | string | No | 分页游标/Cursor for pagination | None | None | None |
|
|
93
|
+
| cookie | string | No | 用户自行提供的已登录的网页Cookie/User provided logged-in web Cookie | None | None | None |
|
|
94
|
+
| proxy | string | No | 代理,格式:http://用户名:密码@IP:端口/Proxy, format: http://username:password@IP:port | None | None | None |
|
|
95
|
+
|
|
96
|
+
#### Success Response
|
|
97
|
+
|
|
98
|
+
##### `200 application/json`
|
|
99
|
+
|
|
100
|
+
- Schema summary: `code`:integer, `request_id`:string, `message`:string, `message_zh`:string, `support`:string, `time`:string, `time_stamp`:integer, `time_zone`:string, ...
|
|
101
|
+
|
|
102
|
+
| Field | Type | Required | Description | Default | Example | Enum |
|
|
103
|
+
| --- | --- | --- | --- | --- | --- | --- |
|
|
104
|
+
| code | integer | No | HTTP status code \| HTTP状态码 | 200 | None | None |
|
|
105
|
+
| request_id | string | No | Unique request identifier \| 唯一请求标识符 | None | None | None |
|
|
106
|
+
| message | string | No | Response message (EN-US) \| 响应消息 (English) | Request successful. This request will incur a charge. | None | None |
|
|
107
|
+
| message_zh | string | No | Response message (ZH-CN) \| 响应消息 (中文) | 请求成功,本次请求将被计费。 | None | None |
|
|
108
|
+
| support | string | No | Support message \| 支持消息 | Discord: https://discord.gg/aMEAS8Xsvz | None | None |
|
|
109
|
+
| time | string | No | The time the response was generated \| 生成响应的时间 | None | None | None |
|
|
110
|
+
| time_stamp | integer | No | The timestamp the response was generated \| 生成响应的时间戳 | None | None | None |
|
|
111
|
+
| time_zone | string | No | The timezone of the response time \| 响应时间的时区 | America/Los_Angeles | None | None |
|
|
112
|
+
| docs | string | No | Link to the API Swagger documentation for this endpoint \| 此端点的 API Swagger 文档链接 | None | None | None |
|
|
113
|
+
| 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 |
|
|
114
|
+
| cache_message_zh | string | No | Cache message (ZH-CN) \| 缓存消息 (中文) | 本次请求将被缓存,你可以使用下面的 URL 直接访问缓存结果,有效期为 24 小时,访问缓存不会产生额外费用。 | None | None |
|
|
115
|
+
| cache_url | string | No | The URL to access the cached result \| 访问缓存结果的 URL | None | None | None |
|
|
116
|
+
| router | string | No | The endpoint that generated this response \| 生成此响应的端点 | None | None | None |
|
|
117
|
+
| params | dynamic object | No | The parameters used in the request \| 请求中使用的参数 | None | None | None |
|
|
118
|
+
| data | null | No | The response data \| 响应数据 | None | None | None |
|
|
119
|
+
|
|
120
|
+
<a id="get-api-u1-v1-xiaohongshu-web-get-note-comment-replies"></a>
|
|
121
|
+
### `GET /api/u1/v1/xiaohongshu/web/get_note_comment_replies`
|
|
122
|
+
|
|
123
|
+
- Summary: 获取笔记评论回复 V1/Get note comment replies V1
|
|
124
|
+
- Capabilities: comments / content details
|
|
125
|
+
- Auth: Header `Authorization: Bearer {token}`; docs also allow Cookie `Authorization` as fallback (`HTTPBearer`)
|
|
126
|
+
- operationId: `get_note_comment_replies_api_v1_xiaohongshu_web_get_note_comment_replies_get`
|
|
127
|
+
|
|
128
|
+
#### Notes
|
|
129
|
+
|
|
130
|
+
> # [中文]
|
|
131
|
+
> ### 用途:
|
|
132
|
+
> - 获取笔记评论回复 V1
|
|
133
|
+
> ### 参数:
|
|
134
|
+
> - note_id: 笔记ID,可以从小红书的分享链接中获取
|
|
135
|
+
> - comment_id: 评论ID
|
|
136
|
+
> - lastCursor: 第一次请求时为空,之后请求时使用上一次请求响应中返回的游标
|
|
137
|
+
> ### 返回:
|
|
138
|
+
> - 笔记评论回复列表
|
|
139
|
+
>
|
|
140
|
+
> # [English]
|
|
141
|
+
> ### Purpose:
|
|
142
|
+
> - Get note comment replies V1
|
|
143
|
+
> ### Parameters:
|
|
144
|
+
> - note_id: Note ID, can be obtained from the sharing link of Xiaohongshu website.
|
|
145
|
+
> - comment_id: Comment ID
|
|
146
|
+
> - lastCursor: Last cursor, empty for the first request, use the cursor returned in the last response for subsequent requests
|
|
147
|
+
> ### Return:
|
|
148
|
+
> - Note comment replies list
|
|
149
|
+
>
|
|
150
|
+
> # [示例/Example]
|
|
151
|
+
> note_id="6683b283000000001f0052bf"
|
|
152
|
+
> comment_id="6683ec5b000000000303b91a"
|
|
153
|
+
> lastCursor=None
|
|
154
|
+
|
|
155
|
+
#### Parameters
|
|
156
|
+
|
|
157
|
+
| Field | In | Type | Required | Description | Default | Example | Enum |
|
|
158
|
+
| --- | --- | --- | --- | --- | --- | --- | --- |
|
|
159
|
+
| note_id | query | string | Yes | 笔记ID/Note ID | None | 6683b283000000001f0052bf | None |
|
|
160
|
+
| comment_id | query | string | Yes | 评论ID/Comment ID | None | 6683ec5b000000000303b91a | None |
|
|
161
|
+
| lastCursor | query | string | No | 上一页的游标/Last cursor | None | None | None |
|
|
162
|
+
|
|
163
|
+
#### Request Body
|
|
164
|
+
|
|
165
|
+
None
|
|
166
|
+
|
|
167
|
+
#### Success Response
|
|
168
|
+
|
|
169
|
+
##### `200 application/json`
|
|
170
|
+
|
|
171
|
+
- Schema summary: `code`:integer, `request_id`:string, `message`:string, `message_zh`:string, `support`:string, `time`:string, `time_stamp`:integer, `time_zone`:string, ...
|
|
172
|
+
|
|
173
|
+
| Field | Type | Required | Description | Default | Example | Enum |
|
|
174
|
+
| --- | --- | --- | --- | --- | --- | --- |
|
|
175
|
+
| code | integer | No | HTTP status code \| HTTP状态码 | 200 | None | None |
|
|
176
|
+
| request_id | string | No | Unique request identifier \| 唯一请求标识符 | None | None | None |
|
|
177
|
+
| message | string | No | Response message (EN-US) \| 响应消息 (English) | Request successful. This request will incur a charge. | None | None |
|
|
178
|
+
| message_zh | string | No | Response message (ZH-CN) \| 响应消息 (中文) | 请求成功,本次请求将被计费。 | None | None |
|
|
179
|
+
| support | string | No | Support message \| 支持消息 | Discord: https://discord.gg/aMEAS8Xsvz | None | None |
|
|
180
|
+
| time | string | No | The time the response was generated \| 生成响应的时间 | None | None | None |
|
|
181
|
+
| time_stamp | integer | No | The timestamp the response was generated \| 生成响应的时间戳 | None | None | None |
|
|
182
|
+
| time_zone | string | No | The timezone of the response time \| 响应时间的时区 | America/Los_Angeles | None | None |
|
|
183
|
+
| docs | string | No | Link to the API Swagger documentation for this endpoint \| 此端点的 API Swagger 文档链接 | None | None | None |
|
|
184
|
+
| 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 |
|
|
185
|
+
| cache_message_zh | string | No | Cache message (ZH-CN) \| 缓存消息 (中文) | 本次请求将被缓存,你可以使用下面的 URL 直接访问缓存结果,有效期为 24 小时,访问缓存不会产生额外费用。 | None | None |
|
|
186
|
+
| cache_url | string | No | The URL to access the cached result \| 访问缓存结果的 URL | None | None | None |
|
|
187
|
+
| router | string | No | The endpoint that generated this response \| 生成此响应的端点 | None | None | None |
|
|
188
|
+
| params | dynamic object | No | The parameters used in the request \| 请求中使用的参数 | None | None | None |
|
|
189
|
+
| data | null | No | The response data \| 响应数据 | None | None | None |
|
|
190
|
+
|
|
191
|
+
<a id="get-api-u1-v1-xiaohongshu-web-get-note-comments"></a>
|
|
192
|
+
### `GET /api/u1/v1/xiaohongshu/web/get_note_comments`
|
|
193
|
+
|
|
194
|
+
- Summary: 获取笔记评论 V1/Get note comments V1
|
|
195
|
+
- Capabilities: comments / content details
|
|
196
|
+
- Auth: Header `Authorization: Bearer {token}`; docs also allow Cookie `Authorization` as fallback (`HTTPBearer`)
|
|
197
|
+
- operationId: `get_note_comments_api_v1_xiaohongshu_web_get_note_comments_get`
|
|
198
|
+
|
|
199
|
+
#### Notes
|
|
200
|
+
|
|
201
|
+
> # [中文]
|
|
202
|
+
> ### 用途:
|
|
203
|
+
> - 获取笔记评论 V1
|
|
204
|
+
> ### 参数:
|
|
205
|
+
> - note_id: 笔记ID,可以从小红书的分享链接中获取
|
|
206
|
+
> - lastCursor: 第一次请求时为空,之后请求时使用上一次请求响应中返回的游标
|
|
207
|
+
> ### 返回:
|
|
208
|
+
> - 笔记评论列表
|
|
209
|
+
>
|
|
210
|
+
> # [English]
|
|
211
|
+
> ### Purpose:
|
|
212
|
+
> - Get note comments V1
|
|
213
|
+
> ### Parameters:
|
|
214
|
+
> - note_id: Note ID, can be obtained from the sharing link of Xiaohongshu website.
|
|
215
|
+
> - lastCursor: Last cursor, empty for the first request, use the cursor returned in the last response for subsequent requests
|
|
216
|
+
> ### Return:
|
|
217
|
+
> - Note comments list
|
|
218
|
+
>
|
|
219
|
+
> # [示例/Example]
|
|
220
|
+
> note_id="6683b283000000001f0052bf"
|
|
221
|
+
> lastCursor=None
|
|
222
|
+
|
|
223
|
+
#### Parameters
|
|
224
|
+
|
|
225
|
+
| Field | In | Type | Required | Description | Default | Example | Enum |
|
|
226
|
+
| --- | --- | --- | --- | --- | --- | --- | --- |
|
|
227
|
+
| note_id | query | string | Yes | 笔记ID/Note ID | None | 6683b283000000001f0052bf | None |
|
|
228
|
+
| lastCursor | query | string | No | 上一页的游标/Last cursor | None | None | None |
|
|
229
|
+
|
|
230
|
+
#### Request Body
|
|
231
|
+
|
|
232
|
+
None
|
|
233
|
+
|
|
234
|
+
#### Success Response
|
|
235
|
+
|
|
236
|
+
##### `200 application/json`
|
|
237
|
+
|
|
238
|
+
- Schema summary: `code`:integer, `request_id`:string, `message`:string, `message_zh`:string, `support`:string, `time`:string, `time_stamp`:integer, `time_zone`:string, ...
|
|
239
|
+
|
|
240
|
+
| Field | Type | Required | Description | Default | Example | Enum |
|
|
241
|
+
| --- | --- | --- | --- | --- | --- | --- |
|
|
242
|
+
| code | integer | No | HTTP status code \| HTTP状态码 | 200 | None | None |
|
|
243
|
+
| request_id | string | No | Unique request identifier \| 唯一请求标识符 | None | None | None |
|
|
244
|
+
| message | string | No | Response message (EN-US) \| 响应消息 (English) | Request successful. This request will incur a charge. | None | None |
|
|
245
|
+
| message_zh | string | No | Response message (ZH-CN) \| 响应消息 (中文) | 请求成功,本次请求将被计费。 | None | None |
|
|
246
|
+
| support | string | No | Support message \| 支持消息 | Discord: https://discord.gg/aMEAS8Xsvz | None | None |
|
|
247
|
+
| time | string | No | The time the response was generated \| 生成响应的时间 | None | None | None |
|
|
248
|
+
| time_stamp | integer | No | The timestamp the response was generated \| 生成响应的时间戳 | None | None | None |
|
|
249
|
+
| time_zone | string | No | The timezone of the response time \| 响应时间的时区 | America/Los_Angeles | None | None |
|
|
250
|
+
| docs | string | No | Link to the API Swagger documentation for this endpoint \| 此端点的 API Swagger 文档链接 | None | None | None |
|
|
251
|
+
| 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 |
|
|
252
|
+
| cache_message_zh | string | No | Cache message (ZH-CN) \| 缓存消息 (中文) | 本次请求将被缓存,你可以使用下面的 URL 直接访问缓存结果,有效期为 24 小时,访问缓存不会产生额外费用。 | None | None |
|
|
253
|
+
| cache_url | string | No | The URL to access the cached result \| 访问缓存结果的 URL | None | None | None |
|
|
254
|
+
| router | string | No | The endpoint that generated this response \| 生成此响应的端点 | None | None | None |
|
|
255
|
+
| params | dynamic object | No | The parameters used in the request \| 请求中使用的参数 | None | None | None |
|
|
256
|
+
| data | null | No | The response data \| 响应数据 | None | None | None |
|
|
257
|
+
|
|
258
|
+
<a id="get-api-u1-v1-xiaohongshu-web-get-note-id-and-xsec-token"></a>
|
|
259
|
+
### `GET /api/u1/v1/xiaohongshu/web/get_note_id_and_xsec_token`
|
|
260
|
+
|
|
261
|
+
- Summary: 通过分享链接获取小红书的Note ID 和 xsec_token/Get Xiaohongshu Note ID and xsec_token by share link
|
|
262
|
+
- Capabilities: content details
|
|
263
|
+
- Auth: Header `Authorization: Bearer {token}`; docs also allow Cookie `Authorization` as fallback (`HTTPBearer`)
|
|
264
|
+
- operationId: `get_note_id_and_xsec_token_api_v1_xiaohongshu_web_get_note_id_and_xsec_token_get`
|
|
265
|
+
|
|
266
|
+
#### Notes
|
|
267
|
+
|
|
268
|
+
> # [中文]
|
|
269
|
+
> ### 用途:
|
|
270
|
+
> - 通过分享链接获取小红书的Note ID 和 xsec_token
|
|
271
|
+
> ### 参数:
|
|
272
|
+
> - share_text: 小红书分享链接(支持APP和Web端分享链接)
|
|
273
|
+
> ### 返回:
|
|
274
|
+
> - Note ID 和 xsec_token
|
|
275
|
+
>
|
|
276
|
+
> # [English]
|
|
277
|
+
> ### Purpose:
|
|
278
|
+
> - Get Xiaohongshu Note ID and xsec_token by share link
|
|
279
|
+
> ### Parameters:
|
|
280
|
+
> - share_text: Xiaohongshu sharing link (support APP and Web sharing link)
|
|
281
|
+
> ### Return:
|
|
282
|
+
> - Note ID and xsec_token
|
|
283
|
+
>
|
|
284
|
+
> # [示例/Example]
|
|
285
|
+
> share_text="https://xhslink.com/a/EZ4M9TwMA6c3"
|
|
286
|
+
|
|
287
|
+
#### Parameters
|
|
288
|
+
|
|
289
|
+
| Field | In | Type | Required | Description | Default | Example | Enum |
|
|
290
|
+
| --- | --- | --- | --- | --- | --- | --- | --- |
|
|
291
|
+
| share_text | query | string | Yes | 分享链接/Share link | None | https://xhslink.com/a/EZ4M9TwMA6c3 | None |
|
|
292
|
+
|
|
293
|
+
#### Request Body
|
|
294
|
+
|
|
295
|
+
None
|
|
296
|
+
|
|
297
|
+
#### Success Response
|
|
298
|
+
|
|
299
|
+
##### `200 application/json`
|
|
300
|
+
|
|
301
|
+
- Schema summary: `code`:integer, `request_id`:string, `message`:string, `message_zh`:string, `support`:string, `time`:string, `time_stamp`:integer, `time_zone`:string, ...
|
|
302
|
+
|
|
303
|
+
| Field | Type | Required | Description | Default | Example | Enum |
|
|
304
|
+
| --- | --- | --- | --- | --- | --- | --- |
|
|
305
|
+
| code | integer | No | HTTP status code \| HTTP状态码 | 200 | None | None |
|
|
306
|
+
| request_id | string | No | Unique request identifier \| 唯一请求标识符 | None | None | None |
|
|
307
|
+
| message | string | No | Response message (EN-US) \| 响应消息 (English) | Request successful. This request will incur a charge. | None | None |
|
|
308
|
+
| message_zh | string | No | Response message (ZH-CN) \| 响应消息 (中文) | 请求成功,本次请求将被计费。 | None | None |
|
|
309
|
+
| support | string | No | Support message \| 支持消息 | Discord: https://discord.gg/aMEAS8Xsvz | None | None |
|
|
310
|
+
| time | string | No | The time the response was generated \| 生成响应的时间 | None | None | None |
|
|
311
|
+
| time_stamp | integer | No | The timestamp the response was generated \| 生成响应的时间戳 | None | None | None |
|
|
312
|
+
| time_zone | string | No | The timezone of the response time \| 响应时间的时区 | America/Los_Angeles | None | None |
|
|
313
|
+
| docs | string | No | Link to the API Swagger documentation for this endpoint \| 此端点的 API Swagger 文档链接 | None | None | None |
|
|
314
|
+
| 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 |
|
|
315
|
+
| cache_message_zh | string | No | Cache message (ZH-CN) \| 缓存消息 (中文) | 本次请求将被缓存,你可以使用下面的 URL 直接访问缓存结果,有效期为 24 小时,访问缓存不会产生额外费用。 | None | None |
|
|
316
|
+
| cache_url | string | No | The URL to access the cached result \| 访问缓存结果的 URL | None | None | None |
|
|
317
|
+
| router | string | No | The endpoint that generated this response \| 生成此响应的端点 | None | None | None |
|
|
318
|
+
| params | dynamic object | No | The parameters used in the request \| 请求中使用的参数 | None | None | None |
|
|
319
|
+
| data | null | No | The response data \| 响应数据 | None | None | None |
|
|
320
|
+
|
|
321
|
+
<a id="get-api-u1-v1-xiaohongshu-web-get-note-info-v2"></a>
|
|
322
|
+
### `GET /api/u1/v1/xiaohongshu/web/get_note_info_v2`
|
|
323
|
+
|
|
324
|
+
- Summary: 获取笔记信息 V2/Get note info V2
|
|
325
|
+
- Capabilities: content details
|
|
326
|
+
- Auth: Header `Authorization: Bearer {token}`; docs also allow Cookie `Authorization` as fallback (`HTTPBearer`)
|
|
327
|
+
- operationId: `get_note_info_v2_api_v1_xiaohongshu_web_get_note_info_v2_get`
|
|
328
|
+
|
|
329
|
+
#### Notes
|
|
330
|
+
|
|
331
|
+
> # [中文]
|
|
332
|
+
> ### 用途:
|
|
333
|
+
> - 获取笔记信息 V2
|
|
334
|
+
> ### 参数:
|
|
335
|
+
> - note_id: 笔记ID,可以从小红书的分享链接中获取
|
|
336
|
+
> - share_text: 小红书分享链接(支持APP和Web端分享链接)
|
|
337
|
+
> - 优先使用`note_id`,如果没有则使用`share_text`,两个参数二选一,如都携带则以`note_id`为准。
|
|
338
|
+
> ### 返回:
|
|
339
|
+
> - 笔记信息
|
|
340
|
+
>
|
|
341
|
+
> # [English]
|
|
342
|
+
> ### Purpose:
|
|
343
|
+
> - Get note info V2
|
|
344
|
+
> ### Parameters:
|
|
345
|
+
> - note_id: Note ID, can be obtained from the sharing link of Xiaohongshu website.
|
|
346
|
+
> - share_text: Xiaohongshu sharing link (support APP and Web sharing link)
|
|
347
|
+
> - Prefer to use `note_id`, if not, use `share_text`, one of the two parameters is required, if both are carried, `note_id` shall prevail.
|
|
348
|
+
> ### Return:
|
|
349
|
+
> - Note info
|
|
350
|
+
>
|
|
351
|
+
> # [示例/Example]
|
|
352
|
+
> note_id="665f95200000000006005624"
|
|
353
|
+
|
|
354
|
+
#### Parameters
|
|
355
|
+
|
|
356
|
+
| Field | In | Type | Required | Description | Default | Example | Enum |
|
|
357
|
+
| --- | --- | --- | --- | --- | --- | --- | --- |
|
|
358
|
+
| note_id | query | string | No | 笔记ID/Note ID | None | 665f95200000000006005624 | None |
|
|
359
|
+
| share_text | query | string | No | 分享链接/Share link | None | https://xhslink.com/a/EZ4M9TwMA6c3 | None |
|
|
360
|
+
|
|
361
|
+
#### Request Body
|
|
362
|
+
|
|
363
|
+
None
|
|
364
|
+
|
|
365
|
+
#### Success Response
|
|
366
|
+
|
|
367
|
+
##### `200 application/json`
|
|
368
|
+
|
|
369
|
+
- Schema summary: `code`:integer, `request_id`:string, `message`:string, `message_zh`:string, `support`:string, `time`:string, `time_stamp`:integer, `time_zone`:string, ...
|
|
370
|
+
|
|
371
|
+
| Field | Type | Required | Description | Default | Example | Enum |
|
|
372
|
+
| --- | --- | --- | --- | --- | --- | --- |
|
|
373
|
+
| code | integer | No | HTTP status code \| HTTP状态码 | 200 | None | None |
|
|
374
|
+
| request_id | string | No | Unique request identifier \| 唯一请求标识符 | None | None | None |
|
|
375
|
+
| message | string | No | Response message (EN-US) \| 响应消息 (English) | Request successful. This request will incur a charge. | None | None |
|
|
376
|
+
| message_zh | string | No | Response message (ZH-CN) \| 响应消息 (中文) | 请求成功,本次请求将被计费。 | None | None |
|
|
377
|
+
| support | string | No | Support message \| 支持消息 | Discord: https://discord.gg/aMEAS8Xsvz | None | None |
|
|
378
|
+
| time | string | No | The time the response was generated \| 生成响应的时间 | None | None | None |
|
|
379
|
+
| time_stamp | integer | No | The timestamp the response was generated \| 生成响应的时间戳 | None | None | None |
|
|
380
|
+
| time_zone | string | No | The timezone of the response time \| 响应时间的时区 | America/Los_Angeles | None | None |
|
|
381
|
+
| docs | string | No | Link to the API Swagger documentation for this endpoint \| 此端点的 API Swagger 文档链接 | None | None | None |
|
|
382
|
+
| 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 |
|
|
383
|
+
| cache_message_zh | string | No | Cache message (ZH-CN) \| 缓存消息 (中文) | 本次请求将被缓存,你可以使用下面的 URL 直接访问缓存结果,有效期为 24 小时,访问缓存不会产生额外费用。 | None | None |
|
|
384
|
+
| cache_url | string | No | The URL to access the cached result \| 访问缓存结果的 URL | None | None | None |
|
|
385
|
+
| router | string | No | The endpoint that generated this response \| 生成此响应的端点 | None | None | None |
|
|
386
|
+
| params | dynamic object | No | The parameters used in the request \| 请求中使用的参数 | None | None | None |
|
|
387
|
+
| data | null | No | The response data \| 响应数据 | None | None | None |
|
|
388
|
+
|
|
389
|
+
<a id="get-api-u1-v1-xiaohongshu-web-get-note-info-v4"></a>
|
|
390
|
+
### `GET /api/u1/v1/xiaohongshu/web/get_note_info_v4`
|
|
391
|
+
|
|
392
|
+
- Summary: 获取笔记信息 V4/Get note info V4
|
|
393
|
+
- Capabilities: content details
|
|
394
|
+
- Auth: Header `Authorization: Bearer {token}`; docs also allow Cookie `Authorization` as fallback (`HTTPBearer`)
|
|
395
|
+
- operationId: `get_note_info_v4_api_v1_xiaohongshu_web_get_note_info_v4_get`
|
|
396
|
+
|
|
397
|
+
#### Notes
|
|
398
|
+
|
|
399
|
+
> # [中文]
|
|
400
|
+
> ### 用途:
|
|
401
|
+
> - 获取笔记信息V4
|
|
402
|
+
> ### 参数:
|
|
403
|
+
> - note_id: 笔记ID,可以从小红书的分享链接中获取
|
|
404
|
+
> - share_text: 小红书分享链接(支持APP和Web端分享链接)
|
|
405
|
+
> - 优先使用`note_id`,如果没有则使用`share_text`,两个参数二选一,如都携带则以`note_id`为准。
|
|
406
|
+
> ### 返回:
|
|
407
|
+
> - 笔记信息
|
|
408
|
+
>
|
|
409
|
+
> # [English]
|
|
410
|
+
> ### Purpose:
|
|
411
|
+
> - Get note info V4
|
|
412
|
+
> ### Parameters:
|
|
413
|
+
> - note_id: Note ID, can be obtained from the sharing link of Xiaohongshu website.
|
|
414
|
+
> - share_text: Xiaohongshu sharing link (support APP and Web sharing link)
|
|
415
|
+
> - Prefer to use `note_id`, if not, use `share_text`, one of the two parameters is required, if both are carried, `note_id` shall prevail.
|
|
416
|
+
> ### Return:
|
|
417
|
+
> - Note info
|
|
418
|
+
>
|
|
419
|
+
> # [示例/Example]
|
|
420
|
+
> note_id="665f95200000000006005624"
|
|
421
|
+
|
|
422
|
+
#### Parameters
|
|
423
|
+
|
|
424
|
+
| Field | In | Type | Required | Description | Default | Example | Enum |
|
|
425
|
+
| --- | --- | --- | --- | --- | --- | --- | --- |
|
|
426
|
+
| note_id | query | string | No | 笔记ID/Note ID | None | 665f95200000000006005624 | None |
|
|
427
|
+
| share_text | query | string | No | 分享链接/Share link | None | https://xhslink.com/a/EZ4M9TwMA6c3 | None |
|
|
428
|
+
|
|
429
|
+
#### Request Body
|
|
430
|
+
|
|
431
|
+
None
|
|
432
|
+
|
|
433
|
+
#### Success Response
|
|
434
|
+
|
|
435
|
+
##### `200 application/json`
|
|
436
|
+
|
|
437
|
+
- Schema summary: `code`:integer, `request_id`:string, `message`:string, `message_zh`:string, `support`:string, `time`:string, `time_stamp`:integer, `time_zone`:string, ...
|
|
438
|
+
|
|
439
|
+
| Field | Type | Required | Description | Default | Example | Enum |
|
|
440
|
+
| --- | --- | --- | --- | --- | --- | --- |
|
|
441
|
+
| code | integer | No | HTTP status code \| HTTP状态码 | 200 | None | None |
|
|
442
|
+
| request_id | string | No | Unique request identifier \| 唯一请求标识符 | None | None | None |
|
|
443
|
+
| message | string | No | Response message (EN-US) \| 响应消息 (English) | Request successful. This request will incur a charge. | None | None |
|
|
444
|
+
| message_zh | string | No | Response message (ZH-CN) \| 响应消息 (中文) | 请求成功,本次请求将被计费。 | None | None |
|
|
445
|
+
| support | string | No | Support message \| 支持消息 | Discord: https://discord.gg/aMEAS8Xsvz | None | None |
|
|
446
|
+
| time | string | No | The time the response was generated \| 生成响应的时间 | None | None | None |
|
|
447
|
+
| time_stamp | integer | No | The timestamp the response was generated \| 生成响应的时间戳 | None | None | None |
|
|
448
|
+
| time_zone | string | No | The timezone of the response time \| 响应时间的时区 | America/Los_Angeles | None | None |
|
|
449
|
+
| docs | string | No | Link to the API Swagger documentation for this endpoint \| 此端点的 API Swagger 文档链接 | None | None | None |
|
|
450
|
+
| 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 |
|
|
451
|
+
| cache_message_zh | string | No | Cache message (ZH-CN) \| 缓存消息 (中文) | 本次请求将被缓存,你可以使用下面的 URL 直接访问缓存结果,有效期为 24 小时,访问缓存不会产生额外费用。 | None | None |
|
|
452
|
+
| cache_url | string | No | The URL to access the cached result \| 访问缓存结果的 URL | None | None | None |
|
|
453
|
+
| router | string | No | The endpoint that generated this response \| 生成此响应的端点 | None | None | None |
|
|
454
|
+
| params | dynamic object | No | The parameters used in the request \| 请求中使用的参数 | None | None | None |
|
|
455
|
+
| data | null | No | The response data \| 响应数据 | None | None | None |
|
|
456
|
+
|
|
457
|
+
<a id="post-api-u1-v1-xiaohongshu-web-get-note-info-v5"></a>
|
|
458
|
+
### `POST /api/u1/v1/xiaohongshu/web/get_note_info_v5`
|
|
459
|
+
|
|
460
|
+
- Summary: 获取笔记信息 V5 (自带Cookie)/Get note info V5 (Self-provided Cookie)
|
|
461
|
+
- Capabilities: content details
|
|
462
|
+
- Auth: Header `Authorization: Bearer {token}`; docs also allow Cookie `Authorization` as fallback (`HTTPBearer`)
|
|
463
|
+
- operationId: `get_note_info_v5_api_v1_xiaohongshu_web_get_note_info_v5_post`
|
|
464
|
+
|
|
465
|
+
#### Notes
|
|
466
|
+
|
|
467
|
+
> # [中文]
|
|
468
|
+
> ### 用途:
|
|
469
|
+
> - 获取笔记信息V5,用户自行提供Cookie来获取笔记信息
|
|
470
|
+
> - 此接口收费0.001$
|
|
471
|
+
> ### 参数:
|
|
472
|
+
> - note_id: 笔记ID,可以从小红书的分享链接中获取
|
|
473
|
+
> - xsec_token: X-Sec-Token,可以从搜索接口中获取,分享链接中也有/X-Sec-Token, can be obtained from the search interface, also in the sharing link
|
|
474
|
+
> - cookie: 用户自行提供的已登录的网页Cookie
|
|
475
|
+
> - proxy: 代理,格式:http://用户名:密码@IP:端口/Proxy, format: http://username:password@IP:port
|
|
476
|
+
> - 最好使用代理,避免被封号或其他未知问题。
|
|
477
|
+
>
|
|
478
|
+
> ### 返回:
|
|
479
|
+
> - 笔记信息
|
|
480
|
+
>
|
|
481
|
+
> # [English]
|
|
482
|
+
> ### Purpose:
|
|
483
|
+
> - Get note info V5, user provides Cookie to get note info
|
|
484
|
+
> - This interface charges 0.001$
|
|
485
|
+
> ### Parameters:
|
|
486
|
+
> - note_id: Note ID, can be obtained from the sharing link of Xiaohongshu website.
|
|
487
|
+
> - xsec_token: X-Sec-Token, can be obtained from the search interface, also in the sharing link
|
|
488
|
+
> - cookie: User provided logged-in web Cookie
|
|
489
|
+
> - proxy: Proxy, format: http://username:password@IP:port
|
|
490
|
+
> - It is recommended to use a proxy to avoid being banned or other unknown issues.
|
|
491
|
+
> ### Return:
|
|
492
|
+
> - Note info
|
|
493
|
+
>
|
|
494
|
+
> # [示例/Example]
|
|
495
|
+
> note_id = "67855d09000000001703d449"
|
|
496
|
+
> xsec_token = "ABfpRSESmZDRbX-EX7lzEztktMngxPVC9kU-dgQmuQoNo="
|
|
497
|
+
> cookie = "Your Cookie"
|
|
498
|
+
> proxy = "http://username:password@IP:port"
|
|
499
|
+
|
|
500
|
+
#### Parameters
|
|
501
|
+
|
|
502
|
+
None
|
|
503
|
+
|
|
504
|
+
#### Request Body
|
|
505
|
+
|
|
506
|
+
- required: Yes
|
|
507
|
+
|
|
508
|
+
##### `application/json`
|
|
509
|
+
|
|
510
|
+
- Schema summary: `note_id`:string, `xsec_token`:string, `cookie`:string, `proxy`:string
|
|
511
|
+
|
|
512
|
+
| Field | Type | Required | Description | Default | Example | Enum |
|
|
513
|
+
| --- | --- | --- | --- | --- | --- | --- |
|
|
514
|
+
| note_id | string | No | 笔记ID/Note ID | 67855d09000000001703d449 | None | None |
|
|
515
|
+
| xsec_token | string | No | X-Sec-Token,可以从搜索接口中获取/X-Sec-Token, can be obtained from the search interface | ABfpRSESmZDRbX-EX7lzEztktMngxPVC9kU-dgQmuQoNo= | None | None |
|
|
516
|
+
| cookie | string | No | 用户自行提供的已登录的网页Cookie/User provided logged-in web Cookie | None | None | None |
|
|
517
|
+
| proxy | string | No | 代理,格式:http://用户名:密码@IP:端口/Proxy, format: http://username:password@IP:port | None | None | None |
|
|
518
|
+
|
|
519
|
+
#### Success Response
|
|
520
|
+
|
|
521
|
+
##### `200 application/json`
|
|
522
|
+
|
|
523
|
+
- Schema summary: `code`:integer, `request_id`:string, `message`:string, `message_zh`:string, `support`:string, `time`:string, `time_stamp`:integer, `time_zone`:string, ...
|
|
524
|
+
|
|
525
|
+
| Field | Type | Required | Description | Default | Example | Enum |
|
|
526
|
+
| --- | --- | --- | --- | --- | --- | --- |
|
|
527
|
+
| code | integer | No | HTTP status code \| HTTP状态码 | 200 | None | None |
|
|
528
|
+
| request_id | string | No | Unique request identifier \| 唯一请求标识符 | None | None | None |
|
|
529
|
+
| message | string | No | Response message (EN-US) \| 响应消息 (English) | Request successful. This request will incur a charge. | None | None |
|
|
530
|
+
| message_zh | string | No | Response message (ZH-CN) \| 响应消息 (中文) | 请求成功,本次请求将被计费。 | None | None |
|
|
531
|
+
| support | string | No | Support message \| 支持消息 | Discord: https://discord.gg/aMEAS8Xsvz | None | None |
|
|
532
|
+
| time | string | No | The time the response was generated \| 生成响应的时间 | None | None | None |
|
|
533
|
+
| time_stamp | integer | No | The timestamp the response was generated \| 生成响应的时间戳 | None | None | None |
|
|
534
|
+
| time_zone | string | No | The timezone of the response time \| 响应时间的时区 | America/Los_Angeles | None | None |
|
|
535
|
+
| docs | string | No | Link to the API Swagger documentation for this endpoint \| 此端点的 API Swagger 文档链接 | None | None | None |
|
|
536
|
+
| 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 |
|
|
537
|
+
| cache_message_zh | string | No | Cache message (ZH-CN) \| 缓存消息 (中文) | 本次请求将被缓存,你可以使用下面的 URL 直接访问缓存结果,有效期为 24 小时,访问缓存不会产生额外费用。 | None | None |
|
|
538
|
+
| cache_url | string | No | The URL to access the cached result \| 访问缓存结果的 URL | None | None | None |
|
|
539
|
+
| router | string | No | The endpoint that generated this response \| 生成此响应的端点 | None | None | None |
|
|
540
|
+
| params | dynamic object | No | The parameters used in the request \| 请求中使用的参数 | None | None | None |
|
|
541
|
+
| data | null | No | The response data \| 响应数据 | None | None | None |
|
|
542
|
+
|
|
543
|
+
<a id="get-api-u1-v1-xiaohongshu-web-get-note-info-v7"></a>
|
|
544
|
+
### `GET /api/u1/v1/xiaohongshu/web/get_note_info_v7`
|
|
545
|
+
|
|
546
|
+
- Summary: 获取笔记信息 V7/Get note info V7
|
|
547
|
+
- Capabilities: content details
|
|
548
|
+
- Auth: Header `Authorization: Bearer {token}`; docs also allow Cookie `Authorization` as fallback (`HTTPBearer`)
|
|
549
|
+
- operationId: `get_note_info_v7_api_v1_xiaohongshu_web_get_note_info_v7_get`
|
|
550
|
+
|
|
551
|
+
#### Notes
|
|
552
|
+
|
|
553
|
+
> # [中文]
|
|
554
|
+
> ### 用途:
|
|
555
|
+
> - 获取笔记信息V7
|
|
556
|
+
> ### 参数:
|
|
557
|
+
> - note_id: 笔记ID,可以从小红书的分享链接中获取
|
|
558
|
+
> - share_text: 小红书分享链接(支持APP和Web端分享链接)
|
|
559
|
+
> - 优先使用`note_id`,如果没有则使用`share_text`,两个参数二选一,如都携带则以`note_id`为准。
|
|
560
|
+
> ### 返回:
|
|
561
|
+
> - 笔记信息
|
|
562
|
+
>
|
|
563
|
+
> # [English]
|
|
564
|
+
> ### Purpose:
|
|
565
|
+
> - Get note info V7
|
|
566
|
+
> ### Parameters:
|
|
567
|
+
> - note_id: Note ID, can be obtained from the sharing link of Xiaohongshu website.
|
|
568
|
+
> - share_text: Xiaohongshu sharing link (support APP and Web sharing link)
|
|
569
|
+
> - Prefer to use `note_id`, if not, use `share_text`, one of the two parameters is required, if both are carried, `note_id` shall prevail.
|
|
570
|
+
> ### Return:
|
|
571
|
+
> - Note info
|
|
572
|
+
>
|
|
573
|
+
> # [示例/Example]
|
|
574
|
+
> note_id="665f95200000000006005624"
|
|
575
|
+
|
|
576
|
+
#### Parameters
|
|
577
|
+
|
|
578
|
+
| Field | In | Type | Required | Description | Default | Example | Enum |
|
|
579
|
+
| --- | --- | --- | --- | --- | --- | --- | --- |
|
|
580
|
+
| note_id | query | string | No | 笔记ID/Note ID | None | 665f95200000000006005624 | None |
|
|
581
|
+
| share_text | query | string | No | 分享链接/Share link | None | https://xhslink.com/a/EZ4M9TwMA6c3 | None |
|
|
582
|
+
|
|
583
|
+
#### Request Body
|
|
584
|
+
|
|
585
|
+
None
|
|
586
|
+
|
|
587
|
+
#### Success Response
|
|
588
|
+
|
|
589
|
+
##### `200 application/json`
|
|
590
|
+
|
|
591
|
+
- Schema summary: `code`:integer, `request_id`:string, `message`:string, `message_zh`:string, `support`:string, `time`:string, `time_stamp`:integer, `time_zone`:string, ...
|
|
592
|
+
|
|
593
|
+
| Field | Type | Required | Description | Default | Example | Enum |
|
|
594
|
+
| --- | --- | --- | --- | --- | --- | --- |
|
|
595
|
+
| code | integer | No | HTTP status code \| HTTP状态码 | 200 | None | None |
|
|
596
|
+
| request_id | string | No | Unique request identifier \| 唯一请求标识符 | None | None | None |
|
|
597
|
+
| message | string | No | Response message (EN-US) \| 响应消息 (English) | Request successful. This request will incur a charge. | None | None |
|
|
598
|
+
| message_zh | string | No | Response message (ZH-CN) \| 响应消息 (中文) | 请求成功,本次请求将被计费。 | None | None |
|
|
599
|
+
| support | string | No | Support message \| 支持消息 | Discord: https://discord.gg/aMEAS8Xsvz | None | None |
|
|
600
|
+
| time | string | No | The time the response was generated \| 生成响应的时间 | None | None | None |
|
|
601
|
+
| time_stamp | integer | No | The timestamp the response was generated \| 生成响应的时间戳 | None | None | None |
|
|
602
|
+
| time_zone | string | No | The timezone of the response time \| 响应时间的时区 | America/Los_Angeles | None | None |
|
|
603
|
+
| docs | string | No | Link to the API Swagger documentation for this endpoint \| 此端点的 API Swagger 文档链接 | None | None | None |
|
|
604
|
+
| 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 |
|
|
605
|
+
| cache_message_zh | string | No | Cache message (ZH-CN) \| 缓存消息 (中文) | 本次请求将被缓存,你可以使用下面的 URL 直接访问缓存结果,有效期为 24 小时,访问缓存不会产生额外费用。 | None | None |
|
|
606
|
+
| cache_url | string | No | The URL to access the cached result \| 访问缓存结果的 URL | None | None | None |
|
|
607
|
+
| router | string | No | The endpoint that generated this response \| 生成此响应的端点 | None | None | None |
|
|
608
|
+
| params | dynamic object | No | The parameters used in the request \| 请求中使用的参数 | None | None | None |
|
|
609
|
+
| data | null | No | The response data \| 响应数据 | None | None | None |
|
|
610
|
+
|
|
611
|
+
<a id="get-api-u1-v1-xiaohongshu-web-get-product-info"></a>
|
|
612
|
+
### `GET /api/u1/v1/xiaohongshu/web/get_product_info`
|
|
613
|
+
|
|
614
|
+
- Summary: 获取小红书商品信息/Get Xiaohongshu product info
|
|
615
|
+
- Capabilities: commerce
|
|
616
|
+
- Auth: Header `Authorization: Bearer {token}`; docs also allow Cookie `Authorization` as fallback (`HTTPBearer`)
|
|
617
|
+
- operationId: `get_product_info_api_v1_xiaohongshu_web_get_product_info_get`
|
|
618
|
+
|
|
619
|
+
#### Notes
|
|
620
|
+
|
|
621
|
+
> # [中文]
|
|
622
|
+
> ### 用途:
|
|
623
|
+
> - 通过分享链接获取小红书的商品信息
|
|
624
|
+
> ### 参数:
|
|
625
|
+
> - share_text: 小红书分享链接(支持APP和Web端分享链接)
|
|
626
|
+
> - item_id: 商品ID
|
|
627
|
+
> - xsec_token: X-Sec-Token
|
|
628
|
+
> - 如果share_text不为空,则item_id和xsec_token会被忽略
|
|
629
|
+
> - 如果share_text为空,则item_id和xsec_token不能为空
|
|
630
|
+
> ### 返回:
|
|
631
|
+
> - 商品信息
|
|
632
|
+
>
|
|
633
|
+
> # [English]
|
|
634
|
+
> ### Purpose:
|
|
635
|
+
> - Get Xiaohongshu product info by share link
|
|
636
|
+
> ### Parameters:
|
|
637
|
+
> - share_text: Xiaohongshu sharing link (support APP and Web sharing link)
|
|
638
|
+
> - item_id: Item ID
|
|
639
|
+
> - xsec_token: X-Sec-Token
|
|
640
|
+
> - If share_text is not empty, item_id and xsec_token will be ignored
|
|
641
|
+
> - If share_text is empty, item_id and xsec_token cannot be empty
|
|
642
|
+
> ### Return:
|
|
643
|
+
> - Product info
|
|
644
|
+
>
|
|
645
|
+
> # [示例/Example]
|
|
646
|
+
> item_id="65fc2e6d6b92310001d24efb"
|
|
647
|
+
> xsec_token="XBC6LTqeaEDeJETMoXo436Eg-74GxFemVnNHeONYobv7k="
|
|
648
|
+
|
|
649
|
+
#### Parameters
|
|
650
|
+
|
|
651
|
+
| Field | In | Type | Required | Description | Default | Example | Enum |
|
|
652
|
+
| --- | --- | --- | --- | --- | --- | --- | --- |
|
|
653
|
+
| share_text | query | string | No | 分享链接/Share link | None | None | None |
|
|
654
|
+
| item_id | query | string | No | 商品ID/Item ID | None | 65fc2e6d6b92310001d24efb | None |
|
|
655
|
+
| xsec_token | query | string | No | X-Sec-Token | None | XBC6LTqeaEDeJETMoXo436Eg-74GxFemVnNHeONYobv7k= | None |
|
|
656
|
+
|
|
657
|
+
#### Request Body
|
|
658
|
+
|
|
659
|
+
None
|
|
660
|
+
|
|
661
|
+
#### Success Response
|
|
662
|
+
|
|
663
|
+
##### `200 application/json`
|
|
664
|
+
|
|
665
|
+
- Schema summary: `code`:integer, `request_id`:string, `message`:string, `message_zh`:string, `support`:string, `time`:string, `time_stamp`:integer, `time_zone`:string, ...
|
|
666
|
+
|
|
667
|
+
| Field | Type | Required | Description | Default | Example | Enum |
|
|
668
|
+
| --- | --- | --- | --- | --- | --- | --- |
|
|
669
|
+
| code | integer | No | HTTP status code \| HTTP状态码 | 200 | None | None |
|
|
670
|
+
| request_id | string | No | Unique request identifier \| 唯一请求标识符 | None | None | None |
|
|
671
|
+
| message | string | No | Response message (EN-US) \| 响应消息 (English) | Request successful. This request will incur a charge. | None | None |
|
|
672
|
+
| message_zh | string | No | Response message (ZH-CN) \| 响应消息 (中文) | 请求成功,本次请求将被计费。 | None | None |
|
|
673
|
+
| support | string | No | Support message \| 支持消息 | Discord: https://discord.gg/aMEAS8Xsvz | None | None |
|
|
674
|
+
| time | string | No | The time the response was generated \| 生成响应的时间 | None | None | None |
|
|
675
|
+
| time_stamp | integer | No | The timestamp the response was generated \| 生成响应的时间戳 | None | None | None |
|
|
676
|
+
| time_zone | string | No | The timezone of the response time \| 响应时间的时区 | America/Los_Angeles | None | None |
|
|
677
|
+
| docs | string | No | Link to the API Swagger documentation for this endpoint \| 此端点的 API Swagger 文档链接 | None | None | None |
|
|
678
|
+
| 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 |
|
|
679
|
+
| cache_message_zh | string | No | Cache message (ZH-CN) \| 缓存消息 (中文) | 本次请求将被缓存,你可以使用下面的 URL 直接访问缓存结果,有效期为 24 小时,访问缓存不会产生额外费用。 | None | None |
|
|
680
|
+
| cache_url | string | No | The URL to access the cached result \| 访问缓存结果的 URL | None | None | None |
|
|
681
|
+
| router | string | No | The endpoint that generated this response \| 生成此响应的端点 | None | None | None |
|
|
682
|
+
| params | dynamic object | No | The parameters used in the request \| 请求中使用的参数 | None | None | None |
|
|
683
|
+
| data | null | No | The response data \| 响应数据 | None | None | None |
|
|
684
|
+
|
|
685
|
+
<a id="get-api-u1-v1-xiaohongshu-web-get-user-info"></a>
|
|
686
|
+
### `GET /api/u1/v1/xiaohongshu/web/get_user_info`
|
|
687
|
+
|
|
688
|
+
- Summary: 获取用户信息 V1/Get user info V1
|
|
689
|
+
- Capabilities: profiles / accounts
|
|
690
|
+
- Auth: Header `Authorization: Bearer {token}`; docs also allow Cookie `Authorization` as fallback (`HTTPBearer`)
|
|
691
|
+
- operationId: `get_user_info_api_v1_xiaohongshu_web_get_user_info_get`
|
|
692
|
+
|
|
693
|
+
#### Notes
|
|
694
|
+
|
|
695
|
+
> # [中文]
|
|
696
|
+
> ### 用途:
|
|
697
|
+
> - 获取用户信息 V1
|
|
698
|
+
> ### 参数:
|
|
699
|
+
> - user_id: 用户ID,可以从小红书的分享链接中获取
|
|
700
|
+
> ### 返回:
|
|
701
|
+
> - 用户信息
|
|
702
|
+
>
|
|
703
|
+
> # [English]
|
|
704
|
+
> ### Purpose:
|
|
705
|
+
> - Get user info V1
|
|
706
|
+
> ### Parameters:
|
|
707
|
+
> - user_id: User ID, can be obtained from the sharing link of Xiaohongshu website.
|
|
708
|
+
> ### Return:
|
|
709
|
+
> - User info
|
|
710
|
+
>
|
|
711
|
+
> # [示例/Example]
|
|
712
|
+
> user_id="5f4a10070000000001006fc7"
|
|
713
|
+
|
|
714
|
+
#### Parameters
|
|
715
|
+
|
|
716
|
+
| Field | In | Type | Required | Description | Default | Example | Enum |
|
|
717
|
+
| --- | --- | --- | --- | --- | --- | --- | --- |
|
|
718
|
+
| user_id | query | string | Yes | 用户ID/User ID | None | 5f4a10070000000001006fc7 | None |
|
|
719
|
+
|
|
720
|
+
#### Request Body
|
|
721
|
+
|
|
722
|
+
None
|
|
723
|
+
|
|
724
|
+
#### Success Response
|
|
725
|
+
|
|
726
|
+
##### `200 application/json`
|
|
727
|
+
|
|
728
|
+
- Schema summary: `code`:integer, `request_id`:string, `message`:string, `message_zh`:string, `support`:string, `time`:string, `time_stamp`:integer, `time_zone`:string, ...
|
|
729
|
+
|
|
730
|
+
| Field | Type | Required | Description | Default | Example | Enum |
|
|
731
|
+
| --- | --- | --- | --- | --- | --- | --- |
|
|
732
|
+
| code | integer | No | HTTP status code \| HTTP状态码 | 200 | None | None |
|
|
733
|
+
| request_id | string | No | Unique request identifier \| 唯一请求标识符 | None | None | None |
|
|
734
|
+
| message | string | No | Response message (EN-US) \| 响应消息 (English) | Request successful. This request will incur a charge. | None | None |
|
|
735
|
+
| message_zh | string | No | Response message (ZH-CN) \| 响应消息 (中文) | 请求成功,本次请求将被计费。 | None | None |
|
|
736
|
+
| support | string | No | Support message \| 支持消息 | Discord: https://discord.gg/aMEAS8Xsvz | None | None |
|
|
737
|
+
| time | string | No | The time the response was generated \| 生成响应的时间 | None | None | None |
|
|
738
|
+
| time_stamp | integer | No | The timestamp the response was generated \| 生成响应的时间戳 | None | None | None |
|
|
739
|
+
| time_zone | string | No | The timezone of the response time \| 响应时间的时区 | America/Los_Angeles | None | None |
|
|
740
|
+
| docs | string | No | Link to the API Swagger documentation for this endpoint \| 此端点的 API Swagger 文档链接 | None | None | None |
|
|
741
|
+
| 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 |
|
|
742
|
+
| cache_message_zh | string | No | Cache message (ZH-CN) \| 缓存消息 (中文) | 本次请求将被缓存,你可以使用下面的 URL 直接访问缓存结果,有效期为 24 小时,访问缓存不会产生额外费用。 | None | None |
|
|
743
|
+
| cache_url | string | No | The URL to access the cached result \| 访问缓存结果的 URL | None | None | None |
|
|
744
|
+
| router | string | No | The endpoint that generated this response \| 生成此响应的端点 | None | None | None |
|
|
745
|
+
| params | dynamic object | No | The parameters used in the request \| 请求中使用的参数 | None | None | None |
|
|
746
|
+
| data | null | No | The response data \| 响应数据 | None | None | None |
|
|
747
|
+
|
|
748
|
+
<a id="get-api-u1-v1-xiaohongshu-web-get-user-info-v2"></a>
|
|
749
|
+
### `GET /api/u1/v1/xiaohongshu/web/get_user_info_v2`
|
|
750
|
+
|
|
751
|
+
- Summary: 获取用户信息 V2/Get user info V2
|
|
752
|
+
- Capabilities: profiles / accounts
|
|
753
|
+
- Auth: Header `Authorization: Bearer {token}`; docs also allow Cookie `Authorization` as fallback (`HTTPBearer`)
|
|
754
|
+
- operationId: `get_user_info_v2_api_v1_xiaohongshu_web_get_user_info_v2_get`
|
|
755
|
+
|
|
756
|
+
#### Notes
|
|
757
|
+
|
|
758
|
+
> # [中文]
|
|
759
|
+
> ### 用途:
|
|
760
|
+
> - 获取用户信息 V2
|
|
761
|
+
> ### 参数:
|
|
762
|
+
> - user_id: 用户ID,可以从小红书的分享链接中获取
|
|
763
|
+
> - share_text: 小红书分享文本或链接(支持APP和Web端分享链接)
|
|
764
|
+
> - 优先使用`user_id`,如果没有则使用`share_text`,两个参数二选一,如都携带则以`user_id`为准。
|
|
765
|
+
> ### 返回:
|
|
766
|
+
> - 用户信息
|
|
767
|
+
>
|
|
768
|
+
> # [English]
|
|
769
|
+
> ### Purpose:
|
|
770
|
+
> - Get user info V2
|
|
771
|
+
> ### Parameters:
|
|
772
|
+
> - user_id: User ID, can be obtained from the sharing link of Xiaohongshu website.
|
|
773
|
+
> - share_text: Xiaohongshu sharing text or link (support APP and Web sharing link)
|
|
774
|
+
> - Prefer to use `user_id`, if not, use `share_text`, one of the two parameters is required, if both are carried, `user_id` shall prevail.
|
|
775
|
+
> ### Return:
|
|
776
|
+
> - User info
|
|
777
|
+
>
|
|
778
|
+
> # [示例/Example]
|
|
779
|
+
> user_id = "5f4a10070000000001006fc7"
|
|
780
|
+
> share_text = "@Noo 在小红书收获了15.3万次赞与收藏,查看Ta的主页>> https://xhslink.com/m/7XkrlCXbL38"
|
|
781
|
+
|
|
782
|
+
#### Parameters
|
|
783
|
+
|
|
784
|
+
| Field | In | Type | Required | Description | Default | Example | Enum |
|
|
785
|
+
| --- | --- | --- | --- | --- | --- | --- | --- |
|
|
786
|
+
| user_id | query | string | No | 用户ID/User ID | None | 5f4a10070000000001006fc7 | None |
|
|
787
|
+
| share_text | query | string | No | 分享文本或链接/Share text or link | None | 示例: @Noo 在小红书收获了15.3万次赞与收藏,查看Ta的主页>> https://xhslink.com/m/7XkrlCXbL38 | None |
|
|
788
|
+
|
|
789
|
+
#### Request Body
|
|
790
|
+
|
|
791
|
+
None
|
|
792
|
+
|
|
793
|
+
#### Success Response
|
|
794
|
+
|
|
795
|
+
##### `200 application/json`
|
|
796
|
+
|
|
797
|
+
- Schema summary: `code`:integer, `request_id`:string, `message`:string, `message_zh`:string, `support`:string, `time`:string, `time_stamp`:integer, `time_zone`:string, ...
|
|
798
|
+
|
|
799
|
+
| Field | Type | Required | Description | Default | Example | Enum |
|
|
800
|
+
| --- | --- | --- | --- | --- | --- | --- |
|
|
801
|
+
| code | integer | No | HTTP status code \| HTTP状态码 | 200 | None | None |
|
|
802
|
+
| request_id | string | No | Unique request identifier \| 唯一请求标识符 | None | None | None |
|
|
803
|
+
| message | string | No | Response message (EN-US) \| 响应消息 (English) | Request successful. This request will incur a charge. | None | None |
|
|
804
|
+
| message_zh | string | No | Response message (ZH-CN) \| 响应消息 (中文) | 请求成功,本次请求将被计费。 | None | None |
|
|
805
|
+
| support | string | No | Support message \| 支持消息 | Discord: https://discord.gg/aMEAS8Xsvz | None | None |
|
|
806
|
+
| time | string | No | The time the response was generated \| 生成响应的时间 | None | None | None |
|
|
807
|
+
| time_stamp | integer | No | The timestamp the response was generated \| 生成响应的时间戳 | None | None | None |
|
|
808
|
+
| time_zone | string | No | The timezone of the response time \| 响应时间的时区 | America/Los_Angeles | None | None |
|
|
809
|
+
| docs | string | No | Link to the API Swagger documentation for this endpoint \| 此端点的 API Swagger 文档链接 | None | None | None |
|
|
810
|
+
| 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 |
|
|
811
|
+
| cache_message_zh | string | No | Cache message (ZH-CN) \| 缓存消息 (中文) | 本次请求将被缓存,你可以使用下面的 URL 直接访问缓存结果,有效期为 24 小时,访问缓存不会产生额外费用。 | None | None |
|
|
812
|
+
| cache_url | string | No | The URL to access the cached result \| 访问缓存结果的 URL | None | None | None |
|
|
813
|
+
| router | string | No | The endpoint that generated this response \| 生成此响应的端点 | None | None | None |
|
|
814
|
+
| params | dynamic object | No | The parameters used in the request \| 请求中使用的参数 | None | None | None |
|
|
815
|
+
| data | null | No | The response data \| 响应数据 | None | None | None |
|
|
816
|
+
|
|
817
|
+
<a id="get-api-u1-v1-xiaohongshu-web-get-user-notes-v2"></a>
|
|
818
|
+
### `GET /api/u1/v1/xiaohongshu/web/get_user_notes_v2`
|
|
819
|
+
|
|
820
|
+
- Summary: 获取用户的笔记 V2/Get user notes V2
|
|
821
|
+
- Capabilities: profiles / accounts / content details
|
|
822
|
+
- Auth: Header `Authorization: Bearer {token}`; docs also allow Cookie `Authorization` as fallback (`HTTPBearer`)
|
|
823
|
+
- operationId: `get_user_notes_api_v1_xiaohongshu_web_get_user_notes_v2_get`
|
|
824
|
+
|
|
825
|
+
#### Notes
|
|
826
|
+
|
|
827
|
+
> # [中文]
|
|
828
|
+
> ### 用途:
|
|
829
|
+
> - 获取用户的笔记
|
|
830
|
+
> ### 参数:
|
|
831
|
+
> - user_id: 用户ID,可以从小红书的分享链接中获取
|
|
832
|
+
> - lastCursor: 第一次请求时为空,之后请求时使用上一次请求响应中返回的最后一个NoteID
|
|
833
|
+
> - 例如: "662908190000000001007366"
|
|
834
|
+
> - JSON Path: $.data.data.notes.[-1].id
|
|
835
|
+
> ### 返回:
|
|
836
|
+
> - 用户的笔记列表
|
|
837
|
+
>
|
|
838
|
+
> # [English]
|
|
839
|
+
> ### Purpose:
|
|
840
|
+
> - Get user notes
|
|
841
|
+
> ### Parameters:
|
|
842
|
+
> - user_id: User ID, can be obtained from the sharing link of Xiaohongshu website.
|
|
843
|
+
> - lastCursor: Last cursor, empty for the first request, use the last NoteID returned in the last response for subsequent requests
|
|
844
|
+
> - Example: "662908190000000001007366"
|
|
845
|
+
> - JSON Path: $.data.data.notes.[-1].id
|
|
846
|
+
> ### Return:
|
|
847
|
+
> - User notes list
|
|
848
|
+
>
|
|
849
|
+
> # [示例/Example]
|
|
850
|
+
> user_id="5f4a10070000000001006fc7"
|
|
851
|
+
> lastCursor=None
|
|
852
|
+
|
|
853
|
+
#### Parameters
|
|
854
|
+
|
|
855
|
+
| Field | In | Type | Required | Description | Default | Example | Enum |
|
|
856
|
+
| --- | --- | --- | --- | --- | --- | --- | --- |
|
|
857
|
+
| user_id | query | string | Yes | 用户ID/User ID | None | 5f4a10070000000001006fc7 | None |
|
|
858
|
+
| lastCursor | query | string | No | 上一页的游标/Last cursor | None | None | None |
|
|
859
|
+
|
|
860
|
+
#### Request Body
|
|
861
|
+
|
|
862
|
+
None
|
|
863
|
+
|
|
864
|
+
#### Success Response
|
|
865
|
+
|
|
866
|
+
##### `200 application/json`
|
|
867
|
+
|
|
868
|
+
- Schema summary: `code`:integer, `request_id`:string, `message`:string, `message_zh`:string, `support`:string, `time`:string, `time_stamp`:integer, `time_zone`:string, ...
|
|
869
|
+
|
|
870
|
+
| Field | Type | Required | Description | Default | Example | Enum |
|
|
871
|
+
| --- | --- | --- | --- | --- | --- | --- |
|
|
872
|
+
| code | integer | No | HTTP status code \| HTTP状态码 | 200 | None | None |
|
|
873
|
+
| request_id | string | No | Unique request identifier \| 唯一请求标识符 | None | None | None |
|
|
874
|
+
| message | string | No | Response message (EN-US) \| 响应消息 (English) | Request successful. This request will incur a charge. | None | None |
|
|
875
|
+
| message_zh | string | No | Response message (ZH-CN) \| 响应消息 (中文) | 请求成功,本次请求将被计费。 | None | None |
|
|
876
|
+
| support | string | No | Support message \| 支持消息 | Discord: https://discord.gg/aMEAS8Xsvz | None | None |
|
|
877
|
+
| time | string | No | The time the response was generated \| 生成响应的时间 | None | None | None |
|
|
878
|
+
| time_stamp | integer | No | The timestamp the response was generated \| 生成响应的时间戳 | None | None | None |
|
|
879
|
+
| time_zone | string | No | The timezone of the response time \| 响应时间的时区 | America/Los_Angeles | None | None |
|
|
880
|
+
| docs | string | No | Link to the API Swagger documentation for this endpoint \| 此端点的 API Swagger 文档链接 | None | None | None |
|
|
881
|
+
| 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 |
|
|
882
|
+
| cache_message_zh | string | No | Cache message (ZH-CN) \| 缓存消息 (中文) | 本次请求将被缓存,你可以使用下面的 URL 直接访问缓存结果,有效期为 24 小时,访问缓存不会产生额外费用。 | None | None |
|
|
883
|
+
| cache_url | string | No | The URL to access the cached result \| 访问缓存结果的 URL | None | None | None |
|
|
884
|
+
| router | string | No | The endpoint that generated this response \| 生成此响应的端点 | None | None | None |
|
|
885
|
+
| params | dynamic object | No | The parameters used in the request \| 请求中使用的参数 | None | None | None |
|
|
886
|
+
| data | null | No | The response data \| 响应数据 | None | None | None |
|
|
887
|
+
|
|
888
|
+
<a id="get-api-u1-v1-xiaohongshu-web-get-visitor-cookie"></a>
|
|
889
|
+
### `GET /api/u1/v1/xiaohongshu/web/get_visitor_cookie`
|
|
890
|
+
|
|
891
|
+
- Summary: 获取游客Cookie/Get visitor cookie
|
|
892
|
+
- Capabilities: general
|
|
893
|
+
- Auth: Header `Authorization: Bearer {token}`; docs also allow Cookie `Authorization` as fallback (`HTTPBearer`)
|
|
894
|
+
- operationId: `get_visitor_cookie_api_v1_xiaohongshu_web_get_visitor_cookie_get`
|
|
895
|
+
|
|
896
|
+
#### Notes
|
|
897
|
+
|
|
898
|
+
> # [中文]
|
|
899
|
+
> ### 用途:
|
|
900
|
+
> - 获取小红书网页版的游客Cookie,可以用于爬取小红书的一些数据。
|
|
901
|
+
> ### 参数:
|
|
902
|
+
> - proxy: 代理,例如: http://username:password@host:port
|
|
903
|
+
> - 代理格式支持HTTP和SOCKS5,若不需要代理则留空
|
|
904
|
+
> ### 返回:
|
|
905
|
+
> - 游客Cookie
|
|
906
|
+
>
|
|
907
|
+
> # [English]
|
|
908
|
+
> ### Purpose:
|
|
909
|
+
> - Get Xiaohongshu web visitor cookie, which can be used to crawl some data of Xiaohongshu.
|
|
910
|
+
> ### Parameters:
|
|
911
|
+
> - proxy: Proxy, e.g. http://username:password@host:port
|
|
912
|
+
> ### Return:
|
|
913
|
+
> - Visitor cookie
|
|
914
|
+
|
|
915
|
+
#### Parameters
|
|
916
|
+
|
|
917
|
+
| Field | In | Type | Required | Description | Default | Example | Enum |
|
|
918
|
+
| --- | --- | --- | --- | --- | --- | --- | --- |
|
|
919
|
+
| proxy | query | string | No | 代理/Proxy | None | None | None |
|
|
920
|
+
|
|
921
|
+
#### Request Body
|
|
922
|
+
|
|
923
|
+
None
|
|
924
|
+
|
|
925
|
+
#### Success Response
|
|
926
|
+
|
|
927
|
+
##### `200 application/json`
|
|
928
|
+
|
|
929
|
+
- Schema summary: `code`:integer, `request_id`:string, `message`:string, `message_zh`:string, `support`:string, `time`:string, `time_stamp`:integer, `time_zone`:string, ...
|
|
930
|
+
|
|
931
|
+
| Field | Type | Required | Description | Default | Example | Enum |
|
|
932
|
+
| --- | --- | --- | --- | --- | --- | --- |
|
|
933
|
+
| code | integer | No | HTTP status code \| HTTP状态码 | 200 | None | None |
|
|
934
|
+
| request_id | string | No | Unique request identifier \| 唯一请求标识符 | None | None | None |
|
|
935
|
+
| message | string | No | Response message (EN-US) \| 响应消息 (English) | Request successful. This request will incur a charge. | None | None |
|
|
936
|
+
| message_zh | string | No | Response message (ZH-CN) \| 响应消息 (中文) | 请求成功,本次请求将被计费。 | None | None |
|
|
937
|
+
| support | string | No | Support message \| 支持消息 | Discord: https://discord.gg/aMEAS8Xsvz | None | None |
|
|
938
|
+
| time | string | No | The time the response was generated \| 生成响应的时间 | None | None | None |
|
|
939
|
+
| time_stamp | integer | No | The timestamp the response was generated \| 生成响应的时间戳 | None | None | None |
|
|
940
|
+
| time_zone | string | No | The timezone of the response time \| 响应时间的时区 | America/Los_Angeles | None | None |
|
|
941
|
+
| docs | string | No | Link to the API Swagger documentation for this endpoint \| 此端点的 API Swagger 文档链接 | None | None | None |
|
|
942
|
+
| 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 |
|
|
943
|
+
| cache_message_zh | string | No | Cache message (ZH-CN) \| 缓存消息 (中文) | 本次请求将被缓存,你可以使用下面的 URL 直接访问缓存结果,有效期为 24 小时,访问缓存不会产生额外费用。 | None | None |
|
|
944
|
+
| cache_url | string | No | The URL to access the cached result \| 访问缓存结果的 URL | None | None | None |
|
|
945
|
+
| router | string | No | The endpoint that generated this response \| 生成此响应的端点 | None | None | None |
|
|
946
|
+
| params | dynamic object | No | The parameters used in the request \| 请求中使用的参数 | None | None | None |
|
|
947
|
+
| data | null | No | The response data \| 响应数据 | None | None | None |
|
|
948
|
+
|
|
949
|
+
<a id="get-api-u1-v1-xiaohongshu-web-search-notes"></a>
|
|
950
|
+
### `GET /api/u1/v1/xiaohongshu/web/search_notes`
|
|
951
|
+
|
|
952
|
+
- Summary: 搜索笔记/Search notes
|
|
953
|
+
- Capabilities: search / content details
|
|
954
|
+
- Auth: Header `Authorization: Bearer {token}`; docs also allow Cookie `Authorization` as fallback (`HTTPBearer`)
|
|
955
|
+
- operationId: `search_notes_api_v1_xiaohongshu_web_search_notes_get`
|
|
956
|
+
|
|
957
|
+
#### Notes
|
|
958
|
+
|
|
959
|
+
> # [中文]
|
|
960
|
+
> ### 用途:
|
|
961
|
+
> - 搜索笔记
|
|
962
|
+
> ### 参数:
|
|
963
|
+
> - keyword: 搜索关键词
|
|
964
|
+
> - page: 页码,默认为1
|
|
965
|
+
> - sort: 排序方式
|
|
966
|
+
> - 综合排序(默认参数): general
|
|
967
|
+
> - 最热排序: popularity_descending
|
|
968
|
+
> - 最新排序: time_descending
|
|
969
|
+
> - 最多评论: comment_descending
|
|
970
|
+
> - 最多收藏: collect_descending
|
|
971
|
+
> - noteType: 笔记类型
|
|
972
|
+
> - 综合笔记(默认参数): _0
|
|
973
|
+
> - 视频笔记: _1
|
|
974
|
+
> - 图文笔记: _2
|
|
975
|
+
> - 直播: _3
|
|
976
|
+
> - noteTime: 发布时间
|
|
977
|
+
> - 不限: ""
|
|
978
|
+
> - 一天内 :一天内
|
|
979
|
+
> - 一周内 :一周内
|
|
980
|
+
> - 半年内 :半年内
|
|
981
|
+
> ### 返回:
|
|
982
|
+
> - 笔记列表
|
|
983
|
+
>
|
|
984
|
+
> # [English]
|
|
985
|
+
> ### Purpose:
|
|
986
|
+
> - Search notes
|
|
987
|
+
> ### Parameters:
|
|
988
|
+
> - keyword: Keyword
|
|
989
|
+
> - page: Page, default is 1
|
|
990
|
+
> - sort: Sort
|
|
991
|
+
> - General sort (default): general
|
|
992
|
+
> - Popularity sort: popularity_descending
|
|
993
|
+
> - Latest sort: time_descending
|
|
994
|
+
> - Most comments: comment_descending
|
|
995
|
+
> - Most favorites: collect_descending
|
|
996
|
+
> - noteType: Note type
|
|
997
|
+
> - General note (default): _0
|
|
998
|
+
> - Video note: _1
|
|
999
|
+
> - Image note: _2
|
|
1000
|
+
> - Live: _3
|
|
1001
|
+
> - noteTime: Release time
|
|
1002
|
+
> - No limit: ""
|
|
1003
|
+
> - Within one day: 一天内
|
|
1004
|
+
> - Within one week: 一周内
|
|
1005
|
+
> - Within half a year: 半年内
|
|
1006
|
+
> ### Return:
|
|
1007
|
+
> - Note list
|
|
1008
|
+
>
|
|
1009
|
+
> # [示例/Example]
|
|
1010
|
+
> keyword="美食"
|
|
1011
|
+
> page=1
|
|
1012
|
+
> sort="general"
|
|
1013
|
+
> noteType="_0"
|
|
1014
|
+
|
|
1015
|
+
#### Parameters
|
|
1016
|
+
|
|
1017
|
+
| Field | In | Type | Required | Description | Default | Example | Enum |
|
|
1018
|
+
| --- | --- | --- | --- | --- | --- | --- | --- |
|
|
1019
|
+
| keyword | query | string | Yes | 搜索关键词/Keyword | None | 美食 | None |
|
|
1020
|
+
| page | query | integer | No | 页码/Page | 1 | 1 | None |
|
|
1021
|
+
| sort | query | string | No | 排序方式/Sort | general | general | None |
|
|
1022
|
+
| noteType | query | string | No | 笔记类型/Note type | _0 | _0 | None |
|
|
1023
|
+
| noteTime | query | string | No | 发布时间/Release time | None | None | None |
|
|
1024
|
+
|
|
1025
|
+
#### Request Body
|
|
1026
|
+
|
|
1027
|
+
None
|
|
1028
|
+
|
|
1029
|
+
#### Success Response
|
|
1030
|
+
|
|
1031
|
+
##### `200 application/json`
|
|
1032
|
+
|
|
1033
|
+
- Schema summary: `code`:integer, `request_id`:string, `message`:string, `message_zh`:string, `support`:string, `time`:string, `time_stamp`:integer, `time_zone`:string, ...
|
|
1034
|
+
|
|
1035
|
+
| Field | Type | Required | Description | Default | Example | Enum |
|
|
1036
|
+
| --- | --- | --- | --- | --- | --- | --- |
|
|
1037
|
+
| code | integer | No | HTTP status code \| HTTP状态码 | 200 | None | None |
|
|
1038
|
+
| request_id | string | No | Unique request identifier \| 唯一请求标识符 | None | None | None |
|
|
1039
|
+
| message | string | No | Response message (EN-US) \| 响应消息 (English) | Request successful. This request will incur a charge. | None | None |
|
|
1040
|
+
| message_zh | string | No | Response message (ZH-CN) \| 响应消息 (中文) | 请求成功,本次请求将被计费。 | None | None |
|
|
1041
|
+
| support | string | No | Support message \| 支持消息 | Discord: https://discord.gg/aMEAS8Xsvz | None | None |
|
|
1042
|
+
| time | string | No | The time the response was generated \| 生成响应的时间 | None | None | None |
|
|
1043
|
+
| time_stamp | integer | No | The timestamp the response was generated \| 生成响应的时间戳 | None | None | None |
|
|
1044
|
+
| time_zone | string | No | The timezone of the response time \| 响应时间的时区 | America/Los_Angeles | None | None |
|
|
1045
|
+
| docs | string | No | Link to the API Swagger documentation for this endpoint \| 此端点的 API Swagger 文档链接 | None | None | None |
|
|
1046
|
+
| 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 |
|
|
1047
|
+
| cache_message_zh | string | No | Cache message (ZH-CN) \| 缓存消息 (中文) | 本次请求将被缓存,你可以使用下面的 URL 直接访问缓存结果,有效期为 24 小时,访问缓存不会产生额外费用。 | None | None |
|
|
1048
|
+
| cache_url | string | No | The URL to access the cached result \| 访问缓存结果的 URL | None | None | None |
|
|
1049
|
+
| router | string | No | The endpoint that generated this response \| 生成此响应的端点 | None | None | None |
|
|
1050
|
+
| params | dynamic object | No | The parameters used in the request \| 请求中使用的参数 | None | None | None |
|
|
1051
|
+
| data | null | No | The response data \| 响应数据 | None | None | None |
|
|
1052
|
+
|
|
1053
|
+
<a id="get-api-u1-v1-xiaohongshu-web-search-notes-v3"></a>
|
|
1054
|
+
### `GET /api/u1/v1/xiaohongshu/web/search_notes_v3`
|
|
1055
|
+
|
|
1056
|
+
- Summary: 搜索笔记 V3/Search notes V3
|
|
1057
|
+
- Capabilities: search / content details
|
|
1058
|
+
- Auth: Header `Authorization: Bearer {token}`; docs also allow Cookie `Authorization` as fallback (`HTTPBearer`)
|
|
1059
|
+
- operationId: `search_notes_v3_api_v1_xiaohongshu_web_search_notes_v3_get`
|
|
1060
|
+
|
|
1061
|
+
#### Notes
|
|
1062
|
+
|
|
1063
|
+
> # [中文]
|
|
1064
|
+
> ### 用途:
|
|
1065
|
+
> - 搜索笔记 V3
|
|
1066
|
+
> ### 参数:
|
|
1067
|
+
> - keyword: 搜索关键词
|
|
1068
|
+
> - page: 页码,默认为1
|
|
1069
|
+
> - sort: 排序方式
|
|
1070
|
+
> - 综合排序(默认参数): general
|
|
1071
|
+
> - 最热排序: popularity_descending
|
|
1072
|
+
> - 最新排序: time_descending
|
|
1073
|
+
> - 最多评论: comment_descending
|
|
1074
|
+
> - 最多收藏: collect_descending
|
|
1075
|
+
> - noteType: 笔记类型
|
|
1076
|
+
> - 综合笔记(默认参数): _0
|
|
1077
|
+
> - 视频笔记: _1
|
|
1078
|
+
> - 图文笔记: _2
|
|
1079
|
+
> - 直播: _3
|
|
1080
|
+
> - noteTime: 发布时间
|
|
1081
|
+
> - 不限: ""
|
|
1082
|
+
> - 一天内 :一天内
|
|
1083
|
+
> - 一周内 :一周内
|
|
1084
|
+
> - 半年内 :半年内
|
|
1085
|
+
> ### 返回:
|
|
1086
|
+
> - 笔记列表
|
|
1087
|
+
>
|
|
1088
|
+
> # [English]
|
|
1089
|
+
> ### Purpose:
|
|
1090
|
+
> - Search notes V3
|
|
1091
|
+
> ### Parameters:
|
|
1092
|
+
> - keyword: Keyword
|
|
1093
|
+
> - page: Page, default is 1
|
|
1094
|
+
> - sort: Sort
|
|
1095
|
+
> - General sort (default): general
|
|
1096
|
+
> - Popularity sort: popularity_descending
|
|
1097
|
+
> - Latest sort: time_descending
|
|
1098
|
+
> - Most comments: comment_descending
|
|
1099
|
+
> - Most favorites: collect_descending
|
|
1100
|
+
> - noteType: Note type
|
|
1101
|
+
> - General note (default): _0
|
|
1102
|
+
> - Video note: _1
|
|
1103
|
+
> - Image note: _2
|
|
1104
|
+
> - Live: _3
|
|
1105
|
+
> - noteTime: Release time
|
|
1106
|
+
> - No limit: ""
|
|
1107
|
+
> - Within one day: 一天内
|
|
1108
|
+
> - Within one week: 一周内
|
|
1109
|
+
> - Within half a year: 半年内
|
|
1110
|
+
> ### Return:
|
|
1111
|
+
> - Note list
|
|
1112
|
+
>
|
|
1113
|
+
> # [示例/Example]
|
|
1114
|
+
> keyword="美食"
|
|
1115
|
+
> page=1
|
|
1116
|
+
> sort="general"
|
|
1117
|
+
> noteType="_0"
|
|
1118
|
+
|
|
1119
|
+
#### Parameters
|
|
1120
|
+
|
|
1121
|
+
| Field | In | Type | Required | Description | Default | Example | Enum |
|
|
1122
|
+
| --- | --- | --- | --- | --- | --- | --- | --- |
|
|
1123
|
+
| keyword | query | string | Yes | 搜索关键词/Keyword | None | 美食 | None |
|
|
1124
|
+
| page | query | integer | No | 页码/Page | 1 | 1 | None |
|
|
1125
|
+
| sort | query | string | No | 排序方式/Sort | general | general | None |
|
|
1126
|
+
| noteType | query | string | No | 笔记类型/Note type | _0 | _0 | None |
|
|
1127
|
+
| noteTime | query | string | No | 发布时间/Release time | None | None | None |
|
|
1128
|
+
|
|
1129
|
+
#### Request Body
|
|
1130
|
+
|
|
1131
|
+
None
|
|
1132
|
+
|
|
1133
|
+
#### Success Response
|
|
1134
|
+
|
|
1135
|
+
##### `200 application/json`
|
|
1136
|
+
|
|
1137
|
+
- Schema summary: `code`:integer, `request_id`:string, `message`:string, `message_zh`:string, `support`:string, `time`:string, `time_stamp`:integer, `time_zone`:string, ...
|
|
1138
|
+
|
|
1139
|
+
| Field | Type | Required | Description | Default | Example | Enum |
|
|
1140
|
+
| --- | --- | --- | --- | --- | --- | --- |
|
|
1141
|
+
| code | integer | No | HTTP status code \| HTTP状态码 | 200 | None | None |
|
|
1142
|
+
| request_id | string | No | Unique request identifier \| 唯一请求标识符 | None | None | None |
|
|
1143
|
+
| message | string | No | Response message (EN-US) \| 响应消息 (English) | Request successful. This request will incur a charge. | None | None |
|
|
1144
|
+
| message_zh | string | No | Response message (ZH-CN) \| 响应消息 (中文) | 请求成功,本次请求将被计费。 | None | None |
|
|
1145
|
+
| support | string | No | Support message \| 支持消息 | Discord: https://discord.gg/aMEAS8Xsvz | None | None |
|
|
1146
|
+
| time | string | No | The time the response was generated \| 生成响应的时间 | None | None | None |
|
|
1147
|
+
| time_stamp | integer | No | The timestamp the response was generated \| 生成响应的时间戳 | None | None | None |
|
|
1148
|
+
| time_zone | string | No | The timezone of the response time \| 响应时间的时区 | America/Los_Angeles | None | None |
|
|
1149
|
+
| docs | string | No | Link to the API Swagger documentation for this endpoint \| 此端点的 API Swagger 文档链接 | None | None | None |
|
|
1150
|
+
| 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 |
|
|
1151
|
+
| cache_message_zh | string | No | Cache message (ZH-CN) \| 缓存消息 (中文) | 本次请求将被缓存,你可以使用下面的 URL 直接访问缓存结果,有效期为 24 小时,访问缓存不会产生额外费用。 | None | None |
|
|
1152
|
+
| cache_url | string | No | The URL to access the cached result \| 访问缓存结果的 URL | None | None | None |
|
|
1153
|
+
| router | string | No | The endpoint that generated this response \| 生成此响应的端点 | None | None | None |
|
|
1154
|
+
| params | dynamic object | No | The parameters used in the request \| 请求中使用的参数 | None | None | None |
|
|
1155
|
+
| data | null | No | The response data \| 响应数据 | None | None | None |
|
|
1156
|
+
|
|
1157
|
+
<a id="get-api-u1-v1-xiaohongshu-web-search-users"></a>
|
|
1158
|
+
### `GET /api/u1/v1/xiaohongshu/web/search_users`
|
|
1159
|
+
|
|
1160
|
+
- Summary: 搜索用户/Search users
|
|
1161
|
+
- Capabilities: search / profiles / accounts
|
|
1162
|
+
- Auth: Header `Authorization: Bearer {token}`; docs also allow Cookie `Authorization` as fallback (`HTTPBearer`)
|
|
1163
|
+
- operationId: `search_users_api_v1_xiaohongshu_web_search_users_get`
|
|
1164
|
+
|
|
1165
|
+
#### Notes
|
|
1166
|
+
|
|
1167
|
+
> # [中文]
|
|
1168
|
+
> ### 用途:
|
|
1169
|
+
> - 搜索用户
|
|
1170
|
+
> ### 参数:
|
|
1171
|
+
> - keyword: 搜索关键词
|
|
1172
|
+
> - page: 页码,默认为1
|
|
1173
|
+
> ### 返回:
|
|
1174
|
+
> - 用户列表
|
|
1175
|
+
>
|
|
1176
|
+
> # [English]
|
|
1177
|
+
> ### Purpose:
|
|
1178
|
+
> - Search users
|
|
1179
|
+
> ### Parameters:
|
|
1180
|
+
> - keyword: Keyword
|
|
1181
|
+
> - page: Page, default is 1
|
|
1182
|
+
> ### Return:
|
|
1183
|
+
> - User list
|
|
1184
|
+
>
|
|
1185
|
+
> # [示例/Example]
|
|
1186
|
+
> keyword="美食"
|
|
1187
|
+
> page=1
|
|
1188
|
+
|
|
1189
|
+
#### Parameters
|
|
1190
|
+
|
|
1191
|
+
| Field | In | Type | Required | Description | Default | Example | Enum |
|
|
1192
|
+
| --- | --- | --- | --- | --- | --- | --- | --- |
|
|
1193
|
+
| keyword | query | string | Yes | 搜索关键词/Keyword | None | 美食 | None |
|
|
1194
|
+
| page | query | integer | No | 页码/Page | 1 | 1 | None |
|
|
1195
|
+
|
|
1196
|
+
#### Request Body
|
|
1197
|
+
|
|
1198
|
+
None
|
|
1199
|
+
|
|
1200
|
+
#### Success Response
|
|
1201
|
+
|
|
1202
|
+
##### `200 application/json`
|
|
1203
|
+
|
|
1204
|
+
- Schema summary: `code`:integer, `request_id`:string, `message`:string, `message_zh`:string, `support`:string, `time`:string, `time_stamp`:integer, `time_zone`:string, ...
|
|
1205
|
+
|
|
1206
|
+
| Field | Type | Required | Description | Default | Example | Enum |
|
|
1207
|
+
| --- | --- | --- | --- | --- | --- | --- |
|
|
1208
|
+
| code | integer | No | HTTP status code \| HTTP状态码 | 200 | None | None |
|
|
1209
|
+
| request_id | string | No | Unique request identifier \| 唯一请求标识符 | None | None | None |
|
|
1210
|
+
| message | string | No | Response message (EN-US) \| 响应消息 (English) | Request successful. This request will incur a charge. | None | None |
|
|
1211
|
+
| message_zh | string | No | Response message (ZH-CN) \| 响应消息 (中文) | 请求成功,本次请求将被计费。 | None | None |
|
|
1212
|
+
| support | string | No | Support message \| 支持消息 | Discord: https://discord.gg/aMEAS8Xsvz | None | None |
|
|
1213
|
+
| time | string | No | The time the response was generated \| 生成响应的时间 | None | None | None |
|
|
1214
|
+
| time_stamp | integer | No | The timestamp the response was generated \| 生成响应的时间戳 | None | None | None |
|
|
1215
|
+
| time_zone | string | No | The timezone of the response time \| 响应时间的时区 | America/Los_Angeles | None | None |
|
|
1216
|
+
| docs | string | No | Link to the API Swagger documentation for this endpoint \| 此端点的 API Swagger 文档链接 | None | None | None |
|
|
1217
|
+
| 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 |
|
|
1218
|
+
| cache_message_zh | string | No | Cache message (ZH-CN) \| 缓存消息 (中文) | 本次请求将被缓存,你可以使用下面的 URL 直接访问缓存结果,有效期为 24 小时,访问缓存不会产生额外费用。 | None | None |
|
|
1219
|
+
| cache_url | string | No | The URL to access the cached result \| 访问缓存结果的 URL | None | None | None |
|
|
1220
|
+
| router | string | No | The endpoint that generated this response \| 生成此响应的端点 | None | None | None |
|
|
1221
|
+
| params | dynamic object | No | The parameters used in the request \| 请求中使用的参数 | None | None | None |
|
|
1222
|
+
| data | null | No | The response data \| 响应数据 | None | None | None |
|
|
1223
|
+
|
|
1224
|
+
<a id="post-api-u1-v1-xiaohongshu-web-sign"></a>
|
|
1225
|
+
### `POST /api/u1/v1/xiaohongshu/web/sign`
|
|
1226
|
+
|
|
1227
|
+
- Summary: 小红书Web签名/Xiaohongshu Web sign
|
|
1228
|
+
- Capabilities: general
|
|
1229
|
+
- Auth: Header `Authorization: Bearer {token}`; docs also allow Cookie `Authorization` as fallback (`HTTPBearer`)
|
|
1230
|
+
- operationId: `sign_api_v1_xiaohongshu_web_sign_post`
|
|
1231
|
+
|
|
1232
|
+
#### Notes
|
|
1233
|
+
|
|
1234
|
+
> # [中文]
|
|
1235
|
+
> ### 用途:
|
|
1236
|
+
> - 小红书Web签名,用于获取小红书的一些数据。
|
|
1237
|
+
> - 生成 `X-s`, `X-t`, `X-s-common` 等签名参数。
|
|
1238
|
+
> - 价格:0.001$/次
|
|
1239
|
+
> ### 参数:
|
|
1240
|
+
> - sign_request: 签名请求模型
|
|
1241
|
+
> - path: 请求接口的路径,例如: `/api/sns/web/v1/homefeed`
|
|
1242
|
+
> - data: 请求API的荷载数据
|
|
1243
|
+
> - cookie: 请求接口的Cookie
|
|
1244
|
+
> ### 返回:
|
|
1245
|
+
> - 签名参数(X-s, X-t, X-s-common等)
|
|
1246
|
+
>
|
|
1247
|
+
> # [English]
|
|
1248
|
+
> ### Purpose:
|
|
1249
|
+
> - Xiaohongshu Web sign, used to get some data of Xiaohongshu.
|
|
1250
|
+
> - Generate `X-s`, `X-t`, `X-s-common` and other signature parameters.
|
|
1251
|
+
> - Price: 0.001$/time
|
|
1252
|
+
> ### Parameters:
|
|
1253
|
+
> - sign_request: Sign request model
|
|
1254
|
+
> - path: Request API path, e.g. `/api/sns/web/v1/homefeed`
|
|
1255
|
+
> - data: Payload data of request API
|
|
1256
|
+
> - cookie: Request API cookie
|
|
1257
|
+
> ### Return:
|
|
1258
|
+
> - Signature parameters(X-s, X-t, X-s-common, etc.)
|
|
1259
|
+
>
|
|
1260
|
+
> # [示例/Example]
|
|
1261
|
+
> {
|
|
1262
|
+
> "path": "/api/sns/web/v1/homefeed",
|
|
1263
|
+
> "data": {
|
|
1264
|
+
> "cursor_score": "",
|
|
1265
|
+
> "num": 35,
|
|
1266
|
+
> "refresh_type": 1,
|
|
1267
|
+
> "note_index": 35,
|
|
1268
|
+
> "unread_begin_note_id": "",
|
|
1269
|
+
> "unread_end_note_id": "",
|
|
1270
|
+
> "unread_note_count": 0,
|
|
1271
|
+
> "category": "homefeed_recommend",
|
|
1272
|
+
> "search_key": "",
|
|
1273
|
+
> "need_num": 10,
|
|
1274
|
+
> "image_formats": [
|
|
1275
|
+
> "jpg",
|
|
1276
|
+
> "webp",
|
|
1277
|
+
> "avif"
|
|
1278
|
+
> ],
|
|
1279
|
+
> "need_filter_image": False
|
|
1280
|
+
> },
|
|
1281
|
+
> "cookie": "web_session=030037a04eafd37791e6e4bd05204a8cf2af05;acw_tc=0a00d79f17363096679345838efb77751cc087fb039dd1691dc954824410f6;abRequestId=384480ae-5196-5818-a835-42e6278de9f0;webBuild=4.47.1;xsecappid=xhs-pc-web;a1=194441ef694PayUbdUvgp0dSHfIcACsNsLud0Lgru50000354513;webId=6cf10a564b9b07d129729b65e0d1785a;sec_poison_id=32964532-d414-4beb-914f-98811853b75f"
|
|
1282
|
+
> }
|
|
1283
|
+
|
|
1284
|
+
#### Parameters
|
|
1285
|
+
|
|
1286
|
+
None
|
|
1287
|
+
|
|
1288
|
+
#### Request Body
|
|
1289
|
+
|
|
1290
|
+
- required: Yes
|
|
1291
|
+
|
|
1292
|
+
##### `application/json`
|
|
1293
|
+
|
|
1294
|
+
- Schema summary: `path`:string, `data`{...}, `cookie`:string
|
|
1295
|
+
|
|
1296
|
+
| Field | Type | Required | Description | Default | Example | Enum |
|
|
1297
|
+
| --- | --- | --- | --- | --- | --- | --- |
|
|
1298
|
+
| path | string | No | 请求接口的路径/Request API path | /api/sns/web/v1/homefeed | None | None |
|
|
1299
|
+
| data | object | No | 请求API的荷载数据/Payload data of request API | {"cursor_score": "", "num": 35, "refresh_type": 1, "note_index": 35, "unread_be… | None | None |
|
|
1300
|
+
| cookie | string | No | 请求接口的Cookie/Request API cookie | web_session=030037a04eafd37791e6e4bd05204a8cf2af05;acw_tc=0a00d79f1736309667934… | None | None |
|
|
1301
|
+
|
|
1302
|
+
#### Success Response
|
|
1303
|
+
|
|
1304
|
+
##### `200 application/json`
|
|
1305
|
+
|
|
1306
|
+
- Schema summary: `code`:integer, `request_id`:string, `message`:string, `message_zh`:string, `support`:string, `time`:string, `time_stamp`:integer, `time_zone`:string, ...
|
|
1307
|
+
|
|
1308
|
+
| Field | Type | Required | Description | Default | Example | Enum |
|
|
1309
|
+
| --- | --- | --- | --- | --- | --- | --- |
|
|
1310
|
+
| code | integer | No | HTTP status code \| HTTP状态码 | 200 | None | None |
|
|
1311
|
+
| request_id | string | No | Unique request identifier \| 唯一请求标识符 | None | None | None |
|
|
1312
|
+
| message | string | No | Response message (EN-US) \| 响应消息 (English) | Request successful. This request will incur a charge. | None | None |
|
|
1313
|
+
| message_zh | string | No | Response message (ZH-CN) \| 响应消息 (中文) | 请求成功,本次请求将被计费。 | None | None |
|
|
1314
|
+
| support | string | No | Support message \| 支持消息 | Discord: https://discord.gg/aMEAS8Xsvz | None | None |
|
|
1315
|
+
| time | string | No | The time the response was generated \| 生成响应的时间 | None | None | None |
|
|
1316
|
+
| time_stamp | integer | No | The timestamp the response was generated \| 生成响应的时间戳 | None | None | None |
|
|
1317
|
+
| time_zone | string | No | The timezone of the response time \| 响应时间的时区 | America/Los_Angeles | None | None |
|
|
1318
|
+
| docs | string | No | Link to the API Swagger documentation for this endpoint \| 此端点的 API Swagger 文档链接 | None | None | None |
|
|
1319
|
+
| 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 |
|
|
1320
|
+
| cache_message_zh | string | No | Cache message (ZH-CN) \| 缓存消息 (中文) | 本次请求将被缓存,你可以使用下面的 URL 直接访问缓存结果,有效期为 24 小时,访问缓存不会产生额外费用。 | None | None |
|
|
1321
|
+
| cache_url | string | No | The URL to access the cached result \| 访问缓存结果的 URL | None | None | None |
|
|
1322
|
+
| router | string | No | The endpoint that generated this response \| 生成此响应的端点 | None | None | None |
|
|
1323
|
+
| params | dynamic object | No | The parameters used in the request \| 请求中使用的参数 | None | None | None |
|
|
1324
|
+
| data | null | No | The response data \| 响应数据 | None | None | None |
|