标讯详情
单次调用 1 积分通过 uniq_key、bid_id 或 bid_url 之一获取单条标讯的结构化详情与正文信息。
POST
/api_v2/get_bid_detail请求参数
Body 参数
| 参数名 | 类型 | 必填 | 描述 |
|---|---|---|---|
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 三者至少填其一 |
响应示例
{
"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": "<html><div>一、项目基本情况 项目编号:NSCG2024-0318 ...</div></html>",
"source_ext": "<html><div>采购需求清单:政务云节点扩容 12 台 ...</div></html>",
"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 | 中标人联系人电话 |
代码示例
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"}'
