请求地址: https://api-gw.onebound.cn/1688/seller_info
名称 | 类型 | 必须 | 描述 |
---|---|---|---|
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版本 |
请求参数
请求参数:sid=b2b-2206619673102e9470
参数说明:sid:sid
响应参数
Version: Date:
名称 | 类型 | 必须 | 示例值 | 描述 |
---|---|---|---|---|
items | items[] | 0 | 按关键字搜索商品 | |
id | String | 0 | 950078515 | 店铺id |
nick | String | 0 | 余姚市联盛模塑厂 | 卖家昵称 |
good_num | String | 0 | ||
level | String | 0 | 1 | |
created | String | 0 | 2009年03月23日 | |
shop_type | String | 0 | 个体经营 | 店铺类型 |
user_num_id | String | 0 | yylsmould | |
company_id | String | 0 | 92330281MA2EP3DC93 | |
company_dj | String | 0 | 余姚市市场监督管理局 | |
company_time | String | 0 | 2009-03-23 至 长期 | |
company_info | Mix | 0 | company_info[] | 公司信息 |
cid | String | 0 | ||
sid | String | 0 | yylsmould | 店铺ID |
pic_url | String | 0 | ||
video | String | 0 | ||
title | String | 0 | 余姚市联盛模塑厂 | 店铺标题 |
address | String | 0 | 中国浙江宁波余姚市凤山街道五星村上峰岭15号(自主申报) | 卖家详细地址 |
phone | String | 0 | 13429262679 | |
zhuy | String | 0 | https://yylsmould.1688.com./page/contactinfo.htm | 店铺主页 |
fh_score | String | 0 | 0.11 | |
hm_score | String | 0 | 0.02 | |
xy_score | String | 0 | -0.06 | |
ht_score | String | 0 | 0.41 | |
menu | String | 0 | 一般经营项目:模具的制造;塑料制品的加工;第一类医疗器械的制造。 |
请求示例
&secret=<您自己的apiSecret>&sid=b2b-2206619673102e9470";
$curl = curl_init();
curl_setopt($curl, CURLOPT_CUSTOMREQUEST, $method);
curl_setopt($curl, CURLOPT_URL, $url);
curl_setopt($curl, CURLOPT_SSL_VERIFYHOST,FALSE);
curl_setopt($curl, CURLOPT_SSL_VERIFYPEER,FALSE);
curl_setopt($curl, CURLOPT_FAILONERROR, false);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
curl_setopt($curl, CURLOPT_HEADER, true);
curl_setopt($curl, CURLOPT_ENCODING, "gzip");
var_dump(curl_exec($curl));
?>
API返回结果
---------------------------------------
{
"user": {
"id": "37405963",
"nick": "深圳市多亲科技有限公司",
"good_num": "",
"level": "",
"created": "",
"shop_type": "",
"user_num_id": "b2b-2206619673102e9470",
"company_id": "",
"company_dj": "深圳市多亲科技有限公司",
"company_time": "",
"company_info": null,
"cid": "-1",
"sid": "b2b-2206619673102e9470",
"title": "深圳市多亲科技有限公司",
"address": "广东 深圳",
"zhuy": "https://m.1688.com/winport/b2b-2206619673102e9470.html",
"fh_score": "0.0",
"hm_score": "5.0",
"xy_score": "5.0",
"ht_score": null,
"qe_score": null,
"menu": "",
"service_score": null,
"tplogo": "//cbu01.alicdn.com/cms/upload/2016/790/696/2696097_1254399316.png",
"ratelogourl": "https://img.alicdn.com/imgextra/i2/O1CN01AUrNmz1Mb3n1wG6Z1_!!6000000001452-2-tps-48-48.png",
"tpyear": "3",
"bsrdata": "",
"_ddf": "cdy"
},
"secache": "b4cb1839f4d75b3991d8e7ed9ab1f3e6",
"secache_time": 1665731205,
"secache_date": "2022-10-14 15:06:45",
"translate_status": "",
"translate_time": 0,
"language": {
"default_lang": "cn",
"current_lang": "cn"
},
"error": "",
"reason": "",
"error_code": "0000",
"cache": 0,
"api_info": "today:101 max:10000 all[235=101+70+64];expires:2030-12-31",
"execution_time": "3.532",
"server_time": "Beijing/2022-10-14 15:06:45",
"client_ip": "106.6.36.148",
"call_args": {
"nick": "b2b-2206619673102e9470"
},
"api_type": "1688",
"translate_language": "zh-CN",
"translate_engine": "google_new",
"server_memory": "0.77MB",
"request_id": "gw-4.63490a8191fc7",
"last_id": "1282756141"
}