Get directions list
get
https://api.cryptomus.com/v2/user-api/convert/direction-list
Request
Request example
curl https://api.cryptomus.com/v2/user-api/convert/direction-list \
-X GET \
-H 'userId: 8b03432e-385b-4670-8d06-064591096795' \
-H 'sign: fe99035f86fa436181717b302b95bacff1' \
-H 'Content-Type: application/json'
COPYResponse
Response parameters
Name | Definition |
---|---|
from | Currency From |
to | Currency to |
min_from | Min Amount from |
max_from | Max Amount from |
min_to | Min Amount to |
max_to | Max Amount to |
rate | Course |
Definition
Currency FromDefinition
Currency toDefinition
Min Amount fromDefinition
Max Amount fromDefinition
Min Amount toDefinition
Max Amount toDefinition
Course
Response example
1{
2 "state": 0,
3 "result": {
4 "items": [
5 {
6 "from": "TRX",
7 "to": "ETH",
8 "min_from": "100.00000000",
9 "min_to": "0.00100000",
10 "max_from": "100000.00000000",
11 "max_to": "1000000.00000000",
12 "rate": "0.00003451"
13 },
14 ...
15 ]
16 }
17}
COPY