logo

Peatio Management API v2

Management API is server-to-server API with high privileges.

#Version: 2.7.0

Contact information:
openware.com
https://www.openware.com [email protected]

License: https://github.com/openware/peatio/blob/master/LICENSE.md

/api/v2/management/peatio/beneficiaries

POST

Description

Create new beneficiary

Parameters
NameLocated inDescriptionRequiredSchema
currencyformDataBeneficiary currency code.Yesstring
nameformDataHuman rememberable name which refer beneficiary.Yesstring
descriptionformDataHuman rememberable description which refer beneficiary.Nostring
dataformDataBeneficiary data in JSON formatYesjson
uidformDataThe shared user ID.Yesstring
stateformDataDefines either beneficiary active - user can use it to withdraw moneyor pending - requires beneficiary activation with pin.Nostring
Responses
CodeDescriptionSchema
201Create new beneficiaryBeneficiary

/api/v2/management/peatio/beneficiaries/list

POST

Description

Get list of user beneficiaries

Parameters
NameLocated inDescriptionRequiredSchema
uidformDataThe shared user ID.Yesstring
currencyformDataBeneficiary currency code.Nostring
stateformDataDefines either beneficiary active - user can use it to withdraw moneyor pending - requires beneficiary activation with pin.Nostring
Responses
CodeDescriptionSchema
201Get list of user beneficiariesBeneficiary

/api/v2/management/peatio/accounts/balances

POST

Description

Queries the non-zero balance accounts for the given currency.

Parameters
NameLocated inDescriptionRequiredSchema
currencyformDataThe currency code.Yesstring
pageformDataThe page number (defaults to 1).Nointeger
limitformDataThe number of accounts per page (defaults to 100, maximum is 1000).Nointeger
Responses
CodeDescriptionSchema
201Queries the non-zero balance accounts for the given currency.Balance

/api/v2/management/peatio/accounts/balance

POST

Description

Queries the account balance for the given UID and currency.

Parameters
NameLocated inDescriptionRequiredSchema
uidformDataThe shared user ID.Yesstring
currencyformDataThe currency code.Yesstring
Responses
CodeDescriptionSchema
201Queries the account balance for the given UID and currency.Balance

/api/v2/management/peatio/deposits/state

PUT

Description

Allows to load money or cancel deposit.

Parameters
NameLocated inDescriptionRequiredSchema
tidformDataThe shared transaction ID.Yesstring
stateformDataThe new state to apply.Yesstring
Responses
CodeDescriptionSchema
200Allows to load money or cancel deposit.Deposit

/api/v2/management/peatio/deposits/new

POST

Description

Creates new fiat deposit with state set to «submitted». Optionally pass field «state» set to «accepted» if want to load money instantly. You can also use PUT /fiat_deposits/:id later to load money or cancel deposit.

Parameters
NameLocated inDescriptionRequiredSchema
uidformDataThe shared user ID.Yesstring
tidformDataThe shared transaction ID. Must not exceed 64 characters. Peatio will generate one automatically unless supplied.Nostring
currencyformDataThe currency code.Yesstring
amountformDataThe deposit amount.Yesdouble
stateformDataThe state of deposit.Nostring
transfer_typeformDataDeposit transfer typeNostring
Responses
CodeDescriptionSchema
201Creates new fiat deposit with state set to «submitted». Optionally pass field «state» set to «accepted» if want to load money instantly. You can also use PUT /fiat_deposits/:id later to load money or cancel deposit.Deposit

/api/v2/management/peatio/deposits/get

POST

Description

Returns deposit by TID.

Parameters
NameLocated inDescriptionRequiredSchema
tidformDataThe transaction ID.Yesstring
Responses
CodeDescriptionSchema
201Returns deposit by TID.Deposit

/api/v2/management/peatio/deposits

POST

Description

Returns deposits as paginated collection.

Parameters
NameLocated inDescriptionRequiredSchema
uidformDataThe shared user ID.Nostring
currencyformDataThe currency code.Nostring
pageformDataThe page number (defaults to 1).Nointeger
limitformDataThe number of deposits per page (defaults to 100, maximum is 1000).Nointeger
stateformDataThe state to filter by.Nostring
Responses
CodeDescriptionSchema
201Returns deposits as paginated collection.Deposit

/api/v2/management/peatio/withdraws/action

PUT

Summary

Performs action on withdraw.

Description

«process» – system will lock the money, check for suspected activity, validate recipient address, and initiate the processing of the withdraw. «cancel» – system will mark withdraw as «canceled», and unlock the money.

Parameters
NameLocated inDescriptionRequiredSchema
tidformDataThe shared transaction ID.Yesstring
actionformDataThe action to perform.Yesstring
Responses
CodeDescriptionSchema
200Performs action on withdraw.Withdraw

/api/v2/management/peatio/withdraws/new

POST

Summary

Creates new withdraw.

Description

Creates new withdraw. The behaviours for fiat and crypto withdraws are different. Fiat: money are immediately locked, withdraw state is set to «submitted», system workers will validate withdraw later against suspected activity, and assign state to «rejected» or «accepted». The processing will not begin automatically. The processing may be initiated manually from admin panel or by PUT /management_api/v1/withdraws/action. Coin: money are immediately locked, withdraw state is set to «submitted», system workers will validate withdraw later against suspected activity, validate withdraw address and set state to «rejected» or «accepted». Then in case state is «accepted» withdraw workers will perform interactions with blockchain. The withdraw receives new state «processing». Then withdraw receives state either «confirming» or «failed».Then in case state is «confirming» withdraw confirmations workers will perform interactions with blockchain.Withdraw receives state «succeed» when it receives minimum necessary amount of confirmations.

Parameters
NameLocated inDescriptionRequiredSchema
uidformDataThe shared user ID.Yesstring
tidformDataThe shared transaction ID. Must not exceed 64 characters. Peatio will generate one automatically unless supplied.Nostring
ridformDataThe beneficiary ID or wallet address on the Blockchain.Nostring
beneficiary_idformDataID of Active Beneficiary belonging to user.Nostring
currencyformDataThe currency code.Yesstring
amountformDataThe amount to withdraw.Yesdouble
noteformDataThe note for withdraw.Nostring
actionformDataThe action to perform.Nostring
transfer_typeformDataWithdraw transfer typeNostring
Responses
CodeDescriptionSchema
201Creates new withdraw.Withdraw

/api/v2/management/peatio/withdraws/get

POST

Description

Returns withdraw by ID.

Parameters
NameLocated inDescriptionRequiredSchema
tidformDataThe shared transaction ID.Yesstring
Responses
CodeDescriptionSchema
201Returns withdraw by ID.Withdraw

/api/v2/management/peatio/withdraws

POST

Description

Returns withdraws as paginated collection.

Parameters
NameLocated inDescriptionRequiredSchema
uidformDataThe shared user ID.Nostring
currencyformDataThe currency code.Nostring
pageformDataThe page number (defaults to 1).Nointeger
limitformDataThe number of objects per page (defaults to 100, maximum is 1000).Nointeger
stateformDataThe state to filter by.Nostring
Responses
CodeDescriptionSchema
201Returns withdraws as paginated collection.Withdraw

/api/v2/management/peatio/timestamp

POST

Description

Returns server time in seconds since Unix epoch.

Responses
CodeDescription
201Returns server time in seconds since Unix epoch.

/api/v2/management/peatio/assets/new

POST

Description

Creates new asset operation.

Parameters
NameLocated inDescriptionRequiredSchema
currencyformDataThe currency code.Yesstring
codeformDataOperation account codeYesinteger
debitformDataOperation debit amount.Nodouble
creditformDataOperation credit amount.Nodouble
Responses
CodeDescriptionSchema
201Creates new asset operation.Operation

/api/v2/management/peatio/assets

POST

Description

Returns assets as paginated collection.

Parameters
NameLocated inDescriptionRequiredSchema
currencyformDataThe currency for operations filtering.Nostring
pageformDataThe page number (defaults to 1).Nointeger
limitformDataThe number of objects per page (defaults to 100, maximum is 1000).Nointeger
time_fromformDataAn integer represents the seconds elapsed since Unix epoch.If set, only operations after the time will be returned.Nointeger
time_toformDataAn integer represents the seconds elapsed since Unix epoch.If set, only operations before the time will be returned.Nointeger
reference_typeformDataThe reference type for operations filteringNostring
Responses
CodeDescriptionSchema
201Returns assets as paginated collection.Operation

/api/v2/management/peatio/expenses/new

POST

Description

Creates new expense operation.

Parameters
NameLocated inDescriptionRequiredSchema
currencyformDataThe currency code.Yesstring
codeformDataOperation account codeYesinteger
debitformDataOperation debit amount.Nodouble
creditformDataOperation credit amount.Nodouble
Responses
CodeDescriptionSchema
201Creates new expense operation.Operation

/api/v2/management/peatio/expenses

POST

Description

Returns expenses as paginated collection.

Parameters
NameLocated inDescriptionRequiredSchema
currencyformDataThe currency for operations filtering.Nostring
pageformDataThe page number (defaults to 1).Nointeger
limitformDataThe number of objects per page (defaults to 100, maximum is 1000).Nointeger
time_fromformDataAn integer represents the seconds elapsed since Unix epoch.If set, only operations after the time will be returned.Nointeger
time_toformDataAn integer represents the seconds elapsed since Unix epoch.If set, only operations before the time will be returned.Nointeger
reference_typeformDataThe reference type for operations filteringNostring
Responses
CodeDescriptionSchema
201Returns expenses as paginated collection.Operation

/api/v2/management/peatio/revenues/new

POST

Description

Creates new revenue operation.

Parameters
NameLocated inDescriptionRequiredSchema
currencyformDataThe currency code.Yesstring
codeformDataOperation account codeYesinteger
debitformDataOperation debit amount.Nodouble
creditformDataOperation credit amount.Nodouble
Responses
CodeDescriptionSchema
201Creates new revenue operation.Operation

/api/v2/management/peatio/revenues

POST

Description

Returns revenues as paginated collection.

Parameters
NameLocated inDescriptionRequiredSchema
currencyformDataThe currency for operations filtering.Nostring
pageformDataThe page number (defaults to 1).Nointeger
limitformDataThe number of objects per page (defaults to 100, maximum is 1000).Nointeger
time_fromformDataAn integer represents the seconds elapsed since Unix epoch.If set, only operations after the time will be returned.Nointeger
time_toformDataAn integer represents the seconds elapsed since Unix epoch.If set, only operations before the time will be returned.Nointeger
reference_typeformDataThe reference type for operations filteringNostring
Responses
CodeDescriptionSchema
201Returns revenues as paginated collection.Operation

/api/v2/management/peatio/liabilities/new

POST

Description

Creates new liability operation.

Parameters
NameLocated inDescriptionRequiredSchema
currencyformDataThe currency code.Yesstring
codeformDataOperation account codeYesinteger
uidformDataThe user ID for operation owner.Yesstring
debitformDataOperation debit amount.Nodouble
creditformDataOperation credit amount.Nodouble
Responses
CodeDescriptionSchema
201Creates new liability operation.Operation

/api/v2/management/peatio/liabilities

POST

Description

Returns liabilities as paginated collection.

Parameters
NameLocated inDescriptionRequiredSchema
currencyformDataThe currency for operations filtering.Nostring
uidformDataThe user ID for operations filtering.Nostring
reference_typeformDataThe reference type for operations filteringNostring
time_fromformDataAn integer represents the seconds elapsed since Unix epoch.If set, only operations after the time will be returned.Nointeger
time_toformDataAn integer represents the seconds elapsed since Unix epoch.If set, only operations before the time will be returned.Nointeger
pageformDataThe page number (defaults to 1).Nointeger
limitformDataThe number of objects per page (defaults to 100, maximum is 10000).Nointeger
Responses
CodeDescriptionSchema
201Returns liabilities as paginated collection.Operation

/api/v2/management/peatio/orders/cancel

POST

Description

Cancel all open orders

Parameters
NameLocated inDescriptionRequiredSchema
uidformDataFilter order by owner uidNostring
marketformDataUnique market id. It's always in the form of xxxyyy,where xxx is the base currency code, yyy is the quotecurrency code, e.g. 'btcusd'. All available markets canbe found at /api/v2/markets.Yesstring
Responses
CodeDescriptionSchema
201Cancel all open ordersOrder

/api/v2/management/peatio/orders/{id }/cancel

POST

Description

Cancel specific order

Parameters
NameLocated inDescriptionRequiredSchema
idpathUnique order id.Yesstring
Responses
CodeDescriptionSchema
201Cancel specific orderOrder

/api/v2/management/peatio/orders

POST

Description

Returns orders

Parameters
NameLocated inDescriptionRequiredSchema
uidformDataFilter order by owner uidNostring
marketformDataUnique market id. It's always in the form of xxxyyy,where xxx is the base currency code, yyy is the quotecurrency code, e.g. 'btcusd'. All available markets canbe found at /api/v2/markets.Nostring
stateformDataFilter order by state.Nostring
ord_typeformDataFilter order by ord_type.Nostring
Responses
CodeDescriptionSchema
201Returns ordersOrder

/api/v2/management/peatio/transfers/new

POST

Description

Creates new transfer.

Parameters
NameLocated inDescriptionRequiredSchema
keyformDataUnique Transfer Key.Yesstring
categoryformDataTransfer Category.Yesstring
descriptionformDataTransfer Description.Nostring
operations[currency]formDataOperation currency.Yes[ string ]
operations[amount]formDataOperation amount.Yes[ double ]
operations[account_src][code]formDataSource Account code.Yes[ integer ]
operations[account_src][uid]formDataSource Account User ID (for accounts with member scope).Yes[ string ]
operations[account_dst][code]formDataDestination Account code.Yes[ integer ]
operations[account_dst][uid]formDataDestination Account User ID (for accounts with member scope).Yes[ string ]
Responses
CodeDescription
201Creates new transfer.

/api/v2/management/peatio/trades

POST

Description

Returns trades as paginated collection.

Parameters
NameLocated inDescriptionRequiredSchema
uidformDataThe shared user ID.Nostring
marketformDataNostring
pageformDataThe page number (defaults to 1).Nointeger
limitformDataThe number of objects per page (defaults to 100, maximum is 1000).Nointeger
Responses
CodeDescriptionSchema
201Returns trades as paginated collection.Trade

/api/v2/management/peatio/members/group

POST

Description

Set user group.

Parameters
NameLocated inDescriptionRequiredSchema
uidformDataThe shared user ID.Yesstring
groupformDataUser gruopYesstring
Responses
CodeDescription
201Set user group.

/api/v2/management/peatio/members

POST

Description

Create a member.

Parameters
NameLocated inDescriptionRequiredSchema
emailformDataUser email.Yesstring
uidformDataThe shared user ID.Yesstring
levelformDataUser level.Yesinteger
roleformDataUser role.Yesstring
stateformDataUser state.Yesstring
groupformDataUser groupYesstring
Responses
CodeDescription
201Create a member.

/api/v2/management/peatio/fee_schedule/trading_fees

POST

Description

Returns trading_fees table as paginated collection

Parameters
NameLocated inDescriptionRequiredSchema
groupformDataMember groupNostring
market_idformDataMarket idNostring
pageformDataThe page number (defaults to 1).Nointeger
limitformDataThe number of objects per page (defaults to 100, maximum is 1000).Nointeger
Responses
CodeDescription
201Returns trading_fees table as paginated collection

/api/v2/management/peatio/currencies/update

PUT

Description

Update currency.

Parameters
NameLocated inDescriptionRequiredSchema
idformDataCurrency code.Yesstring
nameformDataCurrency nameNostring
deposit_feeformDataCurrency deposit feeNodouble
min_deposit_amountformDataMinimal deposit amountNodouble
min_collection_amountformDataMinimal deposit amount that will be collectedNodouble
withdraw_feeformDataCurrency withdraw feeNodouble
min_withdraw_amountformDataMinimal withdraw amountNodouble
withdraw_limit_24hformDataCurrency 24h withdraw limitNodouble
withdraw_limit_72hformDataCurrency 72h withdraw limitNodouble
positionformDataCurrency position.Nointeger
optionsformDataCurrency options.Nojson
visibleformDataCurrency display possibility status (true/false).NoBoolean
deposit_enabledformDataCurrency deposit possibility status (true/false).NoBoolean
withdrawal_enabledformDataCurrency withdrawal possibility status (true/false).NoBoolean
precisionformDataCurrency precisionNointeger
icon_urlformDataCurrency iconNostring
Responses
CodeDescriptionSchema
200Update currency.Currency

/api/v2/management/peatio/currencies/{code }

POST

Description

Returns currency by code.

Parameters
NameLocated inDescriptionRequiredSchema
codepathThe currency code.Yesstring
Responses
CodeDescriptionSchema
201Returns currency by code.Currency

/api/v2/management/peatio/currencies/list

POST

Description

Return currencies list.

Parameters
NameLocated inDescriptionRequiredSchema
typeformDataCurrency typeNostring
Responses
CodeDescriptionSchema
201Return currencies list.Currency

/api/v2/management/peatio/markets/list

POST

Description

Return markets list.

Responses
CodeDescriptionSchema
201Return markets list.Market

/api/v2/management/peatio/markets/update

PUT

Description

Update market.

Parameters
NameLocated inDescriptionRequiredSchema
idformDataUnique market id. It's always in the form of xxxyyy,where xxx is the base currency code, yyy is the quotecurrency code, e.g. 'btcusd'. All available markets canbe found at /api/v2/markets.Yesstring
stateformDataMarket state defines if user can see/trade on current market.Nostring
min_priceformDataMinimum order price.Nodouble
min_amountformDataMinimum order amount.Nodouble
amount_precisionformDataPrecision for order amount.Nointeger
price_precisionformDataPrecision for order price.Nointeger
max_priceformDataMaximum order price.Nodouble
positionformDataMarket position.Nointeger
Responses
CodeDescriptionSchema
200Update market.Market

Models

Beneficiary

Get list of user beneficiaries

NameTypeDescriptionRequired
idintegerBeneficiary Identifier in DatabaseNo
currencystringBeneficiary currency code.No
uidstringBeneficiary ownerNo
namestringHuman rememberable name which refer beneficiary.No
descriptionstringHuman rememberable description of beneficiary.No
datajsonBank Account details for fiat Beneficiary in JSON format.For crypto it's blockchain address.No
statestringDefines either beneficiary active - user can use it to withdraw moneyor pending - requires beneficiary activation with pin.No
sent_atstringTime when last pin was sentNo

Balance

Queries the account balance for the given UID and currency.

NameTypeDescriptionRequired
uidstringThe shared user ID.No
balancestringThe account balance.No
lockedstringThe locked account balance.No

Deposit

Returns deposits as paginated collection.

NameTypeDescriptionRequired
tidintegerThe shared transaction ID.No
currencystringThe currency code.No
uidstringThe shared user ID.No
typestringThe deposit type (fiat or coin).No
amountstringThe deposit amount.No
statestringThe deposit state. «submitted» – initial state. «canceled» – deposit has been canceled by outer service. «rejected» – deposit has been rejected by outer service.. «accepted» – deposit has been accepted by outer service, money are loaded.No
created_atstringThe datetime when deposit was created.No
completed_atstringThe datetime when deposit was completed.No
blockchain_txidstringThe transaction ID on the Blockchain (coin only).No
blockchain_confirmationsstringThe number of transaction confirmations on the Blockchain (coin only).No
transfer_typestringdeposit transfer_type.No

Withdraw

Returns withdraws as paginated collection.

NameTypeDescriptionRequired
tidintegerThe shared transaction ID.No
uidstringThe shared user ID.No
currencystringThe currency code.No
notestringThe note for withdraw.No
typestringThe withdraw type (fiat or coin).No
amountstringThe withdraw amount excluding fee.No
feestringThe exchange fee.No
ridstringThe beneficiary ID or wallet address on the Blockchain.No
statestringThe withdraw state. «prepared» – initial state, money are not locked. «submitted» – withdraw has been allowed by outer service for further validation, money are locked. «canceled» – withdraw has been canceled by outer service, money are unlocked. «accepted» – system has validated withdraw and queued it for processing by worker, money are locked. «rejected» – system has validated withdraw and found errors, money are unlocked. «processing» – worker is processing withdraw as the current moment, money are locked. «skipped» – worker skipped withdrawal in case of insufficient balance of hot wallet or it absence. «succeed» – worker has successfully processed withdraw, money are subtracted from the account. «failed» – worker has encountered an unhandled error while processing withdraw, money are unlocked.No
created_atstringThe datetime when withdraw was created.No
blockchain_txidstringThe transaction ID on the Blockchain (coin only).No
transfer_typestringwithdraw transfer_type.No

Operation

Returns liabilities as paginated collection.

NameTypeDescriptionRequired
codestringThe Account code which this operation related to.No
currencystringOperation currency ID.No
creditstringOperation credit amount.No
debitstringOperation debit amount.No
uidstringThe shared user ID.No
reference_typestringThe type of operations.No
created_atstringThe datetime when operation was created.No

Order

Returns orders

NameTypeDescriptionRequired
idintegerUnique order id.No
member_idintegerMember id.No
uuidstringUnique order UUID.No
sidestringEither 'sell' or 'buy'.No
ord_typestringType of order, either 'limit' or 'market'.No
pricedoublePrice for each unit. e.g.If you want to sell/buy 1 btc at 3000 usd, the price is '3000.0'No
avg_pricedoubleAverage execution price, average of price in trades.No
statestringOne of 'wait', 'done', or 'cancel'.An order in 'wait' is an active order, waiting fulfillment;a 'done' order is an order fulfilled;'cancel' means the order has been canceled.No
marketstringThe market in which the order is placed, e.g. 'btcusd'.All available markets can be found at /api/v2/markets.No
created_atstringOrder create time in iso8601 format.No
updated_atstringOrder updated time in iso8601 format.No
origin_volumedoubleThe amount user want to sell/buy.An order could be partially executed,e.g. an order sell 5 btc can be matched with a buy 3 btc order,left 2 btc to be sold; in this case the order's volume would be '5.0',its remaining_volume would be '2.0', its executed volume is '3.0'.No
remaining_volumedoubleThe remaining volume, see 'volume'.No
executed_volumedoubleThe executed volume, see 'volume'.No
maker_feedoubleFee for maker.No
taker_feedoubleFee for taker.No
trades_countintegerCount of trades.No
trades[ Trade ]Trades wiht this order.No

Trade

Returns trades as paginated collection.

NameTypeDescriptionRequired
idstringTrade ID.No
pricedoubleTrade price.No
amountdoubleTrade amount.No
totaldoubleTrade total (Amount * Price).No
fee_currencydoubleCurrency user's fees were charged in.No
feedoublePercentage of fee user was charged for performed trade.No
fee_amountdoubleAmount of fee user was charged for performed trade.No
marketstringTrade market id.No
created_atstringTrade create time in iso8601 format.No
taker_typestringTrade taker order type (sell or buy).No
sidestringTrade side.No
order_idintegerOrder id.No

Currency

Return currencies list.

NameTypeDescriptionRequired
idstringCurrency code.
Example: "btc"
No
namestringCurrency name
Example: "Bitcoin"
No
descriptionstringCurrency description
Example: "btc"
No
homepagestringCurrency homepage
Example: "btc"
No
pricestringCurrency current priceNo
explorer_transactionstringCurrency transaction exprorer url template
Example: "https://testnet.blockchain.info/tx/"
No
explorer_addressstringCurrency address exprorer url template
Example: "https://testnet.blockchain.info/address/"
No
typestringCurrency type
Example: "coin"
No
deposit_enabledstringCurrency deposit possibility status (true/false).No
withdrawal_enabledstringCurrency withdrawal possibility status (true/false).No
deposit_feestringCurrency deposit fee
Example: "0.0"
No
min_deposit_amountstringMinimal deposit amount
Example: "0.0000356"
No
withdraw_feestringCurrency withdraw fee
Example: "0.0"
No
min_withdraw_amountstringMinimal withdraw amount
Example: "0.0"
No
withdraw_limit_24hstringCurrency 24h withdraw limit
Example: "0.1"
No
withdraw_limit_72hstringCurrency 72h withdraw limit
Example: "0.2"
No
base_factorstringCurrency base factor
Example: 100000000
No
precisionstringCurrency precision
Example: 8
No
positionintegerCurrency position.No
icon_urlstringCurrency icon
Example: "https://upload.wikimedia.org/wikipedia/commons/0/05/Ethereum_logo_2014.svg"
No
min_confirmationsstringNumber of confirmations required for confirming deposit or withdrawalNo
codestringUnique currency code.No
min_collection_amountstringMinimal deposit amount that will be collected
Example: "0.0000356"
No
visiblestringCurrency display possibility status (true/false).No
subunitsintegerFraction of the basic monetary unit.No
optionsjsonCurrency options.No
created_atstringCurrency created time in iso8601 format.No
updated_atstringCurrency updated time in iso8601 format.No

Market

Update market.

NameTypeDescriptionRequired
idstringUnique market id. It's always in the form of xxxyyy,where xxx is the base currency code, yyy is the quotecurrency code, e.g. 'btcusd'. All available markets canbe found at /api/v2/markets.No
namestringMarket name.No
base_unitstringMarket Base unit.No
quote_unitstringMarket Quote unit.No
min_pricedoubleMinimum order price.No
max_pricedoubleMaximum order price.No
min_amountdoubleMinimum order amount.No
amount_precisiondoublePrecision for order amount.No
price_precisiondoublePrecision for order price.No
statestringMarket state defines if user can see/trade on current market.No
positionintegerMarket position.No
created_atstringMarket created time in iso8601 format.No
updated_atstringMarket updated time in iso8601 format.No