gold-price-query
/install gold-price-query
Gold Price Query
Real-time gold spot price lookup supporting CNY (RMB/gram) and USD (USD/oz) currency options.
Quick Start
Run the script to query gold prices:
# Query USD price (default)
python gold_price.py USD
# Query CNY price
python gold_price.py CNY
Output Format
Returns JSON data containing:
{
"success": true,
"data": {
"名称": "现货黄金",
"单位": "美元/盎司",
"开盘价": "2350.00",
"当前价": "2355.50",
"最高价": "2360.00",
"最低价": "2345.00",
"买价": "2355.00",
"卖价": "2356.00",
"涨跌额": "5.50",
"涨跌幅": "0.23%",
"成交量": "500000",
"更新时间": "2024-04-12 10:30:00"
},
"timestamp": 1712899200000
}
Currency Parameters
| Parameter | Description | Unit |
|---|---|---|
| CNY | RMB denominated | RMB/gram |
| USD | USD denominated (default) | USD/oz |
Notes
- Requires network access to API
- API source: jijinhao.com
- Consider setting appropriate request intervals to avoid rate limiting
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install gold-price-query - After installation, invoke the skill by name or use
/gold-price-query - Provide required inputs per the skill's parameter spec and get structured output
What is gold-price-query?
Gold price query tool supporting CNY (RMB/gram) and USD (USD/oz) currency options for real-time spot gold price lookup. It is an AI Agent Skill for Claude Code / OpenClaw, with 97 downloads so far.
How do I install gold-price-query?
Run "/install gold-price-query" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is gold-price-query free?
Yes, gold-price-query is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does gold-price-query support?
gold-price-query is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created gold-price-query?
It is built and maintained by Nucky_yang (@yanghaolie); the current version is v1.0.0.