# 知了标讯 API 概览 > 来源:https://ai.zhiliaobiaoxun.com/docs/api > 全部接口(单文件):https://ai.zhiliaobiaoxun.com/llms-full.txt > OpenAPI 规范:https://mcp-server.zhiliaobiaoxun.com/api_v2/openapi.json 知了标讯AI开放平台通过 HTTP 接口提供招中标、拟建项目、企业与商机数据。数据查询类接口为 `POST /api_v2/{工具名}`,账户类接口为 `GET /api_v2/account/...`;每个接口的真实方法与路径以下方列表为准,不要按规律猜测。 ## Base URL `https://mcp-server.zhiliaobiaoxun.com` ## 鉴权 所有请求在请求头携带 `X-API-Key: <你的 API Key>`(不是 `Authorization: Bearer`,也不要放进 URL)。Key 在 https://ai.zhiliaobiaoxun.com/dashboard/api-keys 创建。 ## 快速开始 ```bash export ZLBX_API_KEY=<你的 API Key> curl -X POST "https://mcp-server.zhiliaobiaoxun.com/api_v2/search_bids" \ -H "X-API-Key: $ZLBX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"keywords":["智慧城市","信息化"],"page":1,"page_size":20}' ``` ## 响应格式 成功: ```json { "success": true, "data": { }, "error": null, "meta": { "request_id": "req_abc123", "tool_name": "search_bids", "cost_units": 1, "execution_time_ms": 128 } } ``` 失败: ```json { "success": false, "data": null, "error": { "code": "INVALID_PARAMETER", "message": "keywords 不能为空", "details": null, "suggestions": null }, "meta": { "request_id": "req_xyz789", "tool_name": "search_bids", "cost_units": 0, "execution_time_ms": 12 } } ``` ## HTTP 状态码 - 业务成功与业务失败都返回 HTTP 200,以响应体的 `success` 判断成败,以 `error.code` 分支处理 - 请求体结构或类型不合法(如 page 传了字符串)返回 HTTP 422,响应体为 `{"detail": [{"loc": [...], "msg": "..."}]}`,不是统一信封 ## 错误码(error.code) | 错误码 | 含义 | 能否重试 | 处理方式 | |---|---|---|---| | INVALID_APP_KEY | 未提供 API Key 或 Key 无效 | 不可重试 | 检查 X-API-Key 请求头 | | APP_KEY_EXPIRED | API Key 已过期 | 不可重试 | 在控制台新建 Key | | APP_KEY_DISABLED | API Key 已被禁用 | 不可重试 | 在控制台新建 Key 或联系客服 | | QUOTA_EXCEEDED | 积分不足 | 不可重试 | 充值后再调用 | | ENTITLEMENT_REQUIRED | 该能力仅支持付费额度,赠送额度不可用 | 不可重试 | 充值付费额度 | | RATE_LIMIT_EXCEEDED | 请求过于频繁 | 可重试 | 指数退避后重试 | | MISSING_REQUIRED_PARAMETER | 缺少必填参数 | 修改请求后重试 | 补齐参数 | | INVALID_PARAMETER | 参数取值无效 | 修改请求后重试 | 按 message 修正参数 | | QUERY_TIMEOUT | 查询超时 | 修改请求后重试 | 缩小时间或地区范围 | | QUERY_TOO_LARGE | 结果过多 | 修改请求后重试 | 增加筛选条件 | | QUERY_EMPTY | 没有匹配的数据(不扣费) | 不可重试 | 放宽条件 | | NOT_FOUND | 目标不存在(不扣费) | 不可重试 | 核对 ID 或名称 | | ES_UNAVAILABLE | 数据查询服务暂时不可用 | 可重试 | 稍后重试 | | DB_UNAVAILABLE | 数据库暂时不可用 | 可重试 | 稍后重试 | | INTERNAL_ERROR | 服务内部错误 | 可重试 | 稍后重试;持续出现请反馈 meta.request_id | ## 计费 - 按积分计费,各接口单价见接口文档;实际扣费以响应 `meta.cost_units` 为准 - 调用失败或 0 条结果不扣费 ## 频率限制 - 按 API Key 分别计算,同一 Key 的不同客户端共享限额 - 普通新建 API Key 默认每秒 20 次、每小时 10,000 次 - 真实付费后,已有 API Key 自动提升至至少每秒 20 次、每小时 10,000 次;更高额度保留 - 未付费的历史 Key、OAuth 已连接应用及单独约定的配置,以各自实际限额为准 - 超限返回 `RATE_LIMIT_EXCEEDED`,请退避后重试 ## 接口列表(共 30 个) | 接口 | 方法 | 路径 | 积分 | 说明 | |---|---|---|---|---| | [搜索招中标](https://ai.zhiliaobiaoxun.com/docs/api/search-bids.md) | POST | `/api_v2/search_bids` | 1 | 按关键词、地区、金额、时间等条件检索招标、中标及相关公告。 | | [即将到期项目](https://ai.zhiliaobiaoxun.com/docs/api/search-expiring.md) | POST | `/api_v2/search_expiring_projects` | 2 | 聚焦周期性项目,并且即将到期的项目,便于参与续期。 | | [拟建项目](https://ai.zhiliaobiaoxun.com/docs/api/search-proposed-projects.md) | POST | `/api_v2/search_proposed_projects` | 2 | 检索审批备案、建议书、可行性研究等阶段的拟建项目,提前发现早期商机。 | | [标讯高级查询](https://ai.zhiliaobiaoxun.com/docs/api/query-advanced.md) | POST | `/api_v2/query_bids_advanced` | 2 | 支持关键词分组、地区多级、金额区间、行业与流程等组合条件,对标讯列表进行检索与分页。 | | [招标项目推荐供应商](https://ai.zhiliaobiaoxun.com/docs/api/find-bidders.md) | POST | `/api_v2/find_potential_bidders` | 1 | 根据标讯唯一键、链接或项目标题,推荐历史上参与同类项目较多的潜在供应商。 | | [标讯详情](https://ai.zhiliaobiaoxun.com/docs/api/bid-detail.md) | POST | `/api_v2/get_bid_detail` | 1 | 通过 uniq_key、bid_id 或 bid_url 之一获取单条标讯的结构化详情与正文信息。 | | [公司基础工商信息](https://ai.zhiliaobiaoxun.com/docs/api/company-profile.md) | POST | `/api_v2/get_company_profile` | 1 | 公司基础工商信息,及行业、招中标次数等画像指标。 | | [搜索公司](https://ai.zhiliaobiaoxun.com/docs/api/search-company.md) | POST | `/api_v2/search_company` | 0 | 根据公司名称(全称、简称或别名)搜索匹配的公司列表,适用于用户输入模糊名称时先确认目标公司,再进行后续分析查询。消耗 1 积分。 | | [项目时间线](https://ai.zhiliaobiaoxun.com/docs/api/bid-timeline.md) | POST | `/api_v2/get_bid_timeline` | 1 | 根据任一阶段的标讯,获取同一项目所有阶段的公告(采购意向、招标、变更、中标候选人、中标结果、合同等),按发布时间正序返回。 | | [企业工商基本信息](https://ai.zhiliaobiaoxun.com/docs/api/company-registry.md) | POST | `/api_v2/get_company_registry` | 3 | 知了标讯工商数据。仅使用 company_name 定位企业;成功有数据每次/每页3积分,失败和空结果不扣积分。支持会员每日积分和永久积分,余额续扣按账户设置执行。按需查询,不自动联查或翻页。取数时间不等于源数据更新时间,静态信息不视为实时数据。 | | [企业股东](https://ai.zhiliaobiaoxun.com/docs/api/company-shareholders.md) | POST | `/api_v2/get_company_shareholders` | 3 | 知了标讯工商数据。仅使用 company_name 定位企业;成功有数据每次/每页3积分,失败和空结果不扣积分。支持会员每日积分和永久积分,余额续扣按账户设置执行。按需查询,不自动联查或翻页。取数时间不等于源数据更新时间,静态信息不视为实时数据。 | | [分支机构](https://ai.zhiliaobiaoxun.com/docs/api/company-branches.md) | POST | `/api_v2/get_company_branches` | 3 | 知了标讯工商数据。仅使用 company_name 定位企业;成功有数据每次/每页3积分,失败和空结果不扣积分。支持会员每日积分和永久积分,余额续扣按账户设置执行。按需查询,不自动联查或翻页。取数时间不等于源数据更新时间,静态信息不视为实时数据。 | | [对外投资](https://ai.zhiliaobiaoxun.com/docs/api/company-investments.md) | POST | `/api_v2/get_company_investments` | 3 | 知了标讯工商数据。仅使用 company_name 定位企业;成功有数据每次/每页3积分,失败和空结果不扣积分。支持会员每日积分和永久积分,余额续扣按账户设置执行。按需查询,不自动联查或翻页。取数时间不等于源数据更新时间,静态信息不视为实时数据。 | | [工商变更](https://ai.zhiliaobiaoxun.com/docs/api/company-changes.md) | POST | `/api_v2/get_company_changes` | 3 | 知了标讯工商数据。仅使用 company_name 定位企业;成功有数据每次/每页3积分,失败和空结果不扣积分。支持会员每日积分和永久积分,余额续扣按账户设置执行。按需查询,不自动联查或翻页。取数时间不等于源数据更新时间,静态信息不视为实时数据。 | | [公司业务关键词](https://ai.zhiliaobiaoxun.com/docs/api/company-keywords.md) | POST | `/api_v2/get_company_business_keywords` | 1 | 在给定时间与地区范围内,从企业参与或中标的公告中提炼业务关键词。 | | [公司合作客户/供应商](https://ai.zhiliaobiaoxun.com/docs/api/company-partners.md) | POST | `/api_v2/get_company_partners` | 3 | 从招中标数据中识别企业的主要采购方与分包/供应关系,企业上下游关系网络。 | | [公司竞争对手分析](https://ai.zhiliaobiaoxun.com/docs/api/competitors.md) | POST | `/api_v2/find_competitors` | 3 | 从招投标画像出发,列出在区域、行业、项目类型上与目标公司高度重叠的竞争企业列表。 | | [公司联系电话](https://ai.zhiliaobiaoxun.com/docs/api/company-contacts.md) | POST | `/api_v2/get_company_contacts` | 5 | 获取公司/机构在招中标中的联系电话,包括最近出现时间、最近负责项目、负责项目数量、负责主要标的、负责项目链接等信息。精准触达关键联系人。 | | [Top采购单位](https://ai.zhiliaobiaoxun.com/docs/api/top-purchasers.md) | POST | `/api_v2/get_top_purchasers` | 3 | 通过业务关键词及其他筛选组合,获取符合要求的Top采购单位列表,以及相关统计字段。可以用来进行市场调研、精准获客 | | [Top中标供应商](https://ai.zhiliaobiaoxun.com/docs/api/top-suppliers.md) | POST | `/api_v2/get_top_suppliers` | 3 | 通过业务关键词及其他筛选组合,获取符合要求的Top中标公司列表,以及相关统计字段。可以用来进行市场调研、渠道扩展、竞对分析等场景。 | | [Top中标品牌](https://ai.zhiliaobiaoxun.com/docs/api/top-brands.md) | POST | `/api_v2/get_top_brands` | 3 | 在给定产品与区域、时间范围内统计中标频次与金额领先的品牌。 | | [聚合统计](https://ai.zhiliaobiaoxun.com/docs/api/aggregate-advanced.md) | POST | `/api_v2/aggregate_bids_advanced` | 3 | 在统一筛选条件下,按时间、地区、行业、品牌等维度聚合标讯数量与金额,并支持对比分析。 | | [品牌/型号价格趋势](https://ai.zhiliaobiaoxun.com/docs/api/price-trends.md) | POST | `/api_v2/get_price_trends` | 2 | 基于历史中标明细,观察指定品牌与型号的中标单价随时间的变化。 | | [企业年报](https://ai.zhiliaobiaoxun.com/docs/api/company-annual-reports.md) | POST | `/api_v2/get_company_annual_reports` | 3 | 单次返回年报集合,不支持分页或指定年份。以returned_count与data_complete判断完整性;金额与企业选择不公示原文保留,不能当作0。电话邮箱按contact_privacy分层。成功有数据每次/页3积分,失败和空结果不扣费。沿用工商会员额度开关及钱包设置,不自动联查或翻页。取数时间不等于源数据更新时间。 | | [建筑资质资格](https://ai.zhiliaobiaoxun.com/docs/api/company-qualifications.md) | POST | `/api_v2/get_company_qualifications` | 3 | 返回建筑资质类别、名称、证书号、发证机关及日期。仅当需要详情时,将qualification_id原样传给建筑资质详情接口,另计一次费用。成功有数据每次/页3积分,失败和空结果不扣费。沿用工商会员额度开关及钱包设置,不自动联查或翻页。取数时间不等于源数据更新时间。 | | [建筑资质详情](https://ai.zhiliaobiaoxun.com/docs/api/company-qualification-detail.md) | POST | `/api_v2/get_company_qualification_detail` | 3 | qualification_id必须来自建筑资质列表;不是企业ID或证书号,示例标识不能直接执行。失效时重新获取列表。返回qualification及certificate。成功有数据每次/页3积分,失败和空结果不扣费。沿用工商会员额度开关及钱包设置,不自动联查或翻页。取数时间不等于源数据更新时间。 | | [企业资质证书](https://ai.zhiliaobiaoxun.com/docs/api/company-certificates.md) | POST | `/api_v2/get_company_certificates` | 3 | 仅按准确企业全称查询。certificate_name使用类型清单中的完整名称,兼容全半角括号,不能用ISO9001等缩写;不传则不过滤。状态应结合明细与日期判断。成功有数据每次/页3积分,失败和空结果不扣费。沿用工商会员额度开关及钱包设置,不自动联查或翻页。取数时间不等于源数据更新时间。 | | [企业信用评级](https://ai.zhiliaobiaoxun.com/docs/api/company-credit-ratings.md) | POST | `/api_v2/get_company_credit_ratings` | 3 | 返回历史评级日期、评级机构、展望、债券信用等级和主体等级;不把历史评级当当前评级,不等同于司法风险或平台信用评分。成功有数据每次/页3积分,失败和空结果不扣费。沿用工商会员额度开关及钱包设置,不自动联查或翻页。取数时间不等于源数据更新时间。 | | [账户余额](https://ai.zhiliaobiaoxun.com/docs/api/account-balance.md) | GET | `/api_v2/account/balance` | 0 | 查询当前 API Key 对应账户的可用积分、累计充值与累计消费。此接口免费,不扣除积分,可在每次任务前后自助查询。 | | [每日消耗](https://ai.zhiliaobiaoxun.com/docs/api/account-daily-consumption.md) | GET | `/api_v2/account/daily_consumption` | 0 | 查询当前 API Key 对应账户在指定区间内的逐日积分消耗与调用次数,无消耗的日期补 0,返回连续日序列。此接口免费,不扣除积分。 | --- # 搜索招中标 按关键词、地区、金额、时间等条件检索招标、中标及相关公告。 - 请求:`POST https://mcp-server.zhiliaobiaoxun.com/api_v2/search_bids` - 计费:单次调用 1 积分(失败或 0 条结果不扣费) ## 调用示例 ```bash curl -X POST "https://mcp-server.zhiliaobiaoxun.com/api_v2/search_bids" \ -H "X-API-Key: $ZLBX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"keywords":["智慧城市","信息化"],"bid_type":"全部","provinces":["北京市"],"begin_date":"2024-01-01","end_date":"2024-12-31","page":1,"page_size":20}' ``` ## 请求参数(Body,JSON) | 参数 | 类型 | 必填 | 默认 | 说明 | |---|---|---|---|---| | keywords | string[] | 是 | | 搜索关键词列表 | | match_modes | string[] | 否 | | 匹配模式(all:全部 sm:标的物/产品 title:标题 brand:品牌 fulltext:全文 caller:招标公司/采购公司/招标方 winner:中标公司/供应商/中标方 winner_tender:中标公司或投标方 tender:投标公司/供应商/投标方 agency:招标代理公司 ),如['sm','title'] | | bid_type | string | 否 | 全部 | 公告类型: 招标/中标/全部 | | bid_process | int[] | 否 | | 公告阶段(1:采购意向 2:预招标 4:招标 5:变更公告 6:中标候选人 7:中标结果 8:合同 9:验收公告 10:废标公告),默认[1,2,4,7,8] | | begin_date | string | 否 | | 公告发布开始日期,YYYY-MM-DD | | end_date | string | 否 | | 公告发布结束日期,YYYY-MM-DD | | provinces | string[] | 否 | | 省份列表,如:['北京', '内蒙古'] | | cities | string[] | 否 | | 城市列表,如:['石家庄', '合肥'] | | counties | string[] | 否 | | 区县列表,如:['长安区', '瑶海区'] | | min_amount | number | 否 | | 金额下限(万元) | | max_amount | number | 否 | | 金额上限(万元) | | page | number | 否 | 1 | 页码 | | page_size | number | 否 | 20 | 每页条数 | ## 响应示例 ```json { "success": true, "data": { "total": 1286, "returned": 1, "items": [{ "bid_id": 589738777, "title": "深圳市南山区政务云扩容及信创改造项目(公开招标)", "bid_type": "招标", "bid_process": "招标", "pub_time": "2024-03-18 09:30:00", "money": 28500000, "money_wan": 2850.0, "province": "广东省", "city": "深圳市", "county": "南山区", "caller_name": "深圳市南山区政务服务数据管理局", "caller_id": 10086001, "caller_base_type": "政府", "caller_type": "地方政府", "winner_names": [], "winner_ids": [], "winner_moneys": [], "tender_names": [], "sm_names": ["政务云", "信创改造"], "brand_names": [], "bid_method": "公开招标", "bid_no": "NSCG2024-0318", "signup_time": "2024-03-28 17:00:00", "tender_time": "2024-04-02 09:30:00", "service_end_date": "", "agency_name": "深圳交易集团有限公司南山分公司", "exists_bid_file": "1", "url": "https://www.zhiliaobiaoxun.com/content/589738777/b1?from=mcp" }] }, "error": null, "meta": { "request_id": "req_7f3a9c21", "tool_name": "search_bids", "cost_units": 1, "execution_time_ms": 156 } } ``` ## 返回字段 | 字段 | 类型 | 说明 | |---|---|---| | success | boolean | 请求是否成功 | | data | object | 业务数据,结构随接口而异,字段见下表 | | error | object\|null | 错误信息,含 code 与 message,成功时为 null | | meta | object | 元信息,含 request_id、tool_name、cost_units、execution_time_ms | | data.total | int | 全库命中总数 | | data.returned | int | 本次实际返回条数 | | data.items[] | object[] | 公告列表,元素字段见下 | | data.items[].bid_id | int | 标讯 ID | | data.items[].title | string | 公告标题 | | data.items[].bid_type | string | 标讯类型,如 招标公告/中标公告 | | data.items[].bid_process | string | 招标流程阶段,如 招标/中标结果 | | data.items[].pub_time | string | 发布时间 | | data.items[].money | float | 金额(元) | | data.items[].money_wan | float | 金额(万元) | | data.items[].province | string | 省份 | | data.items[].city | string | 城市 | | data.items[].county | string | 区县 | | data.items[].caller_name | string | 招标方名称 | | data.items[].caller_id | int | 招标方 ID | | data.items[].caller_base_type | string | 招标方主体大类,如 政府/事业单位/学校/医院/国企 | | data.items[].caller_type | string | 招标方类型 | | data.items[].winner_names | string[] | 中标方名称列表 | | data.items[].winner_ids | int[] | 中标方 ID 列表 | | data.items[].winner_moneys | float[] | 各中标方中标金额(元) | | data.items[].tender_names | string[] | 投标人名称列表 | | data.items[].sm_names | string[] | 标的物名称列表 | | data.items[].brand_names | string[] | 品牌名称列表 | | data.items[].bid_method | string | 招标方式 | | data.items[].bid_no | string | 招标编号 | | data.items[].signup_time | string | 报名/购买标书截止时间 | | data.items[].tender_time | string | 投标截止时间(开标时间) | | data.items[].service_end_date | string | 服务结束日期 | | data.items[].agency_name | string | 招标代理公司 | | data.items[].exists_bid_file | string | 是否存在招标文件 | | data.items[].url | string | 知了标讯公告链接 | --- # 即将到期项目 聚焦周期性项目,并且即将到期的项目,便于参与续期。 - 请求:`POST https://mcp-server.zhiliaobiaoxun.com/api_v2/search_expiring_projects` - 计费:单次调用 2 积分(失败或 0 条结果不扣费) ## 调用示例 ```bash curl -X POST "https://mcp-server.zhiliaobiaoxun.com/api_v2/search_expiring_projects" \ -H "X-API-Key: $ZLBX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"keywords":["职工体检"],"provinces":["北京","上海"],"page":1,"page_size":3}' ``` ## 请求参数(Body,JSON) | 参数 | 类型 | 必填 | 默认 | 说明 | |---|---|---|---|---| | keywords | string[] | 是 | | 搜索关键词列表 | | service_end_begin | string | 否 | | 筛选即将到期的项目起始日期,YYYY-MM-DD,比如:2026-04-01 | | service_end_end | string | 否 | | 筛选即将到期的项目结束日期,YYYY-MM-DD,比如:2026-12-31 | | provinces | string[] | 否 | | 省份列表,如:['北京', '内蒙古'] | | cities | string[] | 否 | | 城市列表,如:['石家庄', '合肥'] | | counties | string[] | 否 | | 区县列表,如:['长安区', '瑶海区'] | | min_amount | number | 否 | | 项目金额下限(万元) | | company_type | string[] | 否 | | 采购单位类型等筛选(学校、医院、政府及事业单位、军队、银行、证券、保险、通信运营商、国有企业、其他) | | page | number | 否 | 1 | 页码 | | page_size | number | 否 | 20 | 每页条数 | ## 响应示例 ```json { "success": true, "data": { "total": 42, "returned": 1, "contact_privacy": "full", "items": [{ "bid_id": 589738777, "title": "海淀区智慧交通综合管理系统升级改造项目", "caller_name": "北京市海淀区交通委员会", "caller_id": 10086002, "caller_type": "地方政府", "money": 8500000, "money_wan": 850.0, "province": "北京市", "city": "北京市", "county": "海淀区", "service_end_date": "2024-09-30", "days_until_expiry": 82, "winner_names": ["某某科技股份有限公司"], "winner_ids": [10087220], "winner_moneys": [8200000.0], "tender_names": [], "sm_names": ["智慧交通", "信号控制"], "agency_name": "中招国际招标有限公司", "url": "https://www.zhiliaobiaoxun.com/content/589738777/b2?from=mcp", "caller_person": "王*", "caller_contact": "010-55556666", "agency_person": "赵*", "agency_contact": "010-66667777", "winner_person": "刘*", "winner_contact": "13800000000" }] }, "error": null, "meta": { "request_id": "req_b2e44109", "tool_name": "search_expiring_projects", "cost_units": 2, "execution_time_ms": 98 } } ``` ## 返回字段 | 字段 | 类型 | 说明 | |---|---|---| | success | boolean | 请求是否成功 | | data | object | 业务数据,结构随接口而异,字段见下表 | | error | object\|null | 错误信息,含 code 与 message,成功时为 null | | meta | object | 元信息,含 request_id、tool_name、cost_units、execution_time_ms | | data.total | int | 全库命中总数 | | data.returned | int | 本次实际返回条数 | | data.contact_privacy | string | 电话隐私级别:full=完整(付费),masked=脱敏(免费/试用) | | data.items[] | object[] | 即将到期项目列表,元素字段见下 | | data.items[].bid_id | int | 标讯 ID | | data.items[].title | string | 公告标题 | | data.items[].caller_name | string | 招标方名称 | | data.items[].caller_id | int | 招标方 ID | | data.items[].caller_type | string | 招标方类型 | | data.items[].money | float | 金额(元) | | data.items[].money_wan | float | 金额(万元) | | data.items[].province | string | 省份 | | data.items[].city | string | 城市 | | data.items[].county | string | 区县 | | data.items[].service_end_date | string | 服务结束日期 | | data.items[].days_until_expiry | int\|null | 距到期天数 | | data.items[].winner_names | string[] | 中标方名称列表 | | data.items[].winner_ids | int[] | 中标方 ID 列表 | | data.items[].winner_moneys | float[] | 各中标方中标金额(元) | | data.items[].tender_names | string[] | 投标人名称列表 | | data.items[].sm_names | string[] | 标的物名称列表 | | data.items[].agency_name | string | 招标代理公司 | | data.items[].caller_person | string | 招标联系人姓名 | | data.items[].caller_contact | string | 招标联系人电话 | | data.items[].agency_person | string | 代理机构联系人姓名 | | data.items[].agency_contact | string | 代理机构联系人电话 | | data.items[].winner_person | string | 中标人联系人姓名 | | data.items[].winner_contact | string | 中标人联系人电话 | | data.items[].url | string | 知了标讯公告链接 | --- # 拟建项目 检索审批备案、建议书、可行性研究等阶段的拟建项目,提前发现早期商机。 - 请求:`POST https://mcp-server.zhiliaobiaoxun.com/api_v2/search_proposed_projects` - 计费:单次调用 2 积分(失败或 0 条结果不扣费) ## 调用示例 ```bash curl -X POST "https://mcp-server.zhiliaobiaoxun.com/api_v2/search_proposed_projects" \ -H "X-API-Key: $ZLBX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"keywords":["智慧城市","信息化"],"provinces":["北京市"],"begin_date":"2024-01-01","end_date":"2024-12-31","page":1,"page_size":20}' ``` ## 请求参数(Body,JSON) | 参数 | 类型 | 必填 | 默认 | 说明 | |---|---|---|---|---| | keywords | string[] | 是 | | 搜索关键词列表 | | match_type | int | 否 | 0 | 匹配模式:0=标题(默认),3=全文 | | approval_status_code | int | 否 | 0 | 审批状态:1未审批 2审批中 3办结 4未通过 5撤销 6其他 | | begin_date | string | 否 | | 发布开始日期,YYYY-MM-DD | | end_date | string | 否 | | 发布结束日期,YYYY-MM-DD | | provinces | string[] | 否 | | 省份列表 | | cities | string[] | 否 | | 城市列表 | | page | number | 否 | 1 | 页码 | | page_size | number | 否 | 20 | 每页条数 | | need_fulltext | boolean | 否 | false | 是否返回公告正文 | ## 响应示例 ```json { "success": true, "data": { "total": 326, "returned": 1, "items": [{ "bid_id": 982451336, "project_name": "北京市朝阳区智慧城市管理平台建设项目", "project_code": "110105-2024-01-001", "built_area": "北京市朝阳区", "province": "北京市", "city": "北京市", "pub_time": "2024-03-20", "money": 12000000, "money_wan": 1200.0, "money_format": "1200万", "caller_name": "北京市朝阳区城市管理委员会", "approval_status": "办结(通过)", "content": "", "url": "https://www.zhiliaobiaoxun.com/builddetail/982451336?from=mcp" }] }, "error": null, "meta": { "request_id": "req_7f3a9c22", "tool_name": "search_proposed_projects", "cost_units": 1, "execution_time_ms": 132 } } ``` ## 返回字段 | 字段 | 类型 | 说明 | |---|---|---| | success | boolean | 请求是否成功 | | data | object | 业务数据,结构随接口而异,字段见下表 | | error | object\|null | 错误信息,含 code 与 message,成功时为 null | | meta | object | 元信息,含 request_id、tool_name、cost_units、execution_time_ms | | data.total | int | 全库命中总数 | | data.returned | int | 本次实际返回条数 | | data.items[] | object[] | 拟建项目列表,元素字段见下 | | data.items[].bid_id | int | 拟建项目 ID | | data.items[].project_name | string | 项目名称 | | data.items[].project_code | string | 项目编码 | | data.items[].built_area | string | 建设地点 | | data.items[].province | string | 省份 | | data.items[].city | string | 城市 | | data.items[].pub_time | string | 发布时间 | | data.items[].money | float | 投资金额(元) | | data.items[].money_wan | float | 投资金额(万元) | | data.items[].money_format | string | 金额可读格式,如 1200万 | | data.items[].caller_name | string | 建设单位名称 | | data.items[].approval_status | string | 审批状态,如 办结(通过) | | data.items[].content | string | 公告正文(need_fulltext=true 时返回) | | data.items[].url | string | 拟建项目详情链接 | --- # 标讯高级查询 支持关键词分组、地区多级、金额区间、行业与流程等组合条件,对标讯列表进行检索与分页。 - 请求:`POST https://mcp-server.zhiliaobiaoxun.com/api_v2/query_bids_advanced` - 计费:单次调用 2 积分(失败或 0 条结果不扣费) ## 调用示例 ```bash curl -X POST "https://mcp-server.zhiliaobiaoxun.com/api_v2/query_bids_advanced" \ -H "X-API-Key: $ZLBX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"keywords":["大语言模型"],"exclude_keywords":["运行环境","公安局","信息技术有限"],"page":1,"page_size":3}' ``` ## 请求参数(Body,JSON) | 参数 | 类型 | 必填 | 默认 | 说明 | |---|---|---|---|---| | keywords | list[string] | 否 | | 关键词列表,与 match_modes配合使用 | | match_modes | list[string] | 否 | | 与 keywords 对应的匹配模式(all/sm/title/brand/fulltext/caller/winner/winner_tender/tender/agency(招标代理公司))【同搜索招中标接口说明】 | | keyword_groups | list[dict] | 否 | | 关键词分组,用于组内 AND、组间 OR 等复杂逻辑,例如:[{'keywords': ['a'], 'match_modes': ['caller']}] | | bid_type | int | 否 | | 标讯类型枚举值 (1: 招标、2: 中标) | | bid_process | list[int] | 否 | | 招采流程阶段 ID 列表【同‘搜索招中标’接口说明】 | | begin_date | string | 否 | | 发布开始日期,格式 YYYY-MM-DD | | end_date | string | 否 | | 发布结束日期,格式 YYYY-MM-DD | | create_begin_time | string | 否 | | 数据上线开始时间(数据采集入库时间 create_time),格式 YYYY-MM-DD HH:MM:SS,只传 YYYY-MM-DD 时自动补 00:00:00;与 begin_date(公告发布时间)相互独立,适用于增量拉取「上次同步之后新上线的数据」 | | create_end_time | string | 否 | | 数据上线结束时间,格式 YYYY-MM-DD HH:MM:SS,只传 YYYY-MM-DD 时自动补 23:59:59;与 create_begin_time 组成闭区间 | | provinces | list[string] | 否 | | 省级行政区名称或地区六位adcode编码列表,比如:['北京', '内蒙古'] | | cities | list[string] | 否 | | 地级市列表或地区六位adcode编码列表 | | counties | list[string] | 否 | | 区县列表,完整名称,例如:['朝阳区'、'雄县'] | | min_amount | float | 否 | | 金额下限(单位:万元) | | max_amount | float | 否 | | 金额上限(单位:万元) | | bid_industrys | list[int] | 否 | | 行业分类 ID 列表,注意:行业分类为模型映射标签,可能存在误差。 映射表:https://cdn.001.bailian-ai.com/zlbx/sop/bid/industry/data/20231031/bid_industry_config.xlsx | | caller_types | list[int] | 否 | | 采购方/主体类型 ID 列表 (1: 国有企业、2: 通信运营商、3: 军队、4: 银行、5: 证券、6: 保险、8: 医院、9: 政府及事业单位、10: 学校、11: 其他) | | slop | int | 否 | | 短语匹配允许的词间距(常见于全文检索),比如slop=2,搜索词:大模型,结果含:大语言模型。使用该参数时需要平衡全和准,建议设置范围:2-5,默认:0 | | exclude_keywords | list[string] | 否 | | 排除关键词 | | sort_field | string | 否 | pub_time | 排序字段 | | sort_order | string | 否 | desc | 排序方向 asc/desc | | need_contacts | bool | 否 | | 是否额外请求旧联系人计数字段;新联系人字段默认返回 | | need_fulltext | bool | 否 | | 是否返回正文全文 | | page | int | 否 | 1 | 页码 | | page_size | int | 否 | 20 | 每页条数 | ## 响应示例 ```json { "success": true, "data": { "total": 1286, "returned": 1, "contact_privacy": "full", "items": [ { "bid_id": 589738777, "title": "深圳市南山区政务云扩容及信创改造项目(公开招标)", "bid_type": "招标", "bid_process": "招标", "pub_time": "2024-03-18 09:30:00", "money": 28500000, "money_wan": 2850, "province": "广东省", "city": "深圳市", "county": "南山区", "caller_name": "深圳市南山区政务服务数据管理局", "caller_id": 10086001, "caller_base_type": "政府", "caller_type": "地方政府", "winner_names": [], "winner_ids": [], "winner_moneys": [], "tender_names": [], "sm_names": [ "政务云", "信创改造" ], "brand_names": [], "bid_method": "公开招标", "bid_no": "NSCG2024-0318", "service_end_date": "", "signup_time": "2024-03-28 17:00:00", "tender_time": "2024-04-02 09:30:00", "agency_name": "深圳交易集团有限公司南山分公司", "exists_bid_file": "1", "url": "https://www.zhiliaobiaoxun.com/content/589738777/b1?from=mcp", "caller_person": "陈*", "caller_contact": "0755-12345678", "agency_person": "黄*", "agency_contact": "0755-87654321", "winner_person": "", "winner_contact": "" } ] }, "error": null, "meta": { "request_id": "req_7f3a9c2e1b8d4a60", "tool_name": "query_bids_advanced", "cost_units": 2, "execution_time_ms": 312 } } ``` ## 返回字段 | 字段 | 类型 | 说明 | |---|---|---| | success | boolean | 请求是否成功 | | data | object | 业务数据,结构随接口而异,字段见下表 | | error | object\|null | 错误信息,含 code 与 message,成功时为 null | | meta | object | 元信息,含 request_id、tool_name、cost_units、execution_time_ms | | data.total | int | 全库命中总数 | | data.returned | int | 本次实际返回条数 | | data.contact_privacy | string | 电话隐私级别:full=完整(付费),masked=脱敏(免费/试用) | | data.items[] | object[] | 公告列表,元素字段见下 | | data.items[].bid_id | int | 标讯 ID | | data.items[].title | string | 公告标题 | | data.items[].bid_type | string | 标讯类型,如 招标公告/中标公告 | | data.items[].bid_process | string | 招标流程阶段 | | data.items[].pub_time | string | 发布时间 | | data.items[].money | float | 金额(元) | | data.items[].money_wan | float | 金额(万元) | | data.items[].province | string | 省份 | | data.items[].city | string | 城市 | | data.items[].county | string | 区县 | | data.items[].caller_name | string | 招标方名称 | | data.items[].caller_id | int | 招标方 ID | | data.items[].caller_base_type | string | 招标方主体大类,如 政府/事业单位/学校/医院/国企 | | data.items[].caller_type | string | 招标方类型 | | data.items[].winner_names | string[] | 中标方名称列表 | | data.items[].winner_ids | int[] | 中标方 ID 列表 | | data.items[].winner_moneys | float[] | 各中标方中标金额(元) | | data.items[].tender_names | string[] | 投标人名称列表 | | data.items[].sm_names | string[] | 标的物名称列表 | | data.items[].brand_names | string[] | 品牌名称列表 | | data.items[].bid_method | string | 招标方式 | | data.items[].bid_no | string | 招标编号 | | data.items[].service_end_date | string | 服务结束日期 | | data.items[].signup_time | string | 报名/购买标书截止时间 | | data.items[].tender_time | string | 投标截止时间(开标时间) | | data.items[].agency_name | string | 招标代理公司 | | data.items[].exists_bid_file | string | 是否存在招标文件 | | data.items[].caller_person | string | 招标联系人姓名 | | data.items[].caller_contact | string | 招标联系人电话 | | data.items[].agency_person | string | 代理机构联系人姓名 | | data.items[].agency_contact | string | 代理机构联系人电话 | | data.items[].winner_person | string | 中标人联系人姓名 | | data.items[].winner_contact | string | 中标人联系人电话 | | data.items[].url | string | 知了标讯公告链接 | --- # 招标项目推荐供应商 根据标讯唯一键、链接或项目标题,推荐历史上参与同类项目较多的潜在供应商。 - 请求:`POST https://mcp-server.zhiliaobiaoxun.com/api_v2/find_potential_bidders` - 计费:单次调用 1 积分(失败或 0 条结果不扣费) ## 调用示例 ```bash curl -X POST "https://mcp-server.zhiliaobiaoxun.com/api_v2/find_potential_bidders" \ -H "X-API-Key: $ZLBX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"uniq_key":"48fc44301b90abf69a6bf5d0a7818438641615ce","limit":10}' ``` ## 请求参数(Body,JSON) | 参数 | 类型 | 必填 | 默认 | 说明 | |---|---|---|---|---| | uniq_key | string | 否 | | 平台标讯唯一键(与下列组合互斥,四选一必填场景之一) | | bid_id | int \| string | 否 | | 标讯 ID,需配合 bid_type | | bid_type | int | 否 | | 标讯类型枚举值,与 bid_id 同时提供(1: 招标, 2: 中标) | | bid_url | string | 否 | | 知了标讯公告详情页链接 | | project_title | string | 否 | | 项目标题文本(无 ID 时用于召回相似项目) | | limit | number | 否 | 20 | 返回推荐数量 | ## 响应示例 ```json { "success": true, "data": { "project_title": "市级政务云资源扩容及安全加固项目", "project_bid_id": 589738777, "project_bid_type": 1, "caller_name": "某市大数据管理局", "province": "广东省", "city": "深圳市", "sm_names": ["政务云", "安全加固"], "total": 2, "bidders": [{ "company_name": "某某科技股份有限公司", "company_id": 10087220, "match_reason": "曾为该招标方供货12次;该地区同类产品中标28次", "caller_history_count": 12, "caller_history_amount_wan": 1250.0, "region_win_count": 28, "region_win_amount_wan": 3680.0, "last_cooperation_time": "2024-03-10", "latest_win_time": "2024-03-18", "matched_products": ["政务云", "等保三级"], "main_customers": ["某市大数据管理局", "某区政数局"] }] }, "error": null, "meta": { "request_id": "req_0c77d901", "tool_name": "find_potential_bidders", "cost_units": 1, "execution_time_ms": 265 } } ``` ## 返回字段 | 字段 | 类型 | 说明 | |---|---|---| | success | boolean | 请求是否成功 | | data | object | 业务数据,结构随接口而异,字段见下表 | | error | object\|null | 错误信息,成功时为 null | | error.code | string | 失败时的错误码,如 MISSING_REQUIRED_PARAMETER、QUERY_EMPTY、NOT_FOUND、QUOTA_EXCEEDED | | error.message | string | 失败时的错误描述 | | error.details | object\|null | 失败时的补充信息 | | error.suggestions | string[]\|null | 失败时的排查/重试建议 | | meta | object | 元信息 | | meta.request_id | string | 本次请求 ID,排查问题时提供 | | meta.tool_name | string | 调用的接口名 | | meta.cost_units | float | 本次调用实际扣除的积分 | | meta.execution_time_ms | int | 服务端执行耗时(毫秒) | | data.need_selection | boolean | 按 project_title 命中多条时为 true,此时需用 bid_id+bid_type 或 uniq_key 重新调用 | | data.message | string | need_selection=true 时的提示文案 | | data.candidates[] | object[] | need_selection=true 时的候选项目列表,元素字段见下 | | data.candidates[].bid_id | int | 候选标讯 ID | | data.candidates[].bid_type | int | 候选标讯类型:1=招标,2=中标 | | data.candidates[].uniq_key | string | 候选标讯平台侧唯一键 | | data.candidates[].title | string | 候选公告标题 | | data.candidates[].pub_time | string | 候选公告发布时间 | | data.candidates[].money_wan | float\|null | 候选项目金额(万元) | | data.candidates[].caller_name | string | 候选项目招标方名称 | | data.candidates[].province | string | 候选项目省份 | | data.candidates[].city | string | 候选项目城市 | | data.project_title | string | 目标项目标题 | | data.project_bid_id | int\|null | 目标项目标讯 ID | | data.project_bid_type | int\|null | 目标项目标讯类型:1=招标,2=中标 | | data.caller_name | string | 目标项目招标方名称 | | data.province | string | 目标项目省份 | | data.city | string | 目标项目城市 | | data.sm_names | string[] | 目标项目标的物列表 | | data.total | int | 推荐供应商数量 | | data.bidders[] | object[] | 推荐供应商列表,元素字段见下 | | data.bidders[].company_name | string | 供应商名称 | | data.bidders[].company_id | int\|null | 供应商 ID | | data.bidders[].match_reason | string | 推荐理由,如「曾为该招标方供货3次;该地区同类产品中标5次」 | | data.bidders[].caller_history_count | int | 曾为该招标方供货次数 | | data.bidders[].caller_history_amount_wan | float\|null | 为该招标方历史供货金额(万元) | | data.bidders[].region_win_count | int | 该地区同类产品中标次数 | | data.bidders[].region_win_amount_wan | float\|null | 该地区同类产品中标金额(万元) | | data.bidders[].last_cooperation_time | string | 最近一次与该招标方合作时间 | | data.bidders[].latest_win_time | string | 最近一次中标时间 | | data.bidders[].matched_products | string[] | 与目标项目匹配的标的物(最多 10 个) | | data.bidders[].main_customers | string[] | 该供应商的主要客户(最多 10 个) | --- # 标讯详情 通过 uniq_key、bid_id 或 bid_url 之一获取单条标讯的结构化详情与正文信息。 - 请求:`POST https://mcp-server.zhiliaobiaoxun.com/api_v2/get_bid_detail` - 计费:单次调用 1 积分(失败或 0 条结果不扣费) ## 调用示例 ```bash curl -X POST "https://mcp-server.zhiliaobiaoxun.com/api_v2/get_bid_detail" \ -H "X-API-Key: $ZLBX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"bid_url":"https://www.zhiliaobiaoxun.com/content/501195842/b2"}' ``` ## 请求参数(Body,JSON) | 参数 | 类型 | 必填 | 默认 | 说明 | |---|---|---|---|---| | bid_id | int | 否 | | 标讯内部 ID | | bid_type | int | 否 | | 1=招标 2=中标,与 bid_id 等组合使用 | | uniq_key | string | 否 | | 平台侧唯一键;与 bid_id、bid_url 三者至少填其一 | | bid_url | string | 否 | | 知了标讯公告详情页链接;与 bid_id、uniq_key 三者至少填其一 | ## 响应示例 ```json { "success": true, "data": { "bid_id": 589738777, "bid_type": "招标", "bid_process": "招标", "title": "深圳市南山区政务云扩容及信创改造项目(公开招标)", "pub_time": "2024-03-18 09:30:00", "money": 28500000, "money_wan": 2850, "province": "广东省", "city": "深圳市", "county": "南山区", "caller_name": "深圳市南山区政务服务数据管理局", "caller_type": "政府", "winner_names": [], "tender_names": [], "sm_names": [ "政务云", "信创改造" ], "brand_names": [], "bid_no": "NSCG2024-0318", "uniq_key": "zb_20240318_gd_sz_001", "service_end_date": "", "signup_time": "2024-03-28 17:00:00", "tender_time": "2024-04-02 09:30:00", "agency_name": "深圳交易集团有限公司南山分公司", "has_source": true, "has_attachment": true, "has_attach_file": true, "attachment_urls": [ "https://example.gov.cn/notice/attach/982451336.pdf" ], "source": "
一、项目基本情况 项目编号:NSCG2024-0318 ...
", "source_ext": "
采购需求清单:政务云节点扩容 12 台 ...
", "source_url": "https://example.gov.cn/notice/detail/982451336", "url": "https://www.zhiliaobiaoxun.com/content/589738777/b1?from=mcp", "contact_privacy": "full", "caller_person": "陈*", "caller_contact": "0755-12345678", "agency_person": "黄*", "agency_contact": "0755-87654321", "winner_person": "", "winner_contact": "" }, "error": null, "meta": { "request_id": "req_2c8f0e9d6a1347b2", "tool_name": "get_bid_detail", "cost_units": 1, "execution_time_ms": 189 } } ``` ## 返回字段 | 字段 | 类型 | 说明 | |---|---|---| | success | boolean | 请求是否成功 | | data | object | 业务数据,结构随接口而异,字段见下表 | | error | object\|null | 错误信息,含 code 与 message,成功时为 null | | meta | object | 元信息,含 request_id、tool_name、cost_units、execution_time_ms | | data.bid_id | int | 标讯 ID | | data.bid_type | string | 标讯类型,如 招标/中标 | | data.bid_process | string | 招标流程阶段 | | data.title | string | 公告标题 | | data.pub_time | string | 发布时间 | | data.money | float | 金额(元) | | data.money_wan | float | 金额(万元) | | data.province | string | 省份 | | data.city | string | 城市 | | data.county | string | 区县 | | data.caller_name | string | 招标方名称 | | data.caller_type | string | 招标方类型 | | data.winner_names | string[] | 中标方名称列表 | | data.tender_names | string[] | 投标人名称列表 | | data.sm_names | string[] | 标的物名称列表 | | data.brand_names | string[] | 品牌名称列表 | | data.bid_no | string | 招标编号 | | data.uniq_key | string | 平台侧唯一键 | | data.service_end_date | string | 服务结束日期 | | data.signup_time | string | 报名/购买标书截止时间 | | data.tender_time | string | 投标截止时间(开标时间) | | data.agency_name | string | 招标代理公司 | | data.has_source | boolean | 是否含公告正文 | | data.has_attachment | boolean | 是否含附件内容 | | data.has_attach_file | boolean | 是否存在招标文件 | | data.attachment_urls | string[] | 附件链接列表 | | data.source | string | 公告正文 | | data.source_ext | string | 附件内容 | | data.source_url | string | 公告原文链接,由源表补充 | | data.url | string | 知了标讯公告链接 | | data.contact_privacy | string | 电话隐私级别:full=完整(付费),masked=脱敏(免费/试用) | | data.caller_person | string | 招标联系人姓名 | | data.caller_contact | string | 招标联系人电话 | | data.agency_person | string | 代理机构联系人姓名 | | data.agency_contact | string | 代理机构联系人电话 | | data.winner_person | string | 中标人联系人姓名 | | data.winner_contact | string | 中标人联系人电话 | --- # 公司基础工商信息 公司基础工商信息,及行业、招中标次数等画像指标。 - 请求:`POST https://mcp-server.zhiliaobiaoxun.com/api_v2/get_company_profile` - 计费:单次调用 1 积分(失败或 0 条结果不扣费) ## 调用示例 ```bash curl -X POST "https://mcp-server.zhiliaobiaoxun.com/api_v2/get_company_profile" \ -H "X-API-Key: $ZLBX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"company":"华为技术有限公司"}' ``` ## 请求参数(Body,JSON) | 参数 | 类型 | 必填 | 默认 | 说明 | |---|---|---|---|---| | company | string \| int | 否 | | 公司名称或内部公司 ID(与 company_url 二选一必填) | | company_url | string | 否 | | 知了标讯公司详情页链接 | ## 响应示例 ```json { "success": true, "data": { "id": 10086001, "fullname": "华为技术有限公司", "name": "华为", "org_base_type": "其他", "industry": "计算机、通信和其他电子设备制造业", "industry_l1": "制造业", "industry_l2": "通信设备制造", "province": "广东省", "city": "深圳市", "county": "龙岗区", "capital": "4034113.182万人民币", "size": "大型企业", "business_status": "在营", "bid_count": 2847, "caller_count": 2847, "win_count": 996, "winner_count": 996, "taxpayer_number": "914403001922038216", "establishment_date": "1987-09-15", "business_scope": "通信设备及系统集成;数据中心与云计算;软件开发", "url": "https://www.zhiliaobiaoxun.com/company/10086001?from=mcp" }, "error": null, "meta": { "request_id": "req_91c0d4e8", "tool_name": "get_company_profile", "cost_units": 1, "execution_time_ms": 210 } } ``` ## 返回字段 | 字段 | 类型 | 说明 | |---|---|---| | success | boolean | 请求是否成功 | | data | object | 业务数据,结构随接口而异,字段见下表 | | error | object\|null | 错误信息,含 code 与 message,成功时为 null | | meta | object | 元信息,含 request_id、tool_name、cost_units、execution_time_ms | | data.id | int | 公司 ID | | data.fullname | string | 公司全称 | | data.name | string | 公司简称 | | data.org_base_type | string | 企业类型 | | data.industry | string | 所属行业 | | data.industry_l1 | string | 一级行业 | | data.industry_l2 | string | 二级行业 | | data.province | string | 省份 | | data.city | string | 城市 | | data.county | string | 区县 | | data.capital | string | 注册资本 | | data.size | string | 企业规模 | | data.business_status | string | 经营状态 | | data.bid_count | int | 招标次数 | | data.caller_count | int | 招标次数(bid_count 的兼容别名,取值相同) | | data.win_count | int | 中标次数 | | data.winner_count | int | 中标次数(win_count 的兼容别名,取值相同) | | data.taxpayer_number | string | 统一社会信用代码 | | data.establishment_date | string | 成立日期 | | data.business_scope | string | 经营范围 | | data.url | string | 公司详情页链接 | --- # 搜索公司 根据公司名称(全称、简称或别名)搜索匹配的公司列表,适用于用户输入模糊名称时先确认目标公司,再进行后续分析查询。消耗 1 积分。 - 请求:`POST https://mcp-server.zhiliaobiaoxun.com/api_v2/search_company` - 计费:单次调用 0 积分(失败或 0 条结果不扣费) ## 调用示例 ```bash curl -X POST "https://mcp-server.zhiliaobiaoxun.com/api_v2/search_company" \ -H "X-API-Key: $ZLBX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"company_name":"华为","page":1,"page_size":10}' ``` ## 请求参数(Body,JSON) | 参数 | 类型 | 必填 | 默认 | 说明 | |---|---|---|---|---| | company_name | string | 是 | | 公司名称,支持全称、简称或别名,如「华为」「中国建筑」 | | province | string | 否 | | 省份筛选,如「北京」「广东」,不传则全国搜索 | | city | string | 否 | | 城市筛选,如「深圳」「上海」 | | page | integer | 否 | | 页码,从 1 开始,默认 1 | | page_size | integer | 否 | | 每页数量,最大 20,默认 10 | ## 响应示例 ```json { "success": true, "data": { "total": 3, "page": 1, "page_size": 10, "items": [{ "id": 10086001, "fullname": "华为技术有限公司", "name": "华为", "province": "广东省", "city": "深圳市", "win_count": 996, "cal_count": 2847, "org_count": 3843, "url": "https://www.zhiliaobiaoxun.com/company/10086001?from=mcp" }, { "id": 10086002, "fullname": "华为数字技术有限公司", "name": "华为数字", "province": "广东省", "city": "深圳市", "win_count": 128, "cal_count": 402, "org_count": 530, "url": "https://www.zhiliaobiaoxun.com/company/10086002?from=mcp" }] }, "error": null, "meta": { "request_id": "req_c9d8e7f6", "tool_name": "search_company", "cost_units": 0, "execution_time_ms": 86 } } ``` ## 返回字段 | 字段 | 类型 | 说明 | |---|---|---| | success | boolean | 请求是否成功 | | data | object | 业务数据,结构随接口而异,字段见下表 | | error | object\|null | 错误信息,成功时为 null | | error.code | string | 失败时的错误码,如 MISSING_REQUIRED_PARAMETER、QUERY_EMPTY、NOT_FOUND、QUOTA_EXCEEDED | | error.message | string | 失败时的错误描述 | | error.details | object\|null | 失败时的补充信息 | | error.suggestions | string[]\|null | 失败时的排查/重试建议 | | meta | object | 元信息 | | meta.request_id | string | 本次请求 ID,排查问题时提供 | | meta.tool_name | string | 调用的接口名 | | meta.cost_units | float | 本次调用实际扣除的积分 | | meta.execution_time_ms | int | 服务端执行耗时(毫秒) | | data.total | int | 全库命中总数 | | data.page | int | 当前页码 | | data.page_size | int | 每页条数(最大 20) | | data.items[] | object[] | 公司列表,元素字段见下 | | data.items[].id | int | 公司 ID | | data.items[].fullname | string | 公司全称 | | data.items[].name | string | 公司简称 | | data.items[].province | string | 省份 | | data.items[].city | string | 城市 | | data.items[].win_count | int | 中标次数 | | data.items[].cal_count | int | 招标次数 | | data.items[].org_count | int | 招投标记录总数 | | data.items[].url | string | 公司详情页链接 | --- # 项目时间线 根据任一阶段的标讯,获取同一项目所有阶段的公告(采购意向、招标、变更、中标候选人、中标结果、合同等),按发布时间正序返回。 - 请求:`POST https://mcp-server.zhiliaobiaoxun.com/api_v2/get_bid_timeline` - 计费:单次调用 1 积分(失败或 0 条结果不扣费) ## 调用示例 ```bash curl -X POST "https://mcp-server.zhiliaobiaoxun.com/api_v2/get_bid_timeline" \ -H "X-API-Key: $ZLBX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"bid_id":589738777,"bid_type":1}' ``` ## 请求参数(Body,JSON) | 参数 | 类型 | 必填 | 默认 | 说明 | |---|---|---|---|---| | bid_id | int | 否 | | 标讯ID(与 bid_url 二选一;与 bid_type 配合使用) | | bid_type | int \| string | 否 | | 公告类型:1=招标 2=中标(与 bid_id 配合使用) | | bid_url | string | 否 | | 知了标讯公告链接,可替代 bid_id+bid_type,如 https://www.zhiliaobiaoxun.com/content/1234567890/b1 | ## 响应示例 ```json { "success": true, "data": { "total": 1, "items": [{ "bid_id": 589738777, "title": "深圳市南山区政务云扩容及信创改造项目(公开招标)", "bid_type": "招标", "bid_process": "招标", "pub_time": "2024-03-18 09:30:00", "money": 28500000, "money_wan": 2850.0, "province": "广东省", "city": "深圳市", "county": "南山区", "caller_name": "深圳市南山区政务服务数据管理局", "caller_id": 10086001, "caller_base_type": "政府", "caller_type": "地方政府", "winner_names": [], "winner_ids": [], "winner_moneys": [], "tender_names": [], "sm_names": ["政务云", "信创改造"], "brand_names": [], "bid_method": "公开招标", "bid_no": "NSCG2024-0318", "signup_time": "2024-03-28 17:00:00", "tender_time": "2024-04-02 09:30:00", "service_end_date": "", "agency_name": "深圳交易集团有限公司南山分公司", "exists_bid_file": "1", "url": "https://www.zhiliaobiaoxun.com/content/589738777/b1?from=mcp" }] }, "error": null, "meta": { "request_id": "req_t1m2e3l4", "tool_name": "get_bid_timeline", "cost_units": 1, "execution_time_ms": 132 } } ``` ## 返回字段 | 字段 | 类型 | 说明 | |---|---|---| | success | boolean | 请求是否成功 | | data | object | 业务数据,结构随接口而异,字段见下表 | | error | object\|null | 错误信息,含 code 与 message,成功时为 null | | meta | object | 元信息,含 request_id、tool_name、cost_units、execution_time_ms | | data.total | int | 该项目各阶段公告总数 | | data.items[] | object[] | 按发布时间正序排列的公告列表,元素字段见下 | | data.items[].bid_id | int | 标讯 ID | | data.items[].title | string | 公告标题 | | data.items[].bid_type | string | 公告类型,如 招标/中标 | | data.items[].bid_process | string | 流程阶段,如 采购意向/招标/中标结果 | | data.items[].pub_time | string | 发布时间 | | data.items[].money | float\|null | 金额(元) | | data.items[].money_wan | float\|null | 金额(万元) | | data.items[].province | string | 省份 | | data.items[].city | string | 城市 | | data.items[].county | string | 区县 | | data.items[].caller_name | string | 招标方名称 | | data.items[].caller_id | int | 招标方 ID | | data.items[].caller_base_type | string | 招标方主体大类,如 政府/事业单位/学校/医院/国企 | | data.items[].caller_type | string | 招标方类型 | | data.items[].winner_names | string[] | 中标方名称列表 | | data.items[].winner_ids | int[] | 中标方 ID 列表 | | data.items[].winner_moneys | float[] | 各中标方中标金额(元) | | data.items[].tender_names | string[] | 投标人名称列表 | | data.items[].sm_names | string[] | 标的物名称列表 | | data.items[].brand_names | string[] | 品牌名称列表 | | data.items[].bid_method | string | 招标方式 | | data.items[].bid_no | string | 招标编号 | | data.items[].signup_time | string | 报名/购买标书截止时间 | | data.items[].tender_time | string | 投标截止时间(开标时间) | | data.items[].service_end_date | string | 服务结束日期 | | data.items[].agency_name | string | 招标代理公司 | | data.items[].exists_bid_file | string | 是否存在招标文件 | | data.items[].url | string | 知了标讯公告链接 | --- # 企业工商基本信息 知了标讯工商数据。仅使用 company_name 定位企业;成功有数据每次/每页3积分,失败和空结果不扣积分。支持会员每日积分和永久积分,余额续扣按账户设置执行。按需查询,不自动联查或翻页。取数时间不等于源数据更新时间,静态信息不视为实时数据。 - 请求:`POST https://mcp-server.zhiliaobiaoxun.com/api_v2/get_company_registry` - 计费:单次调用 3 积分(失败或 0 条结果不扣费) ## 调用示例 ```bash curl -X POST "https://mcp-server.zhiliaobiaoxun.com/api_v2/get_company_registry" \ -H "X-API-Key: $ZLBX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"company_name":"示例科技有限公司"}' ``` ## 请求参数(Body,JSON) | 参数 | 类型 | 必填 | 默认 | 说明 | |---|---|---|---|---| | company_name | string | 是 | | 准确企业全称、统一社会信用代码或注册号;不要传入平台主体ID | ## 响应示例 ```json {"success": true, "data": {"source": "company_registry", "data_freshness": "snapshot", "cached": false, "fetched_at": "2026-10-14T12:00:00+08:00", "queried_at": "2026-10-14T12:00:00+08:00", "query": "示例科技有限公司", "matched_by": "exact", "matched_name": "示例科技有限公司", "other_candidates": [], "company": {"name": "示例科技有限公司", "registeredCapital": 100, "registeredCapitalCurrency": "港元", "registeredCapitalDetail": {"raw": "100万港元", "amount": 100, "unit": "万", "currency": "港元"}, "legalRepresentative": "示例姓名", "sourceUpdatedAt": null}}, "meta": {"tool_name": "get_company_registry", "cost_units": 3}} ``` ## 返回字段 | 字段 | 类型 | 说明 | |---|---|---| | success | boolean | 请求是否成功 | | error | object\|null | 错误码与提示,失败不扣积分 | | meta.cost_units | number | 成功有数据每次/每页3积分;失败和空结果为0 | | data.source | string | 平台工商业务标识company_registry,不包含外部服务名称 | | data.data_freshness | string | snapshot表示本次/缓存取得的数据快照,static表示静态库;均不保证实时 | | data.cached | boolean | 是否命中授权期限内缓存;静态库链路可能不提供 | | data.fetched_at | string | 原始取数时间,非源数据更新时间;静态库链路可能不提供 | | data.queried_at | string | 本次查询时间;静态库链路可能不提供 | | data.query | string | 用户查询的企业名称或标识 | | data.matched_by | string | exact/bidding_index/identifier | | data.matched_name | string | 实际查询的企业全称;标识查列表时可为空,不额外查询补齐 | | data.other_candidates | array | 主体消歧候选,需用户确认 | | data.company | object | 工商详情,不返回数据源内部标识 | | data.company.name | string | 企业全称 | | data.company.unifiedSocialCreditCode | string | 统一社会信用代码 | | data.company.businessRegistrationNumber | string | 工商注册号 | | data.company.organizationCode | string | 组织机构代码 | | data.company.organizationType | string | 企业类型 | | data.company.legalRepresentative | string | 法定代表人 | | data.company.paidInCapital | number\|null | 实缴资本,数值单位为万;原单位未知时为null | | data.company.paidInCapitalCurrency | string | 实缴资本币种,不默认人民币 | | data.company.paidInCapitalDetail | object | 实缴资本原始文本、数值、单位和币种 | | data.company.establishmentDate | string | 成立日期yyyy-MM-dd | | data.company.approvalDate | string | 核准日期yyyy-MM-dd | | data.company.operatingPeriod | object | 营业期限startDate/endDate;空值不推断长期 | | data.company.businessStatus | string | 经营状态 | | data.company.registrationAuthority | string | 登记机关 | | data.company.provinceCode | string | 省份简称码,非完整省份名称 | | data.company.city | string | 城市 | | data.company.area | string | 区县 | | data.company.address | string | 注册地址 | | data.company.industry | string | 行业 | | data.company.businessScope | string | 经营范围 | | data.company.usedName | array | 曾用名 | | data.company.nickNames | array | 简称 | | data.company.staffNumRange | string | 人员规模原始范围 | | data.company.sourceUpdatedAt | number\|null | 源数据更新时间,原始毫秒时间戳;缺失不推断 | | data.company.registeredCapital | number\|null | 注册资本,数值单位为万;原单位未知时为null,不默认人民币 | | data.company.registeredCapitalCurrency | string | 注册资本币种,缺失为空,不做外币换算 | | data.company.registeredCapitalDetail | object | 原始口径raw/amount/unit/currency,数值字段换算为万但详情保持原单位 | --- # 企业股东 知了标讯工商数据。仅使用 company_name 定位企业;成功有数据每次/每页3积分,失败和空结果不扣积分。支持会员每日积分和永久积分,余额续扣按账户设置执行。按需查询,不自动联查或翻页。取数时间不等于源数据更新时间,静态信息不视为实时数据。 - 请求:`POST https://mcp-server.zhiliaobiaoxun.com/api_v2/get_company_shareholders` - 计费:单次调用 3 积分(失败或 0 条结果不扣费) ## 调用示例 ```bash curl -X POST "https://mcp-server.zhiliaobiaoxun.com/api_v2/get_company_shareholders" \ -H "X-API-Key: $ZLBX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"company_name":"示例科技有限公司","page_num":1,"page_size":20,"source":1}' ``` ## 请求参数(Body,JSON) | 参数 | 类型 | 必填 | 默认 | 说明 | |---|---|---|---|---| | company_name | string | 是 | | 准确企业全称、统一社会信用代码或注册号;不要传入平台主体ID | | page_num | integer | 否 | 1 | 页码,从1开始,每页成功有数据扣3积分 | | page_size | integer | 否 | 20 | 每页1至20条 | | source | integer | 否 | 1 | 股东口径:1工商登记,2最新公示 | ## 响应示例 ```json {"success": true, "data": {"source": "company_registry", "data_freshness": "snapshot", "cached": false, "fetched_at": "2026-10-14T12:00:00+08:00", "queried_at": "2026-10-14T12:00:00+08:00", "query": "示例科技有限公司", "matched_by": "exact", "matched_name": "示例科技有限公司", "other_candidates": [], "queried_identifier": "示例科技有限公司", "total": 1, "page_num": 1, "page_size": 20, "has_more": false, "shareholder_source": 1, "shareholder_source_name": "工商登记", "items": [{"name": "示例股东", "type": 2, "typeName": "自然人", "subscribedCapitalRecords": [{"amount": "10万元人民币", "method": "货币", "date": "2020-01-01", "percent": "5%"}], "paidInCapitalRecords": [], "firstShareholdingDate": "2020-01-01", "hkCapital": null}]}, "meta": {"tool_name": "get_company_shareholders", "cost_units": 3}} ``` ## 返回字段 | 字段 | 类型 | 说明 | |---|---|---| | success | boolean | 请求是否成功 | | error | object\|null | 错误码与提示,失败不扣积分 | | meta.cost_units | number | 成功有数据每次/每页3积分;失败和空结果为0 | | data.source | string | 平台工商业务标识company_registry,不包含外部服务名称 | | data.data_freshness | string | snapshot表示本次/缓存取得的数据快照,static表示静态库;均不保证实时 | | data.cached | boolean | 是否命中授权期限内缓存;静态库链路可能不提供 | | data.fetched_at | string | 原始取数时间,非源数据更新时间;静态库链路可能不提供 | | data.queried_at | string | 本次查询时间;静态库链路可能不提供 | | data.query | string | 用户查询的企业名称或标识 | | data.matched_by | string | exact/bidding_index/identifier | | data.matched_name | string | 实际查询的企业全称;标识查列表时可为空,不额外查询补齐 | | data.other_candidates | array | 主体消歧候选,需用户确认 | | data.queried_identifier | string | 实际查询参数,不是平台主体ID | | data.total | integer | 总记录数,不能等同于本页记录数 | | data.items | array | 仅本页记录 | | data.page_num | integer | 当前页码,从1开始 | | data.page_size | integer | 每页上限1至20 | | data.has_more | boolean | 是否还有后续页;仅在用户需要时继续调用 | | data.shareholder_source | integer | 1工商登记,2最新公示 | | data.shareholder_source_name | string | 查询股东口径,展示时注明 | | data.items[].name | string\|null | 股东名称 | | data.items[].type | integer\|null | 1企业,2自然人,3其他 | | data.items[].typeName | string | 股东类型名称 | | data.items[].subscribedCapitalRecords | array | 认缴历史记录amount/method/date/percent;不能求和或视为当前持股比例 | | data.items[].paidInCapitalRecords | array | 实缴历史记录,保留金额和日期原始口径 | | data.items[].subscribedCapital | array | 旧包兼容别名;新调用使用subscribedCapitalRecords | | data.items[].paidInCapital | array | 旧包兼容别名;新调用使用paidInCapitalRecords,不是企业实缴资本数值 | | data.items[].firstShareholdingDate | string | 首次持股日期,非更新时间 | | data.items[].hkCapital | string\|number\|null | 返回的出资记录值,缺失不推断 | --- # 分支机构 知了标讯工商数据。仅使用 company_name 定位企业;成功有数据每次/每页3积分,失败和空结果不扣积分。支持会员每日积分和永久积分,余额续扣按账户设置执行。按需查询,不自动联查或翻页。取数时间不等于源数据更新时间,静态信息不视为实时数据。 - 请求:`POST https://mcp-server.zhiliaobiaoxun.com/api_v2/get_company_branches` - 计费:单次调用 3 积分(失败或 0 条结果不扣费) ## 调用示例 ```bash curl -X POST "https://mcp-server.zhiliaobiaoxun.com/api_v2/get_company_branches" \ -H "X-API-Key: $ZLBX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"company_name":"示例科技有限公司","page_num":1,"page_size":20}' ``` ## 请求参数(Body,JSON) | 参数 | 类型 | 必填 | 默认 | 说明 | |---|---|---|---|---| | company_name | string | 是 | | 准确企业全称、统一社会信用代码或注册号;不要传入平台主体ID | | page_num | integer | 否 | 1 | 页码,从1开始,每页成功有数据扣3积分 | | page_size | integer | 否 | 20 | 每页1至20条 | ## 响应示例 ```json {"success": true, "data": {"source": "company_registry", "data_freshness": "snapshot", "cached": false, "fetched_at": "2026-10-14T12:00:00+08:00", "queried_at": "2026-10-14T12:00:00+08:00", "query": "示例科技有限公司", "matched_by": "exact", "matched_name": "示例科技有限公司", "other_candidates": [], "queried_identifier": "示例科技有限公司", "total": 1, "page_num": 1, "page_size": 20, "has_more": false, "items": [{"name": "示例关联企业有限公司", "businessStatus": "存续", "legalRepresentative": "示例姓名", "registeredCapital": 100, "registeredCapitalCurrency": "港元", "registeredCapitalDetail": {"raw": "100万港元", "amount": 100, "unit": "万", "currency": "港元"}, "establishmentDate": "2020-01-01", "provinceCode": "bj"}]}, "meta": {"tool_name": "get_company_branches", "cost_units": 3}} ``` ## 返回字段 | 字段 | 类型 | 说明 | |---|---|---| | success | boolean | 请求是否成功 | | error | object\|null | 错误码与提示,失败不扣积分 | | meta.cost_units | number | 成功有数据每次/每页3积分;失败和空结果为0 | | data.source | string | 平台工商业务标识company_registry,不包含外部服务名称 | | data.data_freshness | string | snapshot表示本次/缓存取得的数据快照,static表示静态库;均不保证实时 | | data.cached | boolean | 是否命中授权期限内缓存;静态库链路可能不提供 | | data.fetched_at | string | 原始取数时间,非源数据更新时间;静态库链路可能不提供 | | data.queried_at | string | 本次查询时间;静态库链路可能不提供 | | data.query | string | 用户查询的企业名称或标识 | | data.matched_by | string | exact/bidding_index/identifier | | data.matched_name | string | 实际查询的企业全称;标识查列表时可为空,不额外查询补齐 | | data.other_candidates | array | 主体消歧候选,需用户确认 | | data.queried_identifier | string | 实际查询参数,不是平台主体ID | | data.total | integer | 总记录数,不能等同于本页记录数 | | data.items | array | 仅本页记录 | | data.page_num | integer | 当前页码,从1开始 | | data.page_size | integer | 每页上限1至20 | | data.has_more | boolean | 是否还有后续页;仅在用户需要时继续调用 | | data.items[].name | string | 企业全称 | | data.items[].businessStatus | string | 经营状态,缺失为空 | | data.items[].legalRepresentative | string | 法定代表人,缺失为空 | | data.items[].establishmentDate | string | 成立日期yyyy-MM-dd,缺失为空 | | data.items[].provinceCode | string | 省份简称码,不是完整省份名称 | | data.items[].registeredCapital | number\|null | 注册资本,数值单位为万;原单位未知时为null,不默认人民币 | | data.items[].registeredCapitalCurrency | string | 注册资本币种,缺失为空,不做外币换算 | | data.items[].registeredCapitalDetail | object | 原始口径raw/amount/unit/currency,数值字段换算为万但详情保持原单位 | --- # 对外投资 知了标讯工商数据。仅使用 company_name 定位企业;成功有数据每次/每页3积分,失败和空结果不扣积分。支持会员每日积分和永久积分,余额续扣按账户设置执行。按需查询,不自动联查或翻页。取数时间不等于源数据更新时间,静态信息不视为实时数据。 - 请求:`POST https://mcp-server.zhiliaobiaoxun.com/api_v2/get_company_investments` - 计费:单次调用 3 积分(失败或 0 条结果不扣费) ## 调用示例 ```bash curl -X POST "https://mcp-server.zhiliaobiaoxun.com/api_v2/get_company_investments" \ -H "X-API-Key: $ZLBX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"company_name":"示例科技有限公司","page_num":1,"page_size":20}' ``` ## 请求参数(Body,JSON) | 参数 | 类型 | 必填 | 默认 | 说明 | |---|---|---|---|---| | company_name | string | 是 | | 准确企业全称、统一社会信用代码或注册号;不要传入平台主体ID | | page_num | integer | 否 | 1 | 页码,从1开始,每页成功有数据扣3积分 | | page_size | integer | 否 | 20 | 每页1至20条 | ## 响应示例 ```json {"success": true, "data": {"source": "company_registry", "data_freshness": "snapshot", "cached": false, "fetched_at": "2026-10-14T12:00:00+08:00", "queried_at": "2026-10-14T12:00:00+08:00", "query": "示例科技有限公司", "matched_by": "exact", "matched_name": "示例科技有限公司", "other_candidates": [], "queried_identifier": "示例科技有限公司", "total": 1, "page_num": 1, "page_size": 20, "has_more": false, "items": [{"name": "示例关联企业有限公司", "businessStatus": "存续", "legalRepresentative": "示例姓名", "registeredCapital": 100, "registeredCapitalCurrency": "港元", "registeredCapitalDetail": {"raw": "100万港元", "amount": 100, "unit": "万", "currency": "港元"}, "establishmentDate": "2020-01-01", "provinceCode": "bj", "amount": "10", "amountSuffix": "万元人民币", "percent": "5%"}]}, "meta": {"tool_name": "get_company_investments", "cost_units": 3}} ``` ## 返回字段 | 字段 | 类型 | 说明 | |---|---|---| | success | boolean | 请求是否成功 | | error | object\|null | 错误码与提示,失败不扣积分 | | meta.cost_units | number | 成功有数据每次/每页3积分;失败和空结果为0 | | data.source | string | 平台工商业务标识company_registry,不包含外部服务名称 | | data.data_freshness | string | snapshot表示本次/缓存取得的数据快照,static表示静态库;均不保证实时 | | data.cached | boolean | 是否命中授权期限内缓存;静态库链路可能不提供 | | data.fetched_at | string | 原始取数时间,非源数据更新时间;静态库链路可能不提供 | | data.queried_at | string | 本次查询时间;静态库链路可能不提供 | | data.query | string | 用户查询的企业名称或标识 | | data.matched_by | string | exact/bidding_index/identifier | | data.matched_name | string | 实际查询的企业全称;标识查列表时可为空,不额外查询补齐 | | data.other_candidates | array | 主体消歧候选,需用户确认 | | data.queried_identifier | string | 实际查询参数,不是平台主体ID | | data.total | integer | 总记录数,不能等同于本页记录数 | | data.items | array | 仅本页记录 | | data.page_num | integer | 当前页码,从1开始 | | data.page_size | integer | 每页上限1至20 | | data.has_more | boolean | 是否还有后续页;仅在用户需要时继续调用 | | data.items[].name | string | 企业全称 | | data.items[].businessStatus | string | 经营状态,缺失为空 | | data.items[].legalRepresentative | string | 法定代表人,缺失为空 | | data.items[].establishmentDate | string | 成立日期yyyy-MM-dd,缺失为空 | | data.items[].provinceCode | string | 省份简称码,不是完整省份名称 | | data.items[].registeredCapital | number\|null | 注册资本,数值单位为万;原单位未知时为null,不默认人民币 | | data.items[].registeredCapitalCurrency | string | 注册资本币种,缺失为空,不做外币换算 | | data.items[].registeredCapitalDetail | object | 原始口径raw/amount/unit/currency,数值字段换算为万但详情保持原单位 | | data.items[].unifiedSocialCreditCode | string\|null | 统一社会信用代码 | | data.items[].amount | string\|null | 投资金额原始值,不默认人民币 | | data.items[].amountSuffix | string\|null | 投资金额单位/币种后缀 | | data.items[].percent | string\|null | 投资比例,不等于控股关系 | | data.items[].subscriptionDate | string | 认缴日期yyyy-MM-dd | | data.items[].paidInDate | string | 实缴日期yyyy-MM-dd | | data.items[].organizationType | string\|null | 企业类型 | | data.items[].businessScope | string\|null | 经营范围 | --- # 工商变更 知了标讯工商数据。仅使用 company_name 定位企业;成功有数据每次/每页3积分,失败和空结果不扣积分。支持会员每日积分和永久积分,余额续扣按账户设置执行。按需查询,不自动联查或翻页。取数时间不等于源数据更新时间,静态信息不视为实时数据。 - 请求:`POST https://mcp-server.zhiliaobiaoxun.com/api_v2/get_company_changes` - 计费:单次调用 3 积分(失败或 0 条结果不扣费) ## 调用示例 ```bash curl -X POST "https://mcp-server.zhiliaobiaoxun.com/api_v2/get_company_changes" \ -H "X-API-Key: $ZLBX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"company_name":"示例科技有限公司","page_num":1,"page_size":20}' ``` ## 请求参数(Body,JSON) | 参数 | 类型 | 必填 | 默认 | 说明 | |---|---|---|---|---| | company_name | string | 是 | | 准确企业全称、统一社会信用代码或注册号;不要传入平台主体ID | | page_num | integer | 否 | 1 | 页码,从1开始,每页成功有数据扣3积分 | | page_size | integer | 否 | 20 | 每页1至20条 | ## 响应示例 ```json {"success": true, "data": {"source": "company_registry", "data_freshness": "snapshot", "cached": false, "fetched_at": "2026-10-14T12:00:00+08:00", "queried_at": "2026-10-14T12:00:00+08:00", "query": "示例科技有限公司", "matched_by": "exact", "matched_name": "示例科技有限公司", "other_candidates": [], "queried_identifier": "示例科技有限公司", "total": 1, "page_num": 1, "page_size": 20, "has_more": false, "items": [{"changeDate": "2025-06-10", "changeItem": "经营范围", "before": "示例变更前", "after": "示例变更后", "recordCreatedDate": "2025-06-11"}]}, "meta": {"tool_name": "get_company_changes", "cost_units": 3}} ``` ## 返回字段 | 字段 | 类型 | 说明 | |---|---|---| | success | boolean | 请求是否成功 | | error | object\|null | 错误码与提示,失败不扣积分 | | meta.cost_units | number | 成功有数据每次/每页3积分;失败和空结果为0 | | data.source | string | 平台工商业务标识company_registry,不包含外部服务名称 | | data.data_freshness | string | snapshot表示本次/缓存取得的数据快照,static表示静态库;均不保证实时 | | data.cached | boolean | 是否命中授权期限内缓存;静态库链路可能不提供 | | data.fetched_at | string | 原始取数时间,非源数据更新时间;静态库链路可能不提供 | | data.queried_at | string | 本次查询时间;静态库链路可能不提供 | | data.query | string | 用户查询的企业名称或标识 | | data.matched_by | string | exact/bidding_index/identifier | | data.matched_name | string | 实际查询的企业全称;标识查列表时可为空,不额外查询补齐 | | data.other_candidates | array | 主体消歧候选,需用户确认 | | data.queried_identifier | string | 实际查询参数,不是平台主体ID | | data.total | integer | 总记录数,不能等同于本页记录数 | | data.items | array | 仅本页记录 | | data.page_num | integer | 当前页码,从1开始 | | data.page_size | integer | 每页上限1至20 | | data.has_more | boolean | 是否还有后续页;仅在用户需要时继续调用 | | data.items[].changeDate | string | 变更日期yyyy-MM-dd | | data.items[].changeItem | string\|null | 变更事项 | | data.items[].before | string\|null | 变更前内容 | | data.items[].after | string\|null | 变更后内容 | | data.items[].recordCreatedDate | string | 记录创建日期,非变更日期 | --- # 公司业务关键词 在给定时间与地区范围内,从企业参与或中标的公告中提炼业务关键词。 - 请求:`POST https://mcp-server.zhiliaobiaoxun.com/api_v2/get_company_business_keywords` - 计费:单次调用 1 积分(失败或 0 条结果不扣费) ## 调用示例 ```bash curl -X POST "https://mcp-server.zhiliaobiaoxun.com/api_v2/get_company_business_keywords" \ -H "X-API-Key: $ZLBX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"company":"道普信息技术有限公司","limit":10}' ``` ## 请求参数(Body,JSON) | 参数 | 类型 | 必填 | 默认 | 说明 | |---|---|---|---|---| | company | string \| int | 否 | | 公司名称或内部公司 ID;与 company_url 二选一至少填一个 | | company_url | string | 否 | | 知了标讯公司详情页链接 | | begin_date | string | 否 | | 统计起始日期,格式 YYYY-MM-DD | | end_date | string | 否 | | 统计结束日期,格式 YYYY-MM-DD | | provinces | list[string] | 否 | | 仅统计指定省份范围内的项目,如:['北京', '内蒙古'] | | cities | list[string] | 否 | | 仅统计指定城市范围内的项目,如:['石家庄', '合肥'] | | limit | int | 否 | 50 | 返回关键词条数上限 | ## 响应示例 ```json { "success": true, "data": { "company_name": "某某数字科技股份有限公司", "company_id": 10086001, "total_projects": 328, "total_keywords": 56, "keywords": [{ "keyword": "政务数据共享交换平台", "win_count": 38, "win_amount": 186000000.0, "win_amount_wan": 18600.0, "top_callers": [{"name": "某市大数据管理局", "count": 9}], "top_provinces": [{"name": "广东省", "count": 18}], "top_cities": [{"name": "深圳市", "count": 12}] }, { "keyword": "信创适配迁移", "win_count": 27, "win_amount": 128000000.0, "win_amount_wan": 12800.0, "top_callers": [{"name": "某区政务服务数据管理局", "count": 6}], "top_provinces": [{"name": "广东省", "count": 14}], "top_cities": [{"name": "广州市", "count": 8}] }] }, "error": null, "meta": { "request_id": "req_b4e9021c7d6f4890", "tool_name": "get_company_business_keywords", "cost_units": 1, "execution_time_ms": 267 } } ``` ## 返回字段 | 字段 | 类型 | 说明 | |---|---|---| | success | boolean | 请求是否成功 | | data | object | 业务数据,结构随接口而异,字段见下表 | | error | object\|null | 错误信息,成功时为 null | | error.code | string | 失败时的错误码,如 MISSING_REQUIRED_PARAMETER、QUERY_EMPTY、NOT_FOUND、QUOTA_EXCEEDED | | error.message | string | 失败时的错误描述 | | error.details | object\|null | 失败时的补充信息 | | error.suggestions | string[]\|null | 失败时的排查/重试建议 | | meta | object | 元信息 | | meta.request_id | string | 本次请求 ID,排查问题时提供 | | meta.tool_name | string | 调用的接口名 | | meta.cost_units | float | 本次调用实际扣除的积分 | | meta.execution_time_ms | int | 服务端执行耗时(毫秒) | | data.company_name | string | 公司名称 | | data.company_id | int\|null | 公司 ID(按公司名查询时可能为 null) | | data.total_projects | int | 统计的中标项目总数 | | data.total_keywords | int | 提取的关键词总数 | | data.keywords[] | object[] | 业务关键词列表,元素字段见下 | | data.keywords[].keyword | string | 关键词/标的物名称 | | data.keywords[].win_count | int | 中标次数 | | data.keywords[].win_amount | float | 中标金额(元) | | data.keywords[].win_amount_wan | float\|null | 中标金额(万元) | | data.keywords[].top_callers | object[] | Top 甲方(最多 10 项) | | data.keywords[].top_callers[].name | string | 甲方名称 | | data.keywords[].top_callers[].count | int | 甲方出现次数 | | data.keywords[].top_provinces | object[] | Top 中标省份(最多 10 项) | | data.keywords[].top_provinces[].name | string | 中标省份名称 | | data.keywords[].top_provinces[].count | int | 中标省份出现次数 | | data.keywords[].top_cities | object[] | Top 中标城市(最多 10 项) | | data.keywords[].top_cities[].name | string | 中标城市名称 | | data.keywords[].top_cities[].count | int | 中标城市出现次数 | --- # 公司合作客户/供应商 从招中标数据中识别企业的主要采购方与分包/供应关系,企业上下游关系网络。 - 请求:`POST https://mcp-server.zhiliaobiaoxun.com/api_v2/get_company_partners` - 计费:单次调用 3 积分(失败或 0 条结果不扣费) ## 调用示例 ```bash curl -X POST "https://mcp-server.zhiliaobiaoxun.com/api_v2/get_company_partners" \ -H "X-API-Key: $ZLBX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"company":"华为技术有限公司","partner_type":"客户","begin_date":"2026-01-01","end_date":"2026-03-20","limit":20}' ``` ## 请求参数(Body,JSON) | 参数 | 类型 | 必填 | 默认 | 说明 | |---|---|---|---|---| | company | string \| int | 否 | | 公司名称或内部公司 ID(与 company_url 二选一必填) | | company_url | string | 否 | | 知了标讯公司详情页链接 | | partner_type | string | 否 | 全部 | 合作方向:如 全部 / 客户 / 供应商(以实际枚举为准) | | begin_date | string | 否 | | 统计起始日期 YYYY-MM-DD | | end_date | string | 否 | | 统计结束日期 YYYY-MM-DD | | provinces | string[] | 否 | | 按省份筛选合作标讯,如:['北京', '内蒙古'] | | cities | string[] | 否 | | 按城市筛选,如:['石家庄', '合肥'] | | keywords | string[] | 否 | | 标讯关键词过滤 | | min_amount | number | 否 | | 合作金额下限(万元) | | limit | number | 否 | 20 | 返回合作方数量上限 | ## 响应示例 ```json { "success": true, "data": { "company": "华为技术有限公司", "partner_type": "全部", "total": 2, "partners": [{ "company_name": "中国移动通信集团有限公司", "company_id": 10087101, "cooperation_count": 156, "cooperation_amount": 458000000.0, "cooperation_amount_wan": 45800.0, "last_cooperation_time": "2024-03-10", "products": ["5G无线网", "核心网"] }, { "company_name": "中国电信集团有限公司", "company_id": 10087102, "cooperation_count": 134, "cooperation_amount": 382000000.0, "cooperation_amount_wan": 38200.0, "last_cooperation_time": "2024-03-08", "products": ["城域网路由器"] }] }, "error": null, "meta": { "request_id": "req_4d88a102", "tool_name": "get_company_partners", "cost_units": 3, "execution_time_ms": 175 } } ``` ## 返回字段 | 字段 | 类型 | 说明 | |---|---|---| | success | boolean | 请求是否成功 | | data | object | 业务数据,结构随接口而异,字段见下表 | | error | object\|null | 错误信息,成功时为 null | | error.code | string | 失败时的错误码,如 MISSING_REQUIRED_PARAMETER、QUERY_EMPTY、NOT_FOUND、QUOTA_EXCEEDED | | error.message | string | 失败时的错误描述 | | error.details | object\|null | 失败时的补充信息 | | error.suggestions | string[]\|null | 失败时的排查/重试建议 | | meta | object | 元信息 | | meta.request_id | string | 本次请求 ID,排查问题时提供 | | meta.tool_name | string | 调用的接口名 | | meta.cost_units | float | 本次调用实际扣除的积分 | | meta.execution_time_ms | int | 服务端执行耗时(毫秒) | | data.company | string | 查询的公司名或公司 ID 原文 | | data.partner_type | string | 合作方向:全部/客户/供应商 | | data.total | int | 返回合作方数量 | | data.partners[] | object[] | 合作方列表,元素字段见下 | | data.partners[].company_name | string | 合作方名称 | | data.partners[].company_id | int\|null | 合作方 ID | | data.partners[].cooperation_count | int | 合作次数 | | data.partners[].cooperation_amount | float | 合作金额(元) | | data.partners[].cooperation_amount_wan | float\|null | 合作金额(万元) | | data.partners[].last_cooperation_time | string | 最近合作时间 | | data.partners[].products | string[] | 合作涉及的标的物(最多 10 个) | --- # 公司竞争对手分析 从招投标画像出发,列出在区域、行业、项目类型上与目标公司高度重叠的竞争企业列表。 - 请求:`POST https://mcp-server.zhiliaobiaoxun.com/api_v2/find_competitors` - 计费:单次调用 3 积分(失败或 0 条结果不扣费) ## 调用示例 ```bash curl -X POST "https://mcp-server.zhiliaobiaoxun.com/api_v2/find_competitors" \ -H "X-API-Key: $ZLBX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"company_url":"https://www.zhiliaobiaoxun.com/company/35680931","limit":5}' ``` ## 请求参数(Body,JSON) | 参数 | 类型 | 必填 | 默认 | 说明 | |---|---|---|---|---| | company | string \| int | 否 | | 公司名称或内部公司 ID;与 company_url 二选一至少填一个 | | company_url | string | 否 | | 知了标讯公司详情页链接 | | limit | int | 否 | 20 | 返回竞争对手数量上限 | ## 响应示例 ```json { "success": true, "data": { "company_name": "某某数字科技股份有限公司", "company_id": 10086001, "total_projects": 186, "total_competitors": 42, "competitors": [{ "company_name": "华东智联信息系统有限公司", "company_id": 10087220, "co_bid_count": 27, "latest_co_bid_time": "2024-03-18", "top_co_bid_products": [{"name": "政务云", "count": 12}, {"name": "数据共享交换", "count": 6}], "top_co_bid_callers": [{"name": "某市大数据管理局", "count": 8}], "top_co_bid_provinces": [{"name": "浙江省", "count": 15}, {"name": "上海市", "count": 9}], "top_co_bid_cities": [{"name": "杭州市", "count": 11}] }] }, "error": null, "meta": { "request_id": "req_5d1e88c09f2a4e65", "tool_name": "find_competitors", "cost_units": 3, "execution_time_ms": 521 } } ``` ## 返回字段 | 字段 | 类型 | 说明 | |---|---|---| | success | boolean | 请求是否成功 | | data | object | 业务数据,结构随接口而异,字段见下表 | | error | object\|null | 错误信息,成功时为 null | | error.code | string | 失败时的错误码,如 MISSING_REQUIRED_PARAMETER、QUERY_EMPTY、NOT_FOUND、QUOTA_EXCEEDED | | error.message | string | 失败时的错误描述 | | error.details | object\|null | 失败时的补充信息 | | error.suggestions | string[]\|null | 失败时的排查/重试建议 | | meta | object | 元信息 | | meta.request_id | string | 本次请求 ID,排查问题时提供 | | meta.tool_name | string | 调用的接口名 | | meta.cost_units | float | 本次调用实际扣除的积分 | | meta.execution_time_ms | int | 服务端执行耗时(毫秒) | | data.company_name | string | 目标公司名称 | | data.company_id | int\|string\|null | 目标公司 ID(按公司名查询时可能为 null) | | data.total_projects | int | 统计的项目总数 | | data.total_competitors | int | 竞争对手总数 | | data.competitors[] | object[] | 竞争对手列表,元素字段见下 | | data.competitors[].company_name | string | 竞争对手名称 | | data.competitors[].company_id | int\|null | 竞争对手 ID | | data.competitors[].co_bid_count | int | 共同投标次数 | | data.competitors[].latest_co_bid_time | string | 最近共同投标时间 | | data.competitors[].top_co_bid_products | object[] | Top 共同投标标的物(最多 10 项) | | data.competitors[].top_co_bid_products[].name | string | 共同投标标的物名称 | | data.competitors[].top_co_bid_products[].count | int | 共同投标标的物出现次数 | | data.competitors[].top_co_bid_callers | object[] | Top 共同投标招标方(最多 10 项) | | data.competitors[].top_co_bid_callers[].name | string | 共同投标招标方名称 | | data.competitors[].top_co_bid_callers[].count | int | 共同投标招标方出现次数 | | data.competitors[].top_co_bid_provinces | object[] | Top 共同投标省份(最多 10 项) | | data.competitors[].top_co_bid_provinces[].name | string | 共同投标省份名称 | | data.competitors[].top_co_bid_provinces[].count | int | 共同投标省份出现次数 | | data.competitors[].top_co_bid_cities | object[] | Top 共同投标城市(最多 10 项) | | data.competitors[].top_co_bid_cities[].name | string | 共同投标城市名称 | | data.competitors[].top_co_bid_cities[].count | int | 共同投标城市出现次数 | --- # 公司联系电话 获取公司/机构在招中标中的联系电话,包括最近出现时间、最近负责项目、负责项目数量、负责主要标的、负责项目链接等信息。精准触达关键联系人。 - 请求:`POST https://mcp-server.zhiliaobiaoxun.com/api_v2/get_company_contacts` - 计费:单次调用 5 积分(失败或 0 条结果不扣费) ## 调用示例 ```bash curl -X POST "https://mcp-server.zhiliaobiaoxun.com/api_v2/get_company_contacts" \ -H "X-API-Key: $ZLBX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"company":"阿里云计算有限公司","limit":10,"role":2}' ``` ## 请求参数(Body,JSON) | 参数 | 类型 | 必填 | 默认 | 说明 | |---|---|---|---|---| | company | string | 否 | | 公司名称,和company_url必填其中一个 | | company_url | string | 否 | | 知了标讯公司详情链接,和company必填其中一个 | | keywords | string[] | 否 | | 搜索联系人相关的关键词项目 | | match_modes | string[] | 否 | ["sm","title"] | 匹配模式(all:全部 sm:标的物/产品 title:标题 brand:品牌 fulltext:全文),如['sm','title'] | | role | int | 否 | 0 | 联系人类型:1=招标联系人,2=中标联系人,0=全部(先招标后中标补充) | | begin_date | string | 否 | | 公告发布开始日期,YYYY-MM-DD | | end_date | string | 否 | | 公告发布结束日期,YYYY-MM-DD | | limit | number | 否 | 5 | 返回联系人个数 | ## 响应示例 ```json { "success": true, "data": { "total": 2, "contact_privacy": "full", "contacts": [{ "phone": "010-88888888", "name": "张*", "bid_count": 12, "last_pub_time": "2026-03-20", "last_bid_title": "某市政务云平台建设项目(公开招标)", "last_bid_url": "https://www.zhiliaobiaoxun.com/content/589738777/b1?from=mcp", "top_products": ["政务云", "安全加固"] }, { "phone": "13900001234", "name": "李*", "bid_count": 5, "last_pub_time": "2026-02-15", "last_bid_title": "某区数据共享交换平台运维服务", "last_bid_url": "https://www.zhiliaobiaoxun.com/content/589123456/b2?from=mcp", "top_products": ["数据治理"] }] }, "error": null, "meta": { "request_id": "req_c1d2e3f4", "tool_name": "get_company_contacts", "cost_units": 5, "execution_time_ms": 280 } } ``` ## 返回字段 | 字段 | 类型 | 说明 | |---|---|---| | success | boolean | 请求是否成功 | | data | object | 业务数据,结构随接口而异,字段见下表 | | error | object\|null | 错误信息,成功时为 null | | error.code | string | 失败时的错误码,如 MISSING_REQUIRED_PARAMETER、QUERY_EMPTY、NOT_FOUND、QUOTA_EXCEEDED | | error.message | string | 失败时的错误描述 | | error.details | object\|null | 失败时的补充信息 | | error.suggestions | string[]\|null | 失败时的排查/重试建议 | | meta | object | 元信息 | | meta.request_id | string | 本次请求 ID,排查问题时提供 | | meta.tool_name | string | 调用的接口名 | | meta.cost_units | float | 本次调用实际扣除的积分 | | meta.execution_time_ms | int | 服务端执行耗时(毫秒) | | data.total | int | 返回联系人数量 | | data.contact_privacy | string | 本次电话的可见级别:full=完整号码(付费账户),masked=脱敏(免费/试用) | | data.contacts[] | object[] | 联系人列表,元素字段见下 | | data.contacts[].phone | string | 联系电话;免费/试用账户返回脱敏号码 | | data.contacts[].name | string | 联系人姓名(脱敏,仅保留姓氏) | | data.contacts[].bid_count | int | 关联标讯条数 | | data.contacts[].last_pub_time | string | 最近一次标讯发布时间 | | data.contacts[].last_bid_title | string | 最近一次标讯标题 | | data.contacts[].last_bid_url | string | 最近一次标讯链接 | | data.contacts[].top_products | string[] | Top 关联标的物(最多 10 个) | --- # Top采购单位 通过业务关键词及其他筛选组合,获取符合要求的Top采购单位列表,以及相关统计字段。可以用来进行市场调研、精准获客 - 请求:`POST https://mcp-server.zhiliaobiaoxun.com/api_v2/get_top_purchasers` - 计费:单次调用 3 积分(失败或 0 条结果不扣费) ## 调用示例 ```bash curl -X POST "https://mcp-server.zhiliaobiaoxun.com/api_v2/get_top_purchasers" \ -H "X-API-Key: $ZLBX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"keywords":["大语言模型"],"begin_date":"2025-01-01","end_date":"2026-03-31","limit":5,"sort_field":"count"}' ``` ## 请求参数(Body,JSON) | 参数 | 类型 | 必填 | 默认 | 说明 | |---|---|---|---|---| | keywords | string[] | 是 | | 搜索关键词列表 | | match_modes | string[] | 否 | | 匹配模式(all:全部 sm:标的物/产品 title:标题 brand:品牌 fulltext:全文 caller:招标公司/采购公司/招标方 winner:中标公司/供应商/中标方 winner_tender:中标公司或投标方 tender:投标公司/供应商/投标方),如['sm','title'] | | exclude_keywords | string[] | 否 | | 排除关键词,如['维修', '耗材'] | | begin_date | string | 否 | | 公告发布开始日期,YYYY-MM-DD | | end_date | string | 否 | | 公告发布结束日期,YYYY-MM-DD | | provinces | string[] | 否 | | 省份列表,如:['北京', '内蒙古'] | | cities | string[] | 否 | | 城市列表,如:['石家庄', '合肥'] | | min_amount | number | 否 | | 金额下限(万元) | | max_amount | number | 否 | | 金额上限(万元) | | limit | number | 否 | 20 | 返回数量,默认20,最大100 | | sort_field | string | 否 | count | 排序字段: count(中标次数) amount(中标总金额) pub_time(最近一次中标时间),倒序 | ## 响应示例 ```json { "success": true, "data": { "total": 2, "items": [{ "company_name": "北京市朝阳区卫生健康委员会", "company_id": 12345678, "purchase_count": 56, "total_amount": 128000000.0, "total_amount_wan": 12800.0, "latest_purchase_time": "2026-03-15", "top_winners": [{"name": "某某科技有限公司", "count": 12}, {"name": "某某信息技术有限公司", "count": 8}], "company_url": "https://www.zhiliaobiaoxun.com/company/12345678?from=mcp" }] }, "error": null, "meta": { "request_id": "req_a1b2c3d4", "tool_name": "get_top_purchasers", "cost_units": 3, "execution_time_ms": 320 } } ``` ## 返回字段 | 字段 | 类型 | 说明 | |---|---|---| | success | boolean | 请求是否成功 | | data | object | 业务数据,结构随接口而异,字段见下表 | | error | object\|null | 错误信息,成功时为 null | | error.code | string | 失败时的错误码,如 MISSING_REQUIRED_PARAMETER、QUERY_EMPTY、NOT_FOUND、QUOTA_EXCEEDED | | error.message | string | 失败时的错误描述 | | error.details | object\|null | 失败时的补充信息 | | error.suggestions | string[]\|null | 失败时的排查/重试建议 | | meta | object | 元信息 | | meta.request_id | string | 本次请求 ID,排查问题时提供 | | meta.tool_name | string | 调用的接口名 | | meta.cost_units | float | 本次调用实际扣除的积分 | | meta.execution_time_ms | int | 服务端执行耗时(毫秒) | | data.total | int | 返回采购单位数量 | | data.items[] | object[] | 采购单位列表,元素字段见下 | | data.items[].company_name | string | 采购单位名称 | | data.items[].company_id | int | 采购单位 ID | | data.items[].purchase_count | int | 采购次数 | | data.items[].total_amount | float | 采购总金额(元) | | data.items[].total_amount_wan | float\|null | 采购总金额(万元) | | data.items[].latest_purchase_time | string | 最近采购时间 | | data.items[].top_winners | object[] | Top 合作中标公司(最多 10 项) | | data.items[].top_winners[].name | string | 合作中标公司名称 | | data.items[].top_winners[].count | int | 合作中标公司出现次数 | | data.items[].company_url | string | 采购单位详情页链接 | --- # Top中标供应商 通过业务关键词及其他筛选组合,获取符合要求的Top中标公司列表,以及相关统计字段。可以用来进行市场调研、渠道扩展、竞对分析等场景。 - 请求:`POST https://mcp-server.zhiliaobiaoxun.com/api_v2/get_top_suppliers` - 计费:单次调用 3 积分(失败或 0 条结果不扣费) ## 调用示例 ```bash curl -X POST "https://mcp-server.zhiliaobiaoxun.com/api_v2/get_top_suppliers" \ -H "X-API-Key: $ZLBX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"keywords":["大语言模型"],"begin_date":"2025-01-01","end_date":"2026-03-31","limit":5,"sort_field":"count"}' ``` ## 请求参数(Body,JSON) | 参数 | 类型 | 必填 | 默认 | 说明 | |---|---|---|---|---| | keywords | string[] | 是 | | 搜索关键词列表 | | match_modes | string[] | 否 | | 匹配模式(all:全部 sm:标的物/产品 title:标题 brand:品牌 fulltext:全文 caller:招标公司/采购公司/招标方 winner:中标公司/供应商/中标方 winner_tender:中标公司或投标方 tender:投标公司/供应商/投标方),如['sm','title'] | | exclude_keywords | string[] | 否 | | 排除关键词,如['维修', '耗材'] | | begin_date | string | 否 | | 公告发布开始日期,YYYY-MM-DD | | end_date | string | 否 | | 公告发布结束日期,YYYY-MM-DD | | provinces | string[] | 否 | | 省份列表,如:['北京', '内蒙古'] | | cities | string[] | 否 | | 城市列表,如:['石家庄', '合肥'] | | min_amount | number | 否 | | 金额下限(万元) | | max_amount | number | 否 | | 金额上限(万元) | | limit | number | 否 | 20 | 返回数量,默认20,最大100 | | sort_field | string | 否 | count | 排序字段: count(中标次数) amount(中标总金额) pub_time(最近一次中标时间),倒序 | ## 响应示例 ```json { "success": true, "data": { "total": 2, "items": [{ "company_name": "某某科技股份有限公司", "company_id": 87654321, "win_count": 128, "total_amount": 356000000.0, "total_amount_wan": 35600.0, "latest_win_time": "2026-03-20", "top_provinces": [{"name": "北京市", "count": 45}, {"name": "广东省", "count": 32}], "top_cities": [{"name": "北京市", "count": 45}, {"name": "深圳市", "count": 18}], "top_callers": [{"name": "某市卫生健康委员会", "count": 15}, {"name": "某大学", "count": 10}], "company_url": "https://www.zhiliaobiaoxun.com/company/87654321?from=mcp" }] }, "error": null, "meta": { "request_id": "req_e5f6g7h8", "tool_name": "get_top_suppliers", "cost_units": 3, "execution_time_ms": 450 } } ``` ## 返回字段 | 字段 | 类型 | 说明 | |---|---|---| | success | boolean | 请求是否成功 | | data | object | 业务数据,结构随接口而异,字段见下表 | | error | object\|null | 错误信息,成功时为 null | | error.code | string | 失败时的错误码,如 MISSING_REQUIRED_PARAMETER、QUERY_EMPTY、NOT_FOUND、QUOTA_EXCEEDED | | error.message | string | 失败时的错误描述 | | error.details | object\|null | 失败时的补充信息 | | error.suggestions | string[]\|null | 失败时的排查/重试建议 | | meta | object | 元信息 | | meta.request_id | string | 本次请求 ID,排查问题时提供 | | meta.tool_name | string | 调用的接口名 | | meta.cost_units | float | 本次调用实际扣除的积分 | | meta.execution_time_ms | int | 服务端执行耗时(毫秒) | | data.total | int | 返回供应商数量 | | data.items[] | object[] | 供应商列表,元素字段见下 | | data.items[].company_name | string | 供应商名称 | | data.items[].company_id | int\|null | 供应商 ID;未能按全称匹配到工商主体时为 null | | data.items[].win_count | int | 中标次数 | | data.items[].total_amount | float | 中标总金额(元) | | data.items[].total_amount_wan | float\|null | 中标总金额(万元) | | data.items[].latest_win_time | string | 最近中标时间 | | data.items[].top_provinces | object[] | Top 中标省份(最多 10 项) | | data.items[].top_provinces[].name | string | 中标省份名称 | | data.items[].top_provinces[].count | int | 中标省份出现次数 | | data.items[].top_cities | object[] | Top 中标城市(最多 10 项) | | data.items[].top_cities[].name | string | 中标城市名称 | | data.items[].top_cities[].count | int | 中标城市出现次数 | | data.items[].top_callers | object[] | Top 合作采购单位(最多 10 项) | | data.items[].top_callers[].name | string | 合作采购单位名称 | | data.items[].top_callers[].count | int | 合作采购单位出现次数 | | data.items[].company_url | string | 供应商详情页链接 | --- # Top中标品牌 在给定产品与区域、时间范围内统计中标频次与金额领先的品牌。 - 请求:`POST https://mcp-server.zhiliaobiaoxun.com/api_v2/get_top_brands` - 计费:单次调用 3 积分(失败或 0 条结果不扣费) ## 调用示例 ```bash curl -X POST "https://mcp-server.zhiliaobiaoxun.com/api_v2/get_top_brands" \ -H "X-API-Key: $ZLBX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"product":"呼吸机","exclude_keywords":["耗材","维保","维修"],"limit":10,"begin_date":"2025-01-01","end_date":"2025-12-31"}' ``` ## 请求参数(Body,JSON) | 参数 | 类型 | 必填 | 默认 | 说明 | |---|---|---|---|---| | product | string | 是 | | 产品/品类关键词,如「服务器」「医用超声」 | | exclude_keywords | string[] | 否 | | 排除词,减少噪声命中,如:['耗材', '维保'] | | min_price | number | 否 | | 中标产品单价下限(元) | | max_price | number | 否 | | 中标产品单价上限(元) | | begin_date | string | 否 | | 统计开始日期 YYYY-MM-DD | | end_date | string | 否 | | 统计结束日期 YYYY-MM-DD | | provinces | string[] | 否 | | 省份列表,如:['北京', '内蒙古'] | | cities | string[] | 否 | | 城市列表,如:['石家庄', '合肥'] | | counties | string[] | 否 | | 区县列表,如:['长安区', '瑶海区'] | | limit | number | 否 | 10 | 返回品牌数量 | ## 响应示例 ```json { "success": true, "data": { "product": "服务器", "total": 3, "brands": [{ "brand": "华为", "win_count": 892, "total_amount": 568000000.0, "total_amount_wan": 56800.0, "total_count": 7240, "avg_price": 78453.04, "avg_price_wan": 7.85, "top_models": ["2288H V5", "5288 V6"], "last_win_time": "2024-03-18" }, { "brand": "浪潮", "win_count": 756, "total_amount": 423000000.0, "total_amount_wan": 42300.0, "total_count": 6060, "avg_price": 69801.98, "avg_price_wan": 6.98, "top_models": ["NF5280M6"], "last_win_time": "2024-03-15" }] }, "error": null, "meta": { "request_id": "req_33e901aa", "tool_name": "get_top_brands", "cost_units": 3, "execution_time_ms": 142 } } ``` ## 返回字段 | 字段 | 类型 | 说明 | |---|---|---| | success | boolean | 请求是否成功 | | data | object | 业务数据,结构随接口而异,字段见下表 | | error | object\|null | 错误信息,成功时为 null | | error.code | string | 失败时的错误码,如 MISSING_REQUIRED_PARAMETER、QUERY_EMPTY、NOT_FOUND、QUOTA_EXCEEDED | | error.message | string | 失败时的错误描述 | | error.details | object\|null | 失败时的补充信息 | | error.suggestions | string[]\|null | 失败时的排查/重试建议 | | meta | object | 元信息 | | meta.request_id | string | 本次请求 ID,排查问题时提供 | | meta.tool_name | string | 调用的接口名 | | meta.cost_units | float | 本次调用实际扣除的积分 | | meta.execution_time_ms | int | 服务端执行耗时(毫秒) | | data.product | string | 查询的产品/品类关键词 | | data.total | int | 返回品牌数量 | | data.brands[] | object[] | 品牌列表,元素字段见下 | | data.brands[].brand | string | 品牌名称 | | data.brands[].win_count | int | 中标次数 | | data.brands[].total_amount | float | 中标总金额(元) | | data.brands[].total_amount_wan | float\|null | 中标总金额(万元) | | data.brands[].total_count | int | 中标总数量 | | data.brands[].avg_price | float | 平均单价(元) | | data.brands[].avg_price_wan | float\|null | 平均单价(万元) | | data.brands[].top_models | string[] | Top 型号列表 | | data.brands[].last_win_time | string | 最近中标时间 | --- # 聚合统计 在统一筛选条件下,按时间、地区、行业、品牌等维度聚合标讯数量与金额,并支持对比分析。 - 请求:`POST https://mcp-server.zhiliaobiaoxun.com/api_v2/aggregate_bids_advanced` - 计费:单次调用 3 积分(失败或 0 条结果不扣费) ## 调用示例 ```bash curl -X POST "https://mcp-server.zhiliaobiaoxun.com/api_v2/aggregate_bids_advanced" \ -H "X-API-Key: $ZLBX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"filters":{"keywords":["大语言模型"],"begin_date":"2025-01-01","end_date":"2026-03-31"},"group_by":["month","quarter"]}' ``` ## 请求参数(Body,JSON) | 参数 | 类型 | 必填 | 默认 | 说明 | |---|---|---|---|---| | filters | dict | 是 | | 筛选条件,可包含:keywords、match_modes、keyword_groups、exclude_keywords、bid_type、begin_date、end_date、provinces、cities、min_money、max_money等字段 | | group_by | list[string] | 是 | | 聚合维度,可取:month(月)、quarter(季度)、year(年)、province、city、industry(行业)、brand(品牌)、company_type(招标公司类型)、bid_method(采购方式) | | metrics | list[string] | 否 | | 统计指标:count(公告个数)、sum_amount(金额合计)、avg_amount(平均金额) | ## 响应示例 ```json { "success": true, "data": { "total_count": 768, "total_amount": 3288000000.0, "total_amount_wan": 328800.0, "group_by": ["month", "province"], "buckets": [{ "key": "广东省", "count": 412, "sum_amount": 1865000000.0, "sum_amount_wan": 186500.0, "avg_amount": 4526699.03 }, { "key": "浙江省", "count": 356, "sum_amount": 1423000000.0, "sum_amount_wan": 142300.0, "avg_amount": 3997191.01 }] }, "error": null, "meta": { "request_id": "req_a91c44e27d304b1f", "tool_name": "aggregate_bids_advanced", "cost_units": 3, "execution_time_ms": 445 } } ``` ## 返回字段 | 字段 | 类型 | 说明 | |---|---|---| | success | boolean | 请求是否成功 | | data | object | 业务数据,结构随接口而异,字段见下表 | | error | object\|null | 错误信息,成功时为 null | | error.code | string | 失败时的错误码,如 MISSING_REQUIRED_PARAMETER、QUERY_EMPTY、NOT_FOUND、QUOTA_EXCEEDED | | error.message | string | 失败时的错误描述 | | error.details | object\|null | 失败时的补充信息 | | error.suggestions | string[]\|null | 失败时的排查/重试建议 | | meta | object | 元信息 | | meta.request_id | string | 本次请求 ID,排查问题时提供 | | meta.tool_name | string | 调用的接口名 | | meta.cost_units | float | 本次调用实际扣除的积分 | | meta.execution_time_ms | int | 服务端执行耗时(毫秒) | | data.total_count | int | 命中标讯总条数 | | data.total_amount | float | 金额合计(元) | | data.total_amount_wan | float\|null | 金额合计(万元) | | data.group_by | string[] | 本次聚合维度(原样回显) | | data.buckets[] | object[] | 聚合分桶结果,元素字段见下 | | data.buckets[].key | string | 分桶维度值(industry/company_type/bid_method 已转中文名) | | data.buckets[].count | int | 该桶标讯条数 | | data.buckets[].sum_amount | float | 该桶金额合计(元) | | data.buckets[].sum_amount_wan | float\|null | 该桶金额合计(万元) | | data.buckets[].avg_amount | float | 该桶平均金额(元) | --- # 品牌/型号价格趋势 基于历史中标明细,观察指定品牌与型号的中标单价随时间的变化。 - 请求:`POST https://mcp-server.zhiliaobiaoxun.com/api_v2/get_price_trends` - 计费:单次调用 2 积分(失败或 0 条结果不扣费) ## 调用示例 ```bash curl -X POST "https://mcp-server.zhiliaobiaoxun.com/api_v2/get_price_trends" \ -H "X-API-Key: $ZLBX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"product":"呼吸机","model":"SV300","brand":"迈瑞","exclude_keywords":["耗材","维修","维保"],"limit":2}' ``` ## 请求参数(Body,JSON) | 参数 | 类型 | 必填 | 默认 | 说明 | |---|---|---|---|---| | brand | string | 是 | | 品牌名称,如「华为」「戴尔」 | | model | string | 否 | | 型号,可缩小统计范围,如「TD1100」 | | product | string | 否 | | 产品词,与型号组合提高精度,如「笔记本电脑」 | | exclude_keywords | string[] | 否 | | 排除词,如:['耗材', '维修'] | | min_price | number | 否 | | 产品单价下限(元) | | max_price | number | 否 | | 产品单价上限(元) | | begin_date | string | 否 | | 统计开始日期 | | end_date | string | 否 | | 统计结束日期 | | provinces | string[] | 否 | | 省份列表,如:['北京', '内蒙古'] | | cities | string[] | 否 | | 城市列表,如:['石家庄', '合肥'] | | counties | string[] | 否 | | 区县列表,如:['长安区', '瑶海区'] | | limit | number | 否 | 50 | 趋势采样点数量上限 | ## 响应示例 ```json { "success": true, "data": { "brand": "华为", "model": "2288H V5", "product": "机架式服务器", "total": 1256, "page": 1, "page_size": 50, "price_stats": { "count": 1256, "min": 42000.0, "max": 126000.0, "avg": 68500.0, "median": 68000.0 }, "records": [{ "bid_id": 589738777, "bid_type": "中标", "title": "某市政务云平台服务器采购项目", "sm_name": "机架式服务器", "brand": "华为", "model": "2288H V5", "sku_price": 68500.0, "sku_count": 12, "sku_total_money": 822000.0, "caller_name": "某市大数据管理局", "pub_time": "2024-03-18", "province": "广东省", "city": "深圳市", "county": "南山区", "winner_names": ["某某科技股份有限公司"], "url": "https://www.zhiliaobiaoxun.com/content/589738777/b2?from=mcp" }] }, "error": null, "meta": { "request_id": "req_5aa102ee", "tool_name": "get_price_trends", "cost_units": 2, "execution_time_ms": 188 } } ``` ## 返回字段 | 字段 | 类型 | 说明 | |---|---|---| | success | boolean | 请求是否成功 | | data | object | 业务数据,结构随接口而异,字段见下表 | | error | object\|null | 错误信息,成功时为 null | | error.code | string | 失败时的错误码,如 MISSING_REQUIRED_PARAMETER、QUERY_EMPTY、NOT_FOUND、QUOTA_EXCEEDED | | error.message | string | 失败时的错误描述 | | error.details | object\|null | 失败时的补充信息 | | error.suggestions | string[]\|null | 失败时的排查/重试建议 | | meta | object | 元信息 | | meta.request_id | string | 本次请求 ID,排查问题时提供 | | meta.tool_name | string | 调用的接口名 | | meta.cost_units | float | 本次调用实际扣除的积分 | | meta.execution_time_ms | int | 服务端执行耗时(毫秒) | | data.brand | string | 查询的品牌(原样回显,未传则为空串) | | data.model | string | 查询的型号(原样回显,未传则为空串) | | data.product | string\|string[] | 查询的产品词(原样回显,未传则为空串) | | data.total | int | 全库命中总数 | | data.page | int | 当前页码 | | data.page_size | int | 每页条数 | | data.price_stats | object | 价格统计;无有效单价时为空对象 | | data.price_stats.count | int | 纳入统计的单价样本数 | | data.price_stats.min | float | 最低单价(元) | | data.price_stats.max | float | 最高单价(元) | | data.price_stats.avg | float | 平均单价(元) | | data.price_stats.median | float | 单价中位数(元) | | data.records[] | object[] | 价格明细列表,元素字段见下 | | data.records[].bid_id | int | 标讯 ID | | data.records[].bid_type | string | 标讯类型,如 招标公告/中标公告 | | data.records[].title | string | 公告标题 | | data.records[].sm_name | string | 标的物名称 | | data.records[].brand | string | 品牌 | | data.records[].model | string | 型号(取自 sku_type) | | data.records[].sku_price | float\|null | 单价(元) | | data.records[].sku_count | int\|null | 数量 | | data.records[].sku_total_money | float\|null | 小计金额(元) | | data.records[].caller_name | string | 招标方名称 | | data.records[].pub_time | string | 发布时间 | | data.records[].province | string | 省份 | | data.records[].city | string | 城市 | | data.records[].county | string | 区县 | | data.records[].winner_names | string[] | 中标方名称列表 | | data.records[].url | string | 知了标讯公告链接 | --- # 企业年报 单次返回年报集合,不支持分页或指定年份。以returned_count与data_complete判断完整性;金额与企业选择不公示原文保留,不能当作0。电话邮箱按contact_privacy分层。成功有数据每次/页3积分,失败和空结果不扣费。沿用工商会员额度开关及钱包设置,不自动联查或翻页。取数时间不等于源数据更新时间。 - 请求:`POST https://mcp-server.zhiliaobiaoxun.com/api_v2/get_company_annual_reports` - 计费:单次调用 3 积分(失败或 0 条结果不扣费) ## 调用示例 ```bash curl -X POST "https://mcp-server.zhiliaobiaoxun.com/api_v2/get_company_annual_reports" \ -H "X-API-Key: $ZLBX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"company_name":"示例科技有限公司"}' ``` ## 请求参数(Body,JSON) | 参数 | 类型 | 必填 | 默认 | 说明 | |---|---|---|---|---| | company_name | string | 是 | | 准确企业全称、统一社会信用代码或注册号;不传平台主体ID | ## 响应示例 ```json {"success": true, "data": {"source": "company_registry", "data_freshness": "snapshot", "cached": false, "fetched_at": "2026-11-04T12:00:00+08:00", "queried_at": "2026-11-04T12:00:00+08:00", "query": "示例科技有限公司", "queried_identifier": "示例科技有限公司", "matched_by": "exact", "matched_name": "示例科技有限公司", "other_candidates": [], "total": 1, "items": [{"baseInfo": {"companyName": "示例科技有限公司", "reportYear": "2025", "totalAssets": "企业选择不公示", "phoneNumber": "138****8000", "email": "a****@example.com"}, "releaseTime": "2026-06-01", "shareholderList": [], "outboundInvestmentList": [], "reportSocialSecurityInfo": {}, "equityChangeInfoList": [], "changeRecordList": [], "webInfoList": [], "outGuaranteeInfoList": []}], "returned_count": 1, "data_complete": true, "contact_privacy": "masked"}, "meta": {"tool_name": "get_company_annual_reports", "cost_units": 3}} ``` ## 返回字段 | 字段 | 类型 | 说明 | |---|---|---| | success | boolean | 是否成功 | | error | object\|null | 错误码及说明,失败不扣费 | | meta.cost_units | number | 成功有数据3积分,失败和空结果为0 | | data.source | string | 固定company_registry,工商业务来源 | | data.data_freshness | string | snapshot,数据快照,不保证实时 | | data.cached | boolean | 是否命中授权缓存 | | data.fetched_at | string | 原始取数时间,非源数据更新时间 | | data.queried_at | string | 本次查询时间 | | data.query | string | 原始查询 | | data.queried_identifier | string | 实际查询的名称或标识 | | data.matched_by | string | exact/bidding_index/identifier | | data.matched_name | string | 规范企业名,按标识查列表可为空 | | data.other_candidates | array | 消歧候选 | | data.total | integer | 源总数,不等于本次条数 | | data.items | array | 实际返回记录,不自动补齐 | | data.returned_count | integer | 本次实际返回的年报条数 | | data.data_complete | boolean | 本次条数是否等于源总数;false时不得声称全量 | | data.contact_privacy | string | full或masked,沿用平台联系方式分层 | | data.items[].baseInfo | object | 年度、企业名称、经营状态、联系地址、电话邮箱及财务原文;未公示不等于0 | | data.items[].releaseTime | string | 年报发布时间,非财务所属年度 | | data.items[].shareholderList | array | 该年度股东出资记录,保留金额与日期原文 | | data.items[].outboundInvestmentList | array | 该年度对外投资企业 | | data.items[].reportSocialSecurityInfo | object | 社保人数、基数、缴费及欠费原文 | | data.items[].equityChangeInfoList | array | 年度股权变更,不推断当前持股 | | data.items[].changeRecordList | array | 年报变更事项和前后内容 | | data.items[].webInfoList | array | 年度网站和网店 | | data.items[].outGuaranteeInfoList | array | 年度对外担保 | --- # 建筑资质资格 返回建筑资质类别、名称、证书号、发证机关及日期。仅当需要详情时,将qualification_id原样传给建筑资质详情接口,另计一次费用。成功有数据每次/页3积分,失败和空结果不扣费。沿用工商会员额度开关及钱包设置,不自动联查或翻页。取数时间不等于源数据更新时间。 - 请求:`POST https://mcp-server.zhiliaobiaoxun.com/api_v2/get_company_qualifications` - 计费:单次调用 3 积分(失败或 0 条结果不扣费) ## 调用示例 ```bash curl -X POST "https://mcp-server.zhiliaobiaoxun.com/api_v2/get_company_qualifications" \ -H "X-API-Key: $ZLBX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"company_name":"示例科技有限公司","page_num":1,"page_size":20}' ``` ## 请求参数(Body,JSON) | 参数 | 类型 | 必填 | 默认 | 说明 | |---|---|---|---|---| | company_name | string | 是 | | 准确企业全称、统一社会信用代码或注册号;不传平台主体ID | | page_num | integer | 否 | 1 | 页码,整数,从1开始 | | page_size | integer | 否 | 20 | 每页1至20条,整数 | ## 响应示例 ```json {"success": true, "data": {"source": "company_registry", "data_freshness": "snapshot", "cached": false, "fetched_at": "2026-11-04T12:00:00+08:00", "queried_at": "2026-11-04T12:00:00+08:00", "query": "示例科技有限公司", "queried_identifier": "示例科技有限公司", "matched_by": "exact", "matched_name": "示例科技有限公司", "other_candidates": [], "total": 1, "items": [{"qualification_id": "qual_由建筑资质列表返回的完整标识", "organ": "示例发证机关", "type": "设计资质", "certificateNum": "EXAMPLE-001", "qualificationName": "建筑工程甲级", "effectiveTime": "2028-01-01", "issuingCertificateTime": "2023-01-01"}], "page_num": 1, "page_size": 20, "has_more": false}, "meta": {"tool_name": "get_company_qualifications", "cost_units": 3}} ``` ## 返回字段 | 字段 | 类型 | 说明 | |---|---|---| | success | boolean | 是否成功 | | error | object\|null | 错误码及说明,失败不扣费 | | meta.cost_units | number | 成功有数据3积分,失败和空结果为0 | | data.source | string | 固定company_registry,工商业务来源 | | data.data_freshness | string | snapshot,数据快照,不保证实时 | | data.cached | boolean | 是否命中授权缓存 | | data.fetched_at | string | 原始取数时间,非源数据更新时间 | | data.queried_at | string | 本次查询时间 | | data.query | string | 原始查询 | | data.queried_identifier | string | 实际查询的名称或标识 | | data.matched_by | string | exact/bidding_index/identifier | | data.matched_name | string | 规范企业名,按标识查列表可为空 | | data.other_candidates | array | 消歧候选 | | data.total | integer | 源总数,不等于本次条数 | | data.items | array | 实际返回记录,不自动补齐 | | data.page_num | integer | 当前页码 | | data.page_size | integer | 每页条数 | | data.has_more | boolean | 是否还有后续页,按需调用 | | data.items[].qualification_id | string\|null | 查询详情用的资格引用标识,须原样传回 | | data.items[].organ | string\|null | 发证机关 | | data.items[].type | string\|null | 资质类别 | | data.items[].certificateNum | string\|null | 资质证书号 | | data.items[].qualificationName | string\|null | 资质名称 | | data.items[].effectiveTime | string\|null | 证书有效期,缺失不推断 | | data.items[].issuingCertificateTime | string\|null | 发证日期 | --- # 建筑资质详情 qualification_id必须来自建筑资质列表;不是企业ID或证书号,示例标识不能直接执行。失效时重新获取列表。返回qualification及certificate。成功有数据每次/页3积分,失败和空结果不扣费。沿用工商会员额度开关及钱包设置,不自动联查或翻页。取数时间不等于源数据更新时间。 - 请求:`POST https://mcp-server.zhiliaobiaoxun.com/api_v2/get_company_qualification_detail` - 计费:单次调用 3 积分(失败或 0 条结果不扣费) ## 调用示例 ```bash curl -X POST "https://mcp-server.zhiliaobiaoxun.com/api_v2/get_company_qualification_detail" \ -H "X-API-Key: $ZLBX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"qualification_id":"qual_由建筑资质列表返回的完整标识"}' ``` ## 请求参数(Body,JSON) | 参数 | 类型 | 必填 | 默认 | 说明 | |---|---|---|---|---| | qualification_id | string | 是 | | 建筑资质列表返回的资格引用标识,原样传入;不是企业ID或证书号 | ## 响应示例 ```json {"success": true, "data": {"source": "company_registry", "data_freshness": "snapshot", "cached": false, "fetched_at": "2026-11-04T12:00:00+08:00", "queried_at": "2026-11-04T12:00:00+08:00", "qualification_id": "qual_由建筑资质列表返回的完整标识", "qualification": {"organ": "示例发证机关", "certificateNum": "EXAMPLE-001", "qualificationName": "建筑工程甲级"}, "certificate": {"companyName": "示例科技有限公司", "certNo": "EXAMPLE-001", "validityPeriod": "2028-01-01", "certDate": "2023-01-01", "qualificationRange": "建筑工程甲级"}}, "meta": {"tool_name": "get_company_qualification_detail", "cost_units": 3}} ``` ## 返回字段 | 字段 | 类型 | 说明 | |---|---|---| | success | boolean | 是否成功 | | error | object\|null | 错误码及说明,失败不扣费 | | meta.cost_units | number | 成功有数据3积分,失败和空结果为0 | | data.source | string | 固定company_registry,工商业务来源 | | data.data_freshness | string | snapshot,数据快照,不保证实时 | | data.cached | boolean | 是否命中授权缓存 | | data.fetched_at | string | 原始取数时间,非源数据更新时间 | | data.queried_at | string | 本次查询时间 | | data.qualification_id | string | 列表返回的资格引用标识 | | data.qualification | object | organ/effectiveTime/issuingCertificateTime/type/certificateNum/qualificationName | | data.certificate | object | validityPeriod/certNo/companyName/certDate/qualificationRange | --- # 企业资质证书 仅按准确企业全称查询。certificate_name使用类型清单中的完整名称,兼容全半角括号,不能用ISO9001等缩写;不传则不过滤。状态应结合明细与日期判断。成功有数据每次/页3积分,失败和空结果不扣费。沿用工商会员额度开关及钱包设置,不自动联查或翻页。取数时间不等于源数据更新时间。 - 请求:`POST https://mcp-server.zhiliaobiaoxun.com/api_v2/get_company_certificates` - 计费:单次调用 3 积分(失败或 0 条结果不扣费) ## 调用示例 ```bash curl -X POST "https://mcp-server.zhiliaobiaoxun.com/api_v2/get_company_certificates" \ -H "X-API-Key: $ZLBX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"company_name":"示例科技有限公司","page_num":1,"page_size":20}' ``` ## 请求参数(Body,JSON) | 参数 | 类型 | 必填 | 默认 | 说明 | |---|---|---|---|---| | company_name | string | 是 | | 准确企业全称;此接口不接受企业ID或信用代码 | | page_num | integer | 否 | 1 | 页码,整数,从1开始 | | page_size | integer | 否 | 20 | 每页1至20条,整数 | | certificate_name | string | 否 | | 证书类型清单中的完整名称,兼容全半角括号,如质量管理体系认证(ISO9001) | ## 响应示例 ```json {"success": true, "data": {"source": "company_registry", "data_freshness": "snapshot", "cached": false, "fetched_at": "2026-11-04T12:00:00+08:00", "queried_at": "2026-11-04T12:00:00+08:00", "query": "示例科技有限公司", "queried_identifier": "示例科技有限公司", "matched_by": "exact", "matched_name": "示例科技有限公司", "other_candidates": [], "total": 1, "items": [{"certNo": "EXAMPLE-001", "certificateName": "质量管理体系认证(ISO9001)", "certificateType": "质量管理体系认证(ISO9001)", "startDate": "2024-01-01", "endDate": "2027-01-01", "detail": [{"title": "证书状态", "content": "有效"}]}], "page_num": 1, "page_size": 20, "has_more": false, "certificate_name": null}, "meta": {"tool_name": "get_company_certificates", "cost_units": 3}} ``` ## 返回字段 | 字段 | 类型 | 说明 | |---|---|---| | success | boolean | 是否成功 | | error | object\|null | 错误码及说明,失败不扣费 | | meta.cost_units | number | 成功有数据3积分,失败和空结果为0 | | data.source | string | 固定company_registry,工商业务来源 | | data.data_freshness | string | snapshot,数据快照,不保证实时 | | data.cached | boolean | 是否命中授权缓存 | | data.fetched_at | string | 原始取数时间,非源数据更新时间 | | data.queried_at | string | 本次查询时间 | | data.query | string | 原始查询 | | data.queried_identifier | string | 实际查询的名称或标识 | | data.matched_by | string | exact/bidding_index/identifier | | data.matched_name | string | 规范企业名,按标识查列表可为空 | | data.other_candidates | array | 消歧候选 | | data.total | integer | 源总数,不等于本次条数 | | data.items | array | 实际返回记录,不自动补齐 | | data.page_num | integer | 当前页码 | | data.page_size | integer | 每页条数 | | data.has_more | boolean | 是否还有后续页,按需调用 | | data.items[].certNo | string\|null | 证书编号 | | data.items[].certificateName | string\|null | 证书类型 | | data.items[].certificateType | string\|null | 证书类型(新) | | data.items[].startDate | string\|null | 发证日期 | | data.items[].endDate | string\|null | 截止日期 | | data.items[].detail | array | 详细信息标题title和内容content数组 | | data.certificate_name | string\|null | 规范化后的证书过滤名称,未过滤为null | --- # 企业信用评级 返回历史评级日期、评级机构、展望、债券信用等级和主体等级;不把历史评级当当前评级,不等同于司法风险或平台信用评分。成功有数据每次/页3积分,失败和空结果不扣费。沿用工商会员额度开关及钱包设置,不自动联查或翻页。取数时间不等于源数据更新时间。 - 请求:`POST https://mcp-server.zhiliaobiaoxun.com/api_v2/get_company_credit_ratings` - 计费:单次调用 3 积分(失败或 0 条结果不扣费) ## 调用示例 ```bash curl -X POST "https://mcp-server.zhiliaobiaoxun.com/api_v2/get_company_credit_ratings" \ -H "X-API-Key: $ZLBX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"company_name":"示例科技有限公司","page_num":1,"page_size":20}' ``` ## 请求参数(Body,JSON) | 参数 | 类型 | 必填 | 默认 | 说明 | |---|---|---|---|---| | company_name | string | 是 | | 准确企业全称、统一社会信用代码或注册号;不传平台主体ID | | page_num | integer | 否 | 1 | 页码,整数,从1开始 | | page_size | integer | 否 | 20 | 每页1至20条,整数 | ## 响应示例 ```json {"success": true, "data": {"source": "company_registry", "data_freshness": "snapshot", "cached": false, "fetched_at": "2026-11-04T12:00:00+08:00", "queried_at": "2026-11-04T12:00:00+08:00", "query": "示例科技有限公司", "queried_identifier": "示例科技有限公司", "matched_by": "exact", "matched_name": "示例科技有限公司", "other_candidates": [], "total": 1, "items": [{"ratingOutlook": "稳定", "ratingDate": "2024-03-09", "ratingCompanyName": "示例评级机构", "bondCreditLevel": "A-1", "alias": "示例机构", "subjectLevel": "AAA"}], "page_num": 1, "page_size": 20, "has_more": false}, "meta": {"tool_name": "get_company_credit_ratings", "cost_units": 3}} ``` ## 返回字段 | 字段 | 类型 | 说明 | |---|---|---| | success | boolean | 是否成功 | | error | object\|null | 错误码及说明,失败不扣费 | | meta.cost_units | number | 成功有数据3积分,失败和空结果为0 | | data.source | string | 固定company_registry,工商业务来源 | | data.data_freshness | string | snapshot,数据快照,不保证实时 | | data.cached | boolean | 是否命中授权缓存 | | data.fetched_at | string | 原始取数时间,非源数据更新时间 | | data.queried_at | string | 本次查询时间 | | data.query | string | 原始查询 | | data.queried_identifier | string | 实际查询的名称或标识 | | data.matched_by | string | exact/bidding_index/identifier | | data.matched_name | string | 规范企业名,按标识查列表可为空 | | data.other_candidates | array | 消歧候选 | | data.total | integer | 源总数,不等于本次条数 | | data.items | array | 实际返回记录,不自动补齐 | | data.page_num | integer | 当前页码 | | data.page_size | integer | 每页条数 | | data.has_more | boolean | 是否还有后续页,按需调用 | | data.items[].ratingOutlook | string\|null | 评级展望 | | data.items[].ratingDate | string\|null | 评级日期,不等同于当前评级 | | data.items[].ratingCompanyName | string\|null | 评级机构名称 | | data.items[].bondCreditLevel | string\|null | 债券信用等级 | | data.items[].alias | string\|null | 评级机构简称 | | data.items[].subjectLevel | string\|null | 主体等级 | --- # 账户余额 查询当前 API Key 对应账户的可用积分、累计充值与累计消费。此接口免费,不扣除积分,可在每次任务前后自助查询。 - 请求:`GET https://mcp-server.zhiliaobiaoxun.com/api_v2/account/balance` - 计费:单次调用 0 积分(失败或 0 条结果不扣费) ## 调用示例 ```bash curl "https://mcp-server.zhiliaobiaoxun.com/api_v2/account/balance" \ -H "X-API-Key: $ZLBX_API_KEY" ``` ## 请求参数 无 ## 响应示例 ```json { "success": true, "data": { "user_id": 10001, "balance": 186.0, "total_charged": 200.0, "total_consumed": 14.0 }, "error": null, "meta": { "request_id": "req_acc001", "tool_name": "get_account_balance", "cost_units": 0, "execution_time_ms": 32 } } ``` ## 返回字段 | 字段 | 类型 | 说明 | |---|---|---| | success | boolean | 请求是否成功 | | data | object | 业务数据,结构随接口而异,字段见下表 | | error | object\|null | 错误信息,含 code 与 message,成功时为 null | | meta | object | 元信息,含 request_id、tool_name、cost_units、execution_time_ms | | data.user_id | int | 当前 API Key 所属用户 ID | | data.balance | float | 当前可用积分 | | data.total_charged | float | 累计充值积分 | | data.total_consumed | float | 累计消费积分 | --- # 每日消耗 查询当前 API Key 对应账户在指定区间内的逐日积分消耗与调用次数,无消耗的日期补 0,返回连续日序列。此接口免费,不扣除积分。 - 请求:`GET https://mcp-server.zhiliaobiaoxun.com/api_v2/account/daily_consumption` - 计费:单次调用 0 积分(失败或 0 条结果不扣费) ## 调用示例 ```bash curl "https://mcp-server.zhiliaobiaoxun.com/api_v2/account/daily_consumption?days=15" \ -H "X-API-Key: $ZLBX_API_KEY" ``` ## 请求参数(Query 参数) | 参数 | 类型 | 必填 | 默认 | 说明 | |---|---|---|---|---| | api_key | string | 否 | | 查询指定API_KEY的消耗记录,默认/不传查询全部 | | days | int | 否 | | 最近 N 天,默认 15;与 start_date/end_date 二选一 | | start_date | string | 否 | | 开始日期 YYYY-MM-DD,闭区间 | | end_date | string | 否 | | 结束日期 YYYY-MM-DD,闭区间 | ## 响应示例 ```json { "success": true, "data": { "user_id": 10001, "start_date": "2026-08-01", "end_date": "2026-08-15", "total_consumed": 14.0, "total_calls": 14, "daily": [{"date": "2026-08-03", "consumed": 9.0, "calls": 9}, {"date": "2026-08-04", "consumed": 5.0, "calls": 5}] }, "error": null, "meta": { "request_id": "req_acc002", "tool_name": "get_daily_consumption", "cost_units": 0, "execution_time_ms": 46 } } ``` ## 返回字段 | 字段 | 类型 | 说明 | |---|---|---| | success | boolean | 请求是否成功 | | data | object | 业务数据,结构随接口而异,字段见下表 | | error | object\|null | 错误信息,含 code 与 message,成功时为 null | | meta | object | 元信息,含 request_id、tool_name、cost_units、execution_time_ms | | data.user_id | int | 当前 API Key 所属用户 ID | | data.start_date | string | 实际统计起始日期 YYYY-MM-DD | | data.end_date | string | 实际统计结束日期 YYYY-MM-DD | | data.total_consumed | float | 区间内累计消耗积分 | | data.total_calls | int | 区间内累计调用次数 | | data.daily[] | object[] | 逐日消耗序列(无消耗日期补 0),元素字段见下 | | data.daily[].date | string | 日期 YYYY-MM-DD | | data.daily[].consumed | float | 当日消耗积分 | | data.daily[].calls | int | 当日调用次数 |