即将到期项目
单次调用 2 积分聚焦周期性项目,并且即将到期的项目,便于参与续期。
POST
/api_v2/search_expiring_projects请求参数
Body 参数
| 参数名 | 类型 | 必填 | 描述 |
|---|---|---|---|
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) |
响应示例
{
"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 | 知了标讯公告链接 |
代码示例
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}'
