api-config.json 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. {
  2. "name": "asin-reverse-keywords",
  3. "displayName": "ASIN 反查关键词",
  4. "description": "根据 ASIN 反向查询该产品关联的搜索关键词列表,包括搜索排名、搜索量等。用于竞品关键词策略分析、广告关键词挖掘。",
  5. "category": "voc",
  6. "version": "1.1.0",
  7. "endpoint": {
  8. "method": "POST",
  9. "url": "https://server.fmode.cn/api/voc/forward",
  10. "headers": {
  11. "Content-Type": "application/json",
  12. "Authorization": "Bearer r:858b3ee92314d5447d1fc3cdc10462d7"
  13. }
  14. },
  15. "parameters": {
  16. "type": "object",
  17. "required": [
  18. "ASIN"
  19. ],
  20. "properties": {
  21. "ASIN": {
  22. "type": "string",
  23. "description": "Amazon 产品 ASIN(10位大写字母数字)",
  24. "pattern": "^[A-Z0-9]{10}$"
  25. },
  26. "domain": {
  27. "type": "integer",
  28. "description": "Amazon 站点 ID: 1=amazon.com",
  29. "default": 1
  30. }
  31. }
  32. },
  33. "requestTransform": {
  34. "template": {
  35. "path": "/api/ASINRequestKeyword",
  36. "method": "POST",
  37. "query": {
  38. "domain": "{{domain}}"
  39. },
  40. "body": {
  41. "ASIN": "{{ASIN}}"
  42. }
  43. }
  44. },
  45. "response": {
  46. "type": "array",
  47. "description": "关键词列表",
  48. "items": {
  49. "type": "object",
  50. "properties": {
  51. "Keyword": {
  52. "type": "string",
  53. "description": "关键词"
  54. },
  55. "SearchVolume": {
  56. "type": "integer",
  57. "description": "月搜索量"
  58. },
  59. "Rank": {
  60. "type": "integer",
  61. "description": "该ASIN在此关键词下的排名"
  62. },
  63. "CompetitorCount": {
  64. "type": "integer",
  65. "description": "竞争产品数"
  66. }
  67. }
  68. }
  69. },
  70. "usageExamples": [
  71. {
  72. "name": "反查竞品关键词",
  73. "input": {
  74. "ASIN": "B0B24QJ217",
  75. "domain": 1
  76. },
  77. "description": "查看 COCORRINA Reed Diffuser 排名靠前的搜索关键词"
  78. }
  79. ],
  80. "reportMapping": {
  81. "slides": [
  82. "广告关键词引擎(Slide15)"
  83. ],
  84. "dataPoints": [
  85. "竞品关键词列表",
  86. "搜索排名",
  87. "搜索量"
  88. ]
  89. },
  90. "timeout": 10000,
  91. "retry": {
  92. "maxAttempts": 3,
  93. "delay": 1000,
  94. "backoffMultiplier": 2
  95. }
  96. }