支持国内十大黄金店、国际金价的价格查询
免费正常
业务参数为请求参数的一部分。
名称 | 类型 | 必填 | 说明 |
---|
响应参数为data字段中的变量。
名称 | 说明 |
---|---|
domestic | |
- name | 名称 |
- rise | 涨跌 |
- time | 时间 |
- range | 幅度 |
- new_price | 最新价 |
- high_price | 最高价 |
- lower_price | 最低价 |
domesticTop | |
- Au | 黄金价格 |
- Pt | 铂金价格 |
- time | 时间 |
- unit | 单位 |
- brand | 品牌 |
- bullion | 金条价格 |
international | |
- name | 名称 |
- rise | 涨跌 |
- time | 时间 |
- range | 幅度 |
- new_price | 最新价 |
- high_price | 最高价 |
- lower_price | 最低价 |
此示例为业务响应参数data的示例。
{"domestic": [{"name": "国内金价", "rise": "2.08", "time": "2024-12-2", "range": "0.56%", "new_price": "610.5", "high_price": "375", "lower_price": "372.76"}, {"name": "国内银价", "rise": "0.05", "time": "2024-12-2", "range": "1.04%", "new_price": "4.829", "high_price": "4.834", "lower_price": "4.753"}, {"name": "投资金条", "rise": "2.08", "time": "2024-12-2", "range": "0.56%", "new_price": "610.5", "high_price": "387", "lower_price": "384"}, {"name": "黄金回收价格", "rise": "2.08", "time": "2024-12-2", "range": "0.56%", "new_price": "598", "high_price": "370", "lower_price": "368"}, {"name": "铂金回收价格", "rise": "-", "time": "2024-12-2", "range": "-", "new_price": "196", "high_price": "-", "lower_price": "-"}, {"name": "18K金回收价格", "rise": "-", "time": "2024-12-2", "range": "-", "new_price": "426", "high_price": "-", "lower_price": "-"}, {"name": "钯金回收价格", "rise": "-", "time": "2024-12-2", "range": "-", "new_price": "195", "high_price": "-", "lower_price": "-"}], "domesticTop": [{"Au": "793", "Pt": "-", "time": "2024-12-2", "unit": "元/克", "brand": "内地周大福", "bullion": "793"}, {"Au": "791", "Pt": "385", "time": "2024-12-2", "unit": "元/克", "brand": "内地周生生", "bullion": "783"}, {"Au": "793", "Pt": "385", "time": "2024-12-2", "unit": "元/克", "brand": "内地六福珠宝", "bullion": "793"}, {"Au": "793", "Pt": "-", "time": "2024-12-2", "unit": "元/克", "brand": "内地谢瑞麟", "bullion": "783"}, {"Au": "793", "Pt": "385", "time": "2024-12-2", "unit": "元/克", "brand": "内地金至尊", "bullion": "793"}, {"Au": "793", "Pt": "385", "time": "2024-12-2", "unit": "元/克", "brand": "潮宏基", "bullion": "793"}, {"Au": "777", "Pt": "358", "time": "2024-12-2", "unit": "元/克", "brand": "菜百首饰", "bullion": "712"}, {"Au": "794", "Pt": "360", "time": "2024-12-2", "unit": "元/克", "brand": "老庙黄金", "bullion": "749"}, {"Au": "792", "Pt": "365", "time": "2024-12-2", "unit": "元/克", "brand": "老凤祥", "bullion": "742"}, {"Au": "769", "Pt": "358", "time": "2024-12-2", "unit": "元/克", "brand": "中国黄金", "bullion": "-"}, {"Au": "793", "Pt": "401", "time": "2024-12-2", "unit": "元/克", "brand": "周六福", "bullion": "696"}, {"Au": "29120", "Pt": "-", "time": "2024-12-2", "unit": "港币/两", "brand": "香港周大福", "bullion": "-"}, {"Au": "29020", "Pt": "10890", "time": "2024-12-2", "unit": "港币/两", "brand": "香港周生生", "bullion": "26330"}, {"Au": "29010", "Pt": "10880", "time": "2024-12-2", "unit": "港币/两", "brand": "香港谢瑞麟", "bullion": "26330"}, {"Au": "29010", "Pt": "10880", "time": "2024-12-2", "unit": "港币/两", "brand": "香港金至尊", "bullion": "26330"}, {"Au": "29010", "Pt": "10880", "time": "2024-12-2", "unit": "港币/两", "brand": "香港六福珠宝", "bullion": "26330"}, {"Au": "29010", "Pt": "10880", "time": "2024-12-2", "unit": "港币/两", "brand": "香港老凤祥", "bullion": "26330"}], "international": [{"name": "国际金价", "rise": "7.19", "time": "2024-12-2", "range": "0.39%", "new_price": "2636", "high_price": "1828.34", "lower_price": "1815.50"}, {"name": "国际铂金", "rise": "16.77", "time": "2024-12-2", "range": "1.64%", "new_price": "945", "high_price": "1037.4", "lower_price": "1004"}, {"name": "国际银价", "rise": "0.21", "time": "2024-12-2", "range": "0.91%", "new_price": "30.3", "high_price": "23.24", "lower_price": "22.78"}, {"name": "国际钯金", "rise": "0.21", "time": "2024-12-2", "range": "0.91%", "new_price": "974", "high_price": "23.24", "lower_price": "22.78"}]}
仅响应格式为json时参考。
名称 | 说明 |
---|---|
code | 业务响应状态码 200:成功 其他:失败 |
message | 业务响应说明 |
data | 业务响应参数,只有code=200时才有此参数。 具体参数请看对应API的“响应参数” |
名称 | 类型 | 必填 | 说明 |
---|---|---|---|
timestamp | string | 是 | 请求时间戳 |
appkey | string | 是 | 开放平台分配的appkey |
sign | string | 是 | 签名,具体签名方法请下方查看 |