互联网的今天,如果你做电商或者做点小生意,首先,必须非常了解市场!什么时间段,什么产品会火,然后随时调整产品上架策略!
那么怎么去获取这些信息呢?
聪明点电商人是这样的。首先,你需要注册平台的API接口。当然步骤繁琐不说,很大积累是申请不来的。这里就给大家一个反复测试,安全稳定的API测试接口 。
如何获取?
直接上示例啦!
item_search_popular
公共参数
名称 |
类型 |
必须 |
描述 |
key |
String |
是 |
调用key(必须以GET方式拼接在URL中) |
secret |
String |
是 |
调用密钥 |
api_name |
String |
是 |
API接口名称(包括在请求地址中)[item_search,item_get,item_search_shop等] |
cache |
String |
否 |
[yes,no]默认yes,将调用缓存的数据,速度比较快 |
result_type |
String |
否 |
[json,jsonu,xml,serialize,var_export]返回数据格式,默认为json,jsonu输出的内容中文可以直接阅读 |
lang |
String |
否 |
[cn,en,ru]翻译语言,默认cn简体中文 |
version |
String |
否 |
API版本 |
请求参数
请求参数:num_iid=62347145180
参数说明:num_iid:商品id
响应参数
Version: Date:
名称 | 类型 | 必须 | 示例值 | 描述 |
items |
item[] | 0 | 热卖商品推荐 |
-- 请求示例 url 默认请求参数已经URL编码处理 curl -i "https://api-gw.onebound.cn/alibaba/item_search_popular/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&num_iid=62347145180"
响应示例
{ "item": [ { "num_iid": "1600523822040", "price": "$3.00 - $3.50", "pic_url": "https://s.alicdn.com/@sc04/kf/Hdcc291c64dd7477a85c3cf0316e529b2j.jpg_220x220.jpg", "title": "Stocklot new cheap stylish sport sneakers casual shoes men for walking", "min_num": "20 pairs", "detail_url": "//www.alibaba.com/product-detail/Stocklot-new-cheap-stylish-sport-sneakers_1600523822040.html" }, { "num_iid": "1600306558465", "price": "$3.00 - $3.80", "pic_url": "https://s.alicdn.com/@sc04/kf/Hb197b3429b584a9895d17664a72e2aaaM.jpg_220x220.jpg", "title": "new arrival lace up big size running sneakers pu white shoes men casual", "min_num": "1 pair", "detail_url": "//www.alibaba.com/product-detail/new-arrival-lace-up-big-size_1600306558465.html" }, { "num_iid": "1600524858775", "price": "$2.80 - $3.50", "pic_url": "https://s.alicdn.com/@sc04/kf/H7cdff51a3d1f45e1b6c94d3f5a8aced1U.jpg_220x220.jpg", "title": "wholesale 2022 fashion sneakers for men custom unbrand breathable sport shoes cheapest", "min_num": "10 pairs", "detail_url": "//www.alibaba.com/product-detail/wholesale-2022-fashion-sneakers-for-men_1600524858775.html" }, { "num_iid": "1600519019445", "price": "$2.50 - $3.15", "pic_url": "https://s.alicdn.com/@sc04/kf/Hdec02c92ae824da1b933e69e65e8f95cQ.jpg_220x220.jpg", "title": "HOT SALE FASHION MEN WALKING SNEAKERS WHOLESALE 2022 SUMMER SPORTS SHOES", "min_num": "1 pair", "detail_url": "//www.alibaba.com/product-detail/HOT-SALE-FASHION-MEN-WALKING-SNEAKERS_1600519019445.html" }, { "num_iid": "1600478873908", "price": "$0.80 - $1.30", "pic_url": "https://s.alicdn.com/@sc04/kf/H16cf1a7657584be1aa0ac8b8b4ffb817W.jpg_220x220.jpg", "title": "black men shoes hot sale china factory cheapest knitting running lace up men sport shoes", "min_num": "2 pairs", "detail_url": "//www.alibaba.com/product-detail/black-men-shoes-hot-sale-china_1600478873908.html" }, { "num_iid": "1600442483624", "price": "$2.80 - $3.20", "pic_url": "https://s.alicdn.com/@sc04/kf/Hb6ee553a7be8478cb8f59cb796928ff7r.jpg_220x220.jpg", "title": "wholesale china supplier stocklot stylish mens sneakers custom", "min_num": "10 pairs", "detail_url": "//www.alibaba.com/product-detail/wholesale-china-supplier-stocklot-stylish-mens_1600442483624.html" }, { "num_iid": "1600246235485", "price": "$3.00 - $3.80", "pic_url": "https://s.alicdn.com/@sc04/kf/Hc67cfdd1fb7b41aba43c2d9efd7e74b70.jpg_220x220.jpg", "title": "fashion men casual shoes breathable walking shoes cheap injection sport shoes", "min_num": "1 pair", "detail_url": "//www.alibaba.com/product-detail/fashion-men-casual-shoes-breathable-walking_1600246235485.html" }, { "num_iid": "1600137168753", "price": "$3.30 - $3.50", "pic_url": "https://s.alicdn.com/@sc04/kf/H15136b19c53746dba5eb64afe11d30cdV.jpg_220x220.jpg", "title": "Autumn design no branded durable lace up casual shoes for men", "min_num": "1 pair", "detail_url": "//www.alibaba.com/product-detail/Autumn-design-no-branded-durable-lace_1600137168753.html" }, { "num_iid": "1600467760716", "price": "$2.50 - $3.60", "pic_url": "https://s.alicdn.com/@sc04/kf/H67a2e5dfe483421ca8e6c7c15138f99cu.jpg_220x220.jpg", "title": "low price customized logo durable fashion casual sneakers shoes men sports", "min_num": "1 pair", "detail_url": "//www.alibaba.com/product-detail/low-price-customized-logo-durable-fashion_1600467760716.html" }, { "num_iid": "1600229370606", "price": "$2.80 - $3.20", "pic_url": "https://s.alicdn.com/@sc04/kf/Hd997e82ae5234027b0ca26cc02e4ea67D.jpg_220x220.jpg", "title": "china shoe making factory summer breathable new men stylish causal sport shoes", "min_num": "2 pairs", "detail_url": "//www.alibaba.com/product-detail/china-shoe-making-factory-summer-breathable_1600229370606.html" } ], "_ddf": "app", "error": "", "reason": "", "error_code": "0000", "cache": 0, "api_info": "today:22 max:5000 all[37=22+10+5];expires:2023-04-25", "execution_time": "0.555", "server_time": "Beijing/2022-07-22 15:26:32", "client_ip": "106.6.33.140", "call_args": [], "api_type": "alibaba", "translate_language": "zh-CN", "translate_engine": "baidu", "server_memory": "0.84MB", "request_id": "gw-4.62da51281d9e8", "last_id": "1094095650" }