lazada按关键字搜索商品 API 返回值说明

item_search-按关键字搜索商品

请求地址:https://console.open.onebound.cn/console/index.php?i=Anzexi

公共参数:

名称 类型 必须 描述
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版本

请求参数:q=shoe&start_price=&end_price=&page=1&page_size=40&nation=co.th

参数说明:q:搜索关键字(英文)
nation:国家
国家域名后缀可选值如下:co.id、com.my、com.ph、sg、co.th、vn
page:页数

响应参数:

名称 类型 必须 示例值 描述

title

String 0 CLUB SODA LADIES FASHION CASUAL WEAR TOPS 100% COTTON TEE SHIRTS 商品标题

pic_url

String 0 https://my-test-11.slatic.net/p/2b84c98152b4a72c8f5a07150ba9344e.jpg 商品图片

promotion_price

Float 0 9.90 参考价

price

Float 0 9.90 价格

originalPrice

Float 0 39.90 原价

sales

Int 0 1 销量

num_iid

String 0 467636535 商品ID

seller_nick

String 0 Y&Y SDN BHD 卖家昵称

post_fee

String 0 邮费

area

String 0 店铺所在地

detail_url

String 0 //www.lazada.com.my/products/club-soda-ladies-fashion-casual-wear-tops-100-cotton-tee-shirts-i467636535-s756830444.html?search=1 商品链接

请求示例:

  • Curl
  • PHP
  • PHPsdk
  • JAVA
  • C#
  • Python
	
-- 请求示例 url 默认请求参数已经URL编码处理
curl -i "https://api-gw.onebound.cn/lazada/item_search/?key=<您自己的apiKey>&secret=<您自己的apiSecret>&q=shoe&start_price=&end_price=&page=1&page_size=40&nation=co.th"

API 工具

API SDK 调用示例 API SDK下载 API测试工具

获得此API

你可能感兴趣的:(lazeda,api)