当前位置:网站首页>汇率的查询接口
汇率的查询接口
2022-07-02 03:16:00 【MonkeyKing_sunyuhua】

项目中使用到汇率,需要能有一个接口进行查询,而查询汇率最权威的应该就是中国外汇交易中心
官网地址:
https://www.chinamoney.com.cn/chinese/index.html
通过F12就可以查看网站的汇率接口;
查询出来的结果:
{
"head": {
"version": "2.0",
"provider": "CWAP",
"req_code": "",
"rep_code": "200",
"rep_message": "",
"ts": 1656598274022,
"producer": "",
"tstext": "2022-06-30 22:11:14"
},
"data": {
"total": 22,
"startDate": "2022-05-30",
"pageTotal": 3,
"searchlist": ["USD/CNY"],
"pageSize": 10,
"endDate": "2022-06-29",
"flagMessage": "",
"head": ["USD/CNY", "EUR/CNY", "100JPY/CNY", "HKD/CNY", "GBP/CNY", "AUD/CNY", "NZD/CNY", "SGD/CNY", "CHF/CNY", "CAD/CNY", "CNY/MYR", "CNY/RUB", "CNY/ZAR", "CNY/KRW", "CNY/AED", "CNY/SAR", "CNY/HUF", "CNY/PLN", "CNY/DKK", "CNY/SEK", "CNY/NOK", "CNY/TRY", "CNY/MXN", "CNY/THB"],
"currency": "USD/CNY",
"pageNum": 1
},
"records": [{
"date": "2022-06-29",
"values": ["6.7035"]
}, {
"date": "2022-06-28",
"values": ["6.6930"]
}, {
"date": "2022-06-27",
"values": ["6.6850"]
}, {
"date": "2022-06-24",
"values": ["6.7000"]
}, {
"date": "2022-06-23",
"values": ["6.7079"]
}, {
"date": "2022-06-22",
"values": ["6.7109"]
}, {
"date": "2022-06-21",
"values": ["6.6851"]
}, {
"date": "2022-06-20",
"values": ["6.7120"]
}, {
"date": "2022-06-17",
"values": ["6.6923"]
}, {
"date": "2022-06-16",
"values": ["6.7099"]
}]
}
边栏推荐
- Intersection of Venn graph
- About DNS
- Intersection vengraph
- ORA-01547、ORA-01194、ORA-01110
- Global and Chinese market of autotransfusion bags 2022-2028: Research Report on technology, participants, trends, market size and share
- JS introduction < 1 >
- Framing in data transmission
- 竞争与冒险 毛刺
- Jointly developed by nailing, the exclusive functions of glory tablet V7 series were officially launched
- Docker installs canal and MySQL for simple testing and implementation of redis and MySQL cache consistency
猜你喜欢

只需简单几步 - 开始玩耍微信小程序

Actual battle of financial risk control - under Feature Engineering

Use usedeferredvalue for asynchronous rendering

Mongodb base de données non relationnelle

Force deduction daily question 540 A single element in an ordered array

GB/T-2423. XX environmental test documents, including the latest documents

Special symbols in SAP ui5 data binding syntax, and detailed explanation of absolute binding and relative binding concepts

Download and use of the super perfect screenshot tool snipaste

Verilog 时序控制

Addition without addition, subtraction, multiplication and division (simple difficulty)
随机推荐
2022-2028 global encryption software industry research and trend analysis report
Missing numbers from 0 to n-1 (simple difficulty)
Load different fonts in QML
[JVM] detailed description of the process of creating objects
The video number will not be allowed to be put on the shelves of "0 yuan goods" in the live broadcasting room?
Verilog 状态机
Rotating frame target detection mmrotate v0.3.1 learning model
2022-2028 global wood vacuum coating machine industry research and trend analysis report
Named block Verilog
Global and Chinese markets for ultrasonic probe disinfection systems 2022-2028: Research Report on technology, participants, trends, market size and share
初出茅庐市值1亿美金的监控产品Sentry体验与架构
创业了...
Global and Chinese market of gynaecological health training manikin 2022-2028: Research Report on technology, participants, trends, market size and share
Verilog timing control
C#聯合halcon脫離halcon環境以及各種報錯解决經曆
MMSegmentation系列之训练与推理自己的数据集(三)
verilog 并行块实现
Global and Chinese markets for hand hygiene monitoring systems 2022-2028: Research Report on technology, participants, trends, market size and share
tarjan2
[golang] leetcode intermediate bracket generation & Full Permutation