GoldAPI Precious Metals Quotes is an MCP server published by io.github.hujuncheng-ddd, hosted at www.gold-api.cn. When last checked on 2026-11-22 it was working: it answers and lists its tools. It declares 4 tools, including list_varieties, get_realtime, get_history, get_kline.
Real-time & historical precious metals quotes (gold/silver/platinum/palladium) via MCP.
Nothing else in the archive shares these values.
Inferred from the host name and headers: what a server runs on, not who runs it.
获取 GoldAPI 在售贵金属品种清单(黄金/白银/铂金/钯金等,含各市场现货与期货)。返回每个品种的 goldId、名称、市场与类别。查行情前先调本工具获取 goldId。免费,不计入调用次数。
| Parameter | Type | Description |
|---|---|---|
| market | string | 可选,按市场名称筛选(参考返回结果里的 market 字段),不传返回全部在售品种 |
{
"name": "list_varieties",
"description": "获取 GoldAPI 在售贵金属品种清单(黄金/白银/铂金/钯金等,含各市场现货与期货)。返回每个品种的 goldId、名称、市场与类别。查行情前先调本工具获取 goldId。免费,不计入调用次数。",
"inputSchema": {
"type": "object",
"properties": {
"market": {
"type": "string",
"description": "可选,按市场名称筛选(参考返回结果里的 market 字段),不传返回全部在售品种"
}
}
},
"annotations": {
"readOnlyHint": true
}
}获取贵金属实时行情(最新价、涨跌、买卖价、最高最低等)。付费工具:每次调用计 1 次调用次数(走账户的三通道计费:单品/会员/赠送额度)。支持一次查询多个品种(逗号分隔 goldId,最多 50 个,也只计 1 次)。
None yet. Changes appear after a server's second daily check.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
| Parameter | Type | Description |
|---|---|---|
| goldid * | string | 品种 ID,可用逗号分隔一次查多个(最多 50 个),如 1061 或 1061,1051。先调 list_varieties 获取 |
{
"name": "get_realtime",
"description": "获取贵金属实时行情(最新价、涨跌、买卖价、最高最低等)。付费工具:每次调用计 1 次调用次数(走账户的三通道计费:单品/会员/赠送额度)。支持一次查询多个品种(逗号分隔 goldId,最多 50 个,也只计 1 次)。",
"inputSchema": {
"type": "object",
"required": [
"goldid"
],
"properties": {
"goldid": {
"type": "string",
"description": "品种 ID,可用逗号分隔一次查多个(最多 50 个),如 1061 或 1061,1051。先调 list_varieties 获取"
}
}
},
"annotations": {
"readOnlyHint": true
}
}获取贵金属历史行情(小时级 OHLCV,时间升序)。付费工具:每次调用计 1 次。数据自 2026-05-27 起可用,单次范围不超过 92 天。
| Parameter | Type | Description |
|---|---|---|
| goldid * | string | 品种 ID(单个) |
| end_date * | string | 结束日期,格式 Y-m-d;与 start_date 跨度不超过 92 天 |
| start_date * | string | 开始日期,格式 Y-m-d,如 2026-10-01,不得早于 2026-05-27 |
{
"name": "get_history",
"description": "获取贵金属历史行情(小时级 OHLCV,时间升序)。付费工具:每次调用计 1 次。数据自 2026-05-27 起可用,单次范围不超过 92 天。",
"inputSchema": {
"type": "object",
"required": [
"goldid",
"start_date",
"end_date"
],
"properties": {
"goldid": {
"type": "string",
"description": "品种 ID(单个)"
},
"end_date": {
"type": "string",
"description": "结束日期,格式 Y-m-d;与 start_date 跨度不超过 92 天"
},
"start_date": {
"type": "string",
"description": "开始日期,格式 Y-m-d,如 2026-10-01,不得早于 2026-05-27"
}
}
},
"annotations": {
"readOnlyHint": true
}
}获取贵金属最近 N 个自然日的日级 K 线(开高低收)。免费工具,不计入调用次数(按 IP 限速)。适合看趋势、画图、做简要分析。
| Parameter | Type | Description |
|---|---|---|
| days | integer | 最近 N 个自然日,默认 30,最大 60 |
| goldid * | string | 品种 ID(单个) |
{
"name": "get_kline",
"description": "获取贵金属最近 N 个自然日的日级 K 线(开高低收)。免费工具,不计入调用次数(按 IP 限速)。适合看趋势、画图、做简要分析。",
"inputSchema": {
"type": "object",
"required": [
"goldid"
],
"properties": {
"days": {
"type": "integer",
"description": "最近 N 个自然日,默认 30,最大 60"
},
"goldid": {
"type": "string",
"description": "品种 ID(单个)"
}
}
},
"annotations": {
"readOnlyHint": true
}
}GoldAPI 提供贵金属(黄金/白银/铂金/钯金)实时与历史行情。先调 list_varieties 获取品种 goldId,再用 get_realtime(实时,付费)/ get_history(历史,付费)/ get_kline(日K,免费)查询。每次付费调用按账户三通道(单品/会员/赠送额度)计 1 次,工具输出中的 billing 字段含剩余额度。
Names, descriptions and schemas were written by the server and are shown as data.