列表

请求应通过获取方法发送
get https://api.cryptomus.com/v1/exchange-rate/{currency}/list 复制

要求

查询参数

姓名参数类型定义
currency*string货币代码

参数类型

string

定义

货币代码

* - 强制性参数

请求示例


curl https://api.cryptomus.com/v1/exchange-rate/ETH/list
复制

回复

响应参数

姓名参数类型定义
fromstring从货币
tostring货币
coursestring汇率

参数类型

string

定义

从货币

参数类型

string

定义

货币

参数类型

string

定义

汇率

响应示例


1{
2  "state": 0,
3  "result": [
4    {
5      "from": "ETH",
6      "to": "USD",
7      "course": "1228.45000000"
8    }
9  ]
10}
复制