【日更】当日货币汇率

GET
https://api.iyuns.com/api/exchange-rate

接口描述

【日更】当日货币汇率

请求参数

请求示例

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)
  })

返回示例

data": {
        "base_code": "CNY",
        "updated": "2025/12/20 08:02:31",
        "updated_at": 1766188951000,
        "next_updated": "2025/12/21 08:05:01",
        "next_updated_at": 1766275501000,
        "rates": [
            {
                "currency": "CNY",
                "rate": 1
            },
            {
                "currency": "AED",
                "rate": 0.52084
            },
            {
                "currency": "AFN",
                "rate": 9.397387
            },
            {
                "currency": "ALL",
                "rate": 11.675206
            },
            {
                "currency": "AMD",
                "rate": 54.095296
            },
            {
                "currency": "ANG",
                "rate": 0.253861
            },
            {
                "currency": "AOA",
                "rate": 132.9305
            },
            {
                "currency": "ARS",
                "rate": 205.960539
            },
            {
                "currency": "AUD",
                "rate": 0.214695
            },
            {
                "currency": "AWG",
                "rate": 0.253861
            },
            {
                "currency": "AZN",
                "rate": 0.241089
            },
            {
                "currency": "BAM",
                "rate": 0.23678
            },
            {
                "currency": "BBD",
                "rate": 0.283643
            },
            {
                "currency": "BDT",
                "rate": 17.341308
            },
            {
                "currency": "BGN",
                "rate": 0.236822
            },
            {
                "currency": "BHD",
                "rate": 0.053325
            },
            {
                "currency": "BIF",
                "rate": 420.617458
            },
            {
                "currency": "BMD",
                "rate": 0.141822
            },
            {
                "currency": "BND",
                "rate": 0.183126
            },
            {
                "currency": "BOB",
                "rate": 0.981336
            },
            {
                "currency": "BRL",
                "rate": 0.783883
            },
            {
                "currency": "BSD",
                "rate": 0.141822
            },
            {
                "currency": "BTN",
                "rate": 12.81427
            },
            {
                "currency": "BWP",
                "rate": 2.014687
            },
            {
                "currency": "BYN",
                "rate": 0.417291
            },
            {
                "currency": "BZD",
                "rate": 0.283643
            },
            {
                "currency": "CAD",
                "rate": 0.195482
            },
            {
                "currency": "CDF",
                "rate": 319.913101
            },
            {
                "currency": "CHF",
                "rate": 0.112782
            },
            {
                "currency": "CLF",
                "rate": 0.003274
            },
            {
                "currency": "CLP",
                "rate": 129.429584
            },
            {
                "currency": "CNH",
                "rate": 0.999097
            },
            {
                "currency": "COP",
                "rate": 547.164648
            },
            {
                "currency": "CRC",
                "rate": 70.64057
            },
            {
                "currency": "CUP",
                "rate": 3.40372
            },
            {
                "currency": "CVE",
                "rate": 13.349076
            },
            {
                "currency": "CZK",
                "rate": 2.948113
            },
            {
                "currency": "DJF",
                "rate": 25.204691
            },
            {
                "currency": "DKK",
                "rate": 0.90318
            },
            {
                "currency": "DOP",
                "rate": 8.91357
            },
            {
                "currency": "DZD",
                "rate": 18.365875
            },
            {
                "currency": "EGP",
                "rate": 6.749168
            },
            {
                "currency": "ERN",
                "rate": 2.127325
            },
            {
                "currency": "ETB",
                "rate": 21.882086
            },
            {
                "currency": "EUR",
                "rate": 0.121064
            },
            {
                "currency": "FJD",
                "rate": 0.324246
            },
            {
                "currency": "FKP",
                "rate": 0.106043
            },
            {
                "currency": "FOK",
                "rate": 0.90318