标讯详情

单次调用 1 积分

通过 uniq_key、bid_id 或 bid_url 之一获取单条标讯的结构化详情与正文信息。

POST/api_v2/get_bid_detail

请求参数

Body 参数

参数名类型必填描述
bid_idint可选标讯内部 ID
bid_typeint可选1=招标 2=中标,与 bid_id 等组合使用
uniq_keystring可选平台侧唯一键;与 bid_id、bid_url 三者至少填其一
bid_urlstring可选知了标讯公告详情页链接;与 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
  }
}

返回结果字段说明

字段名类型说明
successboolean请求是否成功
dataobject业务数据,结构随接口而异,字段见下表
errorobject|null错误信息,含 code 与 message,成功时为 null
metaobject元信息,含 request_id、tool_name、cost_units、execution_time_ms
data.bid_idint标讯 ID
data.bid_typestring标讯类型,如 招标/中标
data.bid_processstring招标流程阶段
data.titlestring公告标题
data.pub_timestring发布时间
data.moneyfloat金额(元)
data.money_wanfloat金额(万元)
data.provincestring省份
data.citystring城市
data.countystring区县
data.caller_namestring招标方名称
data.caller_typestring招标方类型
data.winner_namesstring[]中标方名称列表
data.tender_namesstring[]投标人名称列表
data.sm_namesstring[]标的物名称列表
data.brand_namesstring[]品牌名称列表
data.bid_nostring招标编号
data.uniq_keystring平台侧唯一键
data.service_end_datestring服务结束日期
data.signup_timestring报名/购买标书截止时间
data.tender_timestring投标截止时间(开标时间)
data.agency_namestring招标代理公司
data.has_sourceboolean是否含公告正文
data.has_attachmentboolean是否含附件内容
data.has_attach_fileboolean是否存在招标文件
data.attachment_urlsstring[]附件链接列表
data.sourcestring公告正文
data.source_extstring附件内容
data.source_urlstring公告原文链接,由源表补充
data.urlstring知了标讯公告链接
data.contact_privacystring电话隐私级别:full=完整(付费),masked=脱敏(免费/试用)
data.caller_personstring招标联系人姓名
data.caller_contactstring招标联系人电话
data.agency_personstring代理机构联系人姓名
data.agency_contactstring代理机构联系人电话
data.winner_personstring中标人联系人姓名
data.winner_contactstring中标人联系人电话

代码示例

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"}'