API文档 工商信息 新增企业
基本信息
接口地址
https://api.qixin.com/APIService/enterprise/getNewEnt
数据格式
JSON
请求方式
GET
请求示例
https://api.qixin.com/APIService/enterprise/getNewEnt?province_code=110000
描述
根据省份代码获得新增企业的详细信息
请求参数 (Headers)
参数名类型必填描述
Auth-Version String 2.0(参数值),固定传入:2.0
appkey String 启信慧眼数据开放平台获取 ,获取方式:个人中心-安全中心-API 密钥,获取appkey的同时,请完成IP白名单的配置:个人中心-安全中心-API IP白名单设置,如未配置,接口调试会报错“104 未添加IP白名单”
timestamp String UNIX时间戳,精确到毫秒,示例:1656921036000,当前系统时间近10分钟有效
sign String 请求认证签名,对appkey+timestamp+secret_key进行md5或者sha256摘要计算的结果,小写字符串(实际加密不带入‘+’)
请求参数 (Query)
参数名类型必填描述
province_code String 省份代码省份代码 province_code 代码:110000 北京 120000 天津 130000 河北省 140000 山西省 150000 内蒙古自治区 210000 辽宁省 220000 吉林省 230000 黑龙江省 310000 上海 320000 江苏省 330000 浙江省 340000 安徽省 350000 福建省 360000 江西省 370000 山东省 410000 河南省 420000 湖北省 430000 湖南省 440000 广东省 450000 广西壮族自治区 460000 海南省 500000 重庆 510000 四川省 520000 贵州省 530000 云南省 540000 西藏自治区 610000 陕西省 620000 甘肃省 630000 青海省 640000 宁夏回族自治区 650000 新疆维吾尔自治区
created_date String 入库日期(格式YYYY-MM-DD)
district_code String 区域代码
start_date String 成立日期(格式YYYY-MM-DD)
industry_code String 行业代码
category String 企业类型,枚举:E:法人企业、社会组织、事 业单位等非个体户数据;P:个体户数据,默认 值为E,如需个体户数据,可以传入P获取
skip Number 跳过条目数(默认为0,单页返回20条,最大30 000,即skip最大传值为29980)
响应参数
参数名类型长度描述
message
data.message
String 255 返回结果消息
sign
data.sign
String 32 数据签名
data
data.data
Object 0 返回查询结果,如果没有匹配记录则返回空。具体字段含义见下表
total
data.data.total
Number 0 返回列表中记录总数
items
data.data.items
Array 0 企业列表
credit_no
data.data.items.credit_no
String 255 统一社会信用代码
name
data.data.items.name
String 255 企业全称
regist_capi
data.data.items.regist_capi
Number 50 注册资本(万元)
oper_name
data.data.items.oper_name
String 255 法定代表人
start_date
data.data.items.start_date
String 255 成立日期
status
data.data.items.status
String 50 企业状态
address
data.data.items.address
String 2000 企业地址
district
data.data.items.district
String 63 所在地区
num
data.data.num
Number 0 本次调用返回记录数
响应示例
JSON
{
    "status": "200",
    "message": "操作成功",
    "sign": "927c6b1a406904b45631ef46e5998acd",
    "data": {
        "total": 471,
        "num": 20,
        "items": [
            {
                "name": "北京信福汇物业服务有限公司",
                "credit_no": "91110105MABTHLKX04",
                "regist_capi": 110000,
                "oper_name": "陈桐",
                "start_date": "2022-07-04",
                "status": "存续",
                "district": "朝阳区"
            },
            {
                "name": "京橙数藏(北京)科技有限公司",
                "credit_no": "91110112MABTHDN40W",
                "regist_capi": 20000,
                "oper_name": "徐卫星",
                "start_date": "2022-07-04",
                "status": "存续",
                "district": "通州区"
            },
            {
                "name": "北京思灵智能数据科技有限公司",
                "credit_no": "91110105MABT9A3X9Y",
                "regist_capi": 20000,
                "oper_name": "邵文迪",
                "start_date": "2022-07-04",
                "status": "存续",
                "district": "朝阳区"
            },
            {
                "name": "北京银佳辉煌科技有限公司",
                "credit_no": "91110108MABQJ7UB4B",
                "regist_capi": 10000,
                "oper_name": "郭蕊新",
                "start_date": "2022-07-04",
                "status": "存续",
                "district": "海淀区"
            },
            {
                "name": "东方至尊(北京)文化传播有限公司",
                "credit_no": "91110107MABTHCWD9M",
                "regist_capi": 10000,
                "oper_name": "耿琪",
                "start_date": "2022-07-04",
                "status": "存续",
                "district": "石景山区"
            },
            {
                "name": "北京双赢胜安科技有限公司",
                "credit_no": "91110108MABT91PA6X",
                "regist_capi": 10000,
                "oper_name": "高丽丽",
                "start_date": "2022-07-04",
                "status": "存续",
                "district": "海淀区"
            },
            {
                "name": "九州聚英(北京)旅游开发有限公司",
                "credit_no": "91110111MABRYREE4G",
                "regist_capi": 9000,
                "oper_name": "胡子超",
                "start_date": "2022-07-04",
                "status": "存续",
                "district": "房山区"
            },
            {
                "name": "北京奥杰环保科技有限公司",
                "credit_no": "91110111MABT93R961",
                "regist_capi": 5000,
                "oper_name": "刘婵",
                "start_date": "2022-07-04",
                "status": "存续",
                "district": "房山区"
            },
            {
                "name": "北京雪樱科技有限公司",
                "credit_no": "91110114MABTHM4952",
                "regist_capi": 5000,
                "oper_name": "龚雪",
                "start_date": "2022-07-04",
                "status": "存续",
                "district": "昌平区"
            },
            {
                "name": "北京骐达本美科技有限公司",
                "credit_no": "91110119MABTHBB304",
                "regist_capi": 5000,
                "oper_name": "甄国霖",
                "start_date": "2022-07-04",
                "status": "存续",
                "district": "延庆区"
            },
            {
                "name": "华东荣耀(北京)电子竞技有限公司",
                "credit_no": "91110108MABTHH651A",
                "regist_capi": 5000,
                "oper_name": "李玉花",
                "start_date": "2022-07-04",
                "status": "存续",
                "district": "海淀区"
            },
            {
                "name": "北京槿宸科技有限公司",
                "credit_no": "91110114MABRYTE485",
                "regist_capi": 5000,
                "oper_name": "龚雪",
                "start_date": "2022-07-04",
                "status": "存续",
                "district": "昌平区"
            },
            {
                "name": "北京国创孵链科技管理有限公司",
                "credit_no": "91110108MABRYN5CXQ",
                "regist_capi": 5000,
                "oper_name": "陈静",
                "start_date": "2022-07-04",
                "status": "存续",
                "district": "海淀区"
            },
            {
                "name": "北京雀铭科技有限公司",
                "credit_no": "91110115MABRYMLN97",
                "regist_capi": 5000,
                "oper_name": "龚雪",
                "start_date": "2022-07-04",
                "status": "存续",
                "district": "大兴区"
            },
            {
                "name": "大势启航(北京)科技有限公司",
                "credit_no": "91110108MABQLLXC0Q",
                "regist_capi": 5000,
                "oper_name": "李玉勤",
                "start_date": "2022-07-04",
                "status": "存续",
                "district": "海淀区"
            },
            {
                "name": "北京石谙商贸有限公司",
                "credit_no": "91110107MABTHJED3Y",
                "regist_capi": 5000,
                "oper_name": "梁旭",
                "start_date": "2022-07-04",
                "status": "存续",
                "district": "石景山区"
            },
            {
                "name": "北京丰泽德晟智能科技有限公司",
                "credit_no": "91110115MABTH9ML2C",
                "regist_capi": 5000,
                "oper_name": "李凯",
                "start_date": "2022-07-04",
                "status": "存续",
                "district": "大兴区"
            },
            {
                "name": "北京市亿路兴工劳保用品有限公司",
                "credit_no": "91110111MABQLG2YX9",
                "regist_capi": 5000,
                "oper_name": "吕树琴",
                "start_date": "2022-07-04",
                "status": "存续",
                "district": "房山区"
            },
            {
                "name": "北京雕瓴建筑有限公司",
                "credit_no": "91110115MABRYQF62A",
                "regist_capi": 5000,
                "oper_name": "陈欣",
                "start_date": "2022-07-04",
                "status": "存续",
                "district": "大兴区"
            },
            {
                "name": "中芮农业(北京)有限公司",
                "credit_no": "91110119MABRYUGQ35",
                "regist_capi": 5000,
                "oper_name": "罗钧文",
                "start_date": "2022-07-04",
                "status": "存续",
                "district": "延庆区"
            }
        ]
    }
}
代码示例
javascript
let request = require('request');
let urlEncode = require('urlencode');
let crypto = require('crypto');

let baseUrl = 'https://api.qixin.com/APIService/enterprise/getNewEnt';
let appkey = '正式appkey';
let secretKey = '正式secret_key';
let timeStamp = new Date().getTime();
const hash = crypto.createHash('md5');
let sign = hash.update(appkey + timeStamp + secretKey).digest('hex');

let urlParams = {
    province_code: 'province_code的值',
    created_date: 'created_date的值',
    district_code: 'district_code的值',
    start_date: 'start_date的值',
    industry_code: 'industry_code的值',
    category: 'category的值',
    skip: 'skip的值'
}

let concatParams = []
for (let key in urlParams) {
    concatParams.push(key + '=' + urlParams[key]);
}

let options = {
    'method': 'GET',
    'url': baseUrl + '?' + concatParams.join('&'),
    'headers': {
        'Connection': 'keep-alive',
        'Auth-version': '2.0',
        'appkey': appkey,
        'timestamp': timeStamp,
        'sign': sign
    }
};

request(options, function (error, response) {
    if (error) throw new Error(error);
    console.log(response.body);
});