# 黄金价格

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /v2/gold-price:
    get:
      summary: 黄金价格
      deprecated: false
      description: 金价数据来源于 http://www.huangjinjiage.cn/jinrijinjia.html
      tags:
        - 🍱 实用功能
      parameters:
        - name: encoding
          in: query
          description: 编码方式，支持 text/json/markdown
          required: false
          schema:
            type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: integer
                  message:
                    type: string
                  data:
                    type: object
                    properties:
                      date:
                        type: string
                      metals:
                        type: array
                        items:
                          type: object
                          properties:
                            name:
                              type: string
                            sell_price:
                              type: string
                            today_price:
                              type: string
                            high_price:
                              type: string
                            low_price:
                              type: string
                            unit:
                              type: string
                            updated:
                              type: string
                            updated_at:
                              type: integer
                          required:
                            - name
                            - sell_price
                            - today_price
                            - high_price
                            - low_price
                            - unit
                            - updated
                            - updated_at
                      stores:
                        type: array
                        items:
                          type: object
                          properties:
                            brand:
                              type: string
                            product:
                              type: string
                            price:
                              type: string
                            unit:
                              type: string
                            formatted:
                              type: string
                            updated:
                              type: string
                            updated_at:
                              type: integer
                          required:
                            - brand
                            - product
                            - price
                            - unit
                            - formatted
                            - updated
                            - updated_at
                      banks:
                        type: array
                        items:
                          type: object
                          properties:
                            bank:
                              type: string
                            product:
                              type: string
                            price:
                              type: string
                            unit:
                              type: string
                            formatted:
                              type: string
                            time:
                              type: string
                            updated:
                              type: string
                            updated_at:
                              type: integer
                          required:
                            - bank
                            - product
                            - price
                            - unit
                            - formatted
                            - time
                            - updated
                            - updated_at
                      recycle:
                        type: array
                        items:
                          type: object
                          properties:
                            type:
                              type: string
                            price:
                              type: string
                            unit:
                              type: string
                            formatted:
                              type: string
                            purity:
                              type: string
                            updated:
                              type: string
                            updated_at:
                              type: integer
                          required:
                            - type
                            - price
                            - unit
                            - formatted
                            - purity
                            - updated
                            - updated_at
                    required:
                      - date
                      - metals
                      - stores
                      - banks
                      - recycle
                required:
                  - code
                  - message
                  - data
          headers: {}
          x-apifox-name: 成功
      security: []
      x-apifox-folder: 🍱 实用功能
      x-apifox-status: released
      x-run-in-apifox: https://app.apifox.com/web/project/5757303/apis/api-378562614-run
components:
  schemas: {}
  securitySchemes: {}
servers:
  - url: https://60s.viki.moe
    description: 正式环境
security: []

```
