Ro'yxat
So'rovni olish usuli orqali yuborish kerak
get /v1/exchange-rate/{currency}/list Nusxalash
Talab qilmoq
So'rov parametrlari
| Ism | Ta'rif |
|---|---|
| currency* | Valyuta kodi |
Ta'rif
Valyuta kodi
* - Majburiy parametr
Misolga misol
curl https://api.cryptomus.com/v1/exchange-rate/ETH/listNusxalashJavob
Javob parametrlari
| Ism | Ta'rif |
|---|---|
| from | Valyutadan |
| to | Valyutaga |
| course | Valyuta kursi |
Ta'rif
ValyutadanTa'rif
ValyutagaTa'rif
Valyuta kursi
Javob namunasi
1{
2 "state": 0,
3 "result": [
4 {
5 "from": "ETH",
6 "to": "USD",
7 "course": "1228.45000000"
8 }
9 ]
10}Nusxalash