Tariffs

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

Response

Response parameters

NameDefinition
equivalent_currency_codeCode of the fiat currency in which all amounts are returned (can be changed in the LC settings)
current_tariff_stepThe current tariff scale step applied to all trading operations of the user
daily_turnoverUser turnover for the last 24 hours
monthly_turnoverUser turnover for the last month
circulation_fundsNumber of funds held (funds in orders)
tariff_stepsUser tariff schedule (available steps of the user tariff schedule)

Definition

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

Definition

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

Definition

User turnover for the last 24 hours

Definition

User turnover for the last month

Definition

Number of funds held (funds in orders)

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

NameDefinition
stepStep number
from_turnoverThe amount of monthly turnover from which this tariff begins to apply
maker_percentMaker commission percentage
taker_percentTaker commission percentage

Definition

Step number

Definition

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

Definition

Maker commission percentage

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