Skip to content
登录 注册

访问API

  1. 创建 API key

    登录 shifter.io/panel,打开 SERP API > API Keys。Amazon 共用 SERP API key 池。复制一个有效的 key。

  2. 选择一个市场

    默认值为 amazon.com。如需指定其他市场,传入 domain=<host>。完整列表见:支持的域名

  3. 发送你的第一个请求

    Terminal window
    curl "https://ecom.shifter.io/v1?engine=amazon&api_key=YOUR_API_KEY&type=search&q=memory+card"
  4. 切换 type

    type=search 改为其他任意支持的值(productbestsellersdealscategoryseller_profileseller_productsseller_feedback)。每种类型都有各自所需的参数,详见各端点页面

GET https://ecom.shifter.io/v1

在每个请求中将 api_key 作为查询参数传入。身份验证失败会返回 HTTP 401。