ส่งกลับรายการคู่สกุลเงินทั้งหมดที่มีอยู่พร้อมข้อมูลสาธารณะ
เมธอดนี้ให้ข้อมูลเกี่ยวกับทิศทางการแลกเปลี่ยนที่รองรับ รวมถึงสกุลเงิน เครือข่าย ปริมาณสำรอง ความแม่นยำของการปัดเศษ และโลโก้
ใช้สำหรับสร้างรายการคู่สกุลเงินในหน้าแลกเปลี่ยนหรืออินเทอร์เฟซของระบบ
URL
https://quickex.io/api/v1/pairs/public
พารามิเตอร์
ไม่มี
ตัวอย่างคำขอ (cURL)
curl -X GET \
'https://quickex.io/api/v1/pairs/public' \
-H 'Accept: application/json'
ตัวอย่างการตอบกลับ (200)
[
{
"instrumentFrom": {
"currencyTitle": "SOL",
"networkTitle": "SOL",
"currencyFriendlyTitle": "SOL",
"slug": "sol",
"precisionDecimals": 4,
"reservesAmount": "3968.78",
"instrumentType": "crypto",
"bestChangeCurrencyName": "SOL",
"currencyLogoLink": "https://static.coinall.ltd/cdn/oksupport/asset/currency/icon/sol.png"
},
"instrumentTo": {
"currencyTitle": "LTC",
"networkTitle": "LTC",
"currencyFriendlyTitle": "LTC",
"slug": "ltc",
"precisionDecimals": 3,
"reservesAmount": "9353.26",
"instrumentType": "crypto",
"bestChangeCurrencyName": "LTC",
"currencyLogoLink": "https://static.coinall.ltd/cdn/oksupport/asset/currency/icon/ltc.png"
},
"isActive": true
}
]
หมายเหตุ
- แต่ละคู่ประกอบด้วยออบเจ็กต์
instrumentFrom (สกุลเงินต้นทาง) และ instrumentTo (สกุลเงินปลายทาง)
- ฟิลด์
isActive ระบุว่าคู่นั้นสามารถใช้งานสำหรับการแลกเปลี่ยนได้หรือไม่
reservesAmount แสดงสภาพคล่องที่มีอยู่สำหรับสกุลเงินนั้น ๆ
- ค่า
precisionDecimals ระบุจำนวนตำแหน่งทศนิยมที่ใช้ในการคำนวณ