← 返回 Skills 市场
wangpeng258

采招网招标查询

作者 wpp · GitHub ↗ · v1.0.1 · MIT-0
cross-platform ✓ 安全检测通过
103
总下载
1
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install bidcenter-query
功能描述
查询采招网(bidcenter.com.cn)招标信息,支持按地区、类型、关键词、时间范围筛选
使用说明 (SKILL.md)

采招网招标查询 (bidcenter-query)

查询采招网(bidcenter.com.cn)的招标采购信息,支持按地区、信息类型、关键词、时间范围进行筛选。

触发方式

当用户提到以下场景时,自动触发本技能:

  • 查询招标信息:「帮我查一下北京最近的招标公告」
  • 搜索中标结果:「搜索最近的中标结果」
  • 按地区筛选:「查一下上海的招标信息」
  • 按关键词搜索:「搜一下和"网络安全"相关的招标」
  • 按时间范围查询:「查近一周的招标公告」

也可以通过关键词 采招网招标查询bidcenter 直接调用。

使用方法

调用 scripts/main.js 导出的 execute(input) 函数:

const { execute } = require('./scripts/main.js');
const result = await execute({ keyword: '网络安全', diqu: '北京', type: '招标公告', time: '近一周' });

参数说明

keyword 为必填参数,其余均为可选。

参数 类型 默认值 说明
keyword string 必填 搜索关键词,如 "网络安全"、"服务器采购"
diqu string/number 0(全国) 地区筛选,支持中文名称数字编码(见下方地区表)
type string/number 空(全部) 信息类型,支持中文名称数字编码,不传表示全部(见下方类型表)
time string/number 空(全部) 时间范围,支持中文别名数字编码,不传表示全部(见下方时间表)
page number 1 页码
pageSize number 10 每页条数,最大 100

地区编码表

名称 编码 名称 编码 名称 编码
全国 0 北京 1 天津 2
河北 3 山西 4 内蒙古 5
辽宁 6 吉林 7 黑龙江 8
上海 9 江苏 10 浙江 11
安徽 12 福建 13 江西 14
山东 15 河南 16 湖北 17
湖南 18 广东 19 广西 20
海南 21 重庆 22 四川 23
贵州 24 云南 25 西藏 26
陕西 27 甘肃 28 青海 29
宁夏 30 新疆 31 跨省 99

信息类型表

名称 编码 名称 编码
全部 "" 招标公告 1
招标预告 2 拟在建项目 3
中标结果 4 招标变更 6
标书下载 8 拍卖转让 9
VIP独家 12 审批公示 17
土地挂牌 32 参考项目 90

时间范围表

名称 编码 含义
全部 "" 不限时间
近三天 3 最近3天
近一周 7 最近7天
近一月 30 最近30天
近三月 90 最近90天
近半年 180 最近180天
近一年 11 最近一年

返回格式

成功返回

字段 类型 说明
status string 固定为 "success"
listData array 招标信息列表,详见下方
total number 符合条件的总条数
page number 当前页码
pageSize number 每页条数

listData 每项字段:

字段 类型 说明
id number 信息ID
title string 招标标题
type string 信息类型(招标公告/中标结果/招标预告等)
url string 完整详情链接
publishDate string 发布日期,格式 YYYY-MM-DD
endDate string 截止日期,-- 表示不限
location string 招标地区
budget string 预算金额,-- 表示未知
winAmount string 中标金额,-- 表示未知
projectValue string 项目金额,-- 表示未知
stage string 项目阶段
purchaseMethod string 采购方式(公开招标/竞争性谈判等)
isProject boolean 是否为项目信息

错误返回

字段 类型 说明
status string 固定为 "error"
message string 错误描述
listData array 空数组
total number 0
page number 请求的页码
pageSize number 请求的每页条数

调用示例

示例1:简单关键词搜索

await execute({ keyword: '服务器采购' })

示例2:按地区 + 类型 + 时间查询

await execute({
  keyword: '网络安全',
  diqu: '北京',       // 也可以用数字 1
  type: '招标公告',    // 也可以用数字 1
  time: '近一周',      // 也可以用数字 7
  page: 1,
  pageSize: 20
})

示例3:只查中标结果

await execute({ keyword: '工程', type: '中标结果' })

示例4:查全国近一个月的招标公告

await execute({ keyword: '采购', type: 1, time: 30 })

容错特性

  • 参数自动规范化:地区、类型、时间均可传中文名或数字编码,内部自动转换
  • 无效参数兜底:非法的页码/每页条数自动修正为默认值,不会报错
  • 请求重试:网络异常时自动重试最多2次,间隔递增
  • 超时保护:15秒请求超时,避免长时间阻塞
  • 解密异常处理:接口返回数据异常时返回结构化的错误信息,不会抛出未捕获异常
  • 空结果友好:未查到数据时返回空列表和提示,而非报错

注意事项

  • 本技能通过采招网公开接口查询,接口可能随时变更
  • 部分信息类型(如 VIP独家)可能需要付费权限,接口可能返回空数据
  • 建议每页条数不超过20,避免接口响应缓慢
  • 查询过于频繁可能被限流,建议适当控制调用频率
安全使用建议
This skill appears coherent and limited to querying bidcenter.com's public interface: it makes POST requests to the declared API and uses an embedded AES key to decrypt responses. It does not request any secrets or install additional software. Consider that (1) the embedded decryption key/IV are necessary to parse the provider's encrypted responses — this is normal but means the code contains static crypto material; (2) the remote API may change, be rate-limited, or require paid VIP access for some data; and (3) the skill relies on fetch being available in the runtime environment. If you need guaranteed uptime or access to paid data, verify with the data provider or use an official API key/service instead.
功能分析
Type: OpenClaw Skill Name: bidcenter-query Version: 1.0.1 The skill is a legitimate tool for querying bidding information from bidcenter.com.cn. It implements standard search functionality, including parameter normalization, request retries, and AES-128-CBC decryption of the API response (a common requirement for this specific site). No evidence of data exfiltration, malicious execution, or prompt injection was found in scripts/main.js or SKILL.md.
能力标签
crypto
能力评估
Purpose & Capability
Name/description match the implementation: the JS code builds POST requests to interface.bidcenter.com.cn, parses and AES-decrypts the response, and returns structured bid results. There are no unrelated credentials, binaries, or external services requested.
Instruction Scope
SKILL.md instructs calling scripts/main.js's execute(input) and documents parameters and outputs. The instructions do not ask the agent to read local files, environment variables, or to transmit data to any endpoint other than the bidcenter API used by the code.
Install Mechanism
No install spec is provided (instruction-only with a bundled script). Nothing is downloaded or written to disk during install; the single bundled JS file performs runtime network requests only.
Credentials
The skill requires no environment variables, credentials, or config paths. The code uses only a hard-coded API URL, referer, and user-agent; the embedded AES key/IV are present to decrypt the site responses—this is consistent with the stated purpose.
Persistence & Privilege
The skill does not request persistent/always-on presence (always: false) and does not modify other skills or system configuration. It runs on demand and only issues network requests to the declared API.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install bidcenter-query
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /bidcenter-query 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
- 参数说明中将 keyword 改为必填,其余参数保持可选 - 示例调用同步调整,所有示例都包含 keyword - 返回格式描述更详细,增加字段说明表格 - 总体文档语言更明确,提升易用性和准确性
v1.0.0
bidcenter-query 1.0.0 初始版本发布 - 支持查询采招网(bidcenter.com.cn)招标信息。 - 可按地区、类型、关键词、时间范围筛选。 - 参数灵活,支持中文名或数字编码。 - 容错与异常处理完备,包括参数自动规范化、请求重试和超时保护。 - 结构化返回结果,便于集成与开发。 - 多种触发方式,包括关键词与场景自动识别。
元数据
Slug bidcenter-query
版本 1.0.1
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 2
常见问题

采招网招标查询 是什么?

查询采招网(bidcenter.com.cn)招标信息,支持按地区、类型、关键词、时间范围筛选. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 103 次。

如何安装 采招网招标查询?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install bidcenter-query」即可一键安装,无需额外配置。

采招网招标查询 是免费的吗?

是的,采招网招标查询 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

采招网招标查询 支持哪些平台?

采招网招标查询 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 采招网招标查询?

由 wpp(@wangpeng258)开发并维护,当前版本 v1.0.1。

💬 留言讨论