api-config.json 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. {
  2. "name": "douyin-comment-replies",
  3. "displayName": "抖音评论回复查询",
  4. "description": "获取抖音指定视频中某条评论的全部回复,适用于深度舆情追踪、争议点分析、用户回复习惯研究。常配合 douyin-video-comments 使用。",
  5. "category": "douyin",
  6. "version": "1.3.0",
  7. "endpoint": {
  8. "method": "GET",
  9. "url": "https://server.fmode.cn/api/voc-social/douyin/app/v3/fetch_video_comment_replies",
  10. "headers": {
  11. "Authorization": "Bearer r:a5a19ea9868043b15d9b10423234ca43",
  12. "Accept": "application/json"
  13. }
  14. },
  15. "parameters": {
  16. "type": "object",
  17. "required": [
  18. "item_id",
  19. "comment_id"
  20. ],
  21. "properties": {
  22. "item_id": {
  23. "type": "string",
  24. "description": "抖音作品 ID"
  25. },
  26. "comment_id": {
  27. "type": "string",
  28. "description": "评论 ID"
  29. },
  30. "cursor": {
  31. "type": "integer",
  32. "description": "分页游标,首次传 0",
  33. "default": 0
  34. },
  35. "count": {
  36. "type": "integer",
  37. "description": "每页数量,请保持默认 20",
  38. "default": 20
  39. }
  40. }
  41. },
  42. "requestTransform": {
  43. "queryParams": {
  44. "item_id": "{{item_id}}",
  45. "comment_id": "{{comment_id}}",
  46. "cursor": "{{cursor}}",
  47. "count": "{{count}}"
  48. }
  49. },
  50. "response": {
  51. "type": "object",
  52. "description": "评论回复列表",
  53. "properties": {
  54. "comments": {
  55. "type": "array",
  56. "description": "回复列表"
  57. },
  58. "has_more": {
  59. "type": "boolean",
  60. "description": "是否有更多回复"
  61. },
  62. "cursor": {
  63. "type": "integer",
  64. "description": "下一页游标"
  65. }
  66. }
  67. },
  68. "usageExamples": [
  69. {
  70. "name": "热评争议点深度分析",
  71. "input": {
  72. "item_id": "7354666303006723354",
  73. "comment_id": "7354669356632638218",
  74. "cursor": 0,
  75. "count": 20
  76. },
  77. "description": "获取高赞热评下的回复,分析用户争议点和进一步讨论的内容"
  78. }
  79. ],
  80. "workflow": {
  81. "description": "推荐调用链",
  82. "steps": [
  83. "上游: douyin-video-comments(aweme_id) → 获取评论列表 → 找到高赞热评(digg_count 最高)",
  84. "本步: douyin-comment-replies(item_id, comment_id) → 获取热评下的回复",
  85. "分析: 对回复内容做情感分类,发现用户争议点"
  86. ]
  87. },
  88. "reportMapping": {
  89. "slides": [
  90. "社媒聆听(Slide14)"
  91. ],
  92. "dataPoints": [
  93. "用户争议点内容",
  94. "热评下用户情感深度",
  95. "购买决策影响因素(对话式评论)"
  96. ]
  97. },
  98. "timeout": 60000,
  99. "retry": {
  100. "maxAttempts": 3,
  101. "delay": 1500,
  102. "backoffMultiplier": 2
  103. }
  104. }