Felo API PlatformFelo API Platform
全部 DataForSEO 端点
v0.2.0-beta
OpenAPI 3.1.0

商品竞争对手

服务器:https://openapi.felo.ai
客户端库

DataForSEO

​

SEO, search-engine results, keyword research, backlinks and AI visibility data.

商品竞争对手

​

与给定商品在共同搜索词上竞争的 Amazon 商品。使用 limit、offset 和 offset_token 分页;翻过前几页后改用该令牌。采用 DataForSEO 的信封结构:数据位于 tasks[0].result,结果状态位于 tasks[0].status_code——被拒绝的请求仍会返回 HTTP 200。若要看共同搜索词本身,请使用 post_dataforseo_labs_amazon_product_kw_overlap_live。

计费参考

  • 计量方式:按上报的响应成本计量。
  • 参考请求估算:0.1356 美元。
  • 参考客户倍率:1.0。不得对已结算的客户金额再次应用。

仅供参考的元数据,不是账户报价、保证价格或消费上限。资源额度不同于 Felo 额度。最终扣费以 Felo 计费记录为准。

请求体
application/json
  • 类型: array (object | null)[]
    • asin
      类型: string

      产品 ID
      必填字段
      Amazon 上的唯一产品标识符(ASIN);
      可单独向 Amazon Products 端点发起请求,获取 asin 参数

    • filters
      类型: array (object | null)[] | null

      结果筛选参数数组
      可选字段
      可同时添加多个筛选条件(最多 8 个)
      应在条件之间设置逻辑运算符 and、or
      支持以下运算符:
      regex、not_regex、<、<=、>、>=、=、<>、in、not_in、ilike、not_ilike、like、not_like、match、not_match
      可在 like 和 not_like 以及 ilike 和 not_ilike 中使用 % 运算符,匹配任意长度(零个或多个字符)的字符串
      示例:
      ["full_metrics.amazon_serp.pos_1",">", 20]

      有关筛选条件的更多信息,请参阅 Dataforseo Labs 的筛选条件或这篇帮助中心指南

      空对象
    • language_code
      类型: string | null

      语言代码
      未指定 language_name 时为必填字段
      可单独向
      https://api.dataforseo.com/v3/dataforseo_labs/locations_and_languages 发起请求,获取可用语言及其 language_code 列表
      示例:
      en

    • language_name
      类型: string

      语言全名
      未指定 language_code 时为必填字段
      可单独向
      https://api.dataforseo.com/v3/dataforseo_labs/locations_and_languages 发起请求,获取可用语言及其 language_name 列表
      示例:
      English

    • limit
      类型: integer | null

      结果数组中的产品数量上限
      可选字段
      默认值:100;
      最大值:1000

    • location_code
      类型: integer

      地点代码
      未指定 location_name 时为必填字段
      可单独向
      https://api.dataforseo.com/v3/dataforseo_labs/locations_and_languages 发起请求,获取可用地点及其 location_code 列表;
      注意:此端点目前仅支持美国、埃及、沙特阿拉伯和阿联酋地点;
      示例:
      2840

    • location_name
      类型: string

      地点全名
      未指定 location_code 时为必填字段
      可单独向
      https://api.dataforseo.com/v3/dataforseo_labs/locations_and_languages 发起请求,获取可用地点及其 location_name 列表;
      注意:此端点目前仅支持美国、埃及、沙特阿拉伯和阿联酋地点;
      示例:
      United States

    • offset
      类型: integer | null

      返回的产品竞品在结果数组中的偏移量
      可选字段
      默认值:0
      如果指定 10,结果数组中的前十个产品竞品将被跳过,并返回后续产品竞品的数据

    • order_by
      类型: array string[] | null

      结果排序规则
      可选字段
      可使用与 filters 数组相同的值对结果排序
      可用的排序类型:
      asc - 结果按升序排列
      desc - 结果按降序排列
      应使用逗号设置排序参数
      示例:
      ["full_metrics.amazon_serp.pos_1,desc"]
      注意,单个请求中最多可设置三条排序规则
      应使用逗号分隔多条排序规则
      示例:
      ["full_metrics.amazon_serp.pos_1,desc","avg_position,desc"]
      默认规则:
      ["ranked_serp_element.serp_item.rank_group,asc"]

    • tag
      类型: string | null

      用户自定义任务标识符
      可选字段
      字符数上限为 255
      可使用此参数标识任务,并将其与结果对应
      可在响应的 data 对象中找到指定的 tag 值

响应
  • 200
    类型: object | null · Response36Afe1097B20_DataforseoLabsAmazonProductCompetitorsLiveResponseInfo
    • cost
      类型: number | null 格式: double

      任务总费用,美元

    • status_code
      类型: integer | null

      通用状态码 完整响应码列表见此处

    • status_message
      类型: string | null

      通用信息性消息 完整的一般信息性消息列表见此处

    • tasks
      类型: array (object | null)[] | null

      任务数组

      • 类型: object | null · Response36Afe1097B20_DataforseoLabsAmazonProductCompetitorsLiveTaskInfo
        • cost
          类型: number | null 格式: double

          任务总费用,美元

        • data
          类型: object | null

          包含你在 POST 请求中指定的相同参数

          • propertyName
            类型: object | null
        • id
          类型: string | null

          任务标识符 我们系统中 UUID 格式的唯一任务标识符

        • path
          类型: array (string | null)[] | null

          URL 路径

        • result
          类型: array (object | null)[] | null

          结果数组

          • asin
            类型: string | null

            POST 数组中的 ASIN

          • items
            类型: array (object | null)[] | null

            包含检测到的 Amazon 商品竞品及相关数据

            • asin
              类型: string | null

              POST 数组中的 ASIN

            • avg_position
              类型: number | null 格式: float

              商品在 Amazon SERP 中的平均位置
              注意:平均位置仅针对交集关键词计算;
              给定商品与不同目标商品组合时,该值可能不同

            • competitor_metrics
              类型: object | null · Response36Afe1097B20_AmazonMetricsBundleInfo

              交集关键词的指标
              与提供的 asin 和目标 asin 共有的关键词相关的排名数据;
              注意:此对象中的排名数据针对返回的竞品 asin

              • amazon_paid
                类型: object | null · Response36Afe1097B20_AppMetricsInfo

                来自 Amazon 付费 SERP 的排名数据

                • count
                  类型: integer | null 格式: int64

                  包含该商品的 Amazon 自然 SERP 总数

                • pos_1
                  类型: integer | null

                  商品排名 #1 的自然 SERP 数量

                • pos_11_100
                  类型: integer | null

                  商品排名 #11-100 的自然 SERP 数量

                • pos_2_3
                  类型: integer | null

                  商品排名 #2-3 的自然 SERP 数量

                • pos_4_10
                  类型: integer | null

                  商品排名 #4-10 的自然 SERP 数量

                • search_volume
                  类型: integer | null 格式: int64

                  商品排名关键词在自然 SERP 中的总搜索量

              • amazon_serp
                类型: object | null · Response36Afe1097B20_AppMetricsInfo

                来自 Amazon 自然 SERP 的排名数据

                • count
                  类型: integer | null 格式: int64

                  包含该商品的 Amazon 自然 SERP 总数

                • pos_1
                  类型: integer | null

                  商品排名 #1 的自然 SERP 数量

                • pos_11_100
                  类型: integer | null

                  商品排名 #11-100 的自然 SERP 数量

                • pos_2_3
                  类型: integer | null

                  商品排名 #2-3 的自然 SERP 数量

                • pos_4_10
                  类型: integer | null

                  商品排名 #4-10 的自然 SERP 数量

                • search_volume
                  类型: integer | null 格式: int64

                  商品排名关键词在自然 SERP 中的总搜索量

            • full_metrics
              类型: object | null · Response36Afe1097B20_AmazonMetricsBundleInfo

              商品所有关键词的指标
              与提供的 asin 所排名的全部关键词相关的排名数据完整概览

              • amazon_paid
                类型: object | null · Response36Afe1097B20_AppMetricsInfo

                来自 Amazon 付费 SERP 的排名数据

                • count
                  类型: integer | null 格式: int64

                  包含该商品的 Amazon 自然 SERP 总数

                • pos_1
                  类型: integer | null

                  商品排名 #1 的自然 SERP 数量

                • pos_11_100
                  类型: integer | null

                  商品排名 #11-100 的自然 SERP 数量

                • pos_2_3
                  类型: integer | null

                  商品排名 #2-3 的自然 SERP 数量

                • pos_4_10
                  类型: integer | null

                  商品排名 #4-10 的自然 SERP 数量

                • search_volume
                  类型: integer | null 格式: int64

                  商品排名关键词在自然 SERP 中的总搜索量

              • amazon_serp
                类型: object | null · Response36Afe1097B20_AppMetricsInfo

                来自 Amazon 自然 SERP 的排名数据

                • count
                  类型: integer | null 格式: int64

                  包含该商品的 Amazon 自然 SERP 总数

                • pos_1
                  类型: integer | null

                  商品排名 #1 的自然 SERP 数量

                • pos_11_100
                  类型: integer | null

                  商品排名 #11-100 的自然 SERP 数量

                • pos_2_3
                  类型: integer | null

                  商品排名 #2-3 的自然 SERP 数量

                • pos_4_10
                  类型: integer | null

                  商品排名 #4-10 的自然 SERP 数量

                • search_volume
                  类型: integer | null 格式: int64

                  商品排名关键词在自然 SERP 中的总搜索量

            • intersections
              类型: integer | null

              交集关键词数量

            • se_type
              类型: string | null

              搜索引擎类型

            • sum_position
              类型: integer | null

              商品在 Amazon SERP 中所有位置之和
              注意:平均位置仅针对交集关键词计算;
              给定商品与不同目标商品组合时,该值可能不同

          • items_count
            类型: integer | null 格式: int64

            items 数组中返回的结果数

          • language_code
            类型: string | null

            POST 数组中的语言代码
            若没有数据,则该值为 null

          • location_code
            类型: integer | null

            POST 数组中的地点代码
            若没有数据,则该值为 null

          • se_type
            类型: string | null

            搜索引擎类型

          • total_count
            类型: integer | null 格式: int64

            我们数据库中与你的请求相关的结果总数

        • result_count
          类型: integer | null 格式: int64

          result 数组中的元素数

        • status_code
          类型: integer | null

          任务的状态码 由 DataForSEO 生成,范围如下:10000-60000 完整响应码列表见此处

        • status_message
          类型: string | null

          任务的信息性消息 完整的一般信息性消息列表见此处

        • time
          类型: string | null

          执行时间,秒

    • tasks_count
      类型: integer | null 格式: int64

      tasks 数组中的任务数

    • tasks_error
      类型: integer | null 格式: int64

      tasks 数组中返回错误的任务数

    • time
      类型: string | null

      总执行时间,秒

    • version
      类型: string | null

      API 的当前版本

    application/json
  • 400

    无法处理该请求。请检查请求参数。

  • 401

    需要有效的 Felo API 密钥。

  • 402

    由于未满足计费要求,请求无法继续。

  • 403

    该账户无权执行此操作。

  • 429

    已达到请求或支出限额。

  • 502

    服务无法完成该请求。

  • 503

    API 或计费服务暂时不可用。

  • 504

    服务在处理请求时超时。

  • default

    错误响应;上游透传响应可能采用提供方格式

    application/json
Request Example for post/v1/beta/dataforseo/dataforseo_labs/amazon/product_competitors/live
curl https://openapi.felo.ai/v1/beta/dataforseo/dataforseo_labs/amazon/product_competitors/live \
  --request POST \
  --header 'Content-Type: application/json' \
  --header 'Authorization: Bearer YOUR_SECRET_TOKEN' \
  --data '[
  {
    "asin": "019005476X",
    "location_code": 2840,
    "language_code": "en"
  }
]'
{
  "version": null,
  "status_code": null,
  "status_message": null,
  "time": null,
  "cost": null,
  "tasks_count": null,
  "tasks_error": null,
  "tasks": [
    {
      "id": null,
      "status_code": null,
      "status_message": null,
      "time": null,
      "cost": null,
      "result_count": null,
      "path": [
        null
      ],
      "data": null,
      "result": [
        {
          "se_type": null,
          "asin": null,
          "location_code": null,
          "language_code": null,
          "total_count": null,
          "items_count": null,
          "items": [
            {
              "se_type": null,
              "asin": null,
              "avg_position": null,
              "sum_position": null,
              "intersections": null,
              "competitor_metrics": "[Max Depth Exceeded]",
              "full_metrics": "[Max Depth Exceeded]"
            }
          ]
        }
      ]
    }
  ]
}
Product Competitors

需要帮助?