@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.
Files changed (451) hide show
  1. package/.skill-package-allowlist.txt +4 -0
  2. package/LICENSE +21 -0
  3. package/README.md +167 -0
  4. package/README.zh-CN.md +167 -0
  5. package/bin/tikomni-skills.js +127 -0
  6. package/env.example +160 -0
  7. package/lib/installer.js +176 -0
  8. package/package.json +44 -0
  9. package/skills/creator-analysis/SKILL.md +71 -0
  10. package/skills/creator-analysis/agents/openai.yaml +4 -0
  11. package/skills/creator-analysis/env.example +36 -0
  12. package/skills/creator-analysis/references/api-capability-index.md +92 -0
  13. package/skills/creator-analysis/references/api-contracts/asr-api.md +130 -0
  14. package/skills/creator-analysis/references/api-contracts/bilibili-app-api.md +776 -0
  15. package/skills/creator-analysis/references/api-contracts/bilibili-web-api.md +2017 -0
  16. package/skills/creator-analysis/references/api-contracts/demo-api.md +717 -0
  17. package/skills/creator-analysis/references/api-contracts/douyin-app-v3-api.md +3594 -0
  18. package/skills/creator-analysis/references/api-contracts/douyin-billboard-api.md +2274 -0
  19. package/skills/creator-analysis/references/api-contracts/douyin-creator-api.md +1575 -0
  20. package/skills/creator-analysis/references/api-contracts/douyin-creator-v2-api.md +3254 -0
  21. package/skills/creator-analysis/references/api-contracts/douyin-search-api.md +4118 -0
  22. package/skills/creator-analysis/references/api-contracts/douyin-web-api.md +5544 -0
  23. package/skills/creator-analysis/references/api-contracts/douyin-xingtu-api.md +1916 -0
  24. package/skills/creator-analysis/references/api-contracts/douyin-xingtu-v2-api.md +1540 -0
  25. package/skills/creator-analysis/references/api-contracts/health-check.md +69 -0
  26. package/skills/creator-analysis/references/api-contracts/hybrid-parsing.md +78 -0
  27. package/skills/creator-analysis/references/api-contracts/instagram-v1-api.md +2256 -0
  28. package/skills/creator-analysis/references/api-contracts/instagram-v2-api.md +2011 -0
  29. package/skills/creator-analysis/references/api-contracts/instagram-v3-api.md +2630 -0
  30. package/skills/creator-analysis/references/api-contracts/ios-shortcut.md +44 -0
  31. package/skills/creator-analysis/references/api-contracts/kuaishou-app-api.md +1518 -0
  32. package/skills/creator-analysis/references/api-contracts/kuaishou-web-api.md +1242 -0
  33. package/skills/creator-analysis/references/api-contracts/lemon8-app-api.md +1088 -0
  34. package/skills/creator-analysis/references/api-contracts/linkedin-web-api.md +1949 -0
  35. package/skills/creator-analysis/references/api-contracts/media-ingest-api.md +126 -0
  36. package/skills/creator-analysis/references/api-contracts/pipixia-app-api.md +1142 -0
  37. package/skills/creator-analysis/references/api-contracts/reddit-app-api.md +2025 -0
  38. package/skills/creator-analysis/references/api-contracts/sora2-api.md +2266 -0
  39. package/skills/creator-analysis/references/api-contracts/temp-mail-api.md +208 -0
  40. package/skills/creator-analysis/references/api-contracts/threads-web-api.md +897 -0
  41. package/skills/creator-analysis/references/api-contracts/tikhub-downloader-api.md +134 -0
  42. package/skills/creator-analysis/references/api-contracts/tikhub-user-api.md +494 -0
  43. package/skills/creator-analysis/references/api-contracts/tiktok-ads-api.md +5947 -0
  44. package/skills/creator-analysis/references/api-contracts/tiktok-analytics-api.md +968 -0
  45. package/skills/creator-analysis/references/api-contracts/tiktok-app-v3-api.md +5735 -0
  46. package/skills/creator-analysis/references/api-contracts/tiktok-creator-api.md +1951 -0
  47. package/skills/creator-analysis/references/api-contracts/tiktok-interaction-api.md +742 -0
  48. package/skills/creator-analysis/references/api-contracts/tiktok-shop-web-api.md +1890 -0
  49. package/skills/creator-analysis/references/api-contracts/tiktok-web-api.md +4448 -0
  50. package/skills/creator-analysis/references/api-contracts/toutiao-app-api.md +342 -0
  51. package/skills/creator-analysis/references/api-contracts/toutiao-web-api.md +143 -0
  52. package/skills/creator-analysis/references/api-contracts/twitter-web-api.md +989 -0
  53. package/skills/creator-analysis/references/api-contracts/wechat-channels-api.md +809 -0
  54. package/skills/creator-analysis/references/api-contracts/wechat-media-platform-web-api.md +677 -0
  55. package/skills/creator-analysis/references/api-contracts/weibo-app-api.md +1547 -0
  56. package/skills/creator-analysis/references/api-contracts/weibo-web-api.md +798 -0
  57. package/skills/creator-analysis/references/api-contracts/weibo-web-v2-api.md +2459 -0
  58. package/skills/creator-analysis/references/api-contracts/xiaohongshu-app-api.md +1291 -0
  59. package/skills/creator-analysis/references/api-contracts/xiaohongshu-app-v2-api.md +1683 -0
  60. package/skills/creator-analysis/references/api-contracts/xiaohongshu-web-api.md +1324 -0
  61. package/skills/creator-analysis/references/api-contracts/xiaohongshu-web-v2-api.md +1209 -0
  62. package/skills/creator-analysis/references/api-contracts/xigua-app-v2-api.md +489 -0
  63. package/skills/creator-analysis/references/api-contracts/youtube-web-api.md +2636 -0
  64. package/skills/creator-analysis/references/api-contracts/youtube-web-v2-api.md +2660 -0
  65. package/skills/creator-analysis/references/api-contracts/zhihu-web-api.md +2315 -0
  66. package/skills/creator-analysis/references/api-tags/asr-api.md +100 -0
  67. package/skills/creator-analysis/references/api-tags/bilibili-app-api.md +482 -0
  68. package/skills/creator-analysis/references/api-tags/bilibili-web-api.md +1267 -0
  69. package/skills/creator-analysis/references/api-tags/demo-api.md +365 -0
  70. package/skills/creator-analysis/references/api-tags/douyin-app-v3-api.md +2012 -0
  71. package/skills/creator-analysis/references/api-tags/douyin-billboard-api.md +1428 -0
  72. package/skills/creator-analysis/references/api-tags/douyin-creator-api.md +694 -0
  73. package/skills/creator-analysis/references/api-tags/douyin-creator-v2-api.md +694 -0
  74. package/skills/creator-analysis/references/api-tags/douyin-search-api.md +1059 -0
  75. package/skills/creator-analysis/references/api-tags/douyin-web-api.md +3314 -0
  76. package/skills/creator-analysis/references/api-tags/douyin-xingtu-api.md +935 -0
  77. package/skills/creator-analysis/references/api-tags/douyin-xingtu-v2-api.md +925 -0
  78. package/skills/creator-analysis/references/api-tags/health-check.md +40 -0
  79. package/skills/creator-analysis/references/api-tags/hybrid-parsing.md +57 -0
  80. package/skills/creator-analysis/references/api-tags/instagram-v1-api.md +1224 -0
  81. package/skills/creator-analysis/references/api-tags/instagram-v2-api.md +1147 -0
  82. package/skills/creator-analysis/references/api-tags/instagram-v3-api.md +1123 -0
  83. package/skills/creator-analysis/references/api-tags/ios-shortcut.md +45 -0
  84. package/skills/creator-analysis/references/api-tags/kuaishou-app-api.md +846 -0
  85. package/skills/creator-analysis/references/api-tags/kuaishou-web-api.md +551 -0
  86. package/skills/creator-analysis/references/api-tags/lemon8-app-api.md +687 -0
  87. package/skills/creator-analysis/references/api-tags/linkedin-web-api.md +1105 -0
  88. package/skills/creator-analysis/references/api-tags/media-ingest-api.md +112 -0
  89. package/skills/creator-analysis/references/api-tags/pipixia-app-api.md +721 -0
  90. package/skills/creator-analysis/references/api-tags/reddit-app-api.md +1057 -0
  91. package/skills/creator-analysis/references/api-tags/sora2-api.md +737 -0
  92. package/skills/creator-analysis/references/api-tags/temp-mail-api.md +136 -0
  93. package/skills/creator-analysis/references/api-tags/threads-web-api.md +472 -0
  94. package/skills/creator-analysis/references/api-tags/tikhub-downloader-api.md +65 -0
  95. package/skills/creator-analysis/references/api-tags/tikhub-user-api.md +253 -0
  96. package/skills/creator-analysis/references/api-tags/tiktok-ads-api.md +1393 -0
  97. package/skills/creator-analysis/references/api-tags/tiktok-analytics-api.md +179 -0
  98. package/skills/creator-analysis/references/api-tags/tiktok-app-v3-api.md +3264 -0
  99. package/skills/creator-analysis/references/api-tags/tiktok-creator-api.md +709 -0
  100. package/skills/creator-analysis/references/api-tags/tiktok-interaction-api.md +366 -0
  101. package/skills/creator-analysis/references/api-tags/tiktok-shop-web-api.md +663 -0
  102. package/skills/creator-analysis/references/api-tags/tiktok-web-api.md +2516 -0
  103. package/skills/creator-analysis/references/api-tags/toutiao-app-api.md +220 -0
  104. package/skills/creator-analysis/references/api-tags/toutiao-web-api.md +96 -0
  105. package/skills/creator-analysis/references/api-tags/twitter-web-api.md +562 -0
  106. package/skills/creator-analysis/references/api-tags/wechat-channels-api.md +405 -0
  107. package/skills/creator-analysis/references/api-tags/wechat-media-platform-web-api.md +431 -0
  108. package/skills/creator-analysis/references/api-tags/weibo-app-api.md +851 -0
  109. package/skills/creator-analysis/references/api-tags/weibo-web-api.md +470 -0
  110. package/skills/creator-analysis/references/api-tags/weibo-web-v2-api.md +1405 -0
  111. package/skills/creator-analysis/references/api-tags/xiaohongshu-app-api.md +534 -0
  112. package/skills/creator-analysis/references/api-tags/xiaohongshu-app-v2-api.md +934 -0
  113. package/skills/creator-analysis/references/api-tags/xiaohongshu-web-api.md +757 -0
  114. package/skills/creator-analysis/references/api-tags/xiaohongshu-web-v2-api.md +762 -0
  115. package/skills/creator-analysis/references/api-tags/xigua-app-v2-api.md +308 -0
  116. package/skills/creator-analysis/references/api-tags/youtube-web-api.md +934 -0
  117. package/skills/creator-analysis/references/api-tags/youtube-web-v2-api.md +717 -0
  118. package/skills/creator-analysis/references/api-tags/zhihu-web-api.md +1384 -0
  119. package/skills/creator-analysis/references/asr-orchestration.md +33 -0
  120. package/skills/creator-analysis/references/config-templates/defaults.yaml +60 -0
  121. package/skills/creator-analysis/references/contracts/creator-card-fields.md +23 -0
  122. package/skills/creator-analysis/references/contracts/work-card-fields.md +32 -0
  123. package/skills/creator-analysis/references/platform-guides/douyin.md +49 -0
  124. package/skills/creator-analysis/references/platform-guides/generic.md +46 -0
  125. package/skills/creator-analysis/references/platform-guides/xiaohongshu.md +54 -0
  126. package/skills/creator-analysis/references/prompt-contracts/asr-clean.md +28 -0
  127. package/skills/creator-analysis/references/prompt-contracts/author-analysis-v2.md +46 -0
  128. package/skills/creator-analysis/references/prompt-contracts/author-analysis.md +49 -0
  129. package/skills/creator-analysis/references/prompt-contracts/cta.md +24 -0
  130. package/skills/creator-analysis/references/prompt-contracts/hook.md +25 -0
  131. package/skills/creator-analysis/references/prompt-contracts/insight.md +47 -0
  132. package/skills/creator-analysis/references/prompt-contracts/sampled-work-batch-explanations.md +30 -0
  133. package/skills/creator-analysis/references/prompt-contracts/structure.md +25 -0
  134. package/skills/creator-analysis/references/prompt-contracts/style.md +27 -0
  135. package/skills/creator-analysis/references/prompt-contracts/summary.md +29 -0
  136. package/skills/creator-analysis/references/prompt-contracts/topic.md +29 -0
  137. package/skills/creator-analysis/references/schemas/author-analysis-input-v1.schema.json +325 -0
  138. package/skills/creator-analysis/references/schemas/author-analysis-v2.schema.json +158 -0
  139. package/skills/creator-analysis/references/schemas/sampled-work-batch-explanations.schema.json +41 -0
  140. package/skills/creator-analysis/references/service-guides/asr-u2-u3-fallback.md +75 -0
  141. package/skills/creator-analysis/references/workflow.md +18 -0
  142. package/skills/creator-analysis/scripts/__init__.py +0 -0
  143. package/skills/creator-analysis/scripts/author_home/__init__.py +0 -0
  144. package/skills/creator-analysis/scripts/author_home/adapters/__init__.py +0 -0
  145. package/skills/creator-analysis/scripts/author_home/adapters/platform_adapters.py +299 -0
  146. package/skills/creator-analysis/scripts/author_home/analyzers/__init__.py +0 -0
  147. package/skills/creator-analysis/scripts/author_home/analyzers/author_analysis_v2_support.py +1122 -0
  148. package/skills/creator-analysis/scripts/author_home/analyzers/prompt_first_analyzers.py +260 -0
  149. package/skills/creator-analysis/scripts/author_home/analyzers/sampled_work_batch_explainer.py +260 -0
  150. package/skills/creator-analysis/scripts/author_home/asr/__init__.py +5 -0
  151. package/skills/creator-analysis/scripts/author_home/asr/home_asr.py +961 -0
  152. package/skills/creator-analysis/scripts/author_home/builders/__init__.py +0 -0
  153. package/skills/creator-analysis/scripts/author_home/builders/home_builders.py +149 -0
  154. package/skills/creator-analysis/scripts/author_home/collectors/__init__.py +0 -0
  155. package/skills/creator-analysis/scripts/author_home/collectors/homepage_collectors.py +636 -0
  156. package/skills/creator-analysis/scripts/author_home/orchestrator/__init__.py +0 -0
  157. package/skills/creator-analysis/scripts/author_home/orchestrator/run_author_analysis.py +491 -0
  158. package/skills/creator-analysis/scripts/author_home/orchestrator/work_analysis_artifacts.py +553 -0
  159. package/skills/creator-analysis/scripts/author_home/schema.py +417 -0
  160. package/skills/creator-analysis/scripts/core/__init__.py +0 -0
  161. package/skills/creator-analysis/scripts/core/analysis_pipeline.py +133 -0
  162. package/skills/creator-analysis/scripts/core/bootstrap_env.py +35 -0
  163. package/skills/creator-analysis/scripts/core/config_loader.py +418 -0
  164. package/skills/creator-analysis/scripts/core/extract_pipeline.py +173 -0
  165. package/skills/creator-analysis/scripts/core/progress_report.py +111 -0
  166. package/skills/creator-analysis/scripts/core/storage_router.py +253 -0
  167. package/skills/creator-analysis/scripts/core/tikomni_common.py +588 -0
  168. package/skills/creator-analysis/scripts/pipeline/__init__.py +0 -0
  169. package/skills/creator-analysis/scripts/pipeline/asr/__init__.py +0 -0
  170. package/skills/creator-analysis/scripts/pipeline/asr/asr_pipeline.py +1189 -0
  171. package/skills/creator-analysis/scripts/pipeline/asr/poll_u2_task.py +95 -0
  172. package/skills/creator-analysis/scripts/platform/__init__.py +0 -0
  173. package/skills/creator-analysis/scripts/platform/douyin/__init__.py +0 -0
  174. package/skills/creator-analysis/scripts/platform/douyin/douyin_video_type_matrix.py +224 -0
  175. package/skills/creator-analysis/scripts/platform/douyin/run_douyin_single_video.py +1208 -0
  176. package/skills/creator-analysis/scripts/platform/douyin/select_low_quality_video_url.py +200 -0
  177. package/skills/creator-analysis/scripts/platform/xiaohongshu/__init__.py +0 -0
  178. package/skills/creator-analysis/scripts/platform/xiaohongshu/run_xiaohongshu_extract.py +2128 -0
  179. package/skills/creator-analysis/scripts/writers/__init__.py +0 -0
  180. package/skills/creator-analysis/scripts/writers/write_author_homepage_samples.py +106 -0
  181. package/skills/creator-analysis/scripts/writers/write_benchmark_card.py +1402 -0
  182. package/skills/meta-capability/SKILL.md +69 -0
  183. package/skills/meta-capability/agents/openai.yaml +4 -0
  184. package/skills/meta-capability/env.example +42 -0
  185. package/skills/meta-capability/references/api-capability-index.md +92 -0
  186. package/skills/meta-capability/references/api-contracts/asr-api.md +130 -0
  187. package/skills/meta-capability/references/api-contracts/bilibili-app-api.md +776 -0
  188. package/skills/meta-capability/references/api-contracts/bilibili-web-api.md +2017 -0
  189. package/skills/meta-capability/references/api-contracts/demo-api.md +717 -0
  190. package/skills/meta-capability/references/api-contracts/douyin-app-v3-api.md +3594 -0
  191. package/skills/meta-capability/references/api-contracts/douyin-billboard-api.md +2274 -0
  192. package/skills/meta-capability/references/api-contracts/douyin-creator-api.md +1575 -0
  193. package/skills/meta-capability/references/api-contracts/douyin-creator-v2-api.md +3254 -0
  194. package/skills/meta-capability/references/api-contracts/douyin-search-api.md +4118 -0
  195. package/skills/meta-capability/references/api-contracts/douyin-web-api.md +5544 -0
  196. package/skills/meta-capability/references/api-contracts/douyin-xingtu-api.md +1916 -0
  197. package/skills/meta-capability/references/api-contracts/douyin-xingtu-v2-api.md +1540 -0
  198. package/skills/meta-capability/references/api-contracts/health-check.md +69 -0
  199. package/skills/meta-capability/references/api-contracts/hybrid-parsing.md +78 -0
  200. package/skills/meta-capability/references/api-contracts/instagram-v1-api.md +2256 -0
  201. package/skills/meta-capability/references/api-contracts/instagram-v2-api.md +2011 -0
  202. package/skills/meta-capability/references/api-contracts/instagram-v3-api.md +2630 -0
  203. package/skills/meta-capability/references/api-contracts/ios-shortcut.md +44 -0
  204. package/skills/meta-capability/references/api-contracts/kuaishou-app-api.md +1518 -0
  205. package/skills/meta-capability/references/api-contracts/kuaishou-web-api.md +1242 -0
  206. package/skills/meta-capability/references/api-contracts/lemon8-app-api.md +1088 -0
  207. package/skills/meta-capability/references/api-contracts/linkedin-web-api.md +1949 -0
  208. package/skills/meta-capability/references/api-contracts/media-ingest-api.md +126 -0
  209. package/skills/meta-capability/references/api-contracts/pipixia-app-api.md +1142 -0
  210. package/skills/meta-capability/references/api-contracts/reddit-app-api.md +2025 -0
  211. package/skills/meta-capability/references/api-contracts/sora2-api.md +2266 -0
  212. package/skills/meta-capability/references/api-contracts/temp-mail-api.md +208 -0
  213. package/skills/meta-capability/references/api-contracts/threads-web-api.md +897 -0
  214. package/skills/meta-capability/references/api-contracts/tikhub-downloader-api.md +134 -0
  215. package/skills/meta-capability/references/api-contracts/tikhub-user-api.md +494 -0
  216. package/skills/meta-capability/references/api-contracts/tiktok-ads-api.md +5947 -0
  217. package/skills/meta-capability/references/api-contracts/tiktok-analytics-api.md +968 -0
  218. package/skills/meta-capability/references/api-contracts/tiktok-app-v3-api.md +5735 -0
  219. package/skills/meta-capability/references/api-contracts/tiktok-creator-api.md +1951 -0
  220. package/skills/meta-capability/references/api-contracts/tiktok-interaction-api.md +742 -0
  221. package/skills/meta-capability/references/api-contracts/tiktok-shop-web-api.md +1890 -0
  222. package/skills/meta-capability/references/api-contracts/tiktok-web-api.md +4448 -0
  223. package/skills/meta-capability/references/api-contracts/toutiao-app-api.md +342 -0
  224. package/skills/meta-capability/references/api-contracts/toutiao-web-api.md +143 -0
  225. package/skills/meta-capability/references/api-contracts/twitter-web-api.md +989 -0
  226. package/skills/meta-capability/references/api-contracts/wechat-channels-api.md +809 -0
  227. package/skills/meta-capability/references/api-contracts/wechat-media-platform-web-api.md +677 -0
  228. package/skills/meta-capability/references/api-contracts/weibo-app-api.md +1547 -0
  229. package/skills/meta-capability/references/api-contracts/weibo-web-api.md +798 -0
  230. package/skills/meta-capability/references/api-contracts/weibo-web-v2-api.md +2459 -0
  231. package/skills/meta-capability/references/api-contracts/xiaohongshu-app-api.md +1291 -0
  232. package/skills/meta-capability/references/api-contracts/xiaohongshu-app-v2-api.md +1683 -0
  233. package/skills/meta-capability/references/api-contracts/xiaohongshu-web-api.md +1324 -0
  234. package/skills/meta-capability/references/api-contracts/xiaohongshu-web-v2-api.md +1209 -0
  235. package/skills/meta-capability/references/api-contracts/xigua-app-v2-api.md +489 -0
  236. package/skills/meta-capability/references/api-contracts/youtube-web-api.md +2636 -0
  237. package/skills/meta-capability/references/api-contracts/youtube-web-v2-api.md +2660 -0
  238. package/skills/meta-capability/references/api-contracts/zhihu-web-api.md +2315 -0
  239. package/skills/meta-capability/references/api-tags/asr-api.md +100 -0
  240. package/skills/meta-capability/references/api-tags/bilibili-app-api.md +482 -0
  241. package/skills/meta-capability/references/api-tags/bilibili-web-api.md +1267 -0
  242. package/skills/meta-capability/references/api-tags/demo-api.md +365 -0
  243. package/skills/meta-capability/references/api-tags/douyin-app-v3-api.md +2012 -0
  244. package/skills/meta-capability/references/api-tags/douyin-billboard-api.md +1428 -0
  245. package/skills/meta-capability/references/api-tags/douyin-creator-api.md +694 -0
  246. package/skills/meta-capability/references/api-tags/douyin-creator-v2-api.md +694 -0
  247. package/skills/meta-capability/references/api-tags/douyin-search-api.md +1059 -0
  248. package/skills/meta-capability/references/api-tags/douyin-web-api.md +3314 -0
  249. package/skills/meta-capability/references/api-tags/douyin-xingtu-api.md +935 -0
  250. package/skills/meta-capability/references/api-tags/douyin-xingtu-v2-api.md +925 -0
  251. package/skills/meta-capability/references/api-tags/health-check.md +40 -0
  252. package/skills/meta-capability/references/api-tags/hybrid-parsing.md +57 -0
  253. package/skills/meta-capability/references/api-tags/instagram-v1-api.md +1224 -0
  254. package/skills/meta-capability/references/api-tags/instagram-v2-api.md +1147 -0
  255. package/skills/meta-capability/references/api-tags/instagram-v3-api.md +1123 -0
  256. package/skills/meta-capability/references/api-tags/ios-shortcut.md +45 -0
  257. package/skills/meta-capability/references/api-tags/kuaishou-app-api.md +846 -0
  258. package/skills/meta-capability/references/api-tags/kuaishou-web-api.md +551 -0
  259. package/skills/meta-capability/references/api-tags/lemon8-app-api.md +687 -0
  260. package/skills/meta-capability/references/api-tags/linkedin-web-api.md +1105 -0
  261. package/skills/meta-capability/references/api-tags/media-ingest-api.md +112 -0
  262. package/skills/meta-capability/references/api-tags/pipixia-app-api.md +721 -0
  263. package/skills/meta-capability/references/api-tags/reddit-app-api.md +1057 -0
  264. package/skills/meta-capability/references/api-tags/sora2-api.md +737 -0
  265. package/skills/meta-capability/references/api-tags/temp-mail-api.md +136 -0
  266. package/skills/meta-capability/references/api-tags/threads-web-api.md +472 -0
  267. package/skills/meta-capability/references/api-tags/tikhub-downloader-api.md +65 -0
  268. package/skills/meta-capability/references/api-tags/tikhub-user-api.md +253 -0
  269. package/skills/meta-capability/references/api-tags/tiktok-ads-api.md +1393 -0
  270. package/skills/meta-capability/references/api-tags/tiktok-analytics-api.md +179 -0
  271. package/skills/meta-capability/references/api-tags/tiktok-app-v3-api.md +3264 -0
  272. package/skills/meta-capability/references/api-tags/tiktok-creator-api.md +709 -0
  273. package/skills/meta-capability/references/api-tags/tiktok-interaction-api.md +366 -0
  274. package/skills/meta-capability/references/api-tags/tiktok-shop-web-api.md +663 -0
  275. package/skills/meta-capability/references/api-tags/tiktok-web-api.md +2516 -0
  276. package/skills/meta-capability/references/api-tags/toutiao-app-api.md +220 -0
  277. package/skills/meta-capability/references/api-tags/toutiao-web-api.md +96 -0
  278. package/skills/meta-capability/references/api-tags/twitter-web-api.md +562 -0
  279. package/skills/meta-capability/references/api-tags/wechat-channels-api.md +405 -0
  280. package/skills/meta-capability/references/api-tags/wechat-media-platform-web-api.md +431 -0
  281. package/skills/meta-capability/references/api-tags/weibo-app-api.md +851 -0
  282. package/skills/meta-capability/references/api-tags/weibo-web-api.md +470 -0
  283. package/skills/meta-capability/references/api-tags/weibo-web-v2-api.md +1405 -0
  284. package/skills/meta-capability/references/api-tags/xiaohongshu-app-api.md +534 -0
  285. package/skills/meta-capability/references/api-tags/xiaohongshu-app-v2-api.md +934 -0
  286. package/skills/meta-capability/references/api-tags/xiaohongshu-web-api.md +757 -0
  287. package/skills/meta-capability/references/api-tags/xiaohongshu-web-v2-api.md +762 -0
  288. package/skills/meta-capability/references/api-tags/xigua-app-v2-api.md +308 -0
  289. package/skills/meta-capability/references/api-tags/youtube-web-api.md +934 -0
  290. package/skills/meta-capability/references/api-tags/youtube-web-v2-api.md +717 -0
  291. package/skills/meta-capability/references/api-tags/zhihu-web-api.md +1384 -0
  292. package/skills/meta-capability/references/config-templates/defaults.yaml +18 -0
  293. package/skills/meta-capability/references/dispatch.md +27 -0
  294. package/skills/meta-capability/references/execution-guidelines.md +25 -0
  295. package/skills/meta-capability/references/implemented-route-map.md +177 -0
  296. package/skills/meta-capability/references/service-guides/asr-u2-u3-fallback.md +75 -0
  297. package/skills/meta-capability/scripts/__init__.py +1 -0
  298. package/skills/meta-capability/scripts/call_route.py +141 -0
  299. package/skills/meta-capability/scripts/core/__init__.py +1 -0
  300. package/skills/meta-capability/scripts/core/bootstrap_env.py +32 -0
  301. package/skills/meta-capability/scripts/core/config_loader.py +204 -0
  302. package/skills/meta-capability/scripts/core/tikomni_common.py +443 -0
  303. package/skills/meta-capability/scripts/test_auth.py +98 -0
  304. package/skills/single-work-analysis/SKILL.md +62 -0
  305. package/skills/single-work-analysis/agents/openai.yaml +4 -0
  306. package/skills/single-work-analysis/env.example +36 -0
  307. package/skills/single-work-analysis/references/api-capability-index.md +92 -0
  308. package/skills/single-work-analysis/references/api-contracts/asr-api.md +130 -0
  309. package/skills/single-work-analysis/references/api-contracts/bilibili-app-api.md +776 -0
  310. package/skills/single-work-analysis/references/api-contracts/bilibili-web-api.md +2017 -0
  311. package/skills/single-work-analysis/references/api-contracts/demo-api.md +717 -0
  312. package/skills/single-work-analysis/references/api-contracts/douyin-app-v3-api.md +3594 -0
  313. package/skills/single-work-analysis/references/api-contracts/douyin-billboard-api.md +2274 -0
  314. package/skills/single-work-analysis/references/api-contracts/douyin-creator-api.md +1575 -0
  315. package/skills/single-work-analysis/references/api-contracts/douyin-creator-v2-api.md +3254 -0
  316. package/skills/single-work-analysis/references/api-contracts/douyin-search-api.md +4118 -0
  317. package/skills/single-work-analysis/references/api-contracts/douyin-web-api.md +5544 -0
  318. package/skills/single-work-analysis/references/api-contracts/douyin-xingtu-api.md +1916 -0
  319. package/skills/single-work-analysis/references/api-contracts/douyin-xingtu-v2-api.md +1540 -0
  320. package/skills/single-work-analysis/references/api-contracts/health-check.md +69 -0
  321. package/skills/single-work-analysis/references/api-contracts/hybrid-parsing.md +78 -0
  322. package/skills/single-work-analysis/references/api-contracts/instagram-v1-api.md +2256 -0
  323. package/skills/single-work-analysis/references/api-contracts/instagram-v2-api.md +2011 -0
  324. package/skills/single-work-analysis/references/api-contracts/instagram-v3-api.md +2630 -0
  325. package/skills/single-work-analysis/references/api-contracts/ios-shortcut.md +44 -0
  326. package/skills/single-work-analysis/references/api-contracts/kuaishou-app-api.md +1518 -0
  327. package/skills/single-work-analysis/references/api-contracts/kuaishou-web-api.md +1242 -0
  328. package/skills/single-work-analysis/references/api-contracts/lemon8-app-api.md +1088 -0
  329. package/skills/single-work-analysis/references/api-contracts/linkedin-web-api.md +1949 -0
  330. package/skills/single-work-analysis/references/api-contracts/media-ingest-api.md +126 -0
  331. package/skills/single-work-analysis/references/api-contracts/pipixia-app-api.md +1142 -0
  332. package/skills/single-work-analysis/references/api-contracts/reddit-app-api.md +2025 -0
  333. package/skills/single-work-analysis/references/api-contracts/sora2-api.md +2266 -0
  334. package/skills/single-work-analysis/references/api-contracts/temp-mail-api.md +208 -0
  335. package/skills/single-work-analysis/references/api-contracts/threads-web-api.md +897 -0
  336. package/skills/single-work-analysis/references/api-contracts/tikhub-downloader-api.md +134 -0
  337. package/skills/single-work-analysis/references/api-contracts/tikhub-user-api.md +494 -0
  338. package/skills/single-work-analysis/references/api-contracts/tiktok-ads-api.md +5947 -0
  339. package/skills/single-work-analysis/references/api-contracts/tiktok-analytics-api.md +968 -0
  340. package/skills/single-work-analysis/references/api-contracts/tiktok-app-v3-api.md +5735 -0
  341. package/skills/single-work-analysis/references/api-contracts/tiktok-creator-api.md +1951 -0
  342. package/skills/single-work-analysis/references/api-contracts/tiktok-interaction-api.md +742 -0
  343. package/skills/single-work-analysis/references/api-contracts/tiktok-shop-web-api.md +1890 -0
  344. package/skills/single-work-analysis/references/api-contracts/tiktok-web-api.md +4448 -0
  345. package/skills/single-work-analysis/references/api-contracts/toutiao-app-api.md +342 -0
  346. package/skills/single-work-analysis/references/api-contracts/toutiao-web-api.md +143 -0
  347. package/skills/single-work-analysis/references/api-contracts/twitter-web-api.md +989 -0
  348. package/skills/single-work-analysis/references/api-contracts/wechat-channels-api.md +809 -0
  349. package/skills/single-work-analysis/references/api-contracts/wechat-media-platform-web-api.md +677 -0
  350. package/skills/single-work-analysis/references/api-contracts/weibo-app-api.md +1547 -0
  351. package/skills/single-work-analysis/references/api-contracts/weibo-web-api.md +798 -0
  352. package/skills/single-work-analysis/references/api-contracts/weibo-web-v2-api.md +2459 -0
  353. package/skills/single-work-analysis/references/api-contracts/xiaohongshu-app-api.md +1291 -0
  354. package/skills/single-work-analysis/references/api-contracts/xiaohongshu-app-v2-api.md +1683 -0
  355. package/skills/single-work-analysis/references/api-contracts/xiaohongshu-web-api.md +1324 -0
  356. package/skills/single-work-analysis/references/api-contracts/xiaohongshu-web-v2-api.md +1209 -0
  357. package/skills/single-work-analysis/references/api-contracts/xigua-app-v2-api.md +489 -0
  358. package/skills/single-work-analysis/references/api-contracts/youtube-web-api.md +2636 -0
  359. package/skills/single-work-analysis/references/api-contracts/youtube-web-v2-api.md +2660 -0
  360. package/skills/single-work-analysis/references/api-contracts/zhihu-web-api.md +2315 -0
  361. package/skills/single-work-analysis/references/api-tags/asr-api.md +100 -0
  362. package/skills/single-work-analysis/references/api-tags/bilibili-app-api.md +482 -0
  363. package/skills/single-work-analysis/references/api-tags/bilibili-web-api.md +1267 -0
  364. package/skills/single-work-analysis/references/api-tags/demo-api.md +365 -0
  365. package/skills/single-work-analysis/references/api-tags/douyin-app-v3-api.md +2012 -0
  366. package/skills/single-work-analysis/references/api-tags/douyin-billboard-api.md +1428 -0
  367. package/skills/single-work-analysis/references/api-tags/douyin-creator-api.md +694 -0
  368. package/skills/single-work-analysis/references/api-tags/douyin-creator-v2-api.md +694 -0
  369. package/skills/single-work-analysis/references/api-tags/douyin-search-api.md +1059 -0
  370. package/skills/single-work-analysis/references/api-tags/douyin-web-api.md +3314 -0
  371. package/skills/single-work-analysis/references/api-tags/douyin-xingtu-api.md +935 -0
  372. package/skills/single-work-analysis/references/api-tags/douyin-xingtu-v2-api.md +925 -0
  373. package/skills/single-work-analysis/references/api-tags/health-check.md +40 -0
  374. package/skills/single-work-analysis/references/api-tags/hybrid-parsing.md +57 -0
  375. package/skills/single-work-analysis/references/api-tags/instagram-v1-api.md +1224 -0
  376. package/skills/single-work-analysis/references/api-tags/instagram-v2-api.md +1147 -0
  377. package/skills/single-work-analysis/references/api-tags/instagram-v3-api.md +1123 -0
  378. package/skills/single-work-analysis/references/api-tags/ios-shortcut.md +45 -0
  379. package/skills/single-work-analysis/references/api-tags/kuaishou-app-api.md +846 -0
  380. package/skills/single-work-analysis/references/api-tags/kuaishou-web-api.md +551 -0
  381. package/skills/single-work-analysis/references/api-tags/lemon8-app-api.md +687 -0
  382. package/skills/single-work-analysis/references/api-tags/linkedin-web-api.md +1105 -0
  383. package/skills/single-work-analysis/references/api-tags/media-ingest-api.md +112 -0
  384. package/skills/single-work-analysis/references/api-tags/pipixia-app-api.md +721 -0
  385. package/skills/single-work-analysis/references/api-tags/reddit-app-api.md +1057 -0
  386. package/skills/single-work-analysis/references/api-tags/sora2-api.md +737 -0
  387. package/skills/single-work-analysis/references/api-tags/temp-mail-api.md +136 -0
  388. package/skills/single-work-analysis/references/api-tags/threads-web-api.md +472 -0
  389. package/skills/single-work-analysis/references/api-tags/tikhub-downloader-api.md +65 -0
  390. package/skills/single-work-analysis/references/api-tags/tikhub-user-api.md +253 -0
  391. package/skills/single-work-analysis/references/api-tags/tiktok-ads-api.md +1393 -0
  392. package/skills/single-work-analysis/references/api-tags/tiktok-analytics-api.md +179 -0
  393. package/skills/single-work-analysis/references/api-tags/tiktok-app-v3-api.md +3264 -0
  394. package/skills/single-work-analysis/references/api-tags/tiktok-creator-api.md +709 -0
  395. package/skills/single-work-analysis/references/api-tags/tiktok-interaction-api.md +366 -0
  396. package/skills/single-work-analysis/references/api-tags/tiktok-shop-web-api.md +663 -0
  397. package/skills/single-work-analysis/references/api-tags/tiktok-web-api.md +2516 -0
  398. package/skills/single-work-analysis/references/api-tags/toutiao-app-api.md +220 -0
  399. package/skills/single-work-analysis/references/api-tags/toutiao-web-api.md +96 -0
  400. package/skills/single-work-analysis/references/api-tags/twitter-web-api.md +562 -0
  401. package/skills/single-work-analysis/references/api-tags/wechat-channels-api.md +405 -0
  402. package/skills/single-work-analysis/references/api-tags/wechat-media-platform-web-api.md +431 -0
  403. package/skills/single-work-analysis/references/api-tags/weibo-app-api.md +851 -0
  404. package/skills/single-work-analysis/references/api-tags/weibo-web-api.md +470 -0
  405. package/skills/single-work-analysis/references/api-tags/weibo-web-v2-api.md +1405 -0
  406. package/skills/single-work-analysis/references/api-tags/xiaohongshu-app-api.md +534 -0
  407. package/skills/single-work-analysis/references/api-tags/xiaohongshu-app-v2-api.md +934 -0
  408. package/skills/single-work-analysis/references/api-tags/xiaohongshu-web-api.md +757 -0
  409. package/skills/single-work-analysis/references/api-tags/xiaohongshu-web-v2-api.md +762 -0
  410. package/skills/single-work-analysis/references/api-tags/xigua-app-v2-api.md +308 -0
  411. package/skills/single-work-analysis/references/api-tags/youtube-web-api.md +934 -0
  412. package/skills/single-work-analysis/references/api-tags/youtube-web-v2-api.md +717 -0
  413. package/skills/single-work-analysis/references/api-tags/zhihu-web-api.md +1384 -0
  414. package/skills/single-work-analysis/references/asr-and-fallback.md +20 -0
  415. package/skills/single-work-analysis/references/config-templates/defaults.yaml +58 -0
  416. package/skills/single-work-analysis/references/contracts/work-card-fields.md +41 -0
  417. package/skills/single-work-analysis/references/platform-guides/douyin.md +47 -0
  418. package/skills/single-work-analysis/references/platform-guides/generic.md +43 -0
  419. package/skills/single-work-analysis/references/platform-guides/xiaohongshu.md +54 -0
  420. package/skills/single-work-analysis/references/prompt-contracts/asr-clean.md +28 -0
  421. package/skills/single-work-analysis/references/prompt-contracts/cta.md +24 -0
  422. package/skills/single-work-analysis/references/prompt-contracts/hook.md +25 -0
  423. package/skills/single-work-analysis/references/prompt-contracts/insight.md +47 -0
  424. package/skills/single-work-analysis/references/prompt-contracts/structure.md +25 -0
  425. package/skills/single-work-analysis/references/prompt-contracts/style.md +27 -0
  426. package/skills/single-work-analysis/references/prompt-contracts/summary.md +29 -0
  427. package/skills/single-work-analysis/references/prompt-contracts/topic.md +29 -0
  428. package/skills/single-work-analysis/references/schemas/work-card.schema.json +39 -0
  429. package/skills/single-work-analysis/references/service-guides/asr-u2-u3-fallback.md +75 -0
  430. package/skills/single-work-analysis/scripts/__init__.py +0 -0
  431. package/skills/single-work-analysis/scripts/core/__init__.py +0 -0
  432. package/skills/single-work-analysis/scripts/core/analysis_pipeline.py +133 -0
  433. package/skills/single-work-analysis/scripts/core/bootstrap_env.py +35 -0
  434. package/skills/single-work-analysis/scripts/core/config_loader.py +418 -0
  435. package/skills/single-work-analysis/scripts/core/extract_pipeline.py +173 -0
  436. package/skills/single-work-analysis/scripts/core/progress_report.py +111 -0
  437. package/skills/single-work-analysis/scripts/core/storage_router.py +253 -0
  438. package/skills/single-work-analysis/scripts/core/tikomni_common.py +588 -0
  439. package/skills/single-work-analysis/scripts/pipeline/__init__.py +0 -0
  440. package/skills/single-work-analysis/scripts/pipeline/asr/__init__.py +0 -0
  441. package/skills/single-work-analysis/scripts/pipeline/asr/asr_pipeline.py +1189 -0
  442. package/skills/single-work-analysis/scripts/pipeline/asr/poll_u2_task.py +95 -0
  443. package/skills/single-work-analysis/scripts/platform/__init__.py +0 -0
  444. package/skills/single-work-analysis/scripts/platform/douyin/__init__.py +0 -0
  445. package/skills/single-work-analysis/scripts/platform/douyin/douyin_video_type_matrix.py +224 -0
  446. package/skills/single-work-analysis/scripts/platform/douyin/run_douyin_single_video.py +1233 -0
  447. package/skills/single-work-analysis/scripts/platform/douyin/select_low_quality_video_url.py +200 -0
  448. package/skills/single-work-analysis/scripts/platform/xiaohongshu/__init__.py +0 -0
  449. package/skills/single-work-analysis/scripts/platform/xiaohongshu/run_xiaohongshu_extract.py +2156 -0
  450. package/skills/single-work-analysis/scripts/writers/__init__.py +0 -0
  451. package/skills/single-work-analysis/scripts/writers/write_benchmark_card.py +1402 -0
@@ -0,0 +1,3254 @@
1
+ # Douyin-Creator-V2-API Full Contract
2
+
3
+ - Back to index: [`api-capability-index.md`](../api-capability-index.md)
4
+ - Back to route summary: [`api-tags/douyin-creator-v2-api.md`](../api-tags/douyin-creator-v2-api.md)
5
+ - Current contract file: `api-contracts/douyin-creator-v2-api.md`
6
+ - Source: `https://app.tikomni.com/openapi/tikomni-openapi.full.with-u2.public.latest.json`
7
+ - Fetched at: `2026-03-08T06:54:04+00:00`
8
+ - Route count: `14`
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: **(抖音创作者V2数据接口(需要用户Cookie,可获取作品流量总览等数据)/Douyin-Creator-V2-API data endpoints (Requires user Cookie, can get item traffic overview data))**
12
+
13
+ ## Route Contracts
14
+
15
+ <a id="post-api-u1-v1-douyin-creator-v2-fetch-author-diagnosis"></a>
16
+ ### `POST /api/u1/v1/douyin/creator_v2/fetch_author_diagnosis`
17
+
18
+ - Summary: 获取创作者账号诊断/Fetch author diagnosis
19
+ - Capabilities: creators
20
+ - Auth: Header `Authorization: Bearer {token}`; docs also allow Cookie `Authorization` as fallback (`HTTPBearer`)
21
+ - operationId: `fetch_author_diagnosis_api_v1_douyin_creator_v2_fetch_author_diagnosis_post`
22
+
23
+ #### Notes
24
+
25
+ > # [中文]
26
+ > ### 用途:
27
+ > - 获取抖音创作者账号的诊断数据和优化建议
28
+ > - 自动分析最近一周(从当天起往前7天)的账号表现
29
+ > - 提供完播率、互动指数等关键指标的评估和改进建议
30
+ > - 帮助创作者了解账号健康度,优化内容策略
31
+ > - **此接口需要用户提供有效的抖音创作者平台Cookie**
32
+ > - **使用 POST 方法,Cookie 在请求体中传输,更安全**
33
+ > - **无需指定时间范围,系统自动获取最近7天数据**
34
+ >
35
+ > ### 请求体参数:
36
+ > - cookie: 用户的抖音创作者平台Cookie(必填,在请求体中传输)
37
+ >
38
+ > ### 数据更新时间:
39
+ > - **更新周期**: 次日12点更新昨日作品数据
40
+ > - **示例**: 2025年10月10日的作品数据会在2025年10月11日12点更新
41
+ > - **时间范围**: 自动获取最近一周的数据(从当天起往前7天)
42
+ > - **首次使用**: 获取权限后次日起生产数据
43
+ >
44
+ > ### 数据指标含义:
45
+ >
46
+ > **名词定义**:
47
+ > - **同类创作者**: 具有相似创作领域或粉丝量级的创作者
48
+ > - **时间粒度**: 时间粒度是数据更新计算的周期
49
+ > - **抖音精选**: 包含精选APP+抖音电脑端+抖音APP_精选Tab的数据表现
50
+ >
51
+ > **账号诊断类指标**:
52
+ > - **投稿数**: 根据统计周期内发布的作品个数得出
53
+ > - **互动指数**: 作品的观看、点赞、评论、转发的综合得分
54
+ > - **视频播放量**: 作品被观看的次数
55
+ > - **视频完播率**: 作品完整播放次数的占比
56
+ > - 每日完播率:当日完播浏览量与总浏览量的比值
57
+ > - 每十分钟级完播率:累计完播浏览量与累计浏览量的比值
58
+ > - **粉丝净增量**: 账号净增粉丝数,通过涨粉数减去掉粉数得出
59
+ >
60
+ > ### 返回数据说明:
61
+ > 返回账号诊断数据,包括以下五个核心维度:
62
+ >
63
+ > **1. 互动指数 (Interact)**:
64
+ > - **OwnValue**: 账号自身的互动指数值(观看、点赞、评论、转发的综合得分)
65
+ > - **SimilarCount**: 同类创作者总数
66
+ > - **AuthorRank**: 账号在自身历史数据中的排名百分位(0-1之间,越大表示当前表现越好)
67
+ > - **SimilarRank**: 账号在同类创作者中的排名百分位(0-1之间,越大表示排名越靠前)
68
+ > - **SimilarValue**: 同类创作者的平均互动指数值
69
+ > - **解读**: AuthorRank=0.26表示当前互动指数超过了自己历史26%的时期
70
+ > - **解读**: SimilarRank=0.52表示在同类创作者中排名超过52%
71
+ >
72
+ > **2. 粉丝净增量 (NewFans)**:
73
+ > - **OwnValue**: 统计周期内账号净增粉丝数(涨粉数 - 掉粉数)
74
+ > - **SimilarCount**: 同类创作者总数
75
+ > - **AuthorRank**: 账号在自身历史涨粉数据中的排名百分位
76
+ > - **SimilarRank**: 账号在同类创作者中的涨粉排名百分位
77
+ > - **SimilarValue**: 同类创作者的平均粉丝净增量
78
+ > - **解读**: OwnValue=2表示本周期净增2个粉丝
79
+ >
80
+ > **3. 视频播放量 (PlayCnt)**:
81
+ > - **OwnValue**: 统计周期内作品被观看的总次数
82
+ > - **SimilarCount**: 同类创作者总数
83
+ > - **AuthorRank**: 账号在自身历史播放量中的排名百分位
84
+ > - **SimilarRank**: 账号在同类创作者中的播放量排名百分位
85
+ > - **SimilarValue**: 同类创作者的平均播放量
86
+ > - **解读**: OwnValue=192表示本周期总播放量为192次
87
+ >
88
+ > **4. 视频完播率 (PlayFinishRatio)**:
89
+ > - **OwnValue**: 作品完整播放次数的占比(0-1之间的小数)
90
+ > - **SimilarCount**: 同类创作者总数
91
+ > - **AuthorRank**: 账号在自身历史完播率中的排名百分位
92
+ > - **SimilarRank**: 账号在同类创作者中的完播率排名百分位
93
+ > - **SimilarValue**: 同类创作者的平均完播率
94
+ > - **解读**: OwnValue=0.15表示完播率为15%
95
+ > - **提升建议**: "想要作品吸引人,前3秒钟是关键,可以多分析同行业热门作品的人设、镜头技巧和音乐"
96
+ >
97
+ > **5. 投稿活跃度 (PublishActivation)**:
98
+ > - **OwnValue**: 统计周期内发布的作品个数
99
+ > - **SimilarCount**: 同类创作者总数
100
+ > - **AuthorRank**: 账号在自身历史投稿数据中的排名百分位
101
+ > - **SimilarRank**: 账号在同类创作者中的投稿活跃度排名百分位
102
+ > - **SimilarValue**: 同类创作者的平均投稿数
103
+ > - **解读**: OwnValue=2表示本周期发布了2个作品
104
+ >
105
+ > ### 返回数据结构示例:
106
+ > ```json
107
+ > {
108
+ > "code": 0,
109
+ > "data": {
110
+ > "Interact": {
111
+ > "OwnValue": 0.0052,
112
+ > "SimilarCount": 1494654282,
113
+ > "AuthorRank": 0.2633,
114
+ > "SimilarRank": 0.5169,
115
+ > "SimilarValue": 0.0909
116
+ > },
117
+ > "NewFans": {
118
+ > "OwnValue": 2,
119
+ > "AuthorRank": 0.7924,
120
+ > "SimilarRank": 0.6343
121
+ > },
122
+ > "PlayCnt": {
123
+ > "OwnValue": 192,
124
+ > "AuthorRank": 0.8427,
125
+ > "SimilarRank": 0.5132
126
+ > },
127
+ > "PlayFinishRatio": {
128
+ > "OwnValue": 0.1545,
129
+ > "AuthorRank": 0.3851,
130
+ > "SimilarRank": 0.5086
131
+ > },
132
+ > "PublishActivation": {
133
+ > "OwnValue": 2,
134
+ > "AuthorRank": 0.7345,
135
+ > "SimilarRank": 0.5675
136
+ > }
137
+ > }
138
+ > }
139
+ > ```
140
+ >
141
+ > ### 数据解读技巧:
142
+ > - **OwnValue**: 查看实际数值,了解账号当前表现
143
+ > - **AuthorRank**: 与自己过去比较,数值越高说明当前状态越好
144
+ > - **SimilarRank**: 与同行比较,数值越高说明在同类创作者中排名越靠前
145
+ > - **建议**: AuthorRank和SimilarRank都低于0.5时需要重点优化该项指标
146
+ >
147
+ > ### Cookie 获取方式:
148
+ > 1. 登录抖音创作者平台 (https://creator.douyin.com)
149
+ > 2. 打开浏览器开发者工具(F12)
150
+ > 3. 切换到 Network 标签
151
+ > 4. 刷新页面或进行操作
152
+ > 5. 找到任意请求,复制 Cookie 请求头的值
153
+ >
154
+ > # [English]
155
+ > ### Purpose:
156
+ > - Get Douyin creator account diagnosis data and optimization suggestions
157
+ > - Automatically analyze account performance for the past 7 days
158
+ > - Provide assessment and improvement suggestions for key metrics
159
+ > - Help creators understand account health and optimize content strategy
160
+ > - **This API requires valid Douyin Creator Platform Cookie**
161
+ > - **Use POST method, Cookie transmitted in request body, more secure**
162
+ > - **No need to specify time range, system automatically fetches data for past 7 days**
163
+ >
164
+ > ### Request Body Parameters:
165
+ > - cookie: User's Douyin Creator Platform Cookie (required)
166
+ >
167
+ > ### Data Update Time:
168
+ > - **Update Cycle**: Yesterday's video data is updated at 12:00 noon the next day
169
+ > - **Example**: Video data from October 10, 2025 will be updated at 12:00 on October 11, 2025
170
+ > - **Time Range**: Automatically fetches data for the past 7 days
171
+ > - **First Use**: Data generation starts from the next day after obtaining permission
172
+ >
173
+ > ### Data Metrics Definition:
174
+ >
175
+ > **Term Definitions**:
176
+ > - **Similar Creators**: Creators with similar creation fields or fan levels
177
+ > - **Time Granularity**: The period for data update calculations
178
+ > - **Douyin Featured**: Data performance including Featured APP + Douyin Desktop + Douyin APP Featured Tab
179
+ >
180
+ > **Account Diagnosis Metrics**:
181
+ > - **Submission Count**: Number of works published during the statistical period
182
+ > - **Engagement Index**: Comprehensive score of views, likes, comments, and shares
183
+ > - **Video Views**: Number of times the work has been viewed
184
+ > - **Video Completion Rate**: Proportion of complete playbacks
185
+ > - Daily completion rate: Ratio of daily complete views to total views
186
+ > - 10-minute completion rate: Ratio of cumulative complete views to cumulative views
187
+ > - **Net Fan Growth**: Net increase in account followers (new followers minus unfollowers)
188
+ >
189
+ > ### Return Data Description:
190
+ > Account diagnosis data including five core dimensions:
191
+ >
192
+ > **1. Engagement Index (Interact)**:
193
+ > - **OwnValue**: Account's own engagement index value (comprehensive score of views, likes, comments, shares)
194
+ > - **SimilarCount**: Total number of similar creators
195
+ > - **AuthorRank**: Ranking percentile in account's historical data (0-1, higher means better current performance)
196
+ > - **SimilarRank**: Ranking percentile among similar creators (0-1, higher means better ranking)
197
+ > - **SimilarValue**: Average engagement index value of similar creators
198
+ > - **Interpretation**: AuthorRank=0.26 means current engagement exceeds 26% of own history
199
+ > - **Interpretation**: SimilarRank=0.52 means ranking exceeds 52% of similar creators
200
+ >
201
+ > **2. Net Fan Growth (NewFans)**:
202
+ > - **OwnValue**: Net increase in followers during the period (new followers - unfollowers)
203
+ > - **SimilarCount**: Total number of similar creators
204
+ > - **AuthorRank**: Ranking percentile in account's historical fan growth data
205
+ > - **SimilarRank**: Fan growth ranking percentile among similar creators
206
+ > - **SimilarValue**: Average net fan growth of similar creators
207
+ > - **Interpretation**: OwnValue=2 means net gain of 2 followers in this period
208
+ >
209
+ > **3. Video Views (PlayCnt)**:
210
+ > - **OwnValue**: Total number of times works were viewed during the period
211
+ > - **SimilarCount**: Total number of similar creators
212
+ > - **AuthorRank**: Ranking percentile in account's historical view count
213
+ > - **SimilarRank**: View count ranking percentile among similar creators
214
+ > - **SimilarValue**: Average view count of similar creators
215
+ > - **Interpretation**: OwnValue=192 means total views of 192 in this period
216
+ >
217
+ > **4. Video Completion Rate (PlayFinishRatio)**:
218
+ > - **OwnValue**: Proportion of complete playbacks (decimal between 0-1)
219
+ > - **SimilarCount**: Total number of similar creators
220
+ > - **AuthorRank**: Ranking percentile in account's historical completion rate
221
+ > - **SimilarRank**: Completion rate ranking percentile among similar creators
222
+ > - **SimilarValue**: Average completion rate of similar creators
223
+ > - **Interpretation**: OwnValue=0.15 means 15% completion rate
224
+ > - **Tip**: Focus on first 3 seconds to improve retention
225
+ >
226
+ > **5. Publishing Activity (PublishActivation)**:
227
+ > - **OwnValue**: Number of works published during the period
228
+ > - **SimilarCount**: Total number of similar creators
229
+ > - **AuthorRank**: Ranking percentile in account's historical publishing data
230
+ > - **SimilarRank**: Publishing activity ranking percentile among similar creators
231
+ > - **SimilarValue**: Average number of submissions by similar creators
232
+ > - **Interpretation**: OwnValue=2 means published 2 works in this period
233
+ >
234
+ > ### Return Data Structure Example:
235
+ > ```json
236
+ > {
237
+ > "code": 0,
238
+ > "data": {
239
+ > "Interact": {
240
+ > "OwnValue": 0.0052,
241
+ > "SimilarCount": 1494654282,
242
+ > "AuthorRank": 0.2633,
243
+ > "SimilarRank": 0.5169,
244
+ > "SimilarValue": 0.0909
245
+ > },
246
+ > "NewFans": {
247
+ > "OwnValue": 2,
248
+ > "AuthorRank": 0.7924,
249
+ > "SimilarRank": 0.6343
250
+ > },
251
+ > "PlayCnt": {
252
+ > "OwnValue": 192,
253
+ > "AuthorRank": 0.8427,
254
+ > "SimilarRank": 0.5132
255
+ > },
256
+ > "PlayFinishRatio": {
257
+ > "OwnValue": 0.1545,
258
+ > "AuthorRank": 0.3851,
259
+ > "SimilarRank": 0.5086
260
+ > },
261
+ > "PublishActivation": {
262
+ > "OwnValue": 2,
263
+ > "AuthorRank": 0.7345,
264
+ > "SimilarRank": 0.5675
265
+ > }
266
+ > }
267
+ > }
268
+ > ```
269
+ >
270
+ > ### Data Interpretation Tips:
271
+ > - **OwnValue**: Check actual values to understand current account performance
272
+ > - **AuthorRank**: Compare with own past, higher value means better current status
273
+ > - **SimilarRank**: Compare with peers, higher value means better ranking among similar creators
274
+ > - **Recommendation**: Focus on optimizing metrics when both AuthorRank and SimilarRank are below 0.5
275
+ >
276
+ > ### How to get Cookie:
277
+ > 1. Login to Douyin Creator Platform (https://creator.douyin.com)
278
+ > 2. Open browser developer tools (F12)
279
+ > 3. Switch to Network tab
280
+ > 4. Refresh page or perform operations
281
+ > 5. Copy the Cookie header value
282
+ >
283
+ > # [示例/Example]
284
+ > ```json
285
+ > {
286
+ > "cookie": "Your_Cookie_Here"
287
+ > }
288
+ > ```
289
+
290
+ #### Parameters
291
+
292
+ None
293
+
294
+ #### Request Body
295
+
296
+ - required: Yes
297
+
298
+ ##### `application/json`
299
+
300
+ - Schema summary: `cookie*`:string
301
+
302
+ | Field | Type | Required | Description | Default | Example | Enum |
303
+ | --- | --- | --- | --- | --- | --- | --- |
304
+ | cookie | string | Yes | 用户Cookie/User Cookie | None | Your_Cookie_Here | None |
305
+
306
+ #### Success Response
307
+
308
+ ##### `200 application/json`
309
+
310
+ - Schema summary: `code`:integer, `request_id`:string, `message`:string, `message_zh`:string, `support`:string, `time`:string, `time_stamp`:integer, `time_zone`:string, ...
311
+
312
+ | Field | Type | Required | Description | Default | Example | Enum |
313
+ | --- | --- | --- | --- | --- | --- | --- |
314
+ | code | integer | No | HTTP status code \| HTTP状态码 | 200 | None | None |
315
+ | request_id | string | No | Unique request identifier \| 唯一请求标识符 | None | None | None |
316
+ | message | string | No | Response message (EN-US) \| 响应消息 (English) | Request successful. This request will incur a charge. | None | None |
317
+ | message_zh | string | No | Response message (ZH-CN) \| 响应消息 (中文) | 请求成功,本次请求将被计费。 | None | None |
318
+ | support | string | No | Support message \| 支持消息 | Discord: https://discord.gg/aMEAS8Xsvz | None | None |
319
+ | time | string | No | The time the response was generated \| 生成响应的时间 | None | None | None |
320
+ | time_stamp | integer | No | The timestamp the response was generated \| 生成响应的时间戳 | None | None | None |
321
+ | time_zone | string | No | The timezone of the response time \| 响应时间的时区 | America/Los_Angeles | None | None |
322
+ | docs | string | No | Link to the API Swagger documentation for this endpoint \| 此端点的 API Swagger 文档链接 | None | None | None |
323
+ | 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 |
324
+ | cache_message_zh | string | No | Cache message (ZH-CN) \| 缓存消息 (中文) | 本次请求将被缓存,你可以使用下面的 URL 直接访问缓存结果,有效期为 24 小时,访问缓存不会产生额外费用。 | None | None |
325
+ | cache_url | string | No | The URL to access the cached result \| 访问缓存结果的 URL | None | None | None |
326
+ | router | string | No | The endpoint that generated this response \| 生成此响应的端点 | None | None | None |
327
+ | params | dynamic object | No | The parameters used in the request \| 请求中使用的参数 | None | None | None |
328
+ | data | null | No | The response data \| 响应数据 | None | None | None |
329
+
330
+ <a id="post-api-u1-v1-douyin-creator-v2-fetch-item-analysis-involved-vertical"></a>
331
+ ### `POST /api/u1/v1/douyin/creator_v2/fetch_item_analysis_involved_vertical`
332
+
333
+ - Summary: 获取作品垂类标签/Fetch item analysis involved vertical
334
+ - Capabilities: creators
335
+ - Auth: Header `Authorization: Bearer {token}`; docs also allow Cookie `Authorization` as fallback (`HTTPBearer`)
336
+ - operationId: `fetch_item_analysis_involved_vertical_api_v1_douyin_creator_v2_fetch_item_analysis_involved_vertical_post`
337
+
338
+ #### Notes
339
+
340
+ > # [中文]
341
+ > ### 用途:
342
+ > - 获取指定时间段内投稿作品涉及的垂类标签
343
+ > - 用于后续调用投稿分析接口时的参数
344
+ > - **此接口需要用户提供有效的抖音创作者平台Cookie**
345
+ > - **使用 POST 方法,Cookie 在请求体中传输,更安全**
346
+ >
347
+ > ### 请求体参数:
348
+ > - cookie: 用户的抖音创作者平台Cookie(必填,在请求体中传输)
349
+ > - start_date: 开始日期,格式YYYYMMDD(必填)
350
+ > - end_date: 结束日期,格式YYYYMMDD(必填)
351
+ > - **注意:日期范围最多90天**
352
+ >
353
+ > ### 返回数据说明:
354
+ > - primary_verticals: 垂类标签列表
355
+ > - 返回该账号在指定时间段内发布的作品涉及的垂类
356
+ > - 例如:["动物", "美食", "旅游"]
357
+ >
358
+ > ### Cookie 获取方式:
359
+ > 1. 登录抖音创作者平台 (https://creator.douyin.com)
360
+ > 2. 打开浏览器开发者工具(F12)
361
+ > 3. 切换到 Network 标签
362
+ > 4. 刷新页面或进行操作
363
+ > 5. 找到任意请求,复制 Cookie 请求头的值
364
+ >
365
+ > # [English]
366
+ > ### Purpose:
367
+ > - Get the vertical tags involved in submitted items within the specified time period
368
+ > - Used as parameters for subsequent calls to the submission analysis interface
369
+ > - **This API requires users to provide valid Douyin Creator Platform Cookie**
370
+ > - **Use POST method, Cookie is transmitted in request body, more secure**
371
+ >
372
+ > ### Request Body Parameters:
373
+ > - cookie: User's Douyin Creator Platform Cookie (required, transmitted in request body)
374
+ > - start_date: Start date in YYYYMMDD format (required)
375
+ > - end_date: End date in YYYYMMDD format (required)
376
+ > - **Note: Date range maximum 90 days**
377
+ >
378
+ > ### Return Data Description:
379
+ > - primary_verticals: List of vertical tags
380
+ > - Returns the verticals involved in items published during the specified time period
381
+ > - Example: ["Animals", "Food", "Travel"]
382
+ >
383
+ > ### How to get Cookie:
384
+ > 1. Login to Douyin Creator Platform (https://creator.douyin.com)
385
+ > 2. Open browser developer tools (F12)
386
+ > 3. Switch to Network tab
387
+ > 4. Refresh page or perform operations
388
+ > 5. Find any request and copy the Cookie header value
389
+ >
390
+ > # [示例/Example]
391
+ > ```json
392
+ > {
393
+ > "cookie": "Your_Cookie_Here",
394
+ > "start_date": "20250713",
395
+ > "end_date": "20251011"
396
+ > }
397
+ > ```
398
+ >
399
+ > ### 返回数据示例/Response Example:
400
+ > ```json
401
+ > {
402
+ > "primary_verticals": ["动物", "美食", "旅游"],
403
+ > "status_code": 0,
404
+ > "status_msg": ""
405
+ > }
406
+ > ```
407
+ >
408
+ > ### 数据解读/Data Interpretation:
409
+ > - primary_verticals列表包含该账号投稿作品涉及的所有垂类
410
+ > - 如果返回空列表,说明该时间段内没有投稿或垂类未分类
411
+ > - 获取到垂类后,可用于投稿分析接口的primary_verticals参数
412
+ >
413
+ > ### 注意事项/Notes:
414
+ > - 日期格式必须为YYYYMMDD(8位数字)
415
+ > - 时间跨度不能超过90天
416
+ > - 建议先调用此接口获取垂类,再调用投稿分析接口
417
+ > - 如果时间范围内无投稿,可能返回空列表
418
+
419
+ #### Parameters
420
+
421
+ None
422
+
423
+ #### Request Body
424
+
425
+ - required: Yes
426
+
427
+ ##### `application/json`
428
+
429
+ - Schema summary: `cookie*`:string, `start_date*`:string, `end_date*`:string
430
+
431
+ | Field | Type | Required | Description | Default | Example | Enum |
432
+ | --- | --- | --- | --- | --- | --- | --- |
433
+ | cookie | string | Yes | 用户Cookie/User Cookie | None | Your_Cookie_Here | None |
434
+ | start_date | string | Yes | 开始日期(格式YYYYMMDD)/Start date (format YYYYMMDD) | None | 20250713 | None |
435
+ | end_date | string | Yes | 结束日期(格式YYYYMMDD)/End date (format YYYYMMDD) | None | 20251011 | None |
436
+
437
+ #### Success Response
438
+
439
+ ##### `200 application/json`
440
+
441
+ - Schema summary: `code`:integer, `request_id`:string, `message`:string, `message_zh`:string, `support`:string, `time`:string, `time_stamp`:integer, `time_zone`:string, ...
442
+
443
+ | Field | Type | Required | Description | Default | Example | Enum |
444
+ | --- | --- | --- | --- | --- | --- | --- |
445
+ | code | integer | No | HTTP status code \| HTTP状态码 | 200 | None | None |
446
+ | request_id | string | No | Unique request identifier \| 唯一请求标识符 | None | None | None |
447
+ | message | string | No | Response message (EN-US) \| 响应消息 (English) | Request successful. This request will incur a charge. | None | None |
448
+ | message_zh | string | No | Response message (ZH-CN) \| 响应消息 (中文) | 请求成功,本次请求将被计费。 | None | None |
449
+ | support | string | No | Support message \| 支持消息 | Discord: https://discord.gg/aMEAS8Xsvz | None | None |
450
+ | time | string | No | The time the response was generated \| 生成响应的时间 | None | None | None |
451
+ | time_stamp | integer | No | The timestamp the response was generated \| 生成响应的时间戳 | None | None | None |
452
+ | time_zone | string | No | The timezone of the response time \| 响应时间的时区 | America/Los_Angeles | None | None |
453
+ | docs | string | No | Link to the API Swagger documentation for this endpoint \| 此端点的 API Swagger 文档链接 | None | None | None |
454
+ | 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 |
455
+ | cache_message_zh | string | No | Cache message (ZH-CN) \| 缓存消息 (中文) | 本次请求将被缓存,你可以使用下面的 URL 直接访问缓存结果,有效期为 24 小时,访问缓存不会产生额外费用。 | None | None |
456
+ | cache_url | string | No | The URL to access the cached result \| 访问缓存结果的 URL | None | None | None |
457
+ | router | string | No | The endpoint that generated this response \| 生成此响应的端点 | None | None | None |
458
+ | params | dynamic object | No | The parameters used in the request \| 请求中使用的参数 | None | None | None |
459
+ | data | null | No | The response data \| 响应数据 | None | None | None |
460
+
461
+ <a id="post-api-u1-v1-douyin-creator-v2-fetch-item-analysis-item-performance"></a>
462
+ ### `POST /api/u1/v1/douyin/creator_v2/fetch_item_analysis_item_performance`
463
+
464
+ - Summary: 获取投稿表现数据/Fetch item analysis item performance
465
+ - Capabilities: creators
466
+ - Auth: Header `Authorization: Bearer {token}`; docs also allow Cookie `Authorization` as fallback (`HTTPBearer`)
467
+ - operationId: `fetch_item_analysis_item_performance_api_v1_douyin_creator_v2_fetch_item_analysis_item_performance_post`
468
+
469
+ #### Notes
470
+
471
+ > # [中文]
472
+ > ### 用途:
473
+ > - 获取投稿作品的表现数据,包括播放量、点赞量、评论量、分享量等指标
474
+ > - 分析不同体裁和垂类的内容表现
475
+ > - **此接口需要用户提供有效的抖音创作者平台Cookie**
476
+ > - **使用 POST 方法,Cookie 在请求体中传输,更安全**
477
+ > - **建议先调用 fetch_item_analysis_involved_vertical 接口获取垂类标签**
478
+ >
479
+ > ### 请求体参数:
480
+ > - cookie: 用户的抖音创作者平台Cookie(必填,在请求体中传输)
481
+ > - start_date: 开始日期,格式YYYYMMDD(必填)
482
+ > - end_date: 结束日期,格式YYYYMMDD(必填)
483
+ > - genres: 体裁类型列表(可选,默认包含所有体裁)
484
+ > - 1: 1分钟以内视频
485
+ > - 2: 1-3分钟视频
486
+ > - 3: 3-5分钟视频
487
+ > - 4: 5分钟以上视频
488
+ > - 5: 图文
489
+ > - 8: 长图文
490
+ > - primary_verticals: 垂类标签列表(必填,从 fetch_item_analysis_involved_vertical 接口获取)
491
+ > - metric_type: 指标类型(可选,默认为1)
492
+ > - 1: 播放量 (Views)
493
+ > - 2: 点赞量 (Likes)
494
+ > - 3: 评论量 (Comments)
495
+ > - 4: 分享量 (Shares)
496
+ > - **注意:日期范围最多90天**
497
+ >
498
+ > ### 返回数据说明:
499
+ > - 包含所选指标在不同体裁和垂类下的表现数据
500
+ > - 趋势分析、对比数据等
501
+ > - 帮助了解内容在各个维度的表现
502
+ >
503
+ > ### Cookie 获取方式:
504
+ > 1. 登录抖音创作者平台 (https://creator.douyin.com)
505
+ > 2. 打开浏览器开发者工具(F12)
506
+ > 3. 切换到 Network 标签
507
+ > 4. 刷新页面或进行操作
508
+ > 5. 找到任意请求,复制 Cookie 请求头的值
509
+ >
510
+ > # [English]
511
+ > ### Purpose:
512
+ > - Get performance data for submitted items, including views, likes, comments, shares, etc.
513
+ > - Analyze content performance across different genres and verticals
514
+ > - **This API requires users to provide valid Douyin Creator Platform Cookie**
515
+ > - **Use POST method, Cookie is transmitted in request body, more secure**
516
+ > - **Recommend calling fetch_item_analysis_involved_vertical first to get vertical tags**
517
+ >
518
+ > ### Request Body Parameters:
519
+ > - cookie: User's Douyin Creator Platform Cookie (required, transmitted in request body)
520
+ > - start_date: Start date in YYYYMMDD format (required)
521
+ > - end_date: End date in YYYYMMDD format (required)
522
+ > - genres: Genre type list (optional, defaults to all genres)
523
+ > - 1: Videos under 1 minute
524
+ > - 2: 1-3 minute videos
525
+ > - 3: 3-5 minute videos
526
+ > - 4: Videos over 5 minutes
527
+ > - 5: Photo posts
528
+ > - 8: Long photo posts
529
+ > - primary_verticals: Vertical tag list (required, obtained from fetch_item_analysis_involved_vertical)
530
+ > - metric_type: Metric type (optional, defaults to 1)
531
+ > - 1: Views
532
+ > - 2: Likes
533
+ > - 3: Comments
534
+ > - 4: Shares
535
+ > - **Note: Date range maximum 90 days**
536
+ >
537
+ > ### Return Data Description:
538
+ > - Contains performance data for selected metrics across different genres and verticals
539
+ > - Trend analysis and comparison data
540
+ > - Helps understand content performance across various dimensions
541
+ >
542
+ > ### How to get Cookie:
543
+ > 1. Login to Douyin Creator Platform (https://creator.douyin.com)
544
+ > 2. Open browser developer tools (F12)
545
+ > 3. Switch to Network tab
546
+ > 4. Refresh page or perform operations
547
+ > 5. Find any request and copy the Cookie header value
548
+ >
549
+ > # [示例/Example]
550
+ > ```json
551
+ > {
552
+ > "cookie": "Your_Cookie_Here",
553
+ > "start_date": "20250713",
554
+ > "end_date": "20251011",
555
+ > "genres": [2, 3, 4, 5, 8],
556
+ > "primary_verticals": ["动物"],
557
+ > "metric_type": 1
558
+ > }
559
+ > ```
560
+ >
561
+ > ### 指标类型说明/Metric Type Description:
562
+ > - **metric_type=1 (播放量/Views)**: 查看作品的播放量表现
563
+ > - **metric_type=2 (点赞量/Likes)**: 查看作品的点赞量表现
564
+ > - **metric_type=3 (评论量/Comments)**: 查看作品的评论量表现
565
+ > - **metric_type=4 (分享量/Shares)**: 查看作品的分享量表现
566
+ >
567
+ > ### 体裁类型说明/Genre Type Description:
568
+ > - **1**: 1分钟以内视频(短视频)- 快速吸引注意力
569
+ > - **2**: 1-3分钟视频(中短视频)- 平衡内容与时长
570
+ > - **3**: 3-5分钟视频(中视频)- 深度内容展示
571
+ > - **4**: 5分钟以上视频(长视频)- 完整故事叙述
572
+ > - **5**: 图文(图片+文字)- 静态内容展示
573
+ > - **8**: 长图文(多图片+长文字)- 深度图文内容
574
+ >
575
+ > ### 使用流程/Usage Flow:
576
+ > 1. 先调用 `fetch_item_analysis_involved_vertical` 获取垂类标签
577
+ > 2. 使用返回的 primary_verticals 作为参数
578
+ > 3. 选择需要分析的指标类型 (metric_type)
579
+ > 4. 调用本接口获取投稿表现数据
580
+ > 5. 分析不同体裁和垂类的表现差异
581
+ >
582
+ > ### 数据解读/Data Interpretation:
583
+ > - **播放量 (metric_type=1)**: 反映内容的曝光度和吸引力
584
+ > - **点赞量 (metric_type=2)**: 反映内容的质量和受欢迎程度
585
+ > - **评论量 (metric_type=3)**: 反映内容的互动性和话题性
586
+ > - **分享量 (metric_type=4)**: 反映内容的传播力和价值
587
+ >
588
+ > ### 优化建议/Optimization Suggestions:
589
+ > 1. **播放量优化**:
590
+ > - 优化标题和封面,提高点击率
591
+ > - 选择合适的发布时间
592
+ > - 利用热门话题和标签
593
+ >
594
+ > 2. **点赞量优化**:
595
+ > - 提升内容质量,引发共鸣
596
+ > - 在视频中引导点赞
597
+ > - 创作有价值、有趣的内容
598
+ >
599
+ > 3. **评论量优化**:
600
+ > - 设置互动话题,引导评论
601
+ > - 在评论区积极回复
602
+ > - 创作有争议或讨论性的内容
603
+ >
604
+ > 4. **分享量优化**:
605
+ > - 创作有价值、实用的内容
606
+ > - 制作有趣、有共鸣的内容
607
+ > - 适当加入情感元素
608
+ >
609
+ > 5. **体裁选择**:
610
+ > - 根据不同指标表现选择合适的体裁
611
+ > - 短视频适合快速传播
612
+ > - 中长视频适合深度内容
613
+ > - 图文适合知识分享
614
+ >
615
+ > 6. **垂类聚焦**:
616
+ > - 专注于表现好的垂类
617
+ > - 分析垂类特点和受众偏好
618
+ > - 持续优化内容方向
619
+ >
620
+ > ### 注意事项/Notes:
621
+ > - 日期格式必须为YYYYMMDD(8位数字)
622
+ > - 时间跨度不能超过90天
623
+ > - primary_verticals参数必须从 fetch_item_analysis_involved_vertical 接口获取
624
+ > - 如果时间范围内无投稿,可能返回空数据
625
+ > - genres参数可以自由组合,按需筛选体裁
626
+ > - 不同metric_type展示不同维度的表现数据
627
+ > - 建议结合多个指标综合分析内容表现
628
+ > - 数据分析建议至少有7天以上的投稿数据
629
+
630
+ #### Parameters
631
+
632
+ None
633
+
634
+ #### Request Body
635
+
636
+ - required: Yes
637
+
638
+ ##### `application/json`
639
+
640
+ - Schema summary: `cookie*`:string, `start_date*`:string, `end_date*`:string, `genres`[integer], `primary_verticals*`[string], `metric_type`:integer
641
+
642
+ | Field | Type | Required | Description | Default | Example | Enum |
643
+ | --- | --- | --- | --- | --- | --- | --- |
644
+ | cookie | string | Yes | 用户Cookie/User Cookie | None | Your_Cookie_Here | None |
645
+ | start_date | string | Yes | 开始日期(格式YYYYMMDD)/Start date (format YYYYMMDD) | None | 20250713 | None |
646
+ | end_date | string | Yes | 结束日期(格式YYYYMMDD)/End date (format YYYYMMDD) | None | 20251011 | None |
647
+ | genres | array<integer> | No | 体裁类型列表/Genres list: 1=1min以内视频, 2=1-3min视频, 3=3-5min视频, 4=5min+视频, 5=图文, 8=长图文 | [1, 2, 3, 4, 5, 8] | [2, 3, 4, 5, 8] | None |
648
+ | primary_verticals | array<string> | Yes | 垂类标签列表/Primary verticals list (从involved_vertical接口获取) | None | ["动物"] | None |
649
+ | metric_type | integer | No | 指标类型/Metric type: 1=播放量(Views), 2=点赞量(Likes), 3=评论量(Comments), 4=分享量(Shares) | 1 | 1 | None |
650
+
651
+ #### Success Response
652
+
653
+ ##### `200 application/json`
654
+
655
+ - Schema summary: `code`:integer, `request_id`:string, `message`:string, `message_zh`:string, `support`:string, `time`:string, `time_stamp`:integer, `time_zone`:string, ...
656
+
657
+ | Field | Type | Required | Description | Default | Example | Enum |
658
+ | --- | --- | --- | --- | --- | --- | --- |
659
+ | code | integer | No | HTTP status code \| HTTP状态码 | 200 | None | None |
660
+ | request_id | string | No | Unique request identifier \| 唯一请求标识符 | None | None | None |
661
+ | message | string | No | Response message (EN-US) \| 响应消息 (English) | Request successful. This request will incur a charge. | None | None |
662
+ | message_zh | string | No | Response message (ZH-CN) \| 响应消息 (中文) | 请求成功,本次请求将被计费。 | None | None |
663
+ | support | string | No | Support message \| 支持消息 | Discord: https://discord.gg/aMEAS8Xsvz | None | None |
664
+ | time | string | No | The time the response was generated \| 生成响应的时间 | None | None | None |
665
+ | time_stamp | integer | No | The timestamp the response was generated \| 生成响应的时间戳 | None | None | None |
666
+ | time_zone | string | No | The timezone of the response time \| 响应时间的时区 | America/Los_Angeles | None | None |
667
+ | docs | string | No | Link to the API Swagger documentation for this endpoint \| 此端点的 API Swagger 文档链接 | None | None | None |
668
+ | 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 |
669
+ | cache_message_zh | string | No | Cache message (ZH-CN) \| 缓存消息 (中文) | 本次请求将被缓存,你可以使用下面的 URL 直接访问缓存结果,有效期为 24 小时,访问缓存不会产生额外费用。 | None | None |
670
+ | cache_url | string | No | The URL to access the cached result \| 访问缓存结果的 URL | None | None | None |
671
+ | router | string | No | The endpoint that generated this response \| 生成此响应的端点 | None | None | None |
672
+ | params | dynamic object | No | The parameters used in the request \| 请求中使用的参数 | None | None | None |
673
+ | data | null | No | The response data \| 响应数据 | None | None | None |
674
+
675
+ <a id="post-api-u1-v1-douyin-creator-v2-fetch-item-analysis-overview"></a>
676
+ ### `POST /api/u1/v1/douyin/creator_v2/fetch_item_analysis_overview`
677
+
678
+ - Summary: 获取投稿分析概览/Fetch item analysis overview
679
+ - Capabilities: creators
680
+ - Auth: Header `Authorization: Bearer {token}`; docs also allow Cookie `Authorization` as fallback (`HTTPBearer`)
681
+ - operationId: `fetch_item_analysis_overview_api_v1_douyin_creator_v2_fetch_item_analysis_overview_post`
682
+
683
+ #### Notes
684
+
685
+ > # [中文]
686
+ > ### 用途:
687
+ > - 获取账号投稿作品的综合分析数据
688
+ > - 包括不同体裁、垂类的投稿表现统计
689
+ > - **此接口需要用户提供有效的抖音创作者平台Cookie**
690
+ > - **使用 POST 方法,Cookie 在请求体中传输,更安全**
691
+ > - **建议先调用 fetch_item_analysis_involved_vertical 接口获取垂类标签**
692
+ >
693
+ > ### 请求体参数:
694
+ > - cookie: 用户的抖音创作者平台Cookie(必填,在请求体中传输)
695
+ > - start_date: 开始日期,格式YYYYMMDD(必填)
696
+ > - end_date: 结束日期,格式YYYYMMDD(必填)
697
+ > - genres: 体裁类型列表(可选,默认包含所有体裁)
698
+ > - 1: 1分钟以内视频
699
+ > - 2: 1-3分钟视频
700
+ > - 3: 3-5分钟视频
701
+ > - 4: 5分钟以上视频
702
+ > - 5: 图文
703
+ > - 8: 长图文
704
+ > - primary_verticals: 垂类标签列表(必填,从 fetch_item_analysis_involved_vertical 接口获取)
705
+ > - **注意:日期范围最多90天**
706
+ >
707
+ > ### 返回数据说明:
708
+ > - 包含不同体裁和垂类的投稿数据分析
709
+ > - 播放量、点赞量、评论量、分享量等指标
710
+ > - 不同体裁的内容表现对比
711
+ >
712
+ > ### Cookie 获取方式:
713
+ > 1. 登录抖音创作者平台 (https://creator.douyin.com)
714
+ > 2. 打开浏览器开发者工具(F12)
715
+ > 3. 切换到 Network 标签
716
+ > 4. 刷新页面或进行操作
717
+ > 5. 找到任意请求,复制 Cookie 请求头的值
718
+ >
719
+ > # [English]
720
+ > ### Purpose:
721
+ > - Get comprehensive analysis data for account submitted items
722
+ > - Including submission performance statistics for different genres and verticals
723
+ > - **This API requires users to provide valid Douyin Creator Platform Cookie**
724
+ > - **Use POST method, Cookie is transmitted in request body, more secure**
725
+ > - **Recommend calling fetch_item_analysis_involved_vertical first to get vertical tags**
726
+ >
727
+ > ### Request Body Parameters:
728
+ > - cookie: User's Douyin Creator Platform Cookie (required, transmitted in request body)
729
+ > - start_date: Start date in YYYYMMDD format (required)
730
+ > - end_date: End date in YYYYMMDD format (required)
731
+ > - genres: Genre type list (optional, defaults to all genres)
732
+ > - 1: Videos under 1 minute
733
+ > - 2: 1-3 minute videos
734
+ > - 3: 3-5 minute videos
735
+ > - 4: Videos over 5 minutes
736
+ > - 5: Photo posts
737
+ > - 8: Long photo posts
738
+ > - primary_verticals: Vertical tag list (required, obtained from fetch_item_analysis_involved_vertical)
739
+ > - **Note: Date range maximum 90 days**
740
+ >
741
+ > ### Return Data Description:
742
+ > - Contains submission data analysis for different genres and verticals
743
+ > - Metrics including views, likes, comments, shares, etc.
744
+ > - Performance comparison of different genres
745
+ >
746
+ > ### How to get Cookie:
747
+ > 1. Login to Douyin Creator Platform (https://creator.douyin.com)
748
+ > 2. Open browser developer tools (F12)
749
+ > 3. Switch to Network tab
750
+ > 4. Refresh page or perform operations
751
+ > 5. Find any request and copy the Cookie header value
752
+ >
753
+ > # [示例/Example]
754
+ > ```json
755
+ > {
756
+ > "cookie": "Your_Cookie_Here",
757
+ > "start_date": "20250713",
758
+ > "end_date": "20251011",
759
+ > "genres": [1, 2, 3, 4, 5, 8],
760
+ > "primary_verticals": ["动物"]
761
+ > }
762
+ > ```
763
+ >
764
+ > ### 体裁类型说明/Genre Type Description:
765
+ > - **1**: 1分钟以内视频(短视频)
766
+ > - **2**: 1-3分钟视频(中短视频)
767
+ > - **3**: 3-5分钟视频(中视频)
768
+ > - **4**: 5分钟以上视频(长视频)
769
+ > - **5**: 图文(图片+文字)
770
+ > - **8**: 长图文(多图片+长文字)
771
+ >
772
+ > ### 使用流程/Usage Flow:
773
+ > 1. 先调用 `fetch_item_analysis_involved_vertical` 获取垂类标签
774
+ > 2. 使用返回的 primary_verticals 作为参数
775
+ > 3. 调用本接口获取投稿分析数据
776
+ > 4. 分析不同体裁和垂类的表现
777
+ >
778
+ > ### 数据解读/Data Interpretation:
779
+ > - 可以看到不同体裁内容的表现差异
780
+ > - 了解哪种体裁更受欢迎
781
+ > - 分析垂类内容的表现趋势
782
+ > - 优化内容创作方向
783
+ >
784
+ > ### 优化建议/Optimization Suggestions:
785
+ > 1. **体裁优化**: 根据数据选择表现更好的体裁类型
786
+ > 2. **内容时长**: 分析观众偏好的视频时长
787
+ > 3. **垂类聚焦**: 专注于表现好的垂类领域
788
+ > 4. **内容多样化**: 尝试不同体裁和垂类的组合
789
+ > 5. **发布策略**: 根据不同体裁的表现调整发布频率
790
+ >
791
+ > ### 注意事项/Notes:
792
+ > - 日期格式必须为YYYYMMDD(8位数字)
793
+ > - 时间跨度不能超过90天
794
+ > - primary_verticals参数必须从 fetch_item_analysis_involved_vertical 接口获取
795
+ > - 如果时间范围内无投稿,可能返回空数据
796
+ > - genres参数可以自由组合,按需筛选体裁
797
+ > - 数据分析建议至少有7天以上的投稿数据
798
+
799
+ #### Parameters
800
+
801
+ None
802
+
803
+ #### Request Body
804
+
805
+ - required: Yes
806
+
807
+ ##### `application/json`
808
+
809
+ - Schema summary: `cookie*`:string, `start_date*`:string, `end_date*`:string, `genres`[integer], `primary_verticals*`[string]
810
+
811
+ | Field | Type | Required | Description | Default | Example | Enum |
812
+ | --- | --- | --- | --- | --- | --- | --- |
813
+ | cookie | string | Yes | 用户Cookie/User Cookie | None | Your_Cookie_Here | None |
814
+ | start_date | string | Yes | 开始日期(格式YYYYMMDD)/Start date (format YYYYMMDD) | None | 20250713 | None |
815
+ | end_date | string | Yes | 结束日期(格式YYYYMMDD)/End date (format YYYYMMDD) | None | 20251011 | None |
816
+ | genres | array<integer> | No | 体裁类型列表/Genres list: 1=1min以内视频, 2=1-3min视频, 3=3-5min视频, 4=5min+视频, 5=图文, 8=长图文 | [1, 2, 3, 4, 5, 8] | [1, 2, 3, 4, 5, 8] | None |
817
+ | primary_verticals | array<string> | Yes | 垂类标签列表/Primary verticals list (从involved_vertical接口获取) | None | ["动物"] | None |
818
+
819
+ #### Success Response
820
+
821
+ ##### `200 application/json`
822
+
823
+ - Schema summary: `code`:integer, `request_id`:string, `message`:string, `message_zh`:string, `support`:string, `time`:string, `time_stamp`:integer, `time_zone`:string, ...
824
+
825
+ | Field | Type | Required | Description | Default | Example | Enum |
826
+ | --- | --- | --- | --- | --- | --- | --- |
827
+ | code | integer | No | HTTP status code \| HTTP状态码 | 200 | None | None |
828
+ | request_id | string | No | Unique request identifier \| 唯一请求标识符 | None | None | None |
829
+ | message | string | No | Response message (EN-US) \| 响应消息 (English) | Request successful. This request will incur a charge. | None | None |
830
+ | message_zh | string | No | Response message (ZH-CN) \| 响应消息 (中文) | 请求成功,本次请求将被计费。 | None | None |
831
+ | support | string | No | Support message \| 支持消息 | Discord: https://discord.gg/aMEAS8Xsvz | None | None |
832
+ | time | string | No | The time the response was generated \| 生成响应的时间 | None | None | None |
833
+ | time_stamp | integer | No | The timestamp the response was generated \| 生成响应的时间戳 | None | None | None |
834
+ | time_zone | string | No | The timezone of the response time \| 响应时间的时区 | America/Los_Angeles | None | None |
835
+ | docs | string | No | Link to the API Swagger documentation for this endpoint \| 此端点的 API Swagger 文档链接 | None | None | None |
836
+ | 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 |
837
+ | cache_message_zh | string | No | Cache message (ZH-CN) \| 缓存消息 (中文) | 本次请求将被缓存,你可以使用下面的 URL 直接访问缓存结果,有效期为 24 小时,访问缓存不会产生额外费用。 | None | None |
838
+ | cache_url | string | No | The URL to access the cached result \| 访问缓存结果的 URL | None | None | None |
839
+ | router | string | No | The endpoint that generated this response \| 生成此响应的端点 | None | None | None |
840
+ | params | dynamic object | No | The parameters used in the request \| 请求中使用的参数 | None | None | None |
841
+ | data | null | No | The response data \| 响应数据 | None | None | None |
842
+
843
+ <a id="post-api-u1-v1-douyin-creator-v2-fetch-item-audience-others"></a>
844
+ ### `POST /api/u1/v1/douyin/creator_v2/fetch_item_audience_others`
845
+
846
+ - Summary: 获取作品观众其他数据分析/Fetch item audience others analysis
847
+ - Capabilities: creators
848
+ - Auth: Header `Authorization: Bearer {token}`; docs also allow Cookie `Authorization` as fallback (`HTTPBearer`)
849
+ - operationId: `fetch_item_audience_others_api_v1_douyin_creator_v2_fetch_item_audience_others_post`
850
+
851
+ #### Notes
852
+
853
+ > # [中文]
854
+ > ### 用途:
855
+ > - 获取抖音作品的观众其他数据分析,包括受众分布和受众关注词
856
+ > - 了解观众是否为粉丝,以及观众关注的兴趣话题
857
+ > - **此接口需要用户提供有效的抖音创作者平台Cookie**
858
+ > - **使用 POST 方法,Cookie 在请求体中传输,更安全**
859
+ >
860
+ > ### 请求体参数:
861
+ > - cookie: 用户的抖音创作者平台Cookie(必填,在请求体中传输)
862
+ > - item_id: 作品ID(必填)
863
+ >
864
+ > ### 返回数据说明:
865
+ > - **audience_distribution (受众分布)**:
866
+ > - fan_list: 粉丝占比列表
867
+ > - key: "1"=粉丝, "0"=非粉丝
868
+ > - value: 占比(0-1之间的小数)
869
+ >
870
+ > - **audience_keyword (受众关注词)**:
871
+ > - keyword_list: 观众关注的话题/关键词列表
872
+ > - keyword: 关键词内容
873
+ > - value: 该关键词的关注度占比
874
+ >
875
+ > ### Cookie 获取方式:
876
+ > 1. 登录抖音创作者平台 (https://creator.douyin.com)
877
+ > 2. 打开浏览器开发者工具(F12)
878
+ > 3. 切换到 Network 标签
879
+ > 4. 刷新页面或进行操作
880
+ > 5. 找到任意请求,复制 Cookie 请求头的值
881
+ >
882
+ > # [English]
883
+ > ### Purpose:
884
+ > - Get Douyin item audience other data analysis, including audience distribution and audience keywords
885
+ > - Understand whether the audience are fans and what topics they are interested in
886
+ > - **This API requires users to provide valid Douyin Creator Platform Cookie**
887
+ > - **Use POST method, Cookie is transmitted in request body, more secure**
888
+ >
889
+ > ### Request Body Parameters:
890
+ > - cookie: User's Douyin Creator Platform Cookie (required, transmitted in request body)
891
+ > - item_id: Item ID (required)
892
+ >
893
+ > ### Return Data Description:
894
+ > - **audience_distribution (Audience Distribution)**:
895
+ > - fan_list: Fan proportion list
896
+ > - key: "1"=Fan, "0"=Non-fan
897
+ > - value: Proportion (decimal between 0-1)
898
+ >
899
+ > - **audience_keyword (Audience Keywords)**:
900
+ > - keyword_list: List of topics/keywords that audiences are interested in
901
+ > - keyword: Keyword content
902
+ > - value: Interest proportion for this keyword
903
+ >
904
+ > ### How to get Cookie:
905
+ > 1. Login to Douyin Creator Platform (https://creator.douyin.com)
906
+ > 2. Open browser developer tools (F12)
907
+ > 3. Switch to Network tab
908
+ > 4. Refresh page or perform operations
909
+ > 5. Find any request and copy the Cookie header value
910
+ >
911
+ > # [示例/Example]
912
+ > ```json
913
+ > {
914
+ > "cookie": "Your_Cookie_Here",
915
+ > "item_id": "7559536212910853422"
916
+ > }
917
+ > ```
918
+ >
919
+ > ### 返回数据示例/Response Example:
920
+ > ```json
921
+ > {
922
+ > "audience_distribution": {
923
+ > "fan_list": [
924
+ > {
925
+ > "key": "1",
926
+ > "value": 0.156
927
+ > },
928
+ > {
929
+ > "key": "0",
930
+ > "value": 0.844
931
+ > }
932
+ > ]
933
+ > },
934
+ > "audience_keyword": {
935
+ > "keyword_list": [
936
+ > {
937
+ > "keyword": "美食",
938
+ > "value": 0.35
939
+ > },
940
+ > {
941
+ > "keyword": "旅游",
942
+ > "value": 0.28
943
+ > },
944
+ > {
945
+ > "keyword": "生活",
946
+ > "value": 0.22
947
+ > },
948
+ > {
949
+ > "keyword": "娱乐",
950
+ > "value": 0.15
951
+ > }
952
+ > ]
953
+ > },
954
+ > "status_code": 0,
955
+ > "status_msg": ""
956
+ > }
957
+ > ```
958
+ >
959
+ > ### 数据解读/Data Interpretation:
960
+ >
961
+ > **受众分布 (audience_distribution)**:
962
+ > - key="1": 表示粉丝,value=0.156 表示15.6%的观众是已关注的粉丝
963
+ > - key="0": 表示非粉丝,value=0.844 表示84.4%的观众是未关注的路人
964
+ > - 粉丝占比高说明内容对现有粉丝吸引力强
965
+ > - 非粉丝占比高说明作品破圈能力强,吸引了很多新观众
966
+ >
967
+ > **受众关注词 (audience_keyword)**:
968
+ > - keyword_list展示观众群体关注的其他话题
969
+ > - 可以了解观众的兴趣偏好,用于内容规划
970
+ > - 示例中观众主要关注"美食"(35%)、"旅游"(28%)等话题
971
+ > - 可以结合这些关键词创作相关内容,提高吸引力
972
+ >
973
+ > ### 优化建议/Optimization Suggestions:
974
+ > 1. **粉丝维护**: 如果粉丝占比高(>30%),说明内容符合粉丝预期,继续保持风格
975
+ > 2. **破圈拓展**: 如果非粉丝占比高(>80%),说明内容有爆款潜力,可加大推广
976
+ > 3. **内容规划**: 根据audience_keyword规划相关主题内容,覆盖观众兴趣点
977
+ > 4. **跨界合作**: 结合高占比关键词,进行跨领域内容创作
978
+ > 5. **粉丝转化**: 对于非粉丝占比高的爆款作品,在评论区引导关注
979
+ > 6. **兴趣匹配**: 关注观众兴趣词与作品内容的匹配度,调整内容方向
980
+ > 7. **话题借势**: 利用观众关注的热门话题,制作相关内容蹭热度
981
+ > 8. **受众画像**: 结合关注词描绘完整的受众兴趣画像
982
+ >
983
+ > ### 注意事项/Notes:
984
+ > - 观众数据需要一定播放量才准确,建议作品有1000+播放后查看
985
+ > - 数据可能有延迟,通常在作品发布24-48小时后更新
986
+ > - 粉丝占比与作品是否爆款无关,重点看内容质量和推广效果
987
+ > - 受众关注词反映的是观众整体兴趣,不一定与当前作品主题相关
988
+ > - 如果返回空列表,说明该作品目前暂无足够数据
989
+ > - 结合其他数据(如观众画像)综合分析效果更好
990
+
991
+ #### Parameters
992
+
993
+ None
994
+
995
+ #### Request Body
996
+
997
+ - required: Yes
998
+
999
+ ##### `application/json`
1000
+
1001
+ - Schema summary: `cookie*`:string, `item_id*`:string
1002
+
1003
+ | Field | Type | Required | Description | Default | Example | Enum |
1004
+ | --- | --- | --- | --- | --- | --- | --- |
1005
+ | cookie | string | Yes | 用户Cookie/User Cookie | None | Your_Cookie_Here | None |
1006
+ | item_id | string | Yes | 作品ID/Item ID | None | 7559536212910853422 | None |
1007
+
1008
+ #### Success Response
1009
+
1010
+ ##### `200 application/json`
1011
+
1012
+ - Schema summary: `code`:integer, `request_id`:string, `message`:string, `message_zh`:string, `support`:string, `time`:string, `time_stamp`:integer, `time_zone`:string, ...
1013
+
1014
+ | Field | Type | Required | Description | Default | Example | Enum |
1015
+ | --- | --- | --- | --- | --- | --- | --- |
1016
+ | code | integer | No | HTTP status code \| HTTP状态码 | 200 | None | None |
1017
+ | request_id | string | No | Unique request identifier \| 唯一请求标识符 | None | None | None |
1018
+ | message | string | No | Response message (EN-US) \| 响应消息 (English) | Request successful. This request will incur a charge. | None | None |
1019
+ | message_zh | string | No | Response message (ZH-CN) \| 响应消息 (中文) | 请求成功,本次请求将被计费。 | None | None |
1020
+ | support | string | No | Support message \| 支持消息 | Discord: https://discord.gg/aMEAS8Xsvz | None | None |
1021
+ | time | string | No | The time the response was generated \| 生成响应的时间 | None | None | None |
1022
+ | time_stamp | integer | No | The timestamp the response was generated \| 生成响应的时间戳 | None | None | None |
1023
+ | time_zone | string | No | The timezone of the response time \| 响应时间的时区 | America/Los_Angeles | None | None |
1024
+ | docs | string | No | Link to the API Swagger documentation for this endpoint \| 此端点的 API Swagger 文档链接 | None | None | None |
1025
+ | 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 |
1026
+ | cache_message_zh | string | No | Cache message (ZH-CN) \| 缓存消息 (中文) | 本次请求将被缓存,你可以使用下面的 URL 直接访问缓存结果,有效期为 24 小时,访问缓存不会产生额外费用。 | None | None |
1027
+ | cache_url | string | No | The URL to access the cached result \| 访问缓存结果的 URL | None | None | None |
1028
+ | router | string | No | The endpoint that generated this response \| 生成此响应的端点 | None | None | None |
1029
+ | params | dynamic object | No | The parameters used in the request \| 请求中使用的参数 | None | None | None |
1030
+ | data | null | No | The response data \| 响应数据 | None | None | None |
1031
+
1032
+ <a id="post-api-u1-v1-douyin-creator-v2-fetch-item-audience-portrait"></a>
1033
+ ### `POST /api/u1/v1/douyin/creator_v2/fetch_item_audience_portrait`
1034
+
1035
+ - Summary: 获取作品观众数据分析/Fetch item audience portrait
1036
+ - Capabilities: creators
1037
+ - Auth: Header `Authorization: Bearer {token}`; docs also allow Cookie `Authorization` as fallback (`HTTPBearer`)
1038
+ - operationId: `fetch_item_audience_portrait_api_v1_douyin_creator_v2_fetch_item_audience_portrait_post`
1039
+
1040
+ #### Notes
1041
+
1042
+ > # [中文]
1043
+ > ### 用途:
1044
+ > - 获取抖音作品的观众数据分析
1045
+ > - 了解观看作品的用户画像特征
1046
+ > - 包含活跃分布、性别分布、地域分布、年龄分布等多维度数据
1047
+ > - 帮助创作者精准定位目标受众,优化内容策略
1048
+ > - **此接口需要用户提供有效的抖音创作者平台Cookie**
1049
+ > - **使用 POST 方法,Cookie 在请求体中传输,更安全**
1050
+ >
1051
+ > ### 请求体参数:
1052
+ > - cookie: 用户的抖音创作者平台Cookie(必填,在请求体中传输)
1053
+ > - item_id: 作品ID(必填)
1054
+ >
1055
+ > ### 返回数据说明:
1056
+ > 返回作品的观众画像数据,包括以下维度:
1057
+ >
1058
+ > **1. 活跃分布 (active)**:
1059
+ > - key: 活跃时段标识("2"=上午, "3"=下午, "4"=晚上, "-1"=其他)
1060
+ > - value: 该时段的活跃用户占比(0-1之间的小数)
1061
+ >
1062
+ > **2. 性别分布 (gender)**:
1063
+ > - ratio_list: 性别占比列表
1064
+ > - key: "male"(男性)或 "female"(女性)
1065
+ > - value: 该性别用户占比(0-1之间的小数)
1066
+ > - tgi_list: 性别TGI指数列表(Target Group Index,目标群体指数)
1067
+ > - key: 性别标识
1068
+ > - value: TGI值(100为平均水平,>100表示高于平均)
1069
+ >
1070
+ > **3. 地域分布 (province)**:
1071
+ > - ratio_list: 省份占比列表
1072
+ > - key: 省份名称(如"浙江"、"广东"、"北京")
1073
+ > - value: 该省份用户占比(0-1之间的小数)
1074
+ > - tgi_list: 省份TGI指数列表
1075
+ > - key: 省份名称
1076
+ > - value: TGI值(反映该地区用户的活跃度)
1077
+ >
1078
+ > **4. 年龄分布 (age)**:
1079
+ > - ratio_list: 年龄段占比列表
1080
+ > - key: 年龄段("-18", "18-23", "24-30", "31-40", "41-50", "50-")
1081
+ > - value: 该年龄段用户占比(0-1之间的小数)
1082
+ > - tgi_list: 年龄段TGI指数列表
1083
+ > - key: 年龄段
1084
+ > - value: TGI值(反映该年龄段用户的偏好度)
1085
+ >
1086
+ > **5. 其他维度**:
1087
+ > - career: 职业分布(可能为空)
1088
+ > - city_level: 城市等级分布(包含ratio_list和tgi_list)
1089
+ > - new_user: 新用户占比(可能为空)
1090
+ >
1091
+ > **TGI指数说明**:
1092
+ > - TGI = 100: 该群体表现与平台平均水平一致
1093
+ > - TGI > 100: 该群体在此作品中的占比高于平台平均,是核心受众
1094
+ > - TGI < 100: 该群体在此作品中的占比低于平台平均
1095
+ > - TGI越高,说明该群体对此类内容越感兴趣
1096
+ >
1097
+ > **注意**: 如果某些数据为空或占比为0,可能原因:
1098
+ > - 作品刚发布,样本量不足
1099
+ > - 该维度暂无数据或数据未达到统计阈值
1100
+ > - 某些地区或年龄段的用户较少
1101
+ >
1102
+ > ### 数据价值:
1103
+ > - **精准定位**: 了解核心受众群体特征
1104
+ > - **内容优化**: 根据受众特点调整内容风格和主题
1105
+ > - **发布时机**: 根据活跃时间优化发布时间
1106
+ > - **地域策略**: 针对主要地域用户定制内容
1107
+ > - **年龄适配**: 调整内容深度和表达方式
1108
+ > - **性别偏好**: 理解不同性别用户的内容偏好
1109
+ >
1110
+ > ### 应用场景:
1111
+ > 1. **内容定位**: 根据主要受众群体调整内容方向
1112
+ > 2. **发布优化**: 在目标受众活跃时段发布作品
1113
+ > 3. **地域营销**: 针对主要地域用户进行本地化内容创作
1114
+ > 4. **年龄策略**: 根据年龄分布调整内容复杂度和话题
1115
+ > 5. **性别营销**: 平衡或侧重特定性别受众的内容设计
1116
+ > 6. **受众拓展**: 识别潜力受众群体,扩大影响力
1117
+ >
1118
+ > ### Cookie 获取方式:
1119
+ > 1. 登录抖音创作者平台 (https://creator.douyin.com)
1120
+ > 2. 打开浏览器开发者工具(F12)
1121
+ > 3. 切换到 Network 标签
1122
+ > 4. 刷新页面或进行操作
1123
+ > 5. 找到任意请求,复制 Cookie 请求头的值
1124
+ >
1125
+ > # [English]
1126
+ > ### Purpose:
1127
+ > - Get Douyin item audience portrait data
1128
+ > - Understand viewer demographic characteristics
1129
+ > - Includes active distribution, gender distribution, region distribution, age distribution
1130
+ > - Help creators precisely target audiences and optimize content strategy
1131
+ > - **This API requires users to provide valid Douyin Creator Platform Cookie**
1132
+ > - **Use POST method, Cookie is transmitted in request body, more secure**
1133
+ >
1134
+ > ### Request Body Parameters:
1135
+ > - cookie: User's Douyin Creator Platform Cookie (required, transmitted in request body)
1136
+ > - item_id: Item ID (required)
1137
+ >
1138
+ > ### Return Data Description:
1139
+ > Returns audience portrait data with multiple dimensions:
1140
+ >
1141
+ > **1. Active Distribution (active)**:
1142
+ > - key: Time period identifier ("2"=morning, "3"=afternoon, "4"=evening, "-1"=other)
1143
+ > - value: Active user ratio in this period (decimal between 0-1)
1144
+ >
1145
+ > **2. Gender Distribution (gender)**:
1146
+ > - ratio_list: Gender ratio list
1147
+ > - key: "male" or "female"
1148
+ > - value: Gender user ratio (decimal between 0-1)
1149
+ > - tgi_list: Gender TGI index list (Target Group Index)
1150
+ > - key: Gender identifier
1151
+ > - value: TGI value (100=average, >100=above average)
1152
+ >
1153
+ > **3. Region Distribution (province)**:
1154
+ > - ratio_list: Province ratio list
1155
+ > - key: Province name (e.g., "浙江", "广东", "北京")
1156
+ > - value: Province user ratio (decimal between 0-1)
1157
+ > - tgi_list: Province TGI index list
1158
+ > - key: Province name
1159
+ > - value: TGI value (reflects regional user activity)
1160
+ >
1161
+ > **4. Age Distribution (age)**:
1162
+ > - ratio_list: Age range ratio list
1163
+ > - key: Age range ("-18", "18-23", "24-30", "31-40", "41-50", "50-")
1164
+ > - value: Age range user ratio (decimal between 0-1)
1165
+ > - tgi_list: Age range TGI index list
1166
+ > - key: Age range
1167
+ > - value: TGI value (reflects age group preference)
1168
+ >
1169
+ > **5. Other Dimensions**:
1170
+ > - career: Career distribution (may be empty)
1171
+ > - city_level: City level distribution (contains ratio_list and tgi_list)
1172
+ > - new_user: New user ratio (may be empty)
1173
+ >
1174
+ > **TGI Index Explanation**:
1175
+ > - TGI = 100: Group performance matches platform average
1176
+ > - TGI > 100: Group ratio is higher than platform average, core audience
1177
+ > - TGI < 100: Group ratio is lower than platform average
1178
+ > - Higher TGI indicates greater interest in this content type
1179
+ >
1180
+ > **Note**: If some data is empty or zero, possible reasons:
1181
+ > - Item just published with insufficient sample size
1182
+ > - No data available for this dimension or below statistical threshold
1183
+ > - Few users in certain regions or age groups
1184
+ >
1185
+ > ### Data Value:
1186
+ > - **Precise Targeting**: Understand core audience characteristics
1187
+ > - **Content Optimization**: Adjust content style based on audience traits
1188
+ > - **Publishing Timing**: Optimize publish time based on active periods
1189
+ > - **Regional Strategy**: Customize content for main regional users
1190
+ > - **Age Adaptation**: Adjust content depth and expression
1191
+ > - **Gender Preference**: Understand content preferences by gender
1192
+ >
1193
+ > ### Application Scenarios:
1194
+ > 1. **Content Positioning**: Adjust content direction based on main audience
1195
+ > 2. **Publishing Optimization**: Publish during target audience active hours
1196
+ > 3. **Regional Marketing**: Create localized content for main regions
1197
+ > 4. **Age Strategy**: Adjust content complexity based on age distribution
1198
+ > 5. **Gender Marketing**: Balance or focus on specific gender audiences
1199
+ > 6. **Audience Expansion**: Identify potential audience groups to expand influence
1200
+ >
1201
+ > ### How to get Cookie:
1202
+ > 1. Login to Douyin Creator Platform (https://creator.douyin.com)
1203
+ > 2. Open browser developer tools (F12)
1204
+ > 3. Switch to Network tab
1205
+ > 4. Refresh page or perform operations
1206
+ > 5. Find any request and copy the Cookie header value
1207
+ >
1208
+ > # [示例/Example]
1209
+ > ```json
1210
+ > {
1211
+ > "cookie": "Your_Cookie_Here",
1212
+ > "item_id": "7559536212910853422"
1213
+ > }
1214
+ > ```
1215
+ >
1216
+ > ### 返回数据示例/Response Example:
1217
+ > ```json
1218
+ > {
1219
+ > "active": [
1220
+ > {
1221
+ > "key": "2",
1222
+ > "value": 0.0949367088607595
1223
+ > },
1224
+ > {
1225
+ > "key": "3",
1226
+ > "value": 0.15822784810126583
1227
+ > },
1228
+ > {
1229
+ > "key": "4",
1230
+ > "value": 0.6962025316455697
1231
+ > },
1232
+ > {
1233
+ > "key": "-1",
1234
+ > "value": 0.05063291139240506
1235
+ > }
1236
+ > ],
1237
+ > "gender": {
1238
+ > "ratio_list": [
1239
+ > {
1240
+ > "key": "male",
1241
+ > "value": 0.7612903225806451
1242
+ > },
1243
+ > {
1244
+ > "key": "female",
1245
+ > "value": 0.23870967741935484
1246
+ > }
1247
+ > ],
1248
+ > "tgi_list": [
1249
+ > {
1250
+ > "key": "male",
1251
+ > "value": 135.47066238136884
1252
+ > },
1253
+ > {
1254
+ > "key": "female",
1255
+ > "value": 54.49489346627035
1256
+ > }
1257
+ > ]
1258
+ > },
1259
+ > "province": {
1260
+ > "ratio_list": [
1261
+ > {
1262
+ > "key": "浙江",
1263
+ > "value": 0.24050632911392406
1264
+ > },
1265
+ > {
1266
+ > "key": "江苏",
1267
+ > "value": 0.12025316455696203
1268
+ > },
1269
+ > {
1270
+ > "key": "广东",
1271
+ > "value": 0.0759493670886076
1272
+ > },
1273
+ > {
1274
+ > "key": "湖北",
1275
+ > "value": 0.06329113924050633
1276
+ > }
1277
+ > ],
1278
+ > "tgi_list": [
1279
+ > {
1280
+ > "key": "浙江",
1281
+ > "value": 379.3041755346526
1282
+ > },
1283
+ > {
1284
+ > "key": "江苏",
1285
+ > "value": 169.70798949761055
1286
+ > },
1287
+ > {
1288
+ > "key": "广东",
1289
+ > "value": 70.0324843724158
1290
+ > },
1291
+ > {
1292
+ > "key": "湖北",
1293
+ > "value": 164.36825973059874
1294
+ > }
1295
+ > ]
1296
+ > },
1297
+ > "age": {
1298
+ > "ratio_list": [
1299
+ > {
1300
+ > "key": "18-23",
1301
+ > "value": 0.3548387096774194
1302
+ > },
1303
+ > {
1304
+ > "key": "-18",
1305
+ > "value": 0.1935483870967742
1306
+ > },
1307
+ > {
1308
+ > "key": "31-40",
1309
+ > "value": 0.14838709677419354
1310
+ > },
1311
+ > {
1312
+ > "key": "50-",
1313
+ > "value": 0.11612903225806452
1314
+ > },
1315
+ > {
1316
+ > "key": "41-50",
1317
+ > "value": 0.10967741935483871
1318
+ > },
1319
+ > {
1320
+ > "key": "24-30",
1321
+ > "value": 0.07741935483870968
1322
+ > }
1323
+ > ],
1324
+ > "tgi_list": [
1325
+ > {
1326
+ > "key": "-18",
1327
+ > "value": 563.217280988937
1328
+ > },
1329
+ > {
1330
+ > "key": "18-23",
1331
+ > "value": 191.33476395324902
1332
+ > },
1333
+ > {
1334
+ > "key": "50-",
1335
+ > "value": 80.07137972518639
1336
+ > },
1337
+ > {
1338
+ > "key": "41-50",
1339
+ > "value": 73.75840394976595
1340
+ > },
1341
+ > {
1342
+ > "key": "31-40",
1343
+ > "value": 49.79826524888418
1344
+ > },
1345
+ > {
1346
+ > "key": "24-30",
1347
+ > "value": 41.07687409864829
1348
+ > }
1349
+ > ]
1350
+ > },
1351
+ > "career": [],
1352
+ > "city_level": {
1353
+ > "ratio_list": [],
1354
+ > "tgi_list": []
1355
+ > },
1356
+ > "new_user": [],
1357
+ > "status_code": 0,
1358
+ > "status_msg": ""
1359
+ > }
1360
+ > ```
1361
+ >
1362
+ > ### 数据解读/Data Interpretation:
1363
+ > **活跃分布 (active)**:
1364
+ > - key="2": 上午时段(通常指6:00-12:00)
1365
+ > - key="3": 下午时段(通常指12:00-18:00)
1366
+ > - key="4": 晚上时段(通常指18:00-24:00)
1367
+ > - key="-1": 其他时段或未分类
1368
+ > - value值越高,说明该时段观众越多
1369
+ > - 示例中晚上时段(key="4")占比69.6%,是主要观看时段
1370
+ >
1371
+ > **性别分布 (gender)**:
1372
+ > - ratio_list显示实际性别占比
1373
+ > - tgi_list显示性别偏好度(TGI>100表示该性别用户偏好此内容)
1374
+ > - 示例中男性占比76.1%,TGI为135.5,说明男性用户是核心受众
1375
+ > - 女性TGI仅54.5,低于平均水平,可考虑优化以吸引女性用户
1376
+ >
1377
+ > **地域分布 (province)**:
1378
+ > - ratio_list显示各省份用户占比
1379
+ > - tgi_list显示地域偏好度
1380
+ > - 示例中浙江占比24%,TGI高达379,说明浙江用户特别喜欢此类内容
1381
+ > - 江苏、湖北的TGI也较高(>160),是重点地域
1382
+ > - 可针对高TGI地域制作本地化内容
1383
+ >
1384
+ > **年龄分布 (age)**:
1385
+ > - "-18": 18岁以下,TGI高达563,说明未成年用户特别喜欢
1386
+ > - "18-23": 18-23岁,占比35.5%,TGI为191,是主力受众
1387
+ > - "24-30": 24-30岁,TGI仅41,低于平均水平
1388
+ > - "31-40", "41-50", "50-": 中老年用户占比和TGI都较低
1389
+ > - 此作品明显偏向年轻化受众
1390
+ >
1391
+ > **TGI指数应用**:
1392
+ > - TGI>150: 高度偏好,是核心目标群体
1393
+ > - TGI 100-150: 中度偏好,有潜力拓展
1394
+ > - TGI 50-100: 低度偏好,需要优化内容吸引
1395
+ > - TGI<50: 不匹配,可能不是目标受众
1396
+ >
1397
+ > ### 优化建议/Optimization Suggestions:
1398
+ > 1. **时间优化**: 根据active数据,在高活跃时段发布(示例中晚上最佳)
1399
+ > 2. **内容适配**: 根据高TGI年龄段调整内容风格(示例应偏向18-23岁年轻化)
1400
+ > 3. **性别策略**: 针对高TGI性别深化内容,或优化以平衡性别受众
1401
+ > 4. **地域营销**: 为高TGI地域(如浙江、江苏)创作本地化内容或方言版本
1402
+ > 5. **受众拓展**: 关注TGI低的群体(如24-30岁),寻找增长机会
1403
+ > 6. **精准定位**: 聚焦TGI>150的群体,他们是最有价值的核心受众
1404
+ > 7. **内容调整**: 如果想拓展受众,需要调整内容以提升低TGI群体的兴趣
1405
+ > 8. **A/B测试**: 针对不同TGI群体制作差异化内容,测试效果
1406
+ >
1407
+ > ### 注意事项/Notes:
1408
+ > - 观众数据需要一定播放量才准确,建议作品有1000+播放后查看
1409
+ > - 数据可能有延迟,通常在作品发布24-48小时后更新
1410
+ > - Index值用于与平台均值对比,帮助识别特色受众
1411
+ > - 结合作品内容特点和目标受众综合分析
1412
+ > - 不同内容类型的受众特征差异较大,需要针对性优化
1413
+
1414
+ #### Parameters
1415
+
1416
+ None
1417
+
1418
+ #### Request Body
1419
+
1420
+ - required: Yes
1421
+
1422
+ ##### `application/json`
1423
+
1424
+ - Schema summary: `cookie*`:string, `item_id*`:string
1425
+
1426
+ | Field | Type | Required | Description | Default | Example | Enum |
1427
+ | --- | --- | --- | --- | --- | --- | --- |
1428
+ | cookie | string | Yes | 用户Cookie/User Cookie | None | Your_Cookie_Here | None |
1429
+ | item_id | string | Yes | 作品ID/Item ID | None | 7559536212910853422 | None |
1430
+
1431
+ #### Success Response
1432
+
1433
+ ##### `200 application/json`
1434
+
1435
+ - Schema summary: `code`:integer, `request_id`:string, `message`:string, `message_zh`:string, `support`:string, `time`:string, `time_stamp`:integer, `time_zone`:string, ...
1436
+
1437
+ | Field | Type | Required | Description | Default | Example | Enum |
1438
+ | --- | --- | --- | --- | --- | --- | --- |
1439
+ | code | integer | No | HTTP status code \| HTTP状态码 | 200 | None | None |
1440
+ | request_id | string | No | Unique request identifier \| 唯一请求标识符 | None | None | None |
1441
+ | message | string | No | Response message (EN-US) \| 响应消息 (English) | Request successful. This request will incur a charge. | None | None |
1442
+ | message_zh | string | No | Response message (ZH-CN) \| 响应消息 (中文) | 请求成功,本次请求将被计费。 | None | None |
1443
+ | support | string | No | Support message \| 支持消息 | Discord: https://discord.gg/aMEAS8Xsvz | None | None |
1444
+ | time | string | No | The time the response was generated \| 生成响应的时间 | None | None | None |
1445
+ | time_stamp | integer | No | The timestamp the response was generated \| 生成响应的时间戳 | None | None | None |
1446
+ | time_zone | string | No | The timezone of the response time \| 响应时间的时区 | America/Los_Angeles | None | None |
1447
+ | docs | string | No | Link to the API Swagger documentation for this endpoint \| 此端点的 API Swagger 文档链接 | None | None | None |
1448
+ | 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 |
1449
+ | cache_message_zh | string | No | Cache message (ZH-CN) \| 缓存消息 (中文) | 本次请求将被缓存,你可以使用下面的 URL 直接访问缓存结果,有效期为 24 小时,访问缓存不会产生额外费用。 | None | None |
1450
+ | cache_url | string | No | The URL to access the cached result \| 访问缓存结果的 URL | None | None | None |
1451
+ | router | string | No | The endpoint that generated this response \| 生成此响应的端点 | None | None | None |
1452
+ | params | dynamic object | No | The parameters used in the request \| 请求中使用的参数 | None | None | None |
1453
+ | data | null | No | The response data \| 响应数据 | None | None | None |
1454
+
1455
+ <a id="post-api-u1-v1-douyin-creator-v2-fetch-item-danmaku-analysis"></a>
1456
+ ### `POST /api/u1/v1/douyin/creator_v2/fetch_item_danmaku_analysis`
1457
+
1458
+ - Summary: 获取作品弹幕分析/Fetch item bullet analysis
1459
+ - Capabilities: creators
1460
+ - Auth: Header `Authorization: Bearer {token}`; docs also allow Cookie `Authorization` as fallback (`HTTPBearer`)
1461
+ - operationId: `fetch_item_danmaku_analysis_api_v1_douyin_creator_v2_fetch_item_danmaku_analysis_post`
1462
+
1463
+ #### Notes
1464
+
1465
+ > # [中文]
1466
+ > ### 用途:
1467
+ > - 获取抖音作品的弹幕分析数据
1468
+ > - 了解观众在视频各个时间点的弹幕互动情况
1469
+ > - 帮助创作者识别视频中的热点片段和观众反应
1470
+ > - **此接口需要用户提供有效的抖音创作者平台Cookie**
1471
+ > - **使用 POST 方法,Cookie 在请求体中传输,更安全**
1472
+ >
1473
+ > ### 请求体参数:
1474
+ > - cookie: 用户的抖音创作者平台Cookie(必填,在请求体中传输)
1475
+ > - item_id: 作品ID(必填)
1476
+ >
1477
+ > ### 返回数据说明:
1478
+ > 返回作品的弹幕分析数据,包括:
1479
+ > - bullet_distribution: 弹幕分布数据
1480
+ > - time_point: 时间点(秒)
1481
+ > - count: 该时间点的弹幕数量
1482
+ > - percentage: 该时间点弹幕占总弹幕的百分比
1483
+ > - hot_words: 热门弹幕词汇
1484
+ > - word: 弹幕词汇
1485
+ > - count: 出现次数
1486
+ > - sentiment: 情感倾向(正面/负面/中性)
1487
+ > - total_count: 弹幕总数
1488
+ > - peak_time: 弹幕高峰时间点
1489
+ >
1490
+ > **注意**: 如果返回空数据或弹幕数量为0,说明该作品目前没有弹幕数据,可能原因:
1491
+ > - 作品刚发布,还没有观众发送弹幕
1492
+ > - 作品类型不适合弹幕互动
1493
+ > - 弹幕功能未开启
1494
+ >
1495
+ > ### 数据价值:
1496
+ > - **热点识别**: 识别观众最感兴趣的视频片段
1497
+ > - **情感分析**: 了解观众对内容的情感反应
1498
+ > - **互动优化**: 在高弹幕区域优化内容呈现
1499
+ > - **内容改进**: 根据弹幕反馈调整后续内容
1500
+ >
1501
+ > ### 应用场景:
1502
+ > 1. **内容优化**: 找出观众最喜欢的片段,在后续视频中强化类似内容
1503
+ > 2. **节奏调整**: 弹幕密集的时间点说明内容吸引人,可以延长类似内容时长
1504
+ > 3. **情感把控**: 通过弹幕情感分析了解观众真实反应
1505
+ > 4. **互动设计**: 在弹幕高峰处设计互动环节,提升参与度
1506
+ >
1507
+ > ### Cookie 获取方式:
1508
+ > 1. 登录抖音创作者平台 (https://creator.douyin.com)
1509
+ > 2. 打开浏览器开发者工具(F12)
1510
+ > 3. 切换到 Network 标签
1511
+ > 4. 刷新页面或进行操作
1512
+ > 5. 找到任意请求,复制 Cookie 请求头的值
1513
+ >
1514
+ > # [English]
1515
+ > ### Purpose:
1516
+ > - Get Douyin item bullet (danmaku) analysis data
1517
+ > - Understand audience bullet interaction at various video time points
1518
+ > - Help creators identify hot segments and audience reactions
1519
+ > - **This API requires users to provide valid Douyin Creator Platform Cookie**
1520
+ > - **Use POST method, Cookie is transmitted in request body, more secure**
1521
+ >
1522
+ > ### Request Body Parameters:
1523
+ > - cookie: User's Douyin Creator Platform Cookie (required, transmitted in request body)
1524
+ > - item_id: Item ID (required)
1525
+ >
1526
+ > ### Return Data Description:
1527
+ > Returns item bullet analysis data, including:
1528
+ > - bullet_distribution: Bullet distribution data
1529
+ > - time_point: Time point (seconds)
1530
+ > - count: Number of bullets at this time point
1531
+ > - percentage: Percentage of bullets at this time point
1532
+ > - hot_words: Popular bullet words
1533
+ > - word: Bullet word
1534
+ > - count: Occurrence count
1535
+ > - sentiment: Sentiment orientation (positive/negative/neutral)
1536
+ > - total_count: Total bullet count
1537
+ > - peak_time: Peak time point for bullets
1538
+ >
1539
+ > **Note**: If empty data or zero bullets returned, it means there is currently no bullet data for this item, possible reasons:
1540
+ > - Item was just published and no viewers have sent bullets yet
1541
+ > - Item type is not suitable for bullet interaction
1542
+ > - Bullet feature is not enabled
1543
+ >
1544
+ > ### Data Value:
1545
+ > - **Hot Spot Identification**: Identify video segments with highest audience interest
1546
+ > - **Sentiment Analysis**: Understand audience emotional reactions to content
1547
+ > - **Interaction Optimization**: Optimize content presentation in high-bullet areas
1548
+ > - **Content Improvement**: Adjust future content based on bullet feedback
1549
+ >
1550
+ > ### Application Scenarios:
1551
+ > 1. **Content Optimization**: Find favorite segments and reinforce similar content
1552
+ > 2. **Pacing Adjustment**: Dense bullet areas indicate engaging content, extend similar segments
1553
+ > 3. **Emotion Control**: Understand genuine audience reactions through bullet sentiment
1554
+ > 4. **Interaction Design**: Design interactive elements at bullet peaks to boost engagement
1555
+ >
1556
+ > ### How to get Cookie:
1557
+ > 1. Login to Douyin Creator Platform (https://creator.douyin.com)
1558
+ > 2. Open browser developer tools (F12)
1559
+ > 3. Switch to Network tab
1560
+ > 4. Refresh page or perform operations
1561
+ > 5. Find any request and copy the Cookie header value
1562
+ >
1563
+ > # [示例/Example]
1564
+ > ```json
1565
+ > {
1566
+ > "cookie": "Your_Cookie_Here",
1567
+ > "item_id": "7559536212910853422"
1568
+ > }
1569
+ > ```
1570
+ >
1571
+ > ### 返回数据示例/Response Example:
1572
+ > ```json
1573
+ > {
1574
+ > "bullet_distribution": [
1575
+ > {
1576
+ > "time_point": 5,
1577
+ > "count": 328,
1578
+ > "percentage": 15.2
1579
+ > },
1580
+ > {
1581
+ > "time_point": 12,
1582
+ > "count": 562,
1583
+ > "percentage": 26.1
1584
+ > },
1585
+ > {
1586
+ > "time_point": 18,
1587
+ > "count": 445,
1588
+ > "percentage": 20.6
1589
+ > }
1590
+ > ],
1591
+ > "hot_words": [
1592
+ > {
1593
+ > "word": "哈哈哈",
1594
+ > "count": 156,
1595
+ > "sentiment": "positive"
1596
+ > },
1597
+ > {
1598
+ > "word": "精彩",
1599
+ > "count": 98,
1600
+ > "sentiment": "positive"
1601
+ > },
1602
+ > {
1603
+ > "word": "学到了",
1604
+ > "count": 76,
1605
+ > "sentiment": "positive"
1606
+ > }
1607
+ > ],
1608
+ > "total_count": 2156,
1609
+ > "peak_time": 12,
1610
+ > "status_code": 0,
1611
+ > "status_msg": ""
1612
+ > }
1613
+ > ```
1614
+ >
1615
+ > ### 数据解读/Data Interpretation:
1616
+ > - **弹幕分布 (Bullet Distribution)**:
1617
+ > - time_point 显示哪个时间点弹幕最密集
1618
+ > - count 越高表示该片段越引起观众共鸣
1619
+ > - percentage 帮助识别弹幕集中度
1620
+ > - 多个弹幕高峰说明视频有多个精彩片段
1621
+ >
1622
+ > - **热门词汇 (Hot Words)**:
1623
+ > - 高频正面词汇(如"精彩"、"学到了")说明内容质量好
1624
+ > - 负面词汇可能揭示内容问题点
1625
+ > - 疑问词汇(如"为什么")可能是用户困惑点
1626
+ >
1627
+ > - **总弹幕数 (Total Count)**:
1628
+ > - 弹幕数量反映视频互动热度
1629
+ > - 相对播放量的弹幕率可以衡量内容吸引力
1630
+ > - 持续增长说明内容有长尾效应
1631
+ >
1632
+ > ### 优化建议/Optimization Suggestions:
1633
+ > 1. **强化高峰**: 在弹幕高峰时间点前后强化内容质量
1634
+ > 2. **延长精彩**: 延长弹幕密集片段的时长,满足观众期待
1635
+ > 3. **回应反馈**: 根据热门词汇调整内容方向
1636
+ > 4. **引导互动**: 在弹幕较少的时间点添加引导性内容
1637
+ > 5. **情感共鸣**: 多设计能引发正面情感的片段
1638
+ > 6. **问题解答**: 针对疑问类弹幕在后续视频中解答
1639
+ >
1640
+ > ### 注意事项/Notes:
1641
+ > - 弹幕数据可能有延迟,建议作品发布一段时间后查看
1642
+ > - 弹幕分析需要一定的样本量才准确,新作品可能数据不足
1643
+ > - 结合其他指标(互动率、完播率)综合分析效果更好
1644
+ > - 不同类型内容的弹幕特点不同,需要针对性分析
1645
+
1646
+ #### Parameters
1647
+
1648
+ None
1649
+
1650
+ #### Request Body
1651
+
1652
+ - required: Yes
1653
+
1654
+ ##### `application/json`
1655
+
1656
+ - Schema summary: `cookie*`:string, `item_id*`:string
1657
+
1658
+ | Field | Type | Required | Description | Default | Example | Enum |
1659
+ | --- | --- | --- | --- | --- | --- | --- |
1660
+ | cookie | string | Yes | 用户Cookie/User Cookie | None | Your_Cookie_Here | None |
1661
+ | item_id | string | Yes | 作品ID/Item ID | None | 7559536212910853422 | None |
1662
+
1663
+ #### Success Response
1664
+
1665
+ ##### `200 application/json`
1666
+
1667
+ - Schema summary: `code`:integer, `request_id`:string, `message`:string, `message_zh`:string, `support`:string, `time`:string, `time_stamp`:integer, `time_zone`:string, ...
1668
+
1669
+ | Field | Type | Required | Description | Default | Example | Enum |
1670
+ | --- | --- | --- | --- | --- | --- | --- |
1671
+ | code | integer | No | HTTP status code \| HTTP状态码 | 200 | None | None |
1672
+ | request_id | string | No | Unique request identifier \| 唯一请求标识符 | None | None | None |
1673
+ | message | string | No | Response message (EN-US) \| 响应消息 (English) | Request successful. This request will incur a charge. | None | None |
1674
+ | message_zh | string | No | Response message (ZH-CN) \| 响应消息 (中文) | 请求成功,本次请求将被计费。 | None | None |
1675
+ | support | string | No | Support message \| 支持消息 | Discord: https://discord.gg/aMEAS8Xsvz | None | None |
1676
+ | time | string | No | The time the response was generated \| 生成响应的时间 | None | None | None |
1677
+ | time_stamp | integer | No | The timestamp the response was generated \| 生成响应的时间戳 | None | None | None |
1678
+ | time_zone | string | No | The timezone of the response time \| 响应时间的时区 | America/Los_Angeles | None | None |
1679
+ | docs | string | No | Link to the API Swagger documentation for this endpoint \| 此端点的 API Swagger 文档链接 | None | None | None |
1680
+ | 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 |
1681
+ | cache_message_zh | string | No | Cache message (ZH-CN) \| 缓存消息 (中文) | 本次请求将被缓存,你可以使用下面的 URL 直接访问缓存结果,有效期为 24 小时,访问缓存不会产生额外费用。 | None | None |
1682
+ | cache_url | string | No | The URL to access the cached result \| 访问缓存结果的 URL | None | None | None |
1683
+ | router | string | No | The endpoint that generated this response \| 生成此响应的端点 | None | None | None |
1684
+ | params | dynamic object | No | The parameters used in the request \| 请求中使用的参数 | None | None | None |
1685
+ | data | null | No | The response data \| 响应数据 | None | None | None |
1686
+
1687
+ <a id="post-api-u1-v1-douyin-creator-v2-fetch-item-list"></a>
1688
+ ### `POST /api/u1/v1/douyin/creator_v2/fetch_item_list`
1689
+
1690
+ - Summary: 获取投稿作品列表/Fetch item list
1691
+ - Capabilities: creators
1692
+ - Auth: Header `Authorization: Bearer {token}`; docs also allow Cookie `Authorization` as fallback (`HTTPBearer`)
1693
+ - operationId: `fetch_item_list_api_v1_douyin_creator_v2_fetch_item_list_post`
1694
+
1695
+ #### Notes
1696
+
1697
+ > # [中文]
1698
+ > ### 用途:
1699
+ > - 获取指定时间范围内发布的所有投稿作品列表
1700
+ > - 支持分页查询,每次最多返回100条数据
1701
+ > - 数据更新说明:
1702
+ > - **播放量、点赞量、评论量、分享量、收藏量实时更新**
1703
+ > - **其他指标每小时更新一次**
1704
+ > - **此接口需要用户提供有效的抖音创作者平台Cookie**
1705
+ > - **使用 POST 方法,Cookie 在请求体中传输,更安全**
1706
+ >
1707
+ > ### 请求体参数:
1708
+ > - cookie: 用户的抖音创作者平台Cookie(必填,在请求体中传输)
1709
+ > - start_time: 开始时间戳,单位毫秒(必填)
1710
+ > - end_time: 结束时间戳,单位毫秒(必填)
1711
+ > - count: 每页返回的数量,默认10,最多100(可选)
1712
+ > - order_by: 排序方式,支持26种排序(可选,默认1)
1713
+ > - fields: 需要返回的字段,默认 "metrics,review,visibility"(可选)
1714
+ > - metrics: 流量指标(播放量、点赞量、评论量、分享量、收藏量等)
1715
+ > - review: 审核状态
1716
+ > - visibility: 可见性状态
1717
+ > - need_cooperation: 是否需要合作信息,默认true(可选)
1718
+ > - need_long_article: 是否包含长图文,默认true(可选)
1719
+ > - cursor: 分页游标,首次请求不传,后续分页使用返回的cursor(可选)
1720
+ >
1721
+ > ### 排序方式详解 (order_by):
1722
+ >
1723
+ > | 值 | 排序字段 | 排序方向 | 更新频率 | 说明 |
1724
+ > |----|---------|---------|---------|------|
1725
+ > | 1 | 发布时间 | 从新到旧 ↓ | - | 默认排序,最新发布的在前 |
1726
+ > | 2 | 发布时间 | 从旧到新 ↑ | - | 最早发布的在前 |
1727
+ > | 3 | 播放量 | 从高到低 ↓ | 实时 | 作品被观看的次数 |
1728
+ > | 4 | 播放量 | 从低到高 ↑ | 实时 | 播放量最少的在前 |
1729
+ > | 5 | 点赞量 | 从高到低 ↓ | 实时 | 作品获得点赞的次数 |
1730
+ > | 6 | 点赞量 | 从低到高 ↑ | 实时 | 点赞量最少的在前 |
1731
+ > | 7 | 评论量 | 从高到低 ↓ | 实时 | 作品获得评论的次数 |
1732
+ > | 8 | 评论量 | 从低到高 ↑ | 实时 | 评论量最少的在前 |
1733
+ > | 9 | 分享量 | 从高到低 ↓ | 实时 | 作品获得分享的次数 |
1734
+ > | 10 | 分享量 | 从低到高 ↑ | 实时 | 分享量最少的在前 |
1735
+ > | 11 | 收藏量 | 从高到低 ↓ | 实时 | 作品获得收藏的次数 |
1736
+ > | 12 | 收藏量 | 从低到高 ↑ | 实时 | 收藏量最少的在前 |
1737
+ > | 13 | 2s跳出率 | 从高到低 ↓ | 每小时 | 播放后2s内跳出的播放量/总播放量 |
1738
+ > | 14 | 2s跳出率 | 从低到高 ↑ | 每小时 | 2s跳出率最低的在前 |
1739
+ > | 15 | 5s完播率 | 从高到低 ↓ | 每小时 | 播放后超过5s的播放量/总播放量 |
1740
+ > | 16 | 5s完播率 | 从低到高 ↑ | 每小时 | 5s完播率最低的在前 |
1741
+ > | 17 | 完播率 | 从高到低 ↓ | 每小时 | 完整播完的播放量/总播放量 |
1742
+ > | 18 | 完播率 | 从低到高 ↑ | 每小时 | 完播率最低的在前 |
1743
+ > | 19 | 封面点击率 | 从高到低 ↓ | 每小时 | 作品封面的点击量/曝光量 |
1744
+ > | 20 | 封面点击率 | 从低到高 ↑ | 每小时 | 封面点击率最低的在前 |
1745
+ > | 21 | 平均播放时长 | 从高到低 ↓ | 每小时 | 视频被播放的平均时长 |
1746
+ > | 22 | 平均播放时长 | 从低到高 ↑ | 每小时 | 平均播放时长最短的在前 |
1747
+ > | 23 | 主页访问量 | 从高到低 ↓ | 每天 | 用户观看作品后访问主页的次数 |
1748
+ > | 24 | 主页访问量 | 从低到高 ↑ | 每天 | 主页访问量最少的在前 |
1749
+ > | 25 | 粉丝增量 | 从高到低 ↓ | 每小时 | 观众观看作品后关注作者的数量 |
1750
+ > | 26 | 粉丝增量 | 从低到高 ↑ | 每小时 | 粉丝增量最少的在前 |
1751
+ >
1752
+ > ### 排序使用建议:
1753
+ > - **寻找爆款**: 使用 order_by=3 (播放量↓) 或 order_by=5 (点赞量↓)
1754
+ > - **优化内容**: 使用 order_by=13 (2s跳出率↓) 找出需要优化的作品
1755
+ > - **提升完播**: 使用 order_by=17 (完播率↓) 分析高完播率作品
1756
+ > - **涨粉分析**: 使用 order_by=25 (粉丝增量↓) 找出涨粉效果好的作品
1757
+ > - **封面优化**: 使用 order_by=19 (封面点击率↓) 分析封面吸引力
1758
+ >
1759
+ > ### 返回:
1760
+ > - 投稿作品列表数据,包含作品的详细指标信息
1761
+ > - has_more: 是否还有更多数据
1762
+ > - cursor: 下一页的游标,用于分页查询
1763
+ > - items: 作品列表数组
1764
+ >
1765
+ > ### 使用流程:
1766
+ > 1. **第一次请求**:不传cursor参数,获取第一页数据
1767
+ > 2. **检查has_more**:如果为true,说明还有更多数据
1768
+ > 3. **分页请求**:使用返回的cursor值作为下次请求的cursor参数
1769
+ > 4. **重复步骤2-3**:直到has_more为false
1770
+ >
1771
+ > ### 功能限制:
1772
+ > - 仅支持筛选:所选周期内,前100条作品的体裁
1773
+ > - 如需导出更多数据,请使用 `/fetch_item_list_download` 接口(支持导出前1000条)
1774
+ >
1775
+ > ### 时间戳转换:
1776
+ > - JavaScript: `new Date('2025-07-01').getTime()` -> 1719763200000
1777
+ > - Python: `int(datetime(2025, 7, 1).timestamp() * 1000)` -> 1719763200000
1778
+ >
1779
+ > ### Cookie 获取方式:
1780
+ > 1. 登录抖音创作者平台 (https://creator.douyin.com)
1781
+ > 2. 打开浏览器开发者工具(F12)
1782
+ > 3. 切换到 Network 标签
1783
+ > 4. 刷新页面或进行操作
1784
+ > 5. 找到任意请求,复制 Cookie 请求头的值
1785
+ >
1786
+ > # [English]
1787
+ > ### Purpose:
1788
+ > - Get all published items within the specified time range
1789
+ > - Support pagination query, maximum 100 items per request
1790
+ > - Data update description:
1791
+ > - **Views, likes, comments, shares, favorites update in real-time**
1792
+ > - **Other metrics update hourly**
1793
+ > - **This API requires users to provide valid Douyin Creator Platform Cookie**
1794
+ > - **Use POST method, Cookie is transmitted in request body, more secure**
1795
+ >
1796
+ > ### Request Body Parameters:
1797
+ > - cookie: User's Douyin Creator Platform Cookie (required, transmitted in request body)
1798
+ > - start_time: Start timestamp in milliseconds (required)
1799
+ > - end_time: End timestamp in milliseconds (required)
1800
+ > - count: Number of items per page, default 10, max 100 (optional)
1801
+ > - order_by: Sort method, supports 26 types (optional, default 1)
1802
+ > - fields: Fields to return, default "metrics,review,visibility" (optional)
1803
+ > - metrics: Traffic metrics (views, likes, comments, shares, favorites, etc.)
1804
+ > - review: Review status
1805
+ > - visibility: Visibility status
1806
+ > - need_cooperation: Need cooperation info, default true (optional)
1807
+ > - need_long_article: Include long articles, default true (optional)
1808
+ > - cursor: Pagination cursor, don't pass for first request, use returned cursor for pagination (optional)
1809
+ >
1810
+ > ### Sort Options (order_by):
1811
+ >
1812
+ > | Value | Sort Field | Direction | Update Freq | Description |
1813
+ > |-------|-----------|-----------|-------------|-------------|
1814
+ > | 1 | Publish Time | Desc ↓ | - | Default, newest first |
1815
+ > | 2 | Publish Time | Asc ↑ | - | Oldest first |
1816
+ > | 3 | Views | Desc ↓ | Real-time | Video views count |
1817
+ > | 4 | Views | Asc ↑ | Real-time | Least views first |
1818
+ > | 5 | Likes | Desc ↓ | Real-time | Likes count |
1819
+ > | 6 | Likes | Asc ↑ | Real-time | Least likes first |
1820
+ > | 7 | Comments | Desc ↓ | Real-time | Comments count |
1821
+ > | 8 | Comments | Asc ↑ | Real-time | Least comments first |
1822
+ > | 9 | Shares | Desc ↓ | Real-time | Shares count |
1823
+ > | 10 | Shares | Asc ↑ | Real-time | Least shares first |
1824
+ > | 11 | Favorites | Desc ↓ | Real-time | Favorites count |
1825
+ > | 12 | Favorites | Asc ↑ | Real-time | Least favorites first |
1826
+ > | 13 | 2s Bounce Rate | Desc ↓ | Hourly | Views bounced within 2s / total views |
1827
+ > | 14 | 2s Bounce Rate | Asc ↑ | Hourly | Lowest bounce rate first |
1828
+ > | 15 | 5s Completion | Desc ↓ | Hourly | Views over 5s / total views |
1829
+ > | 16 | 5s Completion | Asc ↑ | Hourly | Lowest 5s completion first |
1830
+ > | 17 | Completion Rate | Desc ↓ | Hourly | Full plays / total views |
1831
+ > | 18 | Completion Rate | Asc ↑ | Hourly | Lowest completion rate first |
1832
+ > | 19 | Cover CTR | Desc ↓ | Hourly | Cover clicks / cover impressions |
1833
+ > | 20 | Cover CTR | Asc ↑ | Hourly | Lowest CTR first |
1834
+ > | 21 | Avg Play Duration | Desc ↓ | Hourly | Average video play duration |
1835
+ > | 22 | Avg Play Duration | Asc ↑ | Hourly | Shortest duration first |
1836
+ > | 23 | Profile Visits | Desc ↓ | Daily | Profile visits after watching |
1837
+ > | 24 | Profile Visits | Asc ↑ | Daily | Least profile visits first |
1838
+ > | 25 | Follower Growth | Desc ↓ | Hourly | New followers from this video |
1839
+ > | 26 | Follower Growth | Asc ↑ | Hourly | Least follower growth first |
1840
+ >
1841
+ > ### Sort Usage Tips:
1842
+ > - **Find Hits**: Use order_by=3 (Views↓) or order_by=5 (Likes↓)
1843
+ > - **Content Optimization**: Use order_by=13 (Bounce Rate↓) to find videos to improve
1844
+ > - **Improve Completion**: Use order_by=17 (Completion↓) to analyze high-completion videos
1845
+ > - **Follower Analysis**: Use order_by=25 (Follower Growth↓) to find best performing videos
1846
+ > - **Cover Optimization**: Use order_by=19 (Cover CTR↓) to analyze cover attractiveness
1847
+ >
1848
+ > ### Return:
1849
+ > - Item list data with detailed metric information
1850
+ > - has_more: Whether there are more items
1851
+ > - cursor: Cursor for next page, used for pagination
1852
+ > - items: Array of items
1853
+ >
1854
+ > ### Usage Flow:
1855
+ > 1. **First request**: Don't pass cursor parameter, get first page
1856
+ > 2. **Check has_more**: If true, there are more items
1857
+ > 3. **Paginate**: Use returned cursor value as cursor parameter for next request
1858
+ > 4. **Repeat steps 2-3**: Until has_more is false
1859
+ >
1860
+ > ### Limitations:
1861
+ > - Only supports filtering: Top 100 items by genre in selected period
1862
+ > - For exporting more data, use `/fetch_item_list_download` API (supports top 1000 items)
1863
+ >
1864
+ > ### Timestamp Conversion:
1865
+ > - JavaScript: `new Date('2025-07-01').getTime()` -> 1719763200000
1866
+ > - Python: `int(datetime(2025, 7, 1).timestamp() * 1000)` -> 1719763200000
1867
+ >
1868
+ > ### How to get Cookie:
1869
+ > 1. Login to Douyin Creator Platform (https://creator.douyin.com)
1870
+ > 2. Open browser developer tools (F12)
1871
+ > 3. Switch to Network tab
1872
+ > 4. Refresh page or perform operations
1873
+ > 5. Find any request and copy the Cookie header value
1874
+ >
1875
+ > # [示例/Example]
1876
+ > ### 基础请求/Basic Request (默认按发布时间排序):
1877
+ > ```json
1878
+ > {
1879
+ > "cookie": "Your_Cookie_Here",
1880
+ > "start_time": 1758988800000,
1881
+ > "end_time": 1760198399000,
1882
+ > "count": 10
1883
+ > }
1884
+ > ```
1885
+ >
1886
+ > ### 按播放量排序/Sort by Views (找爆款视频):
1887
+ > ```json
1888
+ > {
1889
+ > "cookie": "Your_Cookie_Here",
1890
+ > "start_time": 1758988800000,
1891
+ > "end_time": 1760198399000,
1892
+ > "count": 20,
1893
+ > "order_by": 3
1894
+ > }
1895
+ > ```
1896
+ >
1897
+ > ### 按完播率排序/Sort by Completion Rate (优质内容分析):
1898
+ > ```json
1899
+ > {
1900
+ > "cookie": "Your_Cookie_Here",
1901
+ > "start_time": 1758988800000,
1902
+ > "end_time": 1760198399000,
1903
+ > "count": 20,
1904
+ > "order_by": 17
1905
+ > }
1906
+ > ```
1907
+ >
1908
+ > ### 按粉丝增量排序/Sort by Follower Growth (涨粉效果分析):
1909
+ > ```json
1910
+ > {
1911
+ > "cookie": "Your_Cookie_Here",
1912
+ > "start_time": 1758988800000,
1913
+ > "end_time": 1760198399000,
1914
+ > "count": 20,
1915
+ > "order_by": 25
1916
+ > }
1917
+ > ```
1918
+ >
1919
+ > ### 分页请求/Pagination Request:
1920
+ > ```json
1921
+ > {
1922
+ > "cookie": "Your_Cookie_Here",
1923
+ > "start_time": 1758988800000,
1924
+ > "end_time": 1760198399000,
1925
+ > "count": 10,
1926
+ > "cursor": 1234567890
1927
+ > }
1928
+ > ```
1929
+ >
1930
+ > ### 返回数据示例/Response Example:
1931
+ > ```json
1932
+ > {
1933
+ > "has_more": true,
1934
+ > "cursor": 1234567890,
1935
+ > "items": [
1936
+ > {
1937
+ > "item_id": "7559536212910853422",
1938
+ > "metrics": {
1939
+ > "play_count": 12345,
1940
+ > "digg_count": 678,
1941
+ > "comment_count": 90,
1942
+ > "share_count": 45,
1943
+ > "collect_count": 123
1944
+ > },
1945
+ > "review": {
1946
+ > "status": 2
1947
+ > },
1948
+ > "visibility": {
1949
+ > "is_public": true
1950
+ > }
1951
+ > }
1952
+ > ]
1953
+ > }
1954
+ > ```
1955
+ >
1956
+ > ### 注意事项/Notes:
1957
+ > 1. **时间范围**: 建议不要设置过长的时间范围,可能导致请求超时
1958
+ > 2. **分页查询**: 如果has_more=true,务必使用返回的cursor继续请求
1959
+ > 3. **数据更新频率**:
1960
+ > - 实时更新:播放量、点赞量、评论量、分享量、收藏量
1961
+ > - 每小时更新:跳出率、完播率、封面点击率、平均播放时长、粉丝增量
1962
+ > - 每天更新:主页访问量
1963
+ > 4. **数据量限制**: 单次请求最多返回100条,如需更多请使用分页或导出接口
1964
+ > 5. **体裁筛选**: 仅支持前100条作品的体裁筛选
1965
+ > 6. **排序选择**: 根据分析目标选择合适的排序方式(共26种)
1966
+ > 7. **Cookie有效性**: 如果返回错误,请检查Cookie是否过期
1967
+ > 8. **排序说明**: ↓表示从高到低,↑表示从低到高
1968
+
1969
+ #### Parameters
1970
+
1971
+ None
1972
+
1973
+ #### Request Body
1974
+
1975
+ - required: Yes
1976
+
1977
+ ##### `application/json`
1978
+
1979
+ - Schema summary: `cookie*`:string, `count`:integer, `order_by`:integer, `fields`:string, `need_cooperation`:boolean, `start_time*`:integer, `end_time*`:integer, `need_long_article`:boolean, ...
1980
+
1981
+ | Field | Type | Required | Description | Default | Example | Enum |
1982
+ | --- | --- | --- | --- | --- | --- | --- |
1983
+ | cookie | string | Yes | 用户Cookie/User Cookie | None | Your_Cookie_Here | None |
1984
+ | count | integer | No | 每页数量/Count per page (最多100条) | 10 | 10 | None |
1985
+ | order_by | integer | No | 排序方式/Order by (1-26): 1=发布时间↓(新到旧), 2=发布时间↑(旧到新), 3=播放量↓, 4=播放量↑, 5=点赞量↓, 6=点赞量↑, 7=评论量↓, 8=评论量↑, 9=分享量↓, 10=分享量↑, 11=收藏量↓, 12=收藏量↑, 13=2s跳出率↓, 14=2s跳出率↑, 15=5s完播率↓, 16=5s完播率↑, 17… | 1 | 1 | None |
1986
+ | fields | string | No | 需要返回的字段/Fields to return | metrics,review,visibility | metrics,review,visibility | None |
1987
+ | need_cooperation | boolean | No | 是否需要合作信息/Need cooperation info | true | true | None |
1988
+ | start_time | integer | Yes | 开始时间戳(毫秒)/Start time timestamp (milliseconds) | None | 1758988800000 | None |
1989
+ | end_time | integer | Yes | 结束时间戳(毫秒)/End time timestamp (milliseconds) | None | 1760198399000 | None |
1990
+ | need_long_article | boolean | No | 是否包含长图文/Include long articles | true | true | None |
1991
+ | cursor | integer | No | 分页游标/Pagination cursor (可选) | None | None | None |
1992
+
1993
+ #### Success Response
1994
+
1995
+ ##### `200 application/json`
1996
+
1997
+ - Schema summary: `code`:integer, `request_id`:string, `message`:string, `message_zh`:string, `support`:string, `time`:string, `time_stamp`:integer, `time_zone`:string, ...
1998
+
1999
+ | Field | Type | Required | Description | Default | Example | Enum |
2000
+ | --- | --- | --- | --- | --- | --- | --- |
2001
+ | code | integer | No | HTTP status code \| HTTP状态码 | 200 | None | None |
2002
+ | request_id | string | No | Unique request identifier \| 唯一请求标识符 | None | None | None |
2003
+ | message | string | No | Response message (EN-US) \| 响应消息 (English) | Request successful. This request will incur a charge. | None | None |
2004
+ | message_zh | string | No | Response message (ZH-CN) \| 响应消息 (中文) | 请求成功,本次请求将被计费。 | None | None |
2005
+ | support | string | No | Support message \| 支持消息 | Discord: https://discord.gg/aMEAS8Xsvz | None | None |
2006
+ | time | string | No | The time the response was generated \| 生成响应的时间 | None | None | None |
2007
+ | time_stamp | integer | No | The timestamp the response was generated \| 生成响应的时间戳 | None | None | None |
2008
+ | time_zone | string | No | The timezone of the response time \| 响应时间的时区 | America/Los_Angeles | None | None |
2009
+ | docs | string | No | Link to the API Swagger documentation for this endpoint \| 此端点的 API Swagger 文档链接 | None | None | None |
2010
+ | 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 |
2011
+ | cache_message_zh | string | No | Cache message (ZH-CN) \| 缓存消息 (中文) | 本次请求将被缓存,你可以使用下面的 URL 直接访问缓存结果,有效期为 24 小时,访问缓存不会产生额外费用。 | None | None |
2012
+ | cache_url | string | No | The URL to access the cached result \| 访问缓存结果的 URL | None | None | None |
2013
+ | router | string | No | The endpoint that generated this response \| 生成此响应的端点 | None | None | None |
2014
+ | params | dynamic object | No | The parameters used in the request \| 请求中使用的参数 | None | None | None |
2015
+ | data | null | No | The response data \| 响应数据 | None | None | None |
2016
+
2017
+ <a id="post-api-u1-v1-douyin-creator-v2-fetch-item-list-download"></a>
2018
+ ### `POST /api/u1/v1/douyin/creator_v2/fetch_item_list_download`
2019
+
2020
+ - Summary: 导出投稿作品列表/Download item list
2021
+ - Capabilities: creators / media / download
2022
+ - Auth: Header `Authorization: Bearer {token}`; docs also allow Cookie `Authorization` as fallback (`HTTPBearer`)
2023
+ - operationId: `fetch_item_list_download_api_v1_douyin_creator_v2_fetch_item_list_download_post`
2024
+
2025
+ #### Notes
2026
+
2027
+ > # [中文]
2028
+ > ### 用途:
2029
+ > - 导出指定时间范围内前1000条投稿作品的详细数据
2030
+ > - 支持按体裁类型筛选导出内容
2031
+ > - **此接口用于批量导出数据,不适合实时查询**
2032
+ > - **导出任务为异步处理,需要等待服务器生成文件**
2033
+ > - **此接口需要用户提供有效的抖音创作者平台Cookie**
2034
+ > - **使用 POST 方法,Cookie 在请求体中传输,更安全**
2035
+ >
2036
+ > ### 请求体参数:
2037
+ > - cookie: 用户的抖音创作者平台Cookie(必填,在请求体中传输)
2038
+ > - min_cursor: 最小游标,即开始时间戳(毫秒)(必填)
2039
+ > - max_cursor: 最大游标,即结束时间戳(毫秒)(必填)
2040
+ > - type_filters: 体裁类型过滤列表,默认全选 [1,2,3,4,5,8](可选)
2041
+ > - **1**: 1分钟以内视频
2042
+ > - **2**: 1-3分钟视频
2043
+ > - **3**: 3-5分钟视频
2044
+ > - **4**: 5分钟以上视频
2045
+ > - **5**: 图文作品
2046
+ > - **8**: 长图文作品
2047
+ > - need_long_article: 是否包含长图文,默认true(可选)
2048
+ >
2049
+ > ### 返回:
2050
+ > - **直接返回Excel文件流**,浏览器会自动下载
2051
+ > - 文件名:作品列表导出.xlsx
2052
+ > - 文件格式:Excel (.xlsx)
2053
+ > - Content-Type: application/vnd.ms-excel
2054
+ >
2055
+ > ### 使用流程:
2056
+ > 1. **发起导出请求**:提交时间范围和筛选条件
2057
+ > 2. **接收文件**:接口会直接返回Excel文件流
2058
+ > 3. **自动下载**:浏览器会自动触发文件下载
2059
+ > 4. **数据分析**:打开Excel文件进行数据分析
2060
+ >
2061
+ > ### 功能限制:
2062
+ > - 仅支持导出:所选周期内,前1000条作品的数据
2063
+ > - 支持按体裁类型筛选(可选择1-6种体裁的任意组合)
2064
+ > - 不支持实时查询,适合批量数据分析场景
2065
+ >
2066
+ > ### 体裁类型说明:
2067
+ > | 类型值 | 体裁名称 | 说明 | 使用场景 |
2068
+ > |-------|---------|------|---------|
2069
+ > | 1 | 1min以内视频 | 短视频 | 快速传播,高互动 |
2070
+ > | 2 | 1-3min视频 | 中短视频 | 平衡内容与时长 |
2071
+ > | 3 | 3-5min视频 | 中长视频 | 深度内容呈现 |
2072
+ > | 4 | 5min+视频 | 长视频 | 专业内容,深度分析 |
2073
+ > | 5 | 图文 | 图文作品 | 图片+文字形式 |
2074
+ > | 8 | 长图文 | 长图文作品 | 深度图文内容 |
2075
+ >
2076
+ > ### 导出数据包含:
2077
+ > - 作品基本信息(ID、标题、发布时间等)
2078
+ > - 流量指标(播放量、点赞量、评论量、分享量、收藏量)
2079
+ > - 审核状态
2080
+ > - 可见性设置
2081
+ > - 其他创作者相关数据
2082
+ >
2083
+ > ### 时间戳转换:
2084
+ > - JavaScript: `new Date('2025-07-01').getTime()` -> 1719763200000
2085
+ > - Python: `int(datetime(2025, 7, 1).timestamp() * 1000)` -> 1719763200000
2086
+ >
2087
+ > ### Cookie 获取方式:
2088
+ > 1. 登录抖音创作者平台 (https://creator.douyin.com)
2089
+ > 2. 打开浏览器开发者工具(F12)
2090
+ > 3. 切换到 Network 标签
2091
+ > 4. 刷新页面或进行操作
2092
+ > 5. 找到任意请求,复制 Cookie 请求头的值
2093
+ >
2094
+ > # [English]
2095
+ > ### Purpose:
2096
+ > - Export detailed data of top 1000 items within the specified time range
2097
+ > - Support filtering export content by genre types
2098
+ > - **This API is for batch export, not suitable for real-time queries**
2099
+ > - **Export tasks are processed asynchronously, need to wait for server to generate file**
2100
+ > - **This API requires users to provide valid Douyin Creator Platform Cookie**
2101
+ > - **Use POST method, Cookie is transmitted in request body, more secure**
2102
+ >
2103
+ > ### Request Body Parameters:
2104
+ > - cookie: User's Douyin Creator Platform Cookie (required, transmitted in request body)
2105
+ > - min_cursor: Min cursor, i.e., start timestamp in milliseconds (required)
2106
+ > - max_cursor: Max cursor, i.e., end timestamp in milliseconds (required)
2107
+ > - type_filters: Genre type filter list, default all [1,2,3,4,5,8] (optional)
2108
+ > - **1**: Videos under 1 minute
2109
+ > - **2**: 1-3 minute videos
2110
+ > - **3**: 3-5 minute videos
2111
+ > - **4**: Videos over 5 minutes
2112
+ > - **5**: Image posts
2113
+ > - **8**: Long image posts
2114
+ > - need_long_article: Include long articles, default true (optional)
2115
+ >
2116
+ > ### Return:
2117
+ > - **Directly returns Excel file stream**, browser will auto-download
2118
+ > - Filename: 作品列表导出.xlsx (Item List Export.xlsx)
2119
+ > - File Format: Excel (.xlsx)
2120
+ > - Content-Type: application/vnd.ms-excel
2121
+ >
2122
+ > ### Usage Flow:
2123
+ > 1. **Initiate export request**: Submit time range and filter conditions
2124
+ > 2. **Receive file**: API returns Excel file stream directly
2125
+ > 3. **Auto download**: Browser automatically triggers file download
2126
+ > 4. **Data analysis**: Open Excel file for data analysis
2127
+ >
2128
+ > ### Limitations:
2129
+ > - Only supports exporting: Top 1000 items in selected period
2130
+ > - Support filtering by genre types (can select any combination of 1-6 genres)
2131
+ > - Not suitable for real-time queries, designed for batch data analysis
2132
+ >
2133
+ > ### Genre Type Description:
2134
+ > | Type | Genre Name | Description | Use Case |
2135
+ > |------|-----------|-------------|----------|
2136
+ > | 1 | <1min video | Short video | Fast spread, high engagement |
2137
+ > | 2 | 1-3min video | Medium-short video | Balance content & duration |
2138
+ > | 3 | 3-5min video | Medium-long video | Deep content presentation |
2139
+ > | 4 | 5min+ video | Long video | Professional content, deep analysis |
2140
+ > | 5 | Image post | Image post | Picture + text format |
2141
+ > | 8 | Long image post | Long image post | Deep image-text content |
2142
+ >
2143
+ > ### Export Data Includes:
2144
+ > - Item basic info (ID, title, publish time, etc.)
2145
+ > - Traffic metrics (views, likes, comments, shares, favorites)
2146
+ > - Review status
2147
+ > - Visibility settings
2148
+ > - Other creator-related data
2149
+ >
2150
+ > ### Timestamp Conversion:
2151
+ > - JavaScript: `new Date('2025-07-01').getTime()` -> 1719763200000
2152
+ > - Python: `int(datetime(2025, 7, 1).timestamp() * 1000)` -> 1719763200000
2153
+ >
2154
+ > ### How to get Cookie:
2155
+ > 1. Login to Douyin Creator Platform (https://creator.douyin.com)
2156
+ > 2. Open browser developer tools (F12)
2157
+ > 3. Switch to Network tab
2158
+ > 4. Refresh page or perform operations
2159
+ > 5. Find any request and copy the Cookie header value
2160
+ >
2161
+ > # [示例/Example]
2162
+ > ### 导出所有体裁/Export All Genres:
2163
+ > ```json
2164
+ > {
2165
+ > "cookie": "Your_Cookie_Here",
2166
+ > "min_cursor": 1752336000000,
2167
+ > "max_cursor": 1760198399000,
2168
+ > "type_filters": [1, 2, 3, 4, 5, 8],
2169
+ > "need_long_article": true
2170
+ > }
2171
+ > ```
2172
+ >
2173
+ > ### 仅导出视频作品/Export Only Videos:
2174
+ > ```json
2175
+ > {
2176
+ > "cookie": "Your_Cookie_Here",
2177
+ > "min_cursor": 1752336000000,
2178
+ > "max_cursor": 1760198399000,
2179
+ > "type_filters": [1, 2, 3, 4],
2180
+ > "need_long_article": false
2181
+ > }
2182
+ > ```
2183
+ >
2184
+ > ### 仅导出图文作品/Export Only Image Posts:
2185
+ > ```json
2186
+ > {
2187
+ > "cookie": "Your_Cookie_Here",
2188
+ > "min_cursor": 1752336000000,
2189
+ > "max_cursor": 1760198399000,
2190
+ > "type_filters": [5, 8],
2191
+ > "need_long_article": true
2192
+ > }
2193
+ > ```
2194
+ >
2195
+ > ### 返回数据说明/Response Description:
2196
+ > - 此接口直接返回Excel文件流,不返回JSON数据
2197
+ > - 响应头包含 `Content-Disposition: attachment; filename="作品列表导出.xlsx"`
2198
+ > - 浏览器会自动识别并触发文件下载
2199
+ > - 文件内容为二进制流(application/vnd.ms-excel)
2200
+ >
2201
+ > ### 使用方式示例/Usage Examples:
2202
+ >
2203
+ > **使用 cURL 下载:**
2204
+ > ```bash
2205
+ > curl -X POST "https://your-api.com/api/v1/douyin_creator_v2/fetch_item_list_download" -H "Authorization: Bearer YOUR_TOKEN" -H "Content-Type: application/json" -d '{
2206
+ > "cookie": "Your_Cookie_Here",
2207
+ > "min_cursor": 1752336000000,
2208
+ > "max_cursor": 1760198399000,
2209
+ > "type_filters": [1,2,3,4,5,8]
2210
+ > }' -o "作品列表导出.xlsx"
2211
+ > ```
2212
+ >
2213
+ > **使用 Python requests:**
2214
+ > ```python
2215
+ > import requests
2216
+ >
2217
+ > response = requests.post(
2218
+ > "https://your-api.com/api/v1/douyin_creator_v2/fetch_item_list_download",
2219
+ > headers={"Authorization": "Bearer YOUR_TOKEN"},
2220
+ > json={
2221
+ > "cookie": "Your_Cookie_Here",
2222
+ > "min_cursor": 1752336000000,
2223
+ > "max_cursor": 1760198399000,
2224
+ > "type_filters": [1,2,3,4,5,8]
2225
+ > }
2226
+ > )
2227
+ >
2228
+ > # 保存文件
2229
+ > with open("作品列表导出.xlsx", "wb") as f:
2230
+ > f.write(response.content)
2231
+ > ```
2232
+ >
2233
+ > **使用 JavaScript (Axios):**
2234
+ > ```javascript
2235
+ > const axios = require('axios');
2236
+ > const fs = require('fs');
2237
+ >
2238
+ > axios.post('https://your-api.com/api/v1/douyin_creator_v2/fetch_item_list_download', {
2239
+ > cookie: 'Your_Cookie_Here',
2240
+ > min_cursor: 1752336000000,
2241
+ > max_cursor: 1760198399000,
2242
+ > type_filters: [1,2,3,4,5,8]
2243
+ > }, {
2244
+ > headers: { 'Authorization': 'Bearer YOUR_TOKEN' },
2245
+ > responseType: 'arraybuffer'
2246
+ > }).then(response => {
2247
+ > fs.writeFileSync('作品列表导出.xlsx', response.data);
2248
+ > });
2249
+ > ```
2250
+ >
2251
+ > ### 注意事项/Notes:
2252
+ > 1. **数据量限制**: 最多导出前1000条作品数据
2253
+ > 2. **即时生成**: 接口会立即生成Excel文件并返回,无需等待
2254
+ > 3. **时间范围**: 建议不要设置过长的时间范围,以免数据量过大导致超时
2255
+ > 4. **体裁筛选**: 可以根据分析需求选择特定体裁类型
2256
+ > 5. **文件格式**: Excel (.xlsx) 格式,兼容 Microsoft Excel、WPS、Google Sheets等
2257
+ > 6. **响应类型**: 返回二进制流,不是JSON,请使用正确的响应处理方式
2258
+ > 7. **Cookie有效性**: 如果返回错误,请检查Cookie是否过期
2259
+ > 8. **超时设置**: 建议设置较长的超时时间(60秒以上),因为需要生成文件
2260
+ > 9. **文件编码**: 文件名使用UTF-8编码,支持中文显示
2261
+
2262
+ #### Parameters
2263
+
2264
+ None
2265
+
2266
+ #### Request Body
2267
+
2268
+ - required: Yes
2269
+
2270
+ ##### `application/json`
2271
+
2272
+ - Schema summary: `cookie*`:string, `min_cursor*`:integer, `max_cursor*`:integer, `type_filters`[integer], `need_long_article`:boolean
2273
+
2274
+ | Field | Type | Required | Description | Default | Example | Enum |
2275
+ | --- | --- | --- | --- | --- | --- | --- |
2276
+ | cookie | string | Yes | 用户Cookie/User Cookie | None | Your_Cookie_Here | None |
2277
+ | min_cursor | integer | Yes | 最小游标(开始时间戳,毫秒)/Min cursor (start timestamp in milliseconds) | None | 1752336000000 | None |
2278
+ | max_cursor | integer | Yes | 最大游标(结束时间戳,毫秒)/Max cursor (end timestamp in milliseconds) | None | 1760198399000 | None |
2279
+ | type_filters | array<integer> | No | 体裁类型过滤/Type filters: 1=1min以内视频, 2=1-3min视频, 3=3-5min视频, 4=5min+视频, 5=图文, 8=长图文 | [1, 2, 3, 4, 5, 8] | [2, 3, 4, 5, 1, 8] | None |
2280
+ | need_long_article | boolean | No | 是否包含长图文/Include long articles | true | true | None |
2281
+
2282
+ #### Success Response
2283
+
2284
+ ##### `200 application/json`
2285
+
2286
+ - Schema summary: No declared structure
2287
+
2288
+ No field table
2289
+
2290
+ <a id="post-api-u1-v1-douyin-creator-v2-fetch-item-overview-data"></a>
2291
+ ### `POST /api/u1/v1/douyin/creator_v2/fetch_item_overview_data`
2292
+
2293
+ - Summary: 获取作品总览数据/Fetch item overview data
2294
+ - Capabilities: creators
2295
+ - Auth: Header `Authorization: Bearer {token}`; docs also allow Cookie `Authorization` as fallback (`HTTPBearer`)
2296
+ - operationId: `fetch_item_overview_data_api_v1_douyin_creator_v2_fetch_item_overview_data_post`
2297
+
2298
+ #### Notes
2299
+
2300
+ > # [中文]
2301
+ > ### 用途:
2302
+ > - 获取抖音作品总览数据,包括流量指标、审核状态、播放信息等
2303
+ > - **此接口需要用户提供有效的抖音创作者平台Cookie**
2304
+ > - **使用 POST 方法,Cookie 在请求体中传输,更安全**
2305
+ >
2306
+ > ### 请求体参数:
2307
+ > - cookie: 用户的抖音创作者平台Cookie(必填,在请求体中传输)
2308
+ > - ids: 作品ID列表,多个ID用逗号分隔(例如: "7559536212910853422,7559536212910853423")
2309
+ > - fields: 需要返回的字段,默认为 "metrics,review,play_info,dou_plus,integrated_incentive,incentive_life,content_analysis"
2310
+ > - 可选字段(用逗号分隔,可自行组合):
2311
+ > - metrics: 流量指标数据(播放量、点赞量、评论量等)
2312
+ > - review: 审核状态信息
2313
+ > - play_info: 播放相关信息
2314
+ > - dou_plus: 抖+推广信息
2315
+ > - integrated_incentive: 综合激励数据
2316
+ > - incentive_life: 激励生命周期信息
2317
+ > - content_analysis: 内容分析数据
2318
+ >
2319
+ > ### 返回:
2320
+ > - 作品总览数据,根据 fields 参数返回对应的字段内容
2321
+ >
2322
+ > ### Cookie 获取方式:
2323
+ > 1. 登录抖音创作者平台 (https://creator.douyin.com)
2324
+ > 2. 打开浏览器开发者工具(F12)
2325
+ > 3. 切换到 Network 标签
2326
+ > 4. 刷新页面或进行操作
2327
+ > 5. 找到任意请求,复制 Cookie 请求头的值
2328
+ >
2329
+ > # [English]
2330
+ > ### Purpose:
2331
+ > - Get Douyin item overview data, including traffic metrics, review status, play info, etc.
2332
+ > - **This API requires users to provide valid Douyin Creator Platform Cookie**
2333
+ > - **Use POST method, Cookie is transmitted in request body, more secure**
2334
+ >
2335
+ > ### Request Body Parameters:
2336
+ > - cookie: User's Douyin Creator Platform Cookie (required, transmitted in request body)
2337
+ > - ids: Item ID list, separated by comma (e.g., "7559536212910853422,7559536212910853423")
2338
+ > - fields: Fields to return, default is "metrics,review,play_info,dou_plus,integrated_incentive,incentive_life,content_analysis"
2339
+ > - Available fields (comma-separated, customizable):
2340
+ > - metrics: Traffic metrics data (views, likes, comments, etc.)
2341
+ > - review: Review status information
2342
+ > - play_info: Play related information
2343
+ > - dou_plus: DOU+ promotion information
2344
+ > - integrated_incentive: Integrated incentive data
2345
+ > - incentive_life: Incentive lifecycle information
2346
+ > - content_analysis: Content analysis data
2347
+ >
2348
+ > ### Return:
2349
+ > - Item overview data, returns corresponding fields based on the fields parameter
2350
+ >
2351
+ > ### How to get Cookie:
2352
+ > 1. Login to Douyin Creator Platform (https://creator.douyin.com)
2353
+ > 2. Open browser developer tools (F12)
2354
+ > 3. Switch to Network tab
2355
+ > 4. Refresh page or perform operations
2356
+ > 5. Find any request and copy the Cookie header value
2357
+ >
2358
+ > # [示例/Example]
2359
+ > ```json
2360
+ > {
2361
+ > "cookie": "Your_Cookie_Here",
2362
+ > "ids": "7559536212910853422",
2363
+ > "fields": "metrics,review,play_info,dou_plus,integrated_incentive,incentive_life,content_analysis"
2364
+ > }
2365
+ > ```
2366
+ >
2367
+ > ### 字段组合示例/Field Combination Examples:
2368
+ > - 只获取流量指标: "metrics"
2369
+ > - 获取流量和审核: "metrics,review"
2370
+ > - 获取所有字段: "metrics,review,play_info,dou_plus,integrated_incentive,incentive_life,content_analysis"
2371
+
2372
+ #### Parameters
2373
+
2374
+ None
2375
+
2376
+ #### Request Body
2377
+
2378
+ - required: Yes
2379
+
2380
+ ##### `application/json`
2381
+
2382
+ - Schema summary: `cookie*`:string, `ids*`:string, `fields`:string
2383
+
2384
+ | Field | Type | Required | Description | Default | Example | Enum |
2385
+ | --- | --- | --- | --- | --- | --- | --- |
2386
+ | cookie | string | Yes | 用户Cookie/User Cookie | None | Your_Cookie_Here | None |
2387
+ | ids | string | Yes | 作品ID列表,多个ID用逗号分隔/Item IDs, separated by comma | None | 7559536212910853422,7559536212910853423 | None |
2388
+ | fields | string | No | 需要返回的字段,多个字段用逗号分隔/Fields to return, separated by comma. 可选值: metrics(指标),review(审核),play_info(播放信息),dou_plus(抖+),integrated_incentive(综合激励),incentive_life(激励生命周期),content_analysis… | metrics,review,play_info,dou_plus,integrated_incentive,incentive_life,content_a… | None | None |
2389
+
2390
+ #### Success Response
2391
+
2392
+ ##### `200 application/json`
2393
+
2394
+ - Schema summary: `code`:integer, `request_id`:string, `message`:string, `message_zh`:string, `support`:string, `time`:string, `time_stamp`:integer, `time_zone`:string, ...
2395
+
2396
+ | Field | Type | Required | Description | Default | Example | Enum |
2397
+ | --- | --- | --- | --- | --- | --- | --- |
2398
+ | code | integer | No | HTTP status code \| HTTP状态码 | 200 | None | None |
2399
+ | request_id | string | No | Unique request identifier \| 唯一请求标识符 | None | None | None |
2400
+ | message | string | No | Response message (EN-US) \| 响应消息 (English) | Request successful. This request will incur a charge. | None | None |
2401
+ | message_zh | string | No | Response message (ZH-CN) \| 响应消息 (中文) | 请求成功,本次请求将被计费。 | None | None |
2402
+ | support | string | No | Support message \| 支持消息 | Discord: https://discord.gg/aMEAS8Xsvz | None | None |
2403
+ | time | string | No | The time the response was generated \| 生成响应的时间 | None | None | None |
2404
+ | time_stamp | integer | No | The timestamp the response was generated \| 生成响应的时间戳 | None | None | None |
2405
+ | time_zone | string | No | The timezone of the response time \| 响应时间的时区 | America/Los_Angeles | None | None |
2406
+ | docs | string | No | Link to the API Swagger documentation for this endpoint \| 此端点的 API Swagger 文档链接 | None | None | None |
2407
+ | 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 |
2408
+ | cache_message_zh | string | No | Cache message (ZH-CN) \| 缓存消息 (中文) | 本次请求将被缓存,你可以使用下面的 URL 直接访问缓存结果,有效期为 24 小时,访问缓存不会产生额外费用。 | None | None |
2409
+ | cache_url | string | No | The URL to access the cached result \| 访问缓存结果的 URL | None | None | None |
2410
+ | router | string | No | The endpoint that generated this response \| 生成此响应的端点 | None | None | None |
2411
+ | params | dynamic object | No | The parameters used in the request \| 请求中使用的参数 | None | None | None |
2412
+ | data | null | No | The response data \| 响应数据 | None | None | None |
2413
+
2414
+ <a id="post-api-u1-v1-douyin-creator-v2-fetch-item-play-source"></a>
2415
+ ### `POST /api/u1/v1/douyin/creator_v2/fetch_item_play_source`
2416
+
2417
+ - Summary: 获取作品流量来源统计/Fetch item play source statistics
2418
+ - Capabilities: creators
2419
+ - Auth: Header `Authorization: Bearer {token}`; docs also allow Cookie `Authorization` as fallback (`HTTPBearer`)
2420
+ - operationId: `fetch_item_play_source_api_v1_douyin_creator_v2_fetch_item_play_source_post`
2421
+
2422
+ #### Notes
2423
+
2424
+ > # [中文]
2425
+ > ### 用途:
2426
+ > - 获取抖音作品的流量来源统计数据
2427
+ > - 流量来源统计了作品从不同途径播放的占比
2428
+ > - **若暂时没有看到某个渠道,说明对应渠道暂时没有播放**
2429
+ > - **作品刚发布推荐页流量占比可能偏低,请等待系统推流**
2430
+ > - **此接口需要用户提供有效的抖音创作者平台Cookie**
2431
+ > - **使用 POST 方法,Cookie 在请求体中传输,更安全**
2432
+ >
2433
+ > ### 请求体参数:
2434
+ > - cookie: 用户的抖音创作者平台Cookie(必填,在请求体中传输)
2435
+ > - item_id: 作品ID(必填)
2436
+ >
2437
+ > ### 返回数据说明:
2438
+ > - play_source: 流量来源列表,包含各渠道的播放占比
2439
+ > - key: 流量来源渠道标识
2440
+ > - value: 当前占比(0-1之间的小数,如0.85表示85%)
2441
+ > - history_difference: 与历史数据的差异
2442
+ > - app_id: 应用ID
2443
+ >
2444
+ > ### 流量来源渠道说明:
2445
+ > - **homepage_hot**: 推荐页(系统推荐流量)
2446
+ > - **familiar**: 朋友页(关注的人、好友推荐)
2447
+ > - **search**: 搜索(用户主动搜索)
2448
+ > - **homepage**: 个人主页(访问主页观看)
2449
+ > - **message**: 消息页(通过消息入口)
2450
+ > - **other**: 其他(其他途径)
2451
+ >
2452
+ > ### Cookie 获取方式:
2453
+ > 1. 登录抖音创作者平台 (https://creator.douyin.com)
2454
+ > 2. 打开浏览器开发者工具(F12)
2455
+ > 3. 切换到 Network 标签
2456
+ > 4. 刷新页面或进行操作
2457
+ > 5. 找到任意请求,复制 Cookie 请求头的值
2458
+ >
2459
+ > # [English]
2460
+ > ### Purpose:
2461
+ > - Get Douyin item play source statistics
2462
+ > - Statistics of the proportion of item views from different sources
2463
+ > - **If a channel is not shown, it means there are no views from that channel yet**
2464
+ > - **For newly published items, the recommended page traffic may be low initially, please wait for system distribution**
2465
+ > - **This API requires users to provide valid Douyin Creator Platform Cookie**
2466
+ > - **Use POST method, Cookie is transmitted in request body, more secure**
2467
+ >
2468
+ > ### Request Body Parameters:
2469
+ > - cookie: User's Douyin Creator Platform Cookie (required, transmitted in request body)
2470
+ > - item_id: Item ID (required)
2471
+ >
2472
+ > ### Return Data Description:
2473
+ > - play_source: List of traffic sources with play proportion for each channel
2474
+ > - key: Traffic source channel identifier
2475
+ > - value: Current proportion (decimal between 0-1, e.g., 0.85 means 85%)
2476
+ > - history_difference: Difference from historical data
2477
+ > - app_id: Application ID
2478
+ >
2479
+ > ### Traffic Source Channel Description:
2480
+ > - **homepage_hot**: Recommended page (system recommendation traffic)
2481
+ > - **familiar**: Friends page (followed people, friend recommendations)
2482
+ > - **search**: Search (user active search)
2483
+ > - **homepage**: Personal homepage (views from homepage visits)
2484
+ > - **message**: Message page (through message entry)
2485
+ > - **other**: Other (other sources)
2486
+ >
2487
+ > ### How to get Cookie:
2488
+ > 1. Login to Douyin Creator Platform (https://creator.douyin.com)
2489
+ > 2. Open browser developer tools (F12)
2490
+ > 3. Switch to Network tab
2491
+ > 4. Refresh page or perform operations
2492
+ > 5. Find any request and copy the Cookie header value
2493
+ >
2494
+ > # [示例/Example]
2495
+ > ```json
2496
+ > {
2497
+ > "cookie": "Your_Cookie_Here",
2498
+ > "item_id": "7559536212910853422"
2499
+ > }
2500
+ > ```
2501
+ >
2502
+ > ### 返回数据示例/Response Example:
2503
+ > ```json
2504
+ > {
2505
+ > "play_source": [
2506
+ > {
2507
+ > "app_id": 1128,
2508
+ > "history_difference": 0.8543689320388349,
2509
+ > "key": "homepage_hot",
2510
+ > "value": 0.8543689320388349
2511
+ > },
2512
+ > {
2513
+ > "app_id": 1128,
2514
+ > "history_difference": 0.05825242718446602,
2515
+ > "key": "familiar",
2516
+ > "value": 0.05825242718446602
2517
+ > },
2518
+ > {
2519
+ > "app_id": 1128,
2520
+ > "history_difference": 0.04854368932038835,
2521
+ > "key": "search",
2522
+ > "value": 0.04854368932038835
2523
+ > }
2524
+ > ],
2525
+ > "status_code": 0,
2526
+ > "status_msg": ""
2527
+ > }
2528
+ > ```
2529
+ >
2530
+ > ### 数据解读/Data Interpretation:
2531
+ > - value 值表示该渠道的流量占比,例如 0.85 表示 85% 的流量来自该渠道
2532
+ > - homepage_hot 占比高说明作品获得了较好的系统推荐
2533
+ > - familiar 占比高说明作品在关注用户中传播较好
2534
+ > - search 占比高说明作品搜索热度高
2535
+
2536
+ #### Parameters
2537
+
2538
+ None
2539
+
2540
+ #### Request Body
2541
+
2542
+ - required: Yes
2543
+
2544
+ ##### `application/json`
2545
+
2546
+ - Schema summary: `cookie*`:string, `item_id*`:string
2547
+
2548
+ | Field | Type | Required | Description | Default | Example | Enum |
2549
+ | --- | --- | --- | --- | --- | --- | --- |
2550
+ | cookie | string | Yes | 用户Cookie/User Cookie | None | Your_Cookie_Here | None |
2551
+ | item_id | string | Yes | 作品ID/Item ID | None | 7559536212910853422 | None |
2552
+
2553
+ #### Success Response
2554
+
2555
+ ##### `200 application/json`
2556
+
2557
+ - Schema summary: `code`:integer, `request_id`:string, `message`:string, `message_zh`:string, `support`:string, `time`:string, `time_stamp`:integer, `time_zone`:string, ...
2558
+
2559
+ | Field | Type | Required | Description | Default | Example | Enum |
2560
+ | --- | --- | --- | --- | --- | --- | --- |
2561
+ | code | integer | No | HTTP status code \| HTTP状态码 | 200 | None | None |
2562
+ | request_id | string | No | Unique request identifier \| 唯一请求标识符 | None | None | None |
2563
+ | message | string | No | Response message (EN-US) \| 响应消息 (English) | Request successful. This request will incur a charge. | None | None |
2564
+ | message_zh | string | No | Response message (ZH-CN) \| 响应消息 (中文) | 请求成功,本次请求将被计费。 | None | None |
2565
+ | support | string | No | Support message \| 支持消息 | Discord: https://discord.gg/aMEAS8Xsvz | None | None |
2566
+ | time | string | No | The time the response was generated \| 生成响应的时间 | None | None | None |
2567
+ | time_stamp | integer | No | The timestamp the response was generated \| 生成响应的时间戳 | None | None | None |
2568
+ | time_zone | string | No | The timezone of the response time \| 响应时间的时区 | America/Los_Angeles | None | None |
2569
+ | docs | string | No | Link to the API Swagger documentation for this endpoint \| 此端点的 API Swagger 文档链接 | None | None | None |
2570
+ | 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 |
2571
+ | cache_message_zh | string | No | Cache message (ZH-CN) \| 缓存消息 (中文) | 本次请求将被缓存,你可以使用下面的 URL 直接访问缓存结果,有效期为 24 小时,访问缓存不会产生额外费用。 | None | None |
2572
+ | cache_url | string | No | The URL to access the cached result \| 访问缓存结果的 URL | None | None | None |
2573
+ | router | string | No | The endpoint that generated this response \| 生成此响应的端点 | None | None | None |
2574
+ | params | dynamic object | No | The parameters used in the request \| 请求中使用的参数 | None | None | None |
2575
+ | data | null | No | The response data \| 响应数据 | None | None | None |
2576
+
2577
+ <a id="post-api-u1-v1-douyin-creator-v2-fetch-item-search-keyword"></a>
2578
+ ### `POST /api/u1/v1/douyin/creator_v2/fetch_item_search_keyword`
2579
+
2580
+ - Summary: 获取作品搜索关键词统计/Fetch item search keywords statistics
2581
+ - Capabilities: search / creators
2582
+ - Auth: Header `Authorization: Bearer {token}`; docs also allow Cookie `Authorization` as fallback (`HTTPBearer`)
2583
+ - operationId: `fetch_item_search_keyword_api_v1_douyin_creator_v2_fetch_item_search_keyword_post`
2584
+
2585
+ #### Notes
2586
+
2587
+ > # [中文]
2588
+ > ### 用途:
2589
+ > - 获取抖音作品的搜索关键词统计数据
2590
+ > - 了解用户通过哪些搜索关键词找到并观看了该作品
2591
+ > - 帮助创作者优化内容标题、标签和描述,提升搜索曝光
2592
+ > - **此接口需要用户提供有效的抖音创作者平台Cookie**
2593
+ > - **使用 POST 方法,Cookie 在请求体中传输,更安全**
2594
+ >
2595
+ > ### 请求体参数:
2596
+ > - cookie: 用户的抖音创作者平台Cookie(必填,在请求体中传输)
2597
+ > - item_id: 作品ID(必填)
2598
+ >
2599
+ > ### 返回数据说明:
2600
+ > 返回用户搜索该作品时使用的关键词列表,包括:
2601
+ > - keyword: 搜索关键词
2602
+ > - count: 该关键词被搜索的次数
2603
+ > - percentage: 该关键词占总搜索量的百分比
2604
+ >
2605
+ > **注意**: 如果返回空列表,说明该作品目前暂无搜索关键词数据,可能原因:
2606
+ > - 作品刚发布,还没有用户通过搜索观看
2607
+ > - 作品主要通过推荐、关注等非搜索渠道传播
2608
+ > - 数据统计周期内没有搜索行为
2609
+ >
2610
+ > ### 数据价值:
2611
+ > - **优化标题**: 根据热门关键词调整作品标题
2612
+ > - **优化标签**: 添加相关的热门搜索词作为标签
2613
+ > - **内容策划**: 了解用户兴趣点,制作更符合需求的内容
2614
+ > - **SEO优化**: 提升作品在搜索结果中的排名
2615
+ >
2616
+ > ### Cookie 获取方式:
2617
+ > 1. 登录抖音创作者平台 (https://creator.douyin.com)
2618
+ > 2. 打开浏览器开发者工具(F12)
2619
+ > 3. 切换到 Network 标签
2620
+ > 4. 刷新页面或进行操作
2621
+ > 5. 找到任意请求,复制 Cookie 请求头的值
2622
+ >
2623
+ > # [English]
2624
+ > ### Purpose:
2625
+ > - Get Douyin item search keywords statistics
2626
+ > - Understand which search keywords users used to find and watch the item
2627
+ > - Help creators optimize content titles, tags, and descriptions to improve search exposure
2628
+ > - **This API requires users to provide valid Douyin Creator Platform Cookie**
2629
+ > - **Use POST method, Cookie is transmitted in request body, more secure**
2630
+ >
2631
+ > ### Request Body Parameters:
2632
+ > - cookie: User's Douyin Creator Platform Cookie (required, transmitted in request body)
2633
+ > - item_id: Item ID (required)
2634
+ >
2635
+ > ### Return Data Description:
2636
+ > Returns a list of keywords users searched for to find this item, including:
2637
+ > - keyword: Search keyword
2638
+ > - count: Number of times this keyword was searched
2639
+ > - percentage: Percentage of this keyword in total searches
2640
+ >
2641
+ > **Note**: If an empty list is returned, it means there is currently no search keyword data for this item, possible reasons:
2642
+ > - Item was just published and no users have searched for it yet
2643
+ > - Item is mainly spread through recommendations, follows, etc., not through search
2644
+ > - No search behavior during the statistics period
2645
+ >
2646
+ > ### Data Value:
2647
+ > - **Optimize Title**: Adjust item title based on popular keywords
2648
+ > - **Optimize Tags**: Add relevant popular search terms as tags
2649
+ > - **Content Planning**: Understand user interests and create more relevant content
2650
+ > - **SEO Optimization**: Improve item ranking in search results
2651
+ >
2652
+ > ### How to get Cookie:
2653
+ > 1. Login to Douyin Creator Platform (https://creator.douyin.com)
2654
+ > 2. Open browser developer tools (F12)
2655
+ > 3. Switch to Network tab
2656
+ > 4. Refresh page or perform operations
2657
+ > 5. Find any request and copy the Cookie header value
2658
+ >
2659
+ > # [示例/Example]
2660
+ > ```json
2661
+ > {
2662
+ > "cookie": "Your_Cookie_Here",
2663
+ > "item_id": "7559536212910853422"
2664
+ > }
2665
+ > ```
2666
+ >
2667
+ > ### 返回数据示例/Response Example:
2668
+ > ```json
2669
+ > {
2670
+ > "keywords": [
2671
+ > {
2672
+ > "keyword": "搞笑视频",
2673
+ > "count": 1250,
2674
+ > "percentage": 35.5
2675
+ > },
2676
+ > {
2677
+ > "keyword": "热门音乐",
2678
+ > "count": 850,
2679
+ > "percentage": 24.2
2680
+ > },
2681
+ > {
2682
+ > "keyword": "舞蹈教学",
2683
+ > "count": 620,
2684
+ > "percentage": 17.6
2685
+ > }
2686
+ > ],
2687
+ > "total_count": 3520,
2688
+ > "status_code": 0,
2689
+ > "status_msg": ""
2690
+ > }
2691
+ > ```
2692
+ >
2693
+ > ### 数据解读/Data Interpretation:
2694
+ > - 关键词列表按搜索次数降序排列
2695
+ > - percentage 值越高,说明该关键词越受用户关注
2696
+ > - 可以根据高频关键词优化作品的标题、描述和标签
2697
+ > - 发现意外的热门关键词可能揭示新的内容方向
2698
+ > - **空列表**: 说明作品暂无搜索数据,作品主要通过其他渠道传播
2699
+ >
2700
+ > ### 应用建议/Application Suggestions:
2701
+ > 1. **标题优化**: 在标题中自然融入高频关键词
2702
+ > 2. **标签策略**: 使用搜索量高的关键词作为标签
2703
+ > 3. **内容调整**: 创作更多用户搜索的相关内容
2704
+ > 4. **竞品分析**: 对比不同作品的关键词差异
2705
+
2706
+ #### Parameters
2707
+
2708
+ None
2709
+
2710
+ #### Request Body
2711
+
2712
+ - required: Yes
2713
+
2714
+ ##### `application/json`
2715
+
2716
+ - Schema summary: `cookie*`:string, `item_id*`:string
2717
+
2718
+ | Field | Type | Required | Description | Default | Example | Enum |
2719
+ | --- | --- | --- | --- | --- | --- | --- |
2720
+ | cookie | string | Yes | 用户Cookie/User Cookie | None | Your_Cookie_Here | None |
2721
+ | item_id | string | Yes | 作品ID/Item ID | None | 7559536212910853422 | None |
2722
+
2723
+ #### Success Response
2724
+
2725
+ ##### `200 application/json`
2726
+
2727
+ - Schema summary: `code`:integer, `request_id`:string, `message`:string, `message_zh`:string, `support`:string, `time`:string, `time_stamp`:integer, `time_zone`:string, ...
2728
+
2729
+ | Field | Type | Required | Description | Default | Example | Enum |
2730
+ | --- | --- | --- | --- | --- | --- | --- |
2731
+ | code | integer | No | HTTP status code \| HTTP状态码 | 200 | None | None |
2732
+ | request_id | string | No | Unique request identifier \| 唯一请求标识符 | None | None | None |
2733
+ | message | string | No | Response message (EN-US) \| 响应消息 (English) | Request successful. This request will incur a charge. | None | None |
2734
+ | message_zh | string | No | Response message (ZH-CN) \| 响应消息 (中文) | 请求成功,本次请求将被计费。 | None | None |
2735
+ | support | string | No | Support message \| 支持消息 | Discord: https://discord.gg/aMEAS8Xsvz | None | None |
2736
+ | time | string | No | The time the response was generated \| 生成响应的时间 | None | None | None |
2737
+ | time_stamp | integer | No | The timestamp the response was generated \| 生成响应的时间戳 | None | None | None |
2738
+ | time_zone | string | No | The timezone of the response time \| 响应时间的时区 | America/Los_Angeles | None | None |
2739
+ | docs | string | No | Link to the API Swagger documentation for this endpoint \| 此端点的 API Swagger 文档链接 | None | None | None |
2740
+ | 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 |
2741
+ | cache_message_zh | string | No | Cache message (ZH-CN) \| 缓存消息 (中文) | 本次请求将被缓存,你可以使用下面的 URL 直接访问缓存结果,有效期为 24 小时,访问缓存不会产生额外费用。 | None | None |
2742
+ | cache_url | string | No | The URL to access the cached result \| 访问缓存结果的 URL | None | None | None |
2743
+ | router | string | No | The endpoint that generated this response \| 生成此响应的端点 | None | None | None |
2744
+ | params | dynamic object | No | The parameters used in the request \| 请求中使用的参数 | None | None | None |
2745
+ | data | null | No | The response data \| 响应数据 | None | None | None |
2746
+
2747
+ <a id="post-api-u1-v1-douyin-creator-v2-fetch-item-watch-trend"></a>
2748
+ ### `POST /api/u1/v1/douyin/creator_v2/fetch_item_watch_trend`
2749
+
2750
+ - Summary: 获取作品观看趋势分析/Fetch item watch trend analysis
2751
+ - Capabilities: trends / rankings / creators
2752
+ - Auth: Header `Authorization: Bearer {token}`; docs also allow Cookie `Authorization` as fallback (`HTTPBearer`)
2753
+ - operationId: `fetch_item_watch_trend_api_v1_douyin_creator_v2_fetch_item_watch_trend_post`
2754
+
2755
+ #### Notes
2756
+
2757
+ > # [中文]
2758
+ > ### 用途:
2759
+ > - 获取抖音作品的观看趋势分析数据
2760
+ > - 了解用户在观看作品时的行为模式
2761
+ > - 帮助创作者优化视频内容结构和节奏
2762
+ > - **此接口需要用户提供有效的抖音创作者平台Cookie**
2763
+ > - **使用 POST 方法,Cookie 在请求体中传输,更安全**
2764
+ >
2765
+ > ### 请求体参数:
2766
+ > - cookie: 用户的抖音创作者平台Cookie(必填,在请求体中传输)
2767
+ > - item_id: 作品ID(必填)
2768
+ > - analysis_type: 分析类型(可选,默认为1)
2769
+ > - **1**: 留存分析 - 显示用户在各个时间点的留存情况
2770
+ > - **2**: 点赞分析 - 显示用户在各个时间点的点赞情况
2771
+ > - **7**: 跳出分析 - 显示用户在各个时间点的跳出情况
2772
+ >
2773
+ > ### 分析类型说明:
2774
+ > - **留存分析 (analysis_type=1)**:
2775
+ > - 展示观众在视频各时间点的留存比例
2776
+ > - 留存率越高,说明该时间段内容越吸引人
2777
+ > - **注意**: 播放量超过200后,数据更准确
2778
+ > - 适合分析:哪些片段吸引观众持续观看
2779
+ >
2780
+ > - **点赞分析 (analysis_type=2)**:
2781
+ > - 展示观众在视频各时间点的点赞比例
2782
+ > - 点赞率高的时间点说明该片段特别受欢迎
2783
+ > - 适合分析:哪些片段最能引发用户互动
2784
+ >
2785
+ > - **跳出分析 (analysis_type=7)**:
2786
+ > - 展示观众在视频各时间点的跳出比例
2787
+ > - 跳出率高的时间点可能存在内容问题
2788
+ > - 适合分析:哪些片段导致观众离开
2789
+ >
2790
+ > ### 返回数据说明:
2791
+ > - analysis_trend: 趋势分析数据
2792
+ > - current_item: 当前作品的数据点列表
2793
+ > - key: 时间点(格式:mm:ss,如 "00:05" 表示第5秒)
2794
+ > - value: 该时间点的比例值(0-1之间的小数)
2795
+ > - similar_author: 同类作者的平均数据(用于对比)
2796
+ > - key: 时间点
2797
+ > - value: 同类作者在该时间点的平均比例
2798
+ >
2799
+ > ### 数据价值:
2800
+ > - **内容优化**: 识别观众流失的关键时间点
2801
+ > - **节奏调整**: 优化视频的起承转合节奏
2802
+ > - **对比分析**: 与同类作者对比,找出差距和优势
2803
+ > - **A/B测试**: 测试不同版本的内容效果
2804
+ >
2805
+ > ### Cookie 获取方式:
2806
+ > 1. 登录抖音创作者平台 (https://creator.douyin.com)
2807
+ > 2. 打开浏览器开发者工具(F12)
2808
+ > 3. 切换到 Network 标签
2809
+ > 4. 刷新页面或进行操作
2810
+ > 5. 找到任意请求,复制 Cookie 请求头的值
2811
+ >
2812
+ > # [English]
2813
+ > ### Purpose:
2814
+ > - Get Douyin item watch trend analysis data
2815
+ > - Understand user behavior patterns while watching the item
2816
+ > - Help creators optimize video content structure and pacing
2817
+ > - **This API requires users to provide valid Douyin Creator Platform Cookie**
2818
+ > - **Use POST method, Cookie is transmitted in request body, more secure**
2819
+ >
2820
+ > ### Request Body Parameters:
2821
+ > - cookie: User's Douyin Creator Platform Cookie (required, transmitted in request body)
2822
+ > - item_id: Item ID (required)
2823
+ > - analysis_type: Analysis type (optional, default is 1)
2824
+ > - **1**: Retention Analysis - Shows user retention at each time point
2825
+ > - **2**: Like Analysis - Shows user like behavior at each time point
2826
+ > - **7**: Bounce Analysis - Shows user bounce rate at each time point
2827
+ >
2828
+ > ### Analysis Type Description:
2829
+ > - **Retention Analysis (analysis_type=1)**:
2830
+ > - Shows viewer retention rate at various video time points
2831
+ > - Higher retention means more engaging content at that moment
2832
+ > - **Note**: Data is more accurate when views exceed 200
2833
+ > - Good for: Identifying which segments keep viewers watching
2834
+ >
2835
+ > - **Like Analysis (analysis_type=2)**:
2836
+ > - Shows viewer like rate at various video time points
2837
+ > - Higher like rate indicates particularly popular segments
2838
+ > - Good for: Identifying segments that drive user engagement
2839
+ >
2840
+ > - **Bounce Analysis (analysis_type=7)**:
2841
+ > - Shows viewer bounce rate at various video time points
2842
+ > - High bounce rate indicates potential content issues
2843
+ > - Good for: Identifying segments that cause viewers to leave
2844
+ >
2845
+ > ### Return Data Description:
2846
+ > - analysis_trend: Trend analysis data
2847
+ > - current_item: Data points for current item
2848
+ > - key: Time point (format: mm:ss, e.g., "00:05" for 5 seconds)
2849
+ > - value: Proportion at this time point (decimal between 0-1)
2850
+ > - similar_author: Average data from similar authors (for comparison)
2851
+ > - key: Time point
2852
+ > - value: Average proportion at this time point
2853
+ >
2854
+ > ### Data Value:
2855
+ > - **Content Optimization**: Identify key drop-off points
2856
+ > - **Pacing Adjustment**: Optimize video rhythm and flow
2857
+ > - **Comparative Analysis**: Compare with similar creators to find gaps
2858
+ > - **A/B Testing**: Test different content versions
2859
+ >
2860
+ > ### How to get Cookie:
2861
+ > 1. Login to Douyin Creator Platform (https://creator.douyin.com)
2862
+ > 2. Open browser developer tools (F12)
2863
+ > 3. Switch to Network tab
2864
+ > 4. Refresh page or perform operations
2865
+ > 5. Find any request and copy the Cookie header value
2866
+ >
2867
+ > # [示例/Example]
2868
+ > ```json
2869
+ > {
2870
+ > "cookie": "Your_Cookie_Here",
2871
+ > "item_id": "7559536212910853422",
2872
+ > "analysis_type": 1
2873
+ > }
2874
+ > ```
2875
+ >
2876
+ > ### 返回数据示例/Response Example:
2877
+ > ```json
2878
+ > {
2879
+ > "analysis_trend": {
2880
+ > "current_item": [
2881
+ > {
2882
+ > "key": "00:00",
2883
+ > "value": 0.2653
2884
+ > },
2885
+ > {
2886
+ > "key": "00:01",
2887
+ > "value": 0.2653
2888
+ > },
2889
+ > {
2890
+ > "key": "00:05",
2891
+ > "value": 0.0272
2892
+ > },
2893
+ > {
2894
+ > "key": "00:10",
2895
+ > "value": 0.1429
2896
+ > }
2897
+ > ],
2898
+ > "similar_author": [
2899
+ > {
2900
+ > "key": "00:00",
2901
+ > "value": 0.1594
2902
+ > },
2903
+ > {
2904
+ > "key": "00:01",
2905
+ > "value": 0.2229
2906
+ > }
2907
+ > ]
2908
+ > },
2909
+ > "status_code": 0,
2910
+ > "status_msg": ""
2911
+ > }
2912
+ > ```
2913
+ >
2914
+ > ### 数据解读/Data Interpretation:
2915
+ > **留存分析 (Retention)**:
2916
+ > - value 值表示该时间点的留存比例
2917
+ > - 数值越高表示越多观众看到这个时间点
2918
+ > - 对比 current_item 和 similar_author 可以看出作品表现
2919
+ > - 留存曲线下降陡峭说明内容吸引力不足
2920
+ >
2921
+ > **点赞分析 (Like)**:
2922
+ > - value 值表示该时间点的点赞比例
2923
+ > - 数值越高表示该时间段内容越能引发点赞
2924
+ > - 点赞高峰通常出现在高潮、反转、笑点等位置
2925
+ > - 可以帮助识别最有价值的内容片段
2926
+ >
2927
+ > **跳出分析 (Bounce)**:
2928
+ > - value 值表示该时间点的跳出比例
2929
+ > - 数值越高表示越多观众在此时离开
2930
+ > - 跳出率高的时间点需要重点优化
2931
+ > - 开头几秒的跳出率尤其重要
2932
+ >
2933
+ > ### 优化建议/Optimization Suggestions:
2934
+ > 1. **前3秒黄金法则**: 确保开头吸引眼球,降低初期跳出
2935
+ > 2. **节奏把控**: 在留存率下降前插入高潮或转折
2936
+ > 3. **时长优化**: 根据留存曲线调整视频时长
2937
+ > 4. **点赞热点**: 在点赞率高的时间段前后放置核心内容
2938
+ > 5. **对标学习**: 参考 similar_author 数据优化内容
2939
+ > 6. **持续测试**: 不同类型内容的最佳节奏不同
2940
+ >
2941
+ > ### 注意事项/Notes:
2942
+ > - 播放量超过 200 后,留存分析数据更准确
2943
+ > - 数据可能有延迟,建议作品发布一段时间后查看
2944
+ > - 结合其他指标(完播率、互动率)综合分析
2945
+
2946
+ #### Parameters
2947
+
2948
+ None
2949
+
2950
+ #### Request Body
2951
+
2952
+ - required: Yes
2953
+
2954
+ ##### `application/json`
2955
+
2956
+ - Schema summary: `cookie*`:string, `item_id*`:string, `analysis_type`:integer
2957
+
2958
+ | Field | Type | Required | Description | Default | Example | Enum |
2959
+ | --- | --- | --- | --- | --- | --- | --- |
2960
+ | cookie | string | Yes | 用户Cookie/User Cookie | None | Your_Cookie_Here | None |
2961
+ | item_id | string | Yes | 作品ID/Item ID | None | 7559536212910853422 | None |
2962
+ | analysis_type | integer | No | 分析类型/Analysis type: 1=留存分析(Retention), 2=点赞分析(Like), 7=跳出分析(Bounce) | 1 | 1 | None |
2963
+
2964
+ #### Success Response
2965
+
2966
+ ##### `200 application/json`
2967
+
2968
+ - Schema summary: `code`:integer, `request_id`:string, `message`:string, `message_zh`:string, `support`:string, `time`:string, `time_stamp`:integer, `time_zone`:string, ...
2969
+
2970
+ | Field | Type | Required | Description | Default | Example | Enum |
2971
+ | --- | --- | --- | --- | --- | --- | --- |
2972
+ | code | integer | No | HTTP status code \| HTTP状态码 | 200 | None | None |
2973
+ | request_id | string | No | Unique request identifier \| 唯一请求标识符 | None | None | None |
2974
+ | message | string | No | Response message (EN-US) \| 响应消息 (English) | Request successful. This request will incur a charge. | None | None |
2975
+ | message_zh | string | No | Response message (ZH-CN) \| 响应消息 (中文) | 请求成功,本次请求将被计费。 | None | None |
2976
+ | support | string | No | Support message \| 支持消息 | Discord: https://discord.gg/aMEAS8Xsvz | None | None |
2977
+ | time | string | No | The time the response was generated \| 生成响应的时间 | None | None | None |
2978
+ | time_stamp | integer | No | The timestamp the response was generated \| 生成响应的时间戳 | None | None | None |
2979
+ | time_zone | string | No | The timezone of the response time \| 响应时间的时区 | America/Los_Angeles | None | None |
2980
+ | docs | string | No | Link to the API Swagger documentation for this endpoint \| 此端点的 API Swagger 文档链接 | None | None | None |
2981
+ | 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 |
2982
+ | cache_message_zh | string | No | Cache message (ZH-CN) \| 缓存消息 (中文) | 本次请求将被缓存,你可以使用下面的 URL 直接访问缓存结果,有效期为 24 小时,访问缓存不会产生额外费用。 | None | None |
2983
+ | cache_url | string | No | The URL to access the cached result \| 访问缓存结果的 URL | None | None | None |
2984
+ | router | string | No | The endpoint that generated this response \| 生成此响应的端点 | None | None | None |
2985
+ | params | dynamic object | No | The parameters used in the request \| 请求中使用的参数 | None | None | None |
2986
+ | data | null | No | The response data \| 响应数据 | None | None | None |
2987
+
2988
+ <a id="post-api-u1-v1-douyin-creator-v2-fetch-live-room-history-list"></a>
2989
+ ### `POST /api/u1/v1/douyin/creator_v2/fetch_live_room_history_list`
2990
+
2991
+ - Summary: 获取直播场次历史记录/Fetch live room history list
2992
+ - Capabilities: creators / livestream
2993
+ - Auth: Header `Authorization: Bearer {token}`; docs also allow Cookie `Authorization` as fallback (`HTTPBearer`)
2994
+ - operationId: `fetch_live_room_history_list_api_v1_douyin_creator_v2_fetch_live_room_history_list_post`
2995
+
2996
+ #### Notes
2997
+
2998
+ > # [中文]
2999
+ > ### 用途:
3000
+ > - 获取抖音创作者的直播场次历史记录
3001
+ > - 查看指定时间范围内的所有直播场次数据
3002
+ > - 支持查询正在进行的直播和历史直播记录
3003
+ > - **此接口需要用户提供有效的抖音创作者平台Cookie**
3004
+ > - **使用 POST 方法,Cookie 在请求体中传输,更安全**
3005
+ >
3006
+ > ### 请求体参数:
3007
+ > - cookie: 用户的抖音创作者平台Cookie(必填,在请求体中传输)
3008
+ > - start_date: 开始日期,格式为 YYYY-MM-DD(必填,例如: "2025-09-11")
3009
+ > - end_date: 结束日期,格式为 YYYY-MM-DD(必填,例如: "2025-10-11")
3010
+ > - limit: 每页数量限制,默认400,最多400条
3011
+ > - need_living: 是否包含正在直播的场次(0=不包含, 1=包含,默认1)
3012
+ > - download: 是否下载(0=不下载, 1=下载,默认0)
3013
+ >
3014
+ > ### 返回数据说明:
3015
+ > 返回直播场次历史记录列表,数据位于 `data.data.series` 数组中,每个场次包含以下信息:
3016
+ >
3017
+ > **基本信息**:
3018
+ > - roomID: 直播间ID
3019
+ > - roomTitle: 直播标题
3020
+ > - coverUri: 直播封面图片URL
3021
+ > - startTime: 开始时间(格式: "YYYY-MM-DD HH:mm:ss")
3022
+ > - endTime: 结束时间(格式: "YYYY-MM-DD HH:mm:ss")
3023
+ > - liveDurationWithoutPause: 直播时长(不含暂停时间,格式如: "1分钟5秒")
3024
+ > - playStatus: 播放状态(4=已结束)
3025
+ >
3026
+ > **流量数据**:
3027
+ > - watchCnt: 总观看人次
3028
+ > - serverWatchUcntTdDirect: 直接观看用户数(来自服务端统计)
3029
+ > - pcu: 峰值同时在线人数(Peak Concurrent Users)
3030
+ > - liveServerWatchDurationTdPavg: 平均观看时长
3031
+ >
3032
+ > **互动数据**:
3033
+ > - serverLikeCntTd: 点赞数
3034
+ > - clientCommentUcntTd: 评论用户数
3035
+ > - liveNewFollowUcnt: 新增关注数
3036
+ >
3037
+ > **消费/转化数据**:
3038
+ > - liveConsumeUcnt: 消费用户数
3039
+ > - liveFansConsumeUcntTd: 粉丝消费用户数
3040
+ > - roomLiveEarnScore: 直播收益积分
3041
+ >
3042
+ > ### 数据价值:
3043
+ > - **历史回顾**: 查看所有直播场次的完整记录
3044
+ > - **数据对比**: 对比不同场次的表现差异
3045
+ > - **趋势分析**: 分析直播效果的变化趋势
3046
+ > - **优化方向**: 找出高转化场次的共同特点
3047
+ > - **时间规划**: 根据历史数据优化直播时间
3048
+ > - **内容策略**: 根据不同主题的效果调整内容
3049
+ >
3050
+ > ### 应用场景:
3051
+ > 1. **定期复盘**: 每周/每月查看直播数据进行总结
3052
+ > 2. **效果评估**: 评估不同时段、不同主题的直播效果
3053
+ > 3. **数据报表**: 生成直播数据报表供团队分析
3054
+ > 4. **策略优化**: 基于历史数据制定下一步直播策略
3055
+ > 5. **KPI追踪**: 追踪直播相关的关键指标完成情况
3056
+ > 6. **趋势预测**: 预测未来直播的潜在表现
3057
+ >
3058
+ > ### 注意事项:
3059
+ > 1. **时间范围**: 建议查询时间不超过3个月,避免数据量过大
3060
+ > 2. **数量限制**: 单次最多返回400条记录
3061
+ > 3. **数据延迟**: 直播数据可能有1-2小时的延迟
3062
+ > 4. **正在直播**: 设置need_living=1可以查看当前正在进行的直播
3063
+ > 5. **Cookie有效性**: 确保Cookie未过期,否则无法获取数据
3064
+ > 6. **日期格式**: 必须使用YYYY-MM-DD格式,如2025-09-11
3065
+ >
3066
+ > ### Cookie 获取方式:
3067
+ > 1. 登录抖音创作者平台 (https://creator.douyin.com)
3068
+ > 2. 打开浏览器开发者工具(F12)
3069
+ > 3. 切换到 Network 标签
3070
+ > 4. 刷新页面或进行操作
3071
+ > 5. 找到任意请求,复制 Cookie 请求头的值
3072
+ >
3073
+ > # [English]
3074
+ > ### Purpose:
3075
+ > - Get Douyin creator's live room history list
3076
+ > - View all live session data within a specified time range
3077
+ > - Support querying ongoing and historical live sessions
3078
+ > - **This API requires users to provide valid Douyin Creator Platform Cookie**
3079
+ > - **Use POST method, Cookie is transmitted in request body, more secure**
3080
+ >
3081
+ > ### Request Body Parameters:
3082
+ > - cookie: User's Douyin Creator Platform Cookie (required, transmitted in request body)
3083
+ > - start_date: Start date in YYYY-MM-DD format (required, e.g., "2025-09-11")
3084
+ > - end_date: End date in YYYY-MM-DD format (required, e.g., "2025-10-11")
3085
+ > - limit: Limit per page, default 400, max 400
3086
+ > - need_living: Include ongoing live sessions (0=No, 1=Yes, default 1)
3087
+ > - download: Download flag (0=No download, 1=Download, default 0)
3088
+ >
3089
+ > ### Return Data Description:
3090
+ > Returns a list of live session history, data is located in `data.data.series` array, each session includes:
3091
+ >
3092
+ > **Basic Info**:
3093
+ > - roomID: Live room ID
3094
+ > - roomTitle: Live title
3095
+ > - coverUri: Live cover image URL
3096
+ > - startTime: Start time (format: "YYYY-MM-DD HH:mm:ss")
3097
+ > - endTime: End time (format: "YYYY-MM-DD HH:mm:ss")
3098
+ > - liveDurationWithoutPause: Duration without pause (format: "1 minute 5 seconds")
3099
+ > - playStatus: Play status (4=Ended)
3100
+ >
3101
+ > **Traffic Data**:
3102
+ > - watchCnt: Total watch count
3103
+ > - serverWatchUcntTdDirect: Direct watch user count (from server statistics)
3104
+ > - pcu: Peak Concurrent Users
3105
+ > - liveServerWatchDurationTdPavg: Average watch duration
3106
+ >
3107
+ > **Engagement Data**:
3108
+ > - serverLikeCntTd: Likes count
3109
+ > - clientCommentUcntTd: Comment user count
3110
+ > - liveNewFollowUcnt: New followers count
3111
+ >
3112
+ > **Consumption/Conversion Data**:
3113
+ > - liveConsumeUcnt: Consuming user count
3114
+ > - liveFansConsumeUcntTd: Fan consuming user count
3115
+ > - roomLiveEarnScore: Live room earn score
3116
+ >
3117
+ > ### Data Value:
3118
+ > - **History Review**: View complete records of all live sessions
3119
+ > - **Data Comparison**: Compare performance across sessions
3120
+ > - **Trend Analysis**: Analyze changes in live performance
3121
+ > - **Optimization**: Identify common traits of high-conversion sessions
3122
+ > - **Time Planning**: Optimize live timing based on historical data
3123
+ > - **Content Strategy**: Adjust content based on theme performance
3124
+ >
3125
+ > ### Use Cases:
3126
+ > 1. **Regular Review**: Weekly/monthly live data summary
3127
+ > 2. **Effect Evaluation**: Evaluate performance by time and theme
3128
+ > 3. **Data Reports**: Generate reports for team analysis
3129
+ > 4. **Strategy Optimization**: Develop strategies based on data
3130
+ > 5. **KPI Tracking**: Track live-related KPIs
3131
+ > 6. **Trend Prediction**: Predict future live performance
3132
+ >
3133
+ > ### Notes:
3134
+ > 1. **Time Range**: Recommended not to exceed 3 months
3135
+ > 2. **Quantity Limit**: Max 400 records per request
3136
+ > 3. **Data Delay**: 1-2 hours delay possible
3137
+ > 4. **Ongoing Live**: Set need_living=1 to include current live
3138
+ > 5. **Cookie Validity**: Ensure Cookie is not expired
3139
+ > 6. **Date Format**: Must use YYYY-MM-DD format
3140
+ >
3141
+ > ### How to get Cookie:
3142
+ > 1. Login to Douyin Creator Platform (https://creator.douyin.com)
3143
+ > 2. Open browser developer tools (F12)
3144
+ > 3. Switch to Network tab
3145
+ > 4. Refresh page or perform operations
3146
+ > 5. Find any request and copy the Cookie header value
3147
+ >
3148
+ > # [示例/Example]
3149
+ > ```json
3150
+ > {
3151
+ > "cookie": "Your_Cookie_Here",
3152
+ > "start_date": "2025-09-11",
3153
+ > "end_date": "2025-10-11",
3154
+ > "limit": 400,
3155
+ > "need_living": 1,
3156
+ > "download": 0
3157
+ > }
3158
+ > ```
3159
+ >
3160
+ > ### 返回数据示例/Response Example:
3161
+ > ```json
3162
+ > {
3163
+ > "data": {
3164
+ > "code": 0,
3165
+ > "componentID": "",
3166
+ > "data": {
3167
+ > "series": [
3168
+ > {
3169
+ > "clientCommentUcntTd": "0",
3170
+ > "coverUri": "https://p3-webcast-sign.douyinpic.com/...",
3171
+ > "endTime": "2025-11-20 13:52:20",
3172
+ > "liveConsumeUcnt": "1",
3173
+ > "liveDurationWithoutPause": "1分钟5秒",
3174
+ > "liveFansConsumeUcntTd": "1",
3175
+ > "liveNewFollowUcnt": "0",
3176
+ > "liveServerWatchDurationTdPavg": "0.5666666666666667",
3177
+ > "pcu": "1",
3178
+ > "playStatus": "4",
3179
+ > "roomID": "75746809889xxxxxx",
3180
+ > "roomLiveEarnScore": "1",
3181
+ > "roomTitle": "xxxxxxxx",
3182
+ > "serverLikeCntTd": "0",
3183
+ > "serverWatchUcntTdDirect": "1",
3184
+ > "startTime": "2025-11-20 13:51:15",
3185
+ > "watchCnt": "1"
3186
+ > }
3187
+ > ]
3188
+ > },
3189
+ > "meta": ""
3190
+ > }
3191
+ > }
3192
+ > ```
3193
+ >
3194
+ > ### 数据解读/Data Interpretation:
3195
+ > - **watchCnt**: 总观看人次,反映直播的曝光度和吸引力
3196
+ > - **pcu**: 峰值同时在线人数(Peak Concurrent Users),反映直播的热度峰值
3197
+ > - **liveServerWatchDurationTdPavg**: 平均观看时长,反映内容的吸引力
3198
+ > - **liveNewFollowUcnt**: 新增关注数,反映直播的转粉效果
3199
+ > - **roomLiveEarnScore**: 直播收益积分,反映直播的收益能力
3200
+ > - **liveConsumeUcnt/liveFansConsumeUcntTd**: 消费用户数/粉丝消费用户数,反映直播的转化能力
3201
+ > - **互动率**: (serverLikeCntTd+clientCommentUcntTd)/watchCnt,反映用户活跃度
3202
+ >
3203
+ > ### 优化建议/Optimization Suggestions:
3204
+ > 1. **高峰分析**: 分析pcu最高出现的时间点,强化该时段的内容
3205
+ > 2. **留存优化**: 提升liveServerWatchDurationTdPavg平均观看时长,增加内容的连贯性和吸引力
3206
+ > 3. **互动引导**: 在直播中增加互动环节,提升serverLikeCntTd点赞数、clientCommentUcntTd评论数
3207
+ > 4. **转粉策略**: 在直播中适时引导关注,提升liveNewFollowUcnt新增关注数
3208
+ > 5. **消费转化**: 分析高roomLiveEarnScore场次的特点,优化直播策略
3209
+ > 6. **时间选择**: 根据历史数据选择watchCnt观看人次最多的时段开播
3210
+
3211
+ #### Parameters
3212
+
3213
+ None
3214
+
3215
+ #### Request Body
3216
+
3217
+ - required: Yes
3218
+
3219
+ ##### `application/json`
3220
+
3221
+ - Schema summary: `cookie*`:string, `start_date*`:string, `end_date*`:string, `limit`:integer, `need_living`:integer, `download`:integer
3222
+
3223
+ | Field | Type | Required | Description | Default | Example | Enum |
3224
+ | --- | --- | --- | --- | --- | --- | --- |
3225
+ | cookie | string | Yes | 用户Cookie/User Cookie | None | Your_Cookie_Here | None |
3226
+ | start_date | string | Yes | 开始日期(格式YYYY-MM-DD)/Start date (format YYYY-MM-DD) | None | 2025-09-11 | None |
3227
+ | end_date | string | Yes | 结束日期(格式YYYY-MM-DD)/End date (format YYYY-MM-DD) | None | 2025-10-11 | None |
3228
+ | limit | integer | No | 每页数量限制/Limit per page (最多400条) | 400 | 400 | None |
3229
+ | need_living | integer | No | 是否包含正在直播的场次/Include living rooms: 0=不包含, 1=包含 | 1 | 1 | None |
3230
+ | download | integer | No | 是否下载/Download: 0=不下载, 1=下载 | 0 | 0 | None |
3231
+
3232
+ #### Success Response
3233
+
3234
+ ##### `200 application/json`
3235
+
3236
+ - Schema summary: `code`:integer, `request_id`:string, `message`:string, `message_zh`:string, `support`:string, `time`:string, `time_stamp`:integer, `time_zone`:string, ...
3237
+
3238
+ | Field | Type | Required | Description | Default | Example | Enum |
3239
+ | --- | --- | --- | --- | --- | --- | --- |
3240
+ | code | integer | No | HTTP status code \| HTTP状态码 | 200 | None | None |
3241
+ | request_id | string | No | Unique request identifier \| 唯一请求标识符 | None | None | None |
3242
+ | message | string | No | Response message (EN-US) \| 响应消息 (English) | Request successful. This request will incur a charge. | None | None |
3243
+ | message_zh | string | No | Response message (ZH-CN) \| 响应消息 (中文) | 请求成功,本次请求将被计费。 | None | None |
3244
+ | support | string | No | Support message \| 支持消息 | Discord: https://discord.gg/aMEAS8Xsvz | None | None |
3245
+ | time | string | No | The time the response was generated \| 生成响应的时间 | None | None | None |
3246
+ | time_stamp | integer | No | The timestamp the response was generated \| 生成响应的时间戳 | None | None | None |
3247
+ | time_zone | string | No | The timezone of the response time \| 响应时间的时区 | America/Los_Angeles | None | None |
3248
+ | docs | string | No | Link to the API Swagger documentation for this endpoint \| 此端点的 API Swagger 文档链接 | None | None | None |
3249
+ | 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 |
3250
+ | cache_message_zh | string | No | Cache message (ZH-CN) \| 缓存消息 (中文) | 本次请求将被缓存,你可以使用下面的 URL 直接访问缓存结果,有效期为 24 小时,访问缓存不会产生额外费用。 | None | None |
3251
+ | cache_url | string | No | The URL to access the cached result \| 访问缓存结果的 URL | None | None | None |
3252
+ | router | string | No | The endpoint that generated this response \| 生成此响应的端点 | None | None | None |
3253
+ | params | dynamic object | No | The parameters used in the request \| 请求中使用的参数 | None | None | None |
3254
+ | data | null | No | The response data \| 响应数据 | None | None | None |