黄金价格

GET
https://api.5k4.cn/api/gold-price

接口描述

黄金价格

请求参数

暂无数据

请求示例

var axios = require('axios')

var config = {
  method: 'get',
  url: ''
}

axios(config)
  .then(function (response) {
    console.log(JSON.stringify(response.data))
  })
  .catch(function (error) {
    console.log(error)
  })

返回示例

{
  "code": 200,
  "message": "获取成功,官网 https://api.5k4.cn,开发者微信 qxbn22",
  "data": {
    "date": "2025-12-17",
    "metals": [
      {
        "name": "今日金价",
        "sell_price": "968.46",
        "today_price": "970.46",
        "high_price": "976.26",
        "low_price": "966.7",
        "unit": "元/克",
        "updated": "2025-12-17 18:05:45",
        "updated_at": 1765965945381
      },
      {
        "name": "黄金价格",
        "sell_price": "968.46",
        "today_price": "970.46",
        "high_price": "976.26",
        "low_price": "966.7",
        "unit": "元/克",
        "updated": "2025-12-17 18:05:45",
        "updated_at": 1765965945381
      },
      {
        "name": "黄金_9999",
        "sell_price": "972.42",
        "today_price": "973.0",
        "high_price": "977.94",
        "low_price": "964.0",
        "unit": "元/克",
        "updated": "2025-12-17 18:05:45",
        "updated_at": 1765965945381
      },
      {
        "name": "黄金_T+D",
        "sell_price": "972.5",
        "today_price": "973.0",
        "high_price": "977.21",
        "low_price": "964.0",
        "unit": "元/克",
        "updated": "2025-12-17 18:05:45",
        "updated_at": 1765965945381
      },
      {
        "name": "伦敦金(现货黄金)",
        "sell_price": "4316.83",
        "today_price": "4317.18",
        "high_price": "4342.21",
        "low_price": "4301.54",
        "unit": "美元/盎司",
        "updated": "2025-12-17 18:05:45",
        "updated_at": 1765965945381
      },
      {
        "name": "纽约黄金(美国)",
        "sell_price": "4345.7",
        "today_price": "4345.8",
        "high_price": "4373.6",
        "low_price": "4330.7",
        "unit": "美元/盎司",
        "updated": "2025-12-17 18:05:45",
        "updated_at": 1765965945381
      },
      {
        "name": "白银价格",
        "sell_price": "14.630",
        "today_price": "14.680",
        "high_price": "14.752",
        "low_price": "14.243",
        "unit": "元/克",
        "updated": "2025-12-17 18:05:45",
        "updated_at": 1765965945381
      },
      {
        "name": "铂金价格",
        "sell_price": "427.5",
        "today_price": "429.0",
        "high_price": "431",
        "low_price": "409.7",
        "unit": "元/克",
        "updated": "2025-12-17 18:05:45",
        "updated_at": 1765965945381
      },
      {
        "name": "钯金价格",
        "sell_price": "372.6",
        "today_price": "374.1",
        "high_price": "376.5",
        "low_price": "359.6",
        "unit": "元/克",
        "updated": "2025-12-17 18:05:45",
        "updated_at": 1765965945381
      }
    ],
    "stores": [
      {
        "brand": "水贝黄金",
        "product": "黄金",
        "price": "1132",
        "unit": "元/克",
        "formatted": "1132元/克",
        "updated": "2025-12-17",
        "updated_at": 1765900800000
      },
      {
        "brand": "周大福",
        "product": "黄金",
        "price": "1353",
        "unit": "元/克",
        "formatted": "1353元/克",
        "updated": "2025-12-17",
        "updated_at": 1765900800000
      },
      {
        "brand": "老凤祥",
        "product": "黄金",
        "price": "1349",
        "unit": "元/克",
        "formatted": "1349元/克",
        "updated": "2025-12-17",
        "updated_at": 1765900800000
      },
      {
        "brand": "老庙黄金",
        "product": "黄金",
        "price": "1353",
        "unit": "元/克",
        "formatted": "1353元/克",
        "updated": "2025-12-17",
        "updated_at": 1765900800000
      },
      {
        "brand": "周生生",
        "product": "黄金",
        "price": "1352",
        "unit": "元/克",
        "formatted": "1352元/克",
        "updated": "2025-12-17",
        "updated_at": 1765900800000
      },
      {
        "brand": "六福珠宝",
        "product": "黄金",
        "price": "1351",
        "unit": "元/克",
        "formatted": "1351元/克",
        "updated": "2025-12-17",
        "updated_at": 1765900800000
      },
      {
        "brand": "潮宏基",
        "product": "黄金",
        "price": "1353",
        "unit": "元/克",
        "formatted": "1353元/克",
        "updated": "2025-12-17",
        "updated_at": 1765900800000
      },
      {
        "brand": "谢瑞麟",
        "product": "黄金",
        "price": "1353",
        "unit": "元/克",
        "formatted": "1353元/克",
        "updated": "2025-12-17",
        "updated_at": 1765900800000
      },
      {
        "brand": "菜百首饰",
        "product": "黄金",
        "price": "1315",
        "unit": "元/克",
        "formatted": "1315元/克",
        "updated": "2025-12-17",
        "updated_at": 1765900800000
      },
      {
        "brand": "周六福",
        "product": "黄金",
        "price": "1307",
        "unit": "元/克",
        "formatted": "1307元/克",
        "updated": "2025-12-17",
        "updated_at": 1765900800000
      },
      {
        "brand": "周大生",
        "product": "黄金",
        "price": "1353",
        "unit": "元/克",
        "formatted": "1353元/克",
        "updated": "2025-12-17",
        "updated_at": 1765900800000
      },
      {
        "brand": "中国黄金",
        "product": "黄金",
        "price": "1255",
        "unit": "元/克",
        "formatted": "1255元/克",
        "updated": "2025-12-17",
        "updated_at": 1765900800000
      },
      {
        "brand": "金大福",
        "product": "黄金",
        "price": "1346",
        "unit": "元/克",
        "formatted": "1346元/克",
        "updated": "2025-12-17",
        "updated_at": 1765900800000
      },
      {
        "brand": "投资金条",
        "product": "黄金",
        "price": "990",
        "unit": "元/克",
        "formatted": "990元/克",
        "updated": "2025-12-17",
        "updated_at": 1765900800000
      }
    ],
    "banks": [
      {
        "bank": "工商银行",
        "product": "如意金条",
        "price": "990.77",
        "unit": "元/克",
        "formatted": "990.77元/克",
        "time": "14:12:20",
        "updated": "2025-12-17 14:12:20",
        "updated_at": 1765951940314
      },
      {
        "bank": "中国银行",
        "product": "投资金条",
        "price": "988.89",
        "unit": "元/克",
        "formatted": "988.89元/克",
        "time": "14:12:20",
        "updated": "2025-12-17 14:12:20",
        "updated_at": 1765951940314
      },
      {
        "bank": "建设银行",
        "product": "投资金条",
        "price": "989.90",
        "unit": "元/克",
        "formatted": "989.90元/克",
        "time": "14:12:20",
        "updated": "2025-12-17 14:12:20",
        "updated_at": 1765951940314
      },
      {
        "bank": "农业银行",
        "product": "投资金条",
        "price": "1002.15",
        "unit": "元/克",
        "formatted": "1002.15元/克",
        "time": "14:12:20",
        "updated": "2025-12-17 14:12:20",
        "updated_at": 1765951940314
      },
      {
        "bank": "民生银行",
        "product": "投资金条",
        "price": "993.40",
        "unit": "元/克",
        "formatted": "993.40元/克",
        "time": "14:12:20",
        "updated": "2025-12-17 14:12:20",
        "updated_at": 1765951940314
      },
      {
        "bank": "平安银行",
        "product": "投资金条",
        "price": "993.40",
        "unit": "元/克",
        "formatted": "993.40元/克",
        "time": "14:12:20",
        "updated": "2025-12-17 14:12:20",
        "updated_at": 1765951940314
      },
      {
        "bank": "邮政银行",
        "product": "投资金条",
        "price": "993.50",
        "unit": "元/克",
        "formatted": "993.50元/克",
        "time": "14:12:20",
        "updated": "2025-12-17 14:12:20",
        "updated_at": 1765951940314
      },
      {
        "bank": "招商银行",
        "product": "投资金条",
        "price": "992.00",
        "unit": "元/克",
        "formatted": "992.00元/克",
        "time": "14:12:20",
        "updated": "2025-12-17 14:12:20",
        "updated_at": 1765951940314
      },
      {
        "bank": "交通银行",
        "product": "投资金条",
        "price": "991.95",
        "unit": "元/克",
        "formatted": "991.95元/克",
        "time": "14:12:20",
        "updated": "2025-12-17 14:12:20",
        "updated_at": 1765951940314
      },
      {
        "bank": "中信银行",
        "product": "投资金条",
        "price": "984.50",
        "unit": "元/克",
        "formatted": "984.50元/克",
        "time": "14:12:20",
        "updated": "2025-12-17 14:12:20",
        "updated_at": 1765951940314
      },
      {
        "bank": "兴业银行",
        "product": "投资金条",
        "price": "985.30",
        "unit": "元/克",
        "formatted": "985.30元/克",
        "time": "14:12:20",
        "updated": "2025-12-17 14:12:20",
        "updated_at": 1765951940314
      },
      {
        "bank": "中国黄金",
        "product": "投资金条",
        "price": "990.2",
        "unit": "元/克",
        "formatted": "990.2元/克",
        "time": "14:12:20",
        "updated": "2025-12-17 14:12:20",
        "updated_at": 1765951940314
      },
      {
        "bank": "菜百首饰",
        "product": "投资金条",
        "price": "985.2",
        "unit": "元/克",
        "formatted": "985.2元/克",
        "time": "14:12:20",
        "updated": "2025-12-17 14:12:20",
        "updated_at": 1765951940314
      },
      {
        "bank": "周大福",
        "product": "投资金条",
        "price": "1187",
        "unit": "元/克",
        "formatted": "1187元/克",
        "time": "14:12:20",
        "updated": "2025-12-17 14:12:20",
        "updated_at": 1765951940314
      },
      {
        "bank": "老凤祥",
        "product": "投资金条",
        "price": "1218",
        "unit": "元/克",
        "formatted": "1218元/克",
        "time": "14:12:20",
        "updated": "2025-12-17 14:12:20",
        "updated_at": 1765951940314
      },
      {
        "bank": "老庙黄金",
        "product": "投资金条",
        "price": "1308",
        "unit": "元/克",
        "formatted": "1308元/克",
        "time": "14:12:20",
        "updated": "2025-12-17 14:12:20",
        "updated_at": 1765951940314
      },
      {
        "bank": "周生生",
        "product": "工艺金条",
        "price": "1186",
        "unit": "元/克",
        "formatted": "1186元/克",
        "time": "14:12:20",
        "updated": "2025-12-17 14:12:20",
        "updated_at": 1765951940314
      }
    ],
    "recycle": [
      {
        "type": "黄金回收",
        "price": "960",
        "unit": "元/克",
        "formatted": "960元/克",
        "purity": "99.9%-99.999%",
        "updated": "2025-12-17",
        "updated_at": 1765900800000
      },
      {
        "type": "22k金回收",
        "price": "846",
        "unit": "元/克",
        "formatted": "846元/克",
        "purity": "91.6%",
        "updated": "2025-12-17",
        "updated_at": 1765900800000
      },
      {
        "type": "18k金回收",
        "price": "697",
        "unit": "元/克",
        "formatted": "697元/克",
        "purity": "75.0%",
        "updated": "2025-12-17",
        "updated_at": 1765900800000
      },
      {
        "type": "14k金回收",
        "price": "539",
        "unit": "元/克",
        "formatted": "539元/克",
        "purity": "58.5%",
        "updated": "2025-12-17",
        "updated_at": 1765900800000
      },
      {
        "type": "999铂金回收",
        "price": "394",
        "unit": "元/克",
        "formatted": "394元/克",
        "purity": "99.9%",
        "updated": "2025-12-17",
        "updated_at": 1765900800000
      },
      {
        "type": "999钯金回收",
        "price": "328",
        "unit": "元/克",
        "formatted": "328元/克",
        "purity": "99.9%",
        "updated": "2025-12-17",
        "updated_at": 1765900800000
      },
      {
        "type": "999白银回收",
        "price": "12.5",
        "unit": "元/克",
        "formatted": "12.5元/克",
        "purity": "99.9%",
        "updated": "2025-12-17",
        "updated_at": 1765900800000
      }
    ]
  }
}