api-config.json 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. {
  2. "name": "keyword_search",
  3. "displayName": "Amazon 关键词查询",
  4. "description": "查询 Amazon 关键词的搜索量、搜索趋势、竞争度等数据。用于广告关键词推荐、趋势雷达、飙升卖点词分析。",
  5. "category": "voc",
  6. "version": "1.0.0",
  7. "endpoint": {
  8. "method": "POST",
  9. "url": "https://server-msq.fmode.cn/api/sorftime/forward",
  10. "headers": {
  11. "Content-Type": "application/json"
  12. }
  13. },
  14. "parameters": {
  15. "type": "object",
  16. "required": ["Keyword"],
  17. "properties": {
  18. "Keyword": {
  19. "type": "string",
  20. "description": "要查询的关键词,如 'reed diffuser'、'natural reed diffuser'、'candle warmer lamp aesthetic'"
  21. },
  22. "domain": {
  23. "type": "integer",
  24. "description": "Amazon 站点 ID: 1=amazon.com",
  25. "default": 1
  26. }
  27. }
  28. },
  29. "requestTransform": {
  30. "template": {
  31. "path": "/api/KeywordQuery",
  32. "method": "POST",
  33. "query": { "domain": "{{domain}}" },
  34. "body": {
  35. "Keyword": "{{Keyword}}"
  36. }
  37. }
  38. },
  39. "response": {
  40. "type": "object",
  41. "description": "关键词查询结果",
  42. "properties": {
  43. "SearchVolume": { "type": "integer", "description": "月搜索量" },
  44. "SearchVolumeGrowth": { "type": "number", "description": "搜索量增长率 (%)" },
  45. "CompetitionLevel": { "type": "string", "description": "竞争度: 低/中/高/极高" },
  46. "CPC": { "type": "number", "description": "建议广告出价 (美元)" },
  47. "ConversionRate": { "type": "number", "description": "转化率 (%)" },
  48. "RelatedKeywords": { "type": "array", "description": "相关关键词列表" }
  49. }
  50. },
  51. "usageExamples": [
  52. {
  53. "name": "查询关键词搜索量",
  54. "input": { "Keyword": "natural reed diffuser", "domain": 1 },
  55. "description": "查询 'natural reed diffuser' 在美国站的搜索量和竞争度"
  56. }
  57. ],
  58. "reportMapping": {
  59. "slides": ["趋势雷达(Slide12)", "广告关键词引擎(Slide15)"],
  60. "dataPoints": ["关键词搜索量", "增长率", "竞争度", "建议出价", "VOC匹配度"]
  61. }
  62. }