企业-外贸平台及工厂信息

接口说明

  • 查询企业的外贸平台及工厂信息

API路径

/services/v4/rest/enterprise/ecomPlatformFactoryInfo

请求方法

GET

请求参数

参数 类型 是否必选 说明 示例
keywords string 企业PID或者公司名称,统一信用代码,工商注册码;字符串长度必须大于等于4 上海xx机电有限公司
module string 外贸平台及工厂信息模块,不传返回全部模块 FactoryInfo
page int 分页参数-页码,默认为1,每页固定返回10条数据,目前只对 EcomPlatformShops 模块有效 1

外贸平台及工厂信息模块

  • FactoryBaseInfo: 工厂基本信息
  • EcomPlatformShops: 外贸平台信息

调用样例

http://${host}/services/v4/rest/enterprise/ecomPlatformFactoryInfo?keywords=上海xx机电有限公司

返回结果

JSON示例

{
  "error_code": 0,
  "success": true,
  "message": "",
  "data": {
    // 工厂基本信息
    "FactoryBaseInfo": {
      // 是否OEM
      "oem": "OEM",
      // 厂房面积
      "factory_area": "762(单位平方米)",
      // 质量控制
      "quality_control" : "内部质量控制",
      // 管理体系认证
      "mgt_cert": "ISO 9001,ISO 14001,ISO 13485,OHSMS18001",
      // 外贸
      "foreign_trade": "是",
      // 生产质量证书
      "pro_cert": "内部质量控制",
      // 代工模式
      "foundry_model" : "OEM、ODM、其他",
      // 是否支持打样
      "proofable": "是"
    },
    // 外贸平台信息
    "EcomPlatformShops": {
      // 数量  
      "total": 20,
      /// 数据
      "items": [
        {
          // 网店id
          "shop_id": "cwqgvw3r12rd21e", 
          // 网店名称
          "shop_name": "Linfen Baixiang Mining Equipment Co., Ltd.", 
          // 网店所属平台
          "platform": ["中国制造国际站"], 
          // 网店商品数量
          "product_count": 105, 
          // 网店url
          "shop_url": "https://a7e6f8e14ee505bb.en.made-in-china.com/", 
          // 网店状态
          "shop_status": "在营", 
          // 网店关联企业的时间
          "associated_time": "2026-03-06",
          // 网店更新时间 
          "update_date": "2026-06-01",
          // 卖家详情,每个平台的卖家详情不一样,下面是阿里巴巴国际站的信息
          "detail_info": {
            // 网店评分
            "shop_score": "4.8",
            // 交货率
            "delivery_rate": "97.1%",
            // 订单量
            "order_number": "134",
            // 最新评论时间
            "latest_comment_date": "2026-03-06",
            // 开店时长
            "shop_year": "7",
            // 网店创建时间-年
            "shop_create_year": "2012"
          }
        }
      ]
    }
  }
}

当传入module为 EcomPlatformShops 时,只返回下面的数据,且受到page参数的控制

{
  "error_code": 0,
  "success": true,
  "message": "",
  "data": {
    // 外贸平台信息
    "EcomPlatformShops": {
      // 数量  
      "total": 20,
      /// 数据
      "items": [
        {
          // 网店id
          "shop_id": "cwqgvw3r12rd21e", 
          // 网店名称
          "shop_name": "Linfen Baixiang Mining Equipment Co., Ltd.", 
          // 网店所属平台
          "platform": ["中国制造国际站"], 
          // 网店商品数量
          "product_count": 105, 
          // 网店url
          "shop_url": "https://a7e6f8e14ee505bb.en.made-in-china.com/", 
          // 网店状态
          "shop_status": "在营", 
          // 网店关联企业的时间
          "associated_time": "2026-03-06",
          // 网店数据更新时间
          "update_date": "2026-06-01",
          // 卖家详情,每个平台的卖家详情不一样,下面是阿里巴巴国际站的信息
          "detail_info": {
            // 网店评分
            "shop_score": "4.8",
            // 交货率
            "delivery_rate": "97.1%",
            // 订单量
            "order_number": "134",
            // 最新评论时间
            "latest_comment_date": "2026-03-06",
            // 开店时长
            "shop_year": "7",
            // 网店创建时间-年
            "shop_create_year": "2012"
          }
        }
      ]
    }
  }
}

错误返回值

code msg 说明
 406  PIN已被使用 / 请求参数有误(keywords参数不能为空,类型需为string)  
407 PIN时间戳和服务器时间误差超过10分钟
408 Access Secrect 验证失败
409 缺少 X-AK-KEY 或者 X-AK-PIN 或 X-AK-TS 请求头
410 Access Key 不存在
411 访问 IP 不在白名单之列
412 Access Key 已被禁用
500 服务器错误
1000 账户已过期
1001 请求额度不足
1002 账户无调用权限
1003 请求并发超限

错误代码参考 错误码定义

文档更新时间: 2026-06-26 15:07   作者:3413