请求参数:sid=b2b-2206619673102e9470
参数说明:sid:sid
API测试申请试用
响应参数
Version: Date:
| 名称 | 类型 | 必须 | 示例值 | 描述 |
|---|---|---|---|---|
| items | items[] | 0 | 按关键字搜索商品 |
<?php
// 请求示例 url 默认请求参数已经URL编码处理
// 本示例代码未加密secret参数明文传输,若要加密请参考:https://open.onebound.cn/help/demo/sdk/demo-sign.php
$method = "GET";
$url = "https://api-gw.onebound.cn/1688/seller_info/?key=<您自己的apiKey>&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));
?>
{
"user": {
"id": "950078515",
"nick": "余姚市联盛模塑厂",
"good_num": null,
"level": "1",
"created": "2009年03月23日",
"shop_type": "个体经营",
"user_num_id": "yylsmould",
"company_id": "92330281MA2EP3DC93",
"company_dj": "余姚市市场监督管理局",
"company_time": "2009-03-23 至 长期",
"company_info": {
"comapnyInfo": {
"annualRevenue": "人民币 701 万元/年 - 1000 万元/年",
"factorySize": "2800平方米",
"manufactureType": "OEM加工、ODM加工",
"productionCapacity": "600000件",
"productionUnit": "件",
"qaQc": "内部",
"rndStaffNum": "5 - 10 人",
"technologyType": "注塑/注射"
},
"itemList": [
{
"itemName": "厂房面积",
"itemValue": "2800平方米"
},
{
"itemName": "研发人数",
"itemValue": "5 - 10 人"
},
{
"itemName": "加工方式",
"itemValue": "OEM加工、ODM加工"
},
{
"itemName": "加工工艺",
"itemValue": "注塑/注射"
},
{
"itemName": "月产量",
"itemValue": "600000件"
},
{
"itemName": "年营业额",
"itemValue": "人民币 701 万元/年 - 1000 万元/年"
},
{
"itemName": "质量控制",
"itemValue": "内部"
}
]
},
"cid": "-1",
"sid": "yylsmould",
"pic_url": null,
"video": null,
"title": "余姚市联盛模塑厂",
"address": "中国浙江宁波余姚市凤山街道五星村上峰岭15号(自主申报)",
"phone": "13429262679",
"zhuy": "https://yylsmould.1688.com./page/contactinfo.htm",
"fh_score": "-0.15",
"hm_score": "0.02",
"xy_score": "-0.13",
"ht_score": "0.36",
"menu": "一般经营项目:模具的制造;塑料制品的加工;第一类医疗器械的制造。"
},
"secache": "fae723b33d52c0870fda3ba6b0c5b577",
"secache_time": 1614932379,
"secache_date": "2021-03-05 16:19:39",
"translate_status": "",
"translate_time": 0,
"language": {
"default_lang": "cn",
"current_lang": "cn"
},
"error": "",
"reason": "",
"error_code": "0000",
"cache": 1,
"api_info": "today:7 max:10000",
"execution_time": 0.062,
"server_time": "Beijing/2021-03-09 16:55:39",
"client_ip": "106.6.35.144",
"call_args": {
"shop_url": "https://yylsmould.1688.com"
},
"api_type": "1688",
"translate_language": "zh-CN",
"translate_engine": "google_cn",
"server_memory": "3.52MB",
"request_id": "gw-4.6047380bae9e5"
}
{
"error": "item-not-found",
"reason": "商品没找到",
"error_code": "2000",
"success": 0,
"cache": 0,
"api_info": "today:0 max:10000",
"execution_time": 0.081,
"server_time": "Beijing/2020-06-10 23:44:00",
"call_args": [],
"api_type": "taobao",
"request_id": "15ee0ffc041242"}