芯化 MCP 开放平台

search_enterprise

按企业名称关键词搜索企业主档。

英文描述

Search normalized enterprise master records by company name keyword from ads_enterprise_master. Use when the user gives a company name (full or partial) and you need ent_id or credit_code for follow-up queries. Returns paginated enterprises with ent_id, credit_code, ent_name, status, legal person, etc. If user provides unified social credit code, use get_enterprise_by_credit_code instead.

文档更新:2026-06-23T10:00:00+08:00

请求参数

参数名参数说明数据类型样例数据
keyword必填;至少 2 个字符string中石化
limit选填integer20
offset选填integer0

响应参数

参数名参数说明数据类型样例数据
data业务记录数组array[{"ent_id": "EN202401011234567890", "credit_code": "91310000123456789X", "ent_name": "上海某某化工有限公司", "legal_person": "张三", "reg_capital": "5000万人民币", "reg_status": "存续", "province": "上海市"}]
data[].ent_id企业全局 IDstringEN202401011234567890
data[].credit_code统一社会信用代码string91310000123456789X
data[].ent_name企业名称string上海某某化工有限公司
data[].legal_person法定代表人string张三
data[].reg_capital注册资本string5000万人民币
data[].reg_status登记状态string存续
data[].province省份string上海市
meta.total命中总数integer100
meta.limit本页 limitinteger20
meta.offset本页 offsetinteger0
meta.has_more是否还有下一页booleantrue

响应状态说明

状态说明
success调用成功,返回业务数据
failed参数错误、后端业务错误或系统异常
deniedAPI Key 无效、无权限、RBAC/菜单拒绝等

请求示例

{
  "keyword": "中石化",
  "limit": 20,
  "offset": 0
}

响应示例

{
  "data": [
    {
      "ent_id": "EN202401011234567890",
      "credit_code": "91310000123456789X",
      "ent_name": "上海某某化工有限公司",
      "legal_person": "张三",
      "reg_capital": "5000万人民币",
      "reg_status": "存续",
      "province": "上海市"
    }
  ],
  "meta": {
    "total": 1,
    "limit": 20,
    "offset": 0,
    "has_more": false
  }
}