1. searchTerms
xiyou-openapi
  • 西柚洞察OPENAPI-V2接入指引
  • Release Notes
  • 西柚洞察OPENAPI接入指引(已归档)
  • 西柚洞察OPENAPI-V1接入指引(该接入已归档)
  • asins
    • asin流量得分
      POST
    • asin基础信息变动趋势(天)
      POST
    • asin流量得分趋势(天)
      POST
    • asin流量得分趋势(周)
      POST
    • asin流量得分趋势(月)
      POST
    • asin广告信息变动趋势(天)
      POST
    • asin BSR排名趋势(天)
      POST
    • asin订单量趋势(月)
      POST
    • asin商品信息趋势图(天)
      POST
    • asin反查关键词列表(最近天)
      POST
    • asin反查关键词列表(月)
      POST
    • asin商品信息
      POST
    • asin近30天订单量
      POST
    • 获取asin变体接口
      POST
  • asinSearchTerms
    • asin词流量趋势(天)
      POST
    • asin词排名趋势(天)
      POST
    • asin词排名趋势(小时)
      POST
  • searchTerms
    • 关键词ABA数据趋势(周)
      POST
    • 关键词信息(最近一周)
      POST
    • 关键词分析列表(最近天)
      POST
    • 关键词分析列表(月)
      POST
  • client
    • 获取client Id的余额
      POST
  1. searchTerms

关键词ABA数据趋势(周)

POST
/v1/searchTerms/abaReport/trends/weekly
计费规则
本接口按 关键词数量 × 周数 计费。每处理 20 个关键词 × 1 周(向上取整)计为 1 Credit 消耗
○ 公式:Credit 消耗 = ⌈(关键词数量 ÷ 20) × 周数⌉
○ 示例:请求包含 250 个关键词,查询 4 周数据,将消耗 [(250 ÷ 20) × 4] = 50 Credits
请求限制
○ 单次请求最多支持 100 个关键词
○ 查询周期最长为 52 周
返回字段说明
○ searchTermCompetitiveDifficulty:关键词竞争难度;数值越大表示竞争越激烈,无数据时返回 null
○ organicRotationRate:自然轮动率,小数形式;无数据时返回 null
○ adjustedClickConversionRate:调整后点击转化率,小数形式保留 4 位;无数据时返回 null
○ cpc:CPC(每次点击成本),包含 value、min、max;无数据时对应字段返回 null

请求参数

Header 参数

Body 参数application/json

示例
{
    "country": "US",
    "searchTerms": [
        "sony"
    ],
    "startWeek": {
        "startDate": "2025-07-06",
        "endDate": "2025-07-12"
    },
    "endWeek": {
        "startDate": "2025-07-13",
        "endDate": "2025-07-19"
    }
}

请求示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location 'https://openapi.xydc.com/v1/searchTerms/abaReport/trends/weekly' \
--header 'X-Auth-Version: 2.0' \
--header 'X-Api-Key: your_api_key' \
--header 'Content-Type: application/json' \
--data '{
    "country": "US",
    "searchTerms": [
        "sony"
    ],
    "startWeek": {
        "startDate": "2025-07-06",
        "endDate": "2025-07-12"
    },
    "endWeek": {
        "startDate": "2025-07-13",
        "endDate": "2025-07-19"
    }
}'

返回响应

🟢200成功
application/json
Bodyapplication/json

示例
修改于 2026-07-28 09:25:31
上一页
asin词排名趋势(小时)
下一页
关键词信息(最近一周)
Built with