文档中心 > Dropshipping(已废弃)

aliexpress.ds.recommend.feed.get (获取推荐商品信息流接口)

获取推荐商品信息流

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
country String 可选 US screens the subject product library for the target country
target_currency String 可选 USD target currency:USD, GBP, CAD, EUR, UAH, MXN, TRY, RUB, BRL, AUD, INR, JPY, IDR, SEK,KRW
target_language String 可选 EN target language:EN,RU,PT,ES,FR,ID,IT,TH,JA,AR,VI,TR,DE,HE,KO,NL,PL,MX,CL,IN
page_size Number 可选 50 record count of each page, 1 - 50
sort String 可选 priceAsc sort by:priceAsc,priceDesc,volumeAsc、volumeDesc, discountAsc, discountDesc, DSRratingAsc,DSRratingDesc,
page_no Number 可选 1 Page number
category_id String 可选 21 Category ID, you can get category ID via "get category" API https://developers.aliexpress.com/en/doc.htm?docId=45801&docType=2
feed_name String 必须 DS bestseller feed name, eg. "DS bestseller"

响应参数

名称 类型 示例值 描述
result TrafficProductResultDTO result object
  • └ total_record_count
  • Number
  • 508125
  • total record count
  • └ current_record_count
  • Number
  • 1
  • current record count
  • └ is_finished
  • Boolean
  • false
  • is finished
  • └ total_page_no
  • Number
  • 10
  • total page number
  • └ current_page_no
  • Number
  • 5
  • count page number
  • products
  • Integer []
  • products
  • └ lastest_volume
  • Number
  • 28
  • lastest volume
  • └ seller_id
  • Number
  • 238788694
  • seller id
  • └ target_sale_price
  • String
  • 1.01
  • target sale price
  • └ evaluate_rate
  • String
  • 78.5%
  • evaluate rate
  • └ target_original_price
  • String
  • 1.01
  • target original price
  • └ shop_id
  • Number
  • 5072072
  • shop id
  • └ second_level_category_name
  • String
  • School Supplies
  • second level category name
  • └ first_level_category_id
  • Number
  • 21
  • first level category id
  • └ product_video_url
  • String
  • https://xxx.html
  • product video url
  • └ product_id
  • Number
  • 4000102715995
  • product id
  • └ sale_price
  • String
  • 1.01
  • sale price
  • └ target_sale_price_currency
  • String
  • USD
  • sale price in target currency
  • └ second_level_category_id
  • Number
  • 100003125
  • second level category id
  • └ shop_url
  • String
  • https://www.aliexpress.com/store/5072072
  • shop url
  • └ product_detail_url
  • String
  • https://www.aliexpress.com/item/4000102715995.html
  • product detail url
  • └ product_title
  • String
  • 5PCS/Lot Creative Magnetic Bookmarks 20 Pages Capacity Clip Flexible Magnetic Page Markers Learning Office Reading Stationery
  • product title
  • └ first_level_category_name
  • String
  • Office & School Supplies
  • first level category name
  • └ product_main_image_url
  • String
  • https://ae04.alicdn.com/kf/H6934cf97b13f42428219d0ccb9afa0fbP.jpg
  • product main image url
  • └ platform_product_type
  • String
  • ALL
  • platform product type:ALL,PLAZA,TMALL
  • └ target_original_price_currency
  • String
  • USD
  • target original price currency
  • └ ship_to_days
  • String
  • 10
  • ship to days
  • └ sale_price_currency
  • String
  • USD
  • sale price currency
  • └ product_small_image_urls
  • String []
  • product small image urls
  • └ original_price
  • String
  • 1.01
  • original price
  • └ original_price_currency
  • String
  • USD
  • original price currency
  • └ discount
  • String
  • 10%
  • discount
rsp_msg String System Error System Error
rsp_code String 404 error code

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AliexpressDsRecommendFeedGetRequest req = new AliexpressDsRecommendFeedGetRequest();
req.setCountry("US");
req.setTargetCurrency("USD");
req.setTargetLanguage("EN");
req.setPageSize(50L);
req.setSort("priceAsc");
req.setPageNo(1L);
req.setCategoryId("21");
req.setFeedName("DS bestseller");
AliexpressDsRecommendFeedGetResponse rsp = client.execute(req, sessionKey);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<aliexpress_ds_recommend_feed_get_response>
    <result>
        <total_record_count>508125</total_record_count>
        <current_record_count>1</current_record_count>
        <is_finished>false</is_finished>
        <total_page_no>10</total_page_no>
        <current_page_no>5</current_page_no>
        <products>
            <integer>
                <lastest_volume>28</lastest_volume>
                <seller_id>238788694</seller_id>
                <target_sale_price>1.01</target_sale_price>
                <evaluate_rate>78.5%</evaluate_rate>
                <target_original_price>1.01</target_original_price>
                <shop_id>5072072</shop_id>
                <second_level_category_name>School Supplies</second_level_category_name>
                <first_level_category_id>21</first_level_category_id>
                <product_video_url>https://xxx.html</product_video_url>
                <product_id>4000102715995</product_id>
                <sale_price>1.01</sale_price>
                <target_sale_price_currency>USD</target_sale_price_currency>
                <second_level_category_id>100003125</second_level_category_id>
                <shop_url>https://www.aliexpress.com/store/5072072</shop_url>
                <product_detail_url>https://www.aliexpress.com/item/4000102715995.html</product_detail_url>
                <product_title>5PCS/Lot Creative Magnetic Bookmarks 20 Pages Capacity Clip Flexible Magnetic Page Markers Learning Office Reading Stationery</product_title>
                <first_level_category_name>Office &amp; School Supplies</first_level_category_name>
                <product_main_image_url>https://ae04.alicdn.com/kf/H6934cf97b13f42428219d0ccb9afa0fbP.jpg</product_main_image_url>
                <platform_product_type>ALL</platform_product_type>
                <target_original_price_currency>USD</target_original_price_currency>
                <ship_to_days>10</ship_to_days>
                <sale_price_currency>USD</sale_price_currency>
                <original_price>1.01</original_price>
                <original_price_currency>USD</original_price_currency>
                <discount>10%</discount>
            </integer>
        </products>
    </result>
    <rsp_msg>System Error</rsp_msg>
    <rsp_code>404</rsp_code>
</aliexpress_ds_recommend_feed_get_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

返回
顶部