搜索招中标

单次调用 1 积分

按关键词、地区、金额、时间等条件检索招标、中标及相关公告。

POST/api_v2/search_bids

请求参数

Body 参数

参数名类型必填描述
keywordsstring[]必填搜索关键词列表
match_modesstring[]可选匹配模式(all:全部 sm:标的物/产品 title:标题 brand:品牌 fulltext:全文 caller:招标公司/采购公司/招标方 winner:中标公司/供应商/中标方 winner_tender:中标公司或投标方 tender:投标公司/供应商/投标方 agency:招标代理公司 ),如['sm','title']
bid_typestring可选公告类型: 招标/中标/全部(默认: 全部)
bid_processint[]可选公告阶段(1:采购意向 2:预招标 4:招标 5:变更公告 6:中标候选人 7:中标结果 8:合同 9:验收公告 10:废标公告),默认[1,2,4,7,8]
begin_datestring可选公告发布开始日期,YYYY-MM-DD
end_datestring可选公告发布结束日期,YYYY-MM-DD
provincesstring[]可选省份列表,如:['北京', '内蒙古']
citiesstring[]可选城市列表,如:['石家庄', '合肥']
countiesstring[]可选区县列表,如:['长安区', '瑶海区']
min_amountnumber可选金额下限(万元)
max_amountnumber可选金额上限(万元)
pagenumber可选页码(默认: 1)
page_sizenumber可选每页条数(默认: 20)

响应示例

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

返回结果字段说明

字段名类型说明
successboolean请求是否成功
dataobject业务数据,结构随接口而异,字段见下表
errorobject|null错误信息,含 code 与 message,成功时为 null
metaobject元信息,含 request_id、tool_name、cost_units、execution_time_ms
data.totalint全库命中总数
data.returnedint本次实际返回条数
data.items[]object[]公告列表,元素字段见下
data.items[].bid_idint标讯 ID
data.items[].titlestring公告标题
data.items[].bid_typestring标讯类型,如 招标公告/中标公告
data.items[].bid_processstring招标流程阶段,如 招标/中标结果
data.items[].pub_timestring发布时间
data.items[].moneyfloat金额(元)
data.items[].money_wanfloat金额(万元)
data.items[].provincestring省份
data.items[].citystring城市
data.items[].countystring区县
data.items[].caller_namestring招标方名称
data.items[].caller_idint招标方 ID
data.items[].caller_base_typestring招标方主体大类,如 政府/事业单位/学校/医院/国企
data.items[].caller_typestring招标方类型
data.items[].winner_namesstring[]中标方名称列表
data.items[].winner_idsint[]中标方 ID 列表
data.items[].winner_moneysfloat[]各中标方中标金额(元)
data.items[].tender_namesstring[]投标人名称列表
data.items[].sm_namesstring[]标的物名称列表
data.items[].brand_namesstring[]品牌名称列表
data.items[].bid_methodstring招标方式
data.items[].bid_nostring招标编号
data.items[].signup_timestring报名/购买标书截止时间
data.items[].tender_timestring投标截止时间(开标时间)
data.items[].service_end_datestring服务结束日期
data.items[].agency_namestring招标代理公司
data.items[].exists_bid_filestring是否存在招标文件
data.items[].urlstring知了标讯公告链接

代码示例

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