文档中心 > API类目 > 万相台无界API

taobao.universalbp.new.word.index.detail (市场趋势-指标分日详情)

市场趋势-指标分日详情

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
top_service_context TopServiceContext 必须 topServiceContext
  • └ biz_code
  • String
  • 必须
  • xxxxx
  • api业务线编码
  • └ login_type
  • Number
  • 可选
  • 1
  • 1: 直客(正常)登录 2: 代理直投(叉乘账号)
  • └ member_id
  • Number
  • 可选
  • 12345
  • 代理直投时被代理商家账号, 代理直投(叉乘)时必填。 直客 时也可以填入 memberId
  • └ ext
  • String
  • 可选
  • {}
  • 扩展内容, 暂时无用
word_index_query_v_o WordIndexQueryVO 必须 wordIndexQueryVO
  • └ start_time
  • String
  • 可选
  • 2024-11-09
  • 开始时间
  • └ end_time
  • String
  • 可选
  • 2024-12-08
  • 结束时间
  • word_category_list
  • WordCategoryVO []
  • 可选
  • 词类目集合
  • └ cate_id
  • Number
  • 可选
  • 50010850
  • 类目id
  • └ word
  • String
  • 可选
  • 裙子

响应参数

名称 类型 示例值 描述
top_result TopResult topResult
  • info
  • TopInfo
  • 通用前端结果的Info信息
  • 请求系统信息
  • └ ok
  • Boolean
  • true
  • 是否成功
  • └ message
  • String
  • 参数错误
  • 错误信息
  • └ error_code
  • String
  • xxxxx
  • 错误编码
  • word_index_detail_v_o_top_bulk_data
  • TopBulkData
  • 结果集
  • └ count
  • Number
  • 10
  • 成功数量
  • word_index_detail_v_o_list
  • WordIndexDetailVO []
  • 批量成功结果集
  • └ word
  • String
  • 裙子
  • └ the_date
  • String
  • 2024-11-22
  • 时间
  • └ impression_index
  • String
  • 2024-11-22
  • 展现指数
  • └ click_index
  • String
  • 2024-11-22
  • 点击指数
  • └ ctr
  • String
  • 2024-11-22
  • 点击率
  • └ cvr
  • String
  • 2024-11-22
  • 点击转化率
  • └ competition_index
  • String
  • 2024-11-22
  • 竞争指数
  • └ avg_price
  • String
  • 2024-11-22
  • 市场均价

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
UniversalbpNewWordIndexDetailRequest req = new UniversalbpNewWordIndexDetailRequest();
UniversalbpNewWordIndexDetailRequest.TopServiceContext obj1 = new UniversalbpNewWordIndexDetailRequest.TopServiceContext();
obj1.setBizCode("xxxxx");
obj1.setLoginType(1L);
obj1.setMemberId(12345L);
obj1.setExt("{}");
req.setTopServiceContext(obj1);
UniversalbpNewWordIndexDetailRequest.WordIndexQueryVO obj2 = new UniversalbpNewWordIndexDetailRequest.WordIndexQueryVO();
obj2.setStartTime("2024-11-09");
obj2.setEndTime("2024-12-08");
List<UniversalbpNewWordIndexDetailRequest.WordCategoryVO> list4 = new ArrayList<UniversalbpNewWordIndexDetailRequest.WordCategoryVO>();
UniversalbpNewWordIndexDetailRequest.WordCategoryVO obj5 = new UniversalbpNewWordIndexDetailRequest.WordCategoryVO();
list4.add(obj5);
obj5.setCateId(50010850L);
obj5.setWord("裙子");
obj2.setWordCategoryList(list4);
req.setWordIndexQueryVO(obj2);
UniversalbpNewWordIndexDetailResponse rsp = client.execute(req, sessionKey);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<universalbp_new_word_index_detail_response>
    <top_result>
        <info>
            <ok>true</ok>
            <message>参数错误</message>
            <error_code>xxxxx</error_code>
        </info>
        <word_index_detail_v_o_top_bulk_data>
            <count>10</count>
            <word_index_detail_v_o_list>
                <word_index_detail_v_o>
                    <word>裙子</word>
                    <the_date>2024-11-22</the_date>
                    <impression_index>2024-11-22</impression_index>
                    <click_index>2024-11-22</click_index>
                    <ctr>2024-11-22</ctr>
                    <cvr>2024-11-22</cvr>
                    <competition_index>2024-11-22</competition_index>
                    <avg_price>2024-11-22</avg_price>
                </word_index_detail_v_o>
            </word_index_detail_v_o_list>
        </word_index_detail_v_o_top_bulk_data>
    </top_result>
</universalbp_new_word_index_detail_response>

异常示例

  • XML示例
  • JSON示例
<error_response>
    <code>50</code>
    <msg>Remote service error</msg>
    <sub_code>isv.invalid-parameter</sub_code>
    <sub_msg>非法参数</sub_msg>
</error_response>

错误码解释

错误码 错误描述 解决方案

API工具

如何获得此API

FAQ

返回
顶部