一、接口参数说明:
通过1688app中分享至PC端的短链接,通过调用item_password - 获得淘口令真实url接口,可以得到转换后的PC端商品链接及商品ID,再次调用商品详情接口即可拿到该淘口令接口要的商品详情数据。
点击注册获取后台账号密码:登录 - 跨境电商平台接口提供商 数据采集公司 数据接口定制服务 企业级数据服务商正在上传…重新上传取消http://console.open.onebound.cn/console/?i=lucyhttp://console.open.onebound.cn/console/?i=lucy
二、请求参数:
请求参数:word=https%3A%2F%2Fqr.1688.com%2Fshare.html%3Fsecret=FIH6kmCT&title=no
参数说明:word:淘口令代码
title:是否获取标题和图片
三、响应参数:
名称 类型 示例值 描述
item item[] 商品信息
num_iid String 553327559647 宝贝ID
url String https://detail.1688.com/offer/553327559647.html 淘口令真实url
word String https://qr.1688.com/share.html?secret=FIH6kmCT 淘口令内容
error String error taobao password 错误提示
四、请求示例:(CURL、PHP 、PHPsdk 、Java 、C# 、Python)
响应示例:
{ "item": { "num_iid": "553327559647", "url": "https://detail.1688.com/offer/553327559647.html", "word": "https://qr.1688.com/share.html?secret=FIH6kmCT", "error": "" }, "error": "", "reason": "", "error_code": "0000", "cache": 0, "api_info": "today:9 max:10000", "execution_time": 1.389, "server_time": "Beijing/2021-03-09 17:05:36", "client_ip": "106.6.35.144", "call_args": [], "api_type": "1688", "translate_language": "zh-CN", "translate_engine": "google_cn", "server_memory": "3.47MB", "request_id": "gw-3.60473a5ec66b1" }