Tariffs

get https://api.cryptomus.com/v2/user-api/account/tariffs Copy

Response

Response parameters

NameParameter typeDefinition
equivalent_currency_codestringCode of the fiat currency in which all amounts are returned (can be changed in the LC settings)
current_tariff_stepobjectThe current tariff scale step applied to all trading operations of the user
daily_turnoverstringUser turnover for the last 24 hours
monthly_turnoverstringUser turnover for the last month
circulation_fundsstringNumber of funds held (funds in orders)
tariff_stepsarrayUser tariff schedule (available steps of the user tariff schedule)

Parameter type

string

Definition

Code of the fiat currency in which all amounts are returned (can be changed in the LC settings)

Parameter type

object

Definition

The current tariff scale step applied to all trading operations of the user

Parameter type

string

Definition

User turnover for the last 24 hours

Parameter type

string

Definition

User turnover for the last month

Parameter type

string

Definition

Number of funds held (funds in orders)

Parameter type

array

Definition

User tariff schedule (available steps of the user tariff schedule)

Response example


1{
2    "result": {
3        "equivalent_currency_code": "USD",
4        "current_tariff_step": {
5            "step": "0",
6            "from_turnover": "0.00000000",
7            "maker_percent": "-1.5",
8            "taker_percent": "4"
9        },
10        "tariff_steps": [
11            {
12                "step": "0",
13                "from_turnover": "0.00000000",
14                "maker_percent": "-1.5",
15                "taker_percent": "4"
16            },
17            {
18                "step": "1",
19                "from_turnover": "1100.00000000",
20                "maker_percent": "-2.5",
21                "taker_percent": "2.5"
22            },
23            {
24                "step": "2",
25                "from_turnover": "3500.00000000",
26                "maker_percent": "-10",
27                "taker_percent": "10"
28            }
29        ],
30        "daily_turnover": "137.80000000",
31        "monthly_turnover": "442.67492000",
32        "circulation_funds": "25.00000000"
33    }
34}
Copy

Tariff step response parameters

NameParameter typeDefinition
stepstringStep number
from_turnoverstringThe amount of monthly turnover from which this tariff begins to apply
maker_percentstringMaker commission percentage
taker_percentstringTaker commission percentage

Parameter type

string

Definition

Step number

Parameter type

string

Definition

The amount of monthly turnover from which this tariff begins to apply

Parameter type

string

Definition

Maker commission percentage

Parameter type

string

Definition

Taker commission percentage

Possible codes

404: User or resource not found

422: Invalid input data

500: Internal server error

Possible errors

example responses:


1{
2  "state": 0,
3  "message": "Standard validation error"
4}
Copy