T0 blockchain

T0 blockchain, Bloombitcoin, Bitcoin deposit poker

T0 blockchain

Build your own designer professional website, using pre built web templates, or just pick a style and we will build your website for you. Extra services & Shopping carts available. Download a free web template to try. Look for yourself. Black arrow bitcointalk T0 blockchain

Create a natural, sun kissed tan that develops in only 2 hours with our patented new tan towel. Easy, odorless, safe, and affordable. No need to burn to look great all year long! Product and special Internet only pricing details here. How to mine bitcoins on a laptop girls hot

Bloombitcoin Premier internet access for only $9.95 per month. Less than 1/2 the cost of AOLВ®, EarthLink or MSN! Experience a more useful Internet with great connections, no banners, fast page loads, fewer pop ups and easy to use email. Bitcoin deposit poker

Paying too much for music, movie and software downloads? MP3 Download Review is a free service to Internet downloaders that compares the best places to download movies, music, games, and more. Download more and spend less. Bitcoins what are they and how do they work

Mencius moldbug bitcoin Subscribers can prepare immigration, employment, and other U.S. Government forms online and download completed documents in PDF/PS file formats. Use Form Packages ($17.99 & up) or select individual forms ($6.99 & up). Economist take on bitcoin Buy bitcoin australia whirlpool

Bloombitcoin

Internet Spain. Free Internet Access. Free unlimited internet service provider for Spain. Connect for free to the Internet. RTB and ISDN access. Free email pop and smtp. E mail support. For Free No strings attached! Bitcoin international group limited Economist take on bitcoin

Play Online Blackjack, Roulette, 15 Slots and other Casino Games No Download necessary! Try our Cutting Edge Java Games for Real Money and get up to $200 Bonus! 24/7 Reliable Support. Highest Payouts On the Net! Buy bitcoin australia whirlpool design almetevsk

Bitcoins what are they and how do they work Cruise to riches playing our state of the art online games, download our software now or play our no download flash games and play right from your browser! Play for real money or just for fun Download Free!.. Bitcoin jobs seattle

US ONLY Sign up once with ILoveSweepstakes.com and we'll enter you in to hundreds of Internet sweepstakes. You could win thousands of prizes every month. Stay informed of your entries with our newsletter. Len sassaman bitcoin

How to mine bitcoins on a laptop Protect the privacy of your email and workplace documents. Instant download. Encrypts/decrypts all or portions of text or rich text documents. Guards against "robots" reading your web based mail. Only $16. Bitcoin exchanges south africa Black arrow bitcointalk

Bitcoin deposit poker

 
Journyx and Oracle 8i or 9i is a powerful way to track employee time to understand costs.  Redirect your business.  Integrates with Oracle financials, SAP, Peoplesoft, Lawson.  Download Free trial Now. Bitcoin charts price Bitcoin investment etf

"Bikini chicks, Lingerie models, Sexy babes next door. Seductive poses and skimpy outfits. No credit card info or e mail address required. Lots of choices. All Free, No hassles. Download now!" Kipochi bitcoin intimshop udomlya

Bitcoin currency country The largest Internet Fax Directory on the web. Lists the best Websites about Internet Fax. Search also for more Internet Fax related listings. Perform a search for Internet Fax. All sites reviewed! Shapeshift bitcointalk

Encrypting my bitcoin wallet We offer a wide range of online betting and wagering on sports and other events. The most respected on line gambling and betting site on the Internet. Win big cash prizes. Subscription is free. .. Bitcoin deposit uk

Investing in bitcoin technology Want to see into your future? Better than a fortune teller, download the personal astrology service from MyDailyHoroscope.net. It's totally free and simple. Choose your zodiac sign and start now. Blockchain wallet wiki Bitcoin mining reward calculator

Mencius moldbug bitcoin

 
Zovirax 5% cream, 3  10g tubes $74.85  Alpine Drugs offers you some of the internet's best prices on prescription medications. Order your medication online, and save money. No consultation fees. Bitcoin/Usd forecast Bitcoin testnet faucet

Internet resources for learning about A Course in Miracles:articles, essays, book excerpts, search engine for Course topics and concepts; access to publisher and foundation for teaching ACIM. Bitcoin kurs girls 83

Blockchain transaction visualization Shop our Top Ten internet stores in more than 25 categories. Save extra money off your purchase with our discount coupons, promotional codes and discount links. Sign up for our newsletter. Mencius moldbug bitcoin

Bitcoin logo transparent A fast, easy to use Web log analysis software that lets you see most detailed Web activities. Supports Microsoft IIS server, Unix/Apache server, Netscape/iPlanet server. Free trial download! Blockchain api Waarde bitcoin dollar

Looking for reliable and fast ISP with low price? You will not only have them all with free4life ISP, but a opportunity for lucrative home base business and free internet service for life. Ban bitcoin Bitcoins exchange rate canada

Buy bitcoin australia whirlpool

 
High speed satellite internet service everywhere in the US from Direcway, the direct tv dsl affiliate. No phone or cable needed! Lowest installation rate guarantee. Special internet offer. Rudarenje bitcoina Sentdex bitcoin

Delete and remove porn and objectionable content from your PC. Cleans history, cookies, temporary Internet files, documents, pictures and videos. Includes free pop up stopper ($20 Value). Bitcoin rpc connection refused remont novoaltaisk

Profitability calculator cryptocurrency VitalityMedical.com Internet's healthcare wholesale superstore. Find a wide selection and great prices for nebulizers, respiratory supply, diabetes, urologicals, first aid and more. Gh/S bitcoin meaning

Bitcoin logo 2005 Calendars and more! Huge selection at low internet prices. Fast service. Free heading and business design imprint. 100% unconditional risk free guarantee. Request free catalog. Bitcoin mining pool software Bitcoin exchange rate history

Spector Pro internet security software helps to protect you by secretly monitoring all computer and internet activity. Capture emails, chats, instant messages, keystrokes and more. Bitcoin exchange rate history Bitcoin mining pool software

newbigsearch:

b16d0d36c49845317c6af84cfc7bd617

REST API - CEX.IO

Bitcoin REST API at CEX.IO allows to access market data and manage trades using the custom-written software

Content

Tag: Public API calls

Tag: Private API calls

Definitions

Public API calls

Public API calls

Currency limits

GET http://bitcoin28.cryptofiles.ru/api/currency_limits

Request

Responses

Code 200: Data on limits for all pairs.

Schema:

Name Type Description
extends APIResponse Base response schema
data
pairs CurrencyLimit ]
Examples

application/json

{
  "e": "currency_limits",
  "ok": "ok",
  "data": {
    "pairs": [
      {
        "symbol1": "BTC",
        "symbol2": "USD",
        "minLotSize": 0.01,
        "minLotSizeS2": 2.5,
        "maxLotSize": 30,
        "minPrice": "100",
        "maxPrice": "35000"
      },
      {
        "symbol1": "ETH",
        "symbol2": "USD",
        "minLotSize": 0.1,
        "minLotSizeS2": 2.5,
        "maxLotSize": 1000,
        "minPrice": "2.5",
        "maxPrice": "4096"
      },
      {
        "symbol1": "BCH",
        "symbol2": "USD",
        "minLotSize": 0.01,
        "minLotSizeS2": 2.5,
        "maxLotSize": 30,
        "minPrice": "50",
        "maxPrice": "5128"
      }
    ]
  }
}

Ticker

GET http://bitcoin28.cryptofiles.ru/api/ticker/{symbol1}/{symbol2}

Request

Parameters
Position Name Type Description
path symbol1 string The first currency code
path symbol2 string The second currency code

Responses

Code 200: OK

Schema: Ticker

Examples

application/json

{
  "timestamp": "1513166480",
  "low": "17200",
  "high": "17920",
  "last": "17420",
  "volume": "2042.59581123",
  "volume30d": "81150.14153359",
  "bid": 17400.04,
  "ask": 17418.2
}

Tickers for all pairs by markets

GET http://bitcoin28.cryptofiles.ru/api/tickers/{symbol1}/{symbol2}

Request

Parameters
Position Name Type Description
path symbol1 string The first currency code
path symbol2 string The second currency code

Responses

Code 200: OK

Schema:

Name Type Description
extends APIResponse Base response schema
data Ticker ]
Examples

application/json

{
  "ok": "ok",
  "e": "tickers",
  "data": [
    {
      "volume": "526.41732435",
      "last": "3867.1349",
      "timestamp": "1506345965",
      "bid": 3870.0315,
      "high": "3900",
      "ask": 3874.6483,
      "low": "3775.0519",
      "pair": "BTC:USD",
      "volume30d": "40276.65481187"
    },
    {
      "volume": "4146.55696100",
      "last": "296.3",
      "timestamp": "1506345965",
      "bid": 296.3001,
      "high": "300",
      "ask": 296.88829983,
      "low": "290.7499",
      "pair": "ETH:USD",
      "volume30d": "387349.74846600"
    },
    {
      "volume": "195.78393984",
      "last": "454",
      "timestamp": "1506345965",
      "bid": 448.0264,
      "high": "454",
      "ask": 453.9054,
      "low": "430",
      "pair": "BCH:USD",
      "volume30d": "29682.51951238"
    }
  ]
}

Last price

GET http://bitcoin28.cryptofiles.ru/api/last_price/{symbol1}/{symbol2}

Request

Parameters
Position Name Type Description
path symbol1 string The first currency code
path symbol2 string The second currency code

Responses

Code 200: OK

Schema: PairPrice

Examples

application/json

{
  "lprice": "17663",
  "curr1": "BTC",
  "curr2": "USD"
}

Last prices for given markets

GET http://bitcoin28.cryptofiles.ru/api/last_prices/{symbol1}/{symbol2}/{symbol3}

Request

Parameters
Position Name Type Description
path symbol1 string The first currency code
path symbol2 string The second currency code
path symbol3 string The third currency code

Responses

Code 200: OK

Schema:

Name Type Description
extends APIResponse Base response schema
data PairPrice ]
Examples

application/json

{
  "e": "last_prices",
  "ok": "ok",
  "data": [
    {
      "symbol1": "BTC",
      "symbol2": "USD",
      "lprice": "17656.2"
    },
    {
      "symbol1": "ETH",
      "symbol2": "USD",
      "lprice": "701"
    },
    {
      "symbol1": "BCH",
      "symbol2": "USD",
      "lprice": "1640"
    }
  ]
}

Converter

POST http://bitcoin28.cryptofiles.ru/api/convert/{symbol1}/{symbol2}

Request

Parameters
Position Name Type Description
path symbol1 string The first currency code
path symbol2 string The second currency code
body body ConvertRequest
Example
{
  "amnt": "2.5"
}

Responses

Code 200: OK

Schema:

Name Type Description
amnt string convertible amount
Examples

application/json

{
  "amnt": "1000.00"
}

Chart

POST http://bitcoin28.cryptofiles.ru/api/price_stats/{symbol1}/{symbol2}

Request

Parameters
Position Name Type Description
path symbol1 string The first currency code
path symbol2 string The second currency code
body body PriceStatsRequest
Example
{
  "lastHours": 24,
  "maxRespArrSize": 100
}

Responses

Code 200: OK

Schema: array

Items:

Name Type Description
tmsp number UNIX timestamp
price string price value
Examples

application/json

[
  {
    "tmsp": 1513063800,
    "price": "17288.9"
  },
  {
    "tmsp": 1513064700,
    "price": "17374"
  },
  {
    "tmsp": 1513065600,
    "price": "17393.57"
  }
]

Historical 1m OHLCV Chart

GET http://bitcoin28.cryptofiles.ru/api/ohlcv/hd/{date}/{symbol1}/{symbol2}

Request

Parameters
Position Name Type Description
path date string date in format "YYYYMMDD"
path symbol1 string The first currency code
path symbol2 string The second currency code

Responses

Code 200: OK

Schema: array

Items:

Name Type Description
time number Date in format "YYYYMMDD"
data1m string Stringified array of candle data by minutes
data1h string Stringified array of candle data by hours
data1d string Stringified array of candle data by days
Examples

application/json

{
  "time": 20171011,
  "data1m": "[[1507680000,4793.9996,4793.9996,4787.3213,4787.3229,1.03986482],[1507680060,4793.9809,4793.9993,4793.9809,4793.9932,0.81958763]]",
  "data1h": "[[1507334400,4378.1725,4395,4372.7588,4387.9062,14.244019],[1507338000,4387.8018,4400,4372.911,4385,12.50705421],[1507341600,4385,4385.46,4368.9999,4374,9.03757199]]",
  "data1d": "[[1499126400,2649.6085,2710,2632.2142,2668.9757,500.1209406],[1499212800,2669.2497,2690,2617.1779,2679.2315,383.08839447],[1499299200,2679.2305,2689.7435,2638.457,2675.0076,248.49638678]]"
}

Orderbook

GET http://bitcoin28.cryptofiles.ru/api/order_book/{symbol1}/{symbol2}/

Request

Parameters
Position Name Type Description
path symbol1 string The first currency code
path symbol2 string The second currency code
query depth integer limit the number of bid/ask records returned (optional parameter, all existing elements are returned if omitted)

Responses

Code 200: OK

Schema: array

Items:

Name Type Description
timestamp number UNIX timestamp
bids [ number ]
asks [ number ]
pair string Pair name ${symbol1}:${symbol2}
id integer Incremental version id of order-book snapshot, may be used to check if order-book changed
sell_total string Total available in symbol1 (e.g. BTC)
buy_total string Total available in symbol2 (e.g. USD)
Examples

application/json

{
  "timestamp": 1513173506,
  "bids": [
    [
      17670.3,
      0.00250037
    ]
  ],
  "asks": [
    [
      17689.66,
      0.01
    ]
  ],
  "pair": "BTC:USD",
  "id": 158217212,
  "sell_total": "1299.73578729",
  "buy_total": "10006393.37"
}

Trade history

GET http://bitcoin28.cryptofiles.ru/api/trade_history/{symbol1}/{symbol2}/

Request

Parameters
Position Name Type Description
path symbol1 string The first currency code
path symbol2 string The second currency code
query since integer return trades with tid >= since (optional parameter, 1000 or all existing (if less than 1000), elements are returned if omitted)

Responses

Code 200: OK

Schema: array

Items:

Name Type Description
tid string trade id
type string Order type
amount string trade amount
price string price
date string UNIX timestamp
Examples

application/json

[
  {
    "type": "buy",
    "date": "1513174106",
    "amount": "0.05634990",
    "price": "17698.7",
    "tid": "4765364"
  },
  {
    "type": "buy",
    "date": "1513174106",
    "amount": "0.02587643",
    "price": "17695",
    "tid": "4765363"
  },
  {
    "type": "sell",
    "date": "1513174102",
    "amount": "0.03112472",
    "price": "17695",
    "tid": "4765362"
  }
]

Private API calls

Requires API key. Each private call should contain API key, signature and nonce in request body (see. EmptyPrivateRequest)

Account balance

POST http://bitcoin28.cryptofiles.ru/api/balance/

Request

Parameters
Position Name Type Description
body body EmptyPrivateRequest
Example
{
  "key": "HLixH1aYdOIWOoRyoHkFpHlawrM",
  "signature": "0BDEDB9339DCE83D46F09A1527663762B52C8B12BCD1910E685BEAFEEABECFF9",
  "nonce": "1513175715"
}

Responses

Code 200: OK

Schema:

Name Type Description
timestamp string UNIX timestamp
username string User ID
BTC Balance
BCH Balance
ETH Balance
LTC Balance
DASH Balance
ZEC Balance
USD Balance
EUR Balance
GBP Balance
RUB Balance
GHS Balance
Examples

application/json

{
  "timestamp": "1513177918",
  "username": "ud000000000",
  "BTC": {
    "available": "1.38000000",
    "orders": "0.00000000"
  },
  "BCH": {
    "available": "1.00000000",
    "orders": "0.00000000"
  },
  "ETH": {
    "available": "100.00000000",
    "orders": "0.00000000"
  },
  "LTC": {
    "available": "1.00000000"
  },
  "DASH": {
    "available": "1.00000000",
    "orders": "0.00000000"
  },
  "ZEC": {
    "available": "1.00000000",
    "orders": "0.00000000"
  },
  "USD": {
    "available": "998087.07",
    "orders": "0.00"
  },
  "EUR": {
    "available": "999562.56",
    "orders": "0.00"
  },
  "GBP": {
    "available": "1000000.00",
    "orders": "0.00"
  },
  "RUB": {
    "available": "1000000.00",
    "orders": "0.00"
  },
  "GHS": {
    "available": "0.00000000",
    "orders": "0.00000000"
  }
}

Open orders

POST http://bitcoin28.cryptofiles.ru/api/open_orders/

Request

Parameters
Position Name Type Description
body body EmptyPrivateRequest
Example
{
  "key": "HLixH1aYdOIWOoRyoHkFpHlawrM",
  "signature": "0BDEDB9339DCE83D46F09A1527663762B52C8B12BCD1910E685BEAFEEABECFF9",
  "nonce": "1513175715"
}

Responses

Code 200: OK

Schema: [ ShortOrder ]

Examples

application/json

[
  {
    "id": "13837040",
    "time": "1460020144872",
    "type": "sell",
    "price": "411.626",
    "amount": "1.00000000",
    "pending": "1.00000000",
    "symbol1": "BTC",
    "symbol2": "EUR"
  },
  {
    "id": "16452929",
    "time": "1462355019816",
    "type": "buy",
    "price": "400",
    "amount": "1.00000000",
    "pending": "1.00000000",
    "symbol1": "BTC",
    "symbol2": "USD"
  }
]

Open orders by pair

POST http://bitcoin28.cryptofiles.ru/api/open_orders/{symbol1}/{symbol2}

Request

Parameters
Position Name Type Description
path symbol1 string The first currency code
path symbol2 string The second currency code
body body EmptyPrivateRequest
Example
{
  "key": "HLixH1aYdOIWOoRyoHkFpHlawrM",
  "signature": "0BDEDB9339DCE83D46F09A1527663762B52C8B12BCD1910E685BEAFEEABECFF9",
  "nonce": "1513175715"
}

Responses

Code 200: OK

Schema: [ ShortOrder ]

Examples

application/json

[
  {
    "id": "13837040",
    "time": "1460020144872",
    "type": "sell",
    "price": "411.626",
    "amount": "1.00000000",
    "pending": "1.00000000",
    "symbol1": "BTC",
    "symbol2": "EUR"
  },
  {
    "id": "16452929",
    "time": "1462355019816",
    "type": "buy",
    "price": "400",
    "amount": "1.00000000",
    "pending": "1.00000000",
    "symbol1": "BTC",
    "symbol2": "USD"
  }
]

Active order status

POST http://bitcoin28.cryptofiles.ru/api/active_orders_status

Request

Parameters
Position Name Type Description
body body ActiveOrdersRequest
Example
{
  "key": "HLixH1aYdOIWOoRyoHkFpHlawrM",
  "signature": "0BDEDB9339DCE83D46F09A1527663762B52C8B12BCD1910E685BEAFEEABECFF9",
  "nonce": "1513175715",
  "orders_list": [
    "8550492",
    "8550495",
    "8550497"
  ]
}

Responses

Code 200: OK

Schema:

Name Type Description
extends APIResponse Base response schema
data [ string ] list of [order_id, amount, remains]. remains is shown in case if order executed partially, it is less than amount, equal otherwise
Examples

application/json

{
  "e": "active_orders_status",
  "ok": "ok",
  "data": [
    [
      "8550408",
      "0",
      "0"
    ],
    [
      "8550495",
      "0.02000000",
      "0.02000000"
    ],
    [
      "8550497",
      "0.04000000",
      "0.02700000"
    ]
  ]
}

Archived orders

POST http://bitcoin28.cryptofiles.ru/api/archived_orders/{symbol1}/{symbol2}

Request

Parameters
Position Name Type Description
path symbol1 string The first currency code
path symbol2 string The second currency code
body body ArchivedOrdersRequest
Example
{
  "key": "HLixH1aYdOIWOoRyoHkFpHlawrM",
  "signature": "0BDEDB9339DCE83D46F09A1527663762B52C8B12BCD1910E685BEAFEEABECFF9",
  "nonce": "1513175715",
  "dateTo": 1506943193,
  "dateFrom": 1506943193,
  "lastTxDateTo": 1506943193,
  "lastTxDateFrom": 1506943193
}

Responses

Code 200: OK

Schema: [ FullOrder ]

Examples

application/json

[
  {
    "id": "22348164",
    "type": "buy",
    "time": "2016-08-04T09:28:24.669Z",
    "lastTxTime": "2016-08-04T09:28:58.762Z",
    "lastTx": "22348407",
    "status": "d",
    "symbol1": "BTC",
    "symbol2": "USD",
    "amount": "1.00000000",
    "price": "564",
    "fa:USD": "0.00",
    "ta:USD": "563.98",
    "remains": "0.00000000",
    "a:BTC:cds": "1.00000000",
    "a:USD:cds": "565.13",
    "f:USD:cds": "0.00",
    "tradingFeeMaker": "0",
    "tradingFeeTaker": "0.2",
    "orderId": "22348164"
  },
  {
    "id": "22347874",
    "type": "buy",
    "time": "2016-08-04T09:27:40.316Z",
    "lastTxTime": "2016-08-04T09:27:47.527Z",
    "lastTx": "22347950",
    "status": "cd",
    "symbol1": "BTC",
    "symbol2": "USD",
    "amount": "1.00000000",
    "price": "564",
    "fa:USD": "0.00",
    "ta:USD": "359.72",
    "remains": "0.36219371",
    "a:BTC:cds": "0.63780629",
    "a:USD:cds": "565.13",
    "f:USD:cds": "0.00",
    "tradingFeeMaker": "0",
    "tradingFeeTaker": "0.2",
    "orderId": "22347874"
  }
]

Cancel order

POST http://bitcoin28.cryptofiles.ru/api/cancel_order/

Request

Parameters
Position Name Type Description
body body OrderRequest
Example
{
  "key": "HLixH1aYdOIWOoRyoHkFpHlawrM",
  "signature": "0BDEDB9339DCE83D46F09A1527663762B52C8B12BCD1910E685BEAFEEABECFF9",
  "nonce": "1513175715",
  "id": 89067468
}

Responses

Code 200: OK

Examples

application/json

true

Cancel all orders for given pair

POST http://bitcoin28.cryptofiles.ru/api/cancel_orders/{symbol1}/{symbol2}

Request

Parameters
Position Name Type Description
path symbol1 string The first currency code
path symbol2 string The second currency code
body body EmptyPrivateRequest
Example
{
  "key": "HLixH1aYdOIWOoRyoHkFpHlawrM",
  "signature": "0BDEDB9339DCE83D46F09A1527663762B52C8B12BCD1910E685BEAFEEABECFF9",
  "nonce": "1513175715"
}

Responses

Code 200: OK

Schema:

Name Type Description
extends APIResponse Base response schema
data [ string ] Ids of cancelled orders
Examples

application/json

{
  "e": "cancel_orders",
  "ok": "ok",
  "data": [
    "2407314",
    "2407317",
    "2407320",
    "2407323"
  ]
}

Place order

POST http://bitcoin28.cryptofiles.ru/api/place_order/{symbol1}/{symbol2}

Request

Parameters
Position Name Type Description
path symbol1 string The first currency code
path symbol2 string The second currency code
body body PlaceOrderRequest
Example
{
  "key": "HLixH1aYdOIWOoRyoHkFpHlawrM",
  "signature": "0BDEDB9339DCE83D46F09A1527663762B52C8B12BCD1910E685BEAFEEABECFF9",
  "nonce": "1513175715",
  "type": "buy",
  "amount": 12,
  "price": 1155.67
}

Responses

Code 200: OK

Schema: ShortOrder

Examples

application/json

{
  "complete": false,
  "id": "89067468",
  "time": 1512054972480,
  "pending": "12.00000000",
  "amount": "12.00000000",
  "type": "buy",
  "price": "1155.67"
}

application/json, market order

{
  "symbol2Amount": "10000",
  "symbol1Amount": "19970000",
  "time": 1506615736816,
  "message": "Your order has been completed. Bought 0.19970000 BTC for 100.00 USD",
  "type": "buy",
  "id": "88640269"
}

Get order details

POST http://bitcoin28.cryptofiles.ru/api/get_order/

Request

Parameters
Position Name Type Description
body body OrderRequest
Example
{
  "key": "HLixH1aYdOIWOoRyoHkFpHlawrM",
  "signature": "0BDEDB9339DCE83D46F09A1527663762B52C8B12BCD1910E685BEAFEEABECFF9",
  "nonce": "1513175715",
  "id": 89067468
}

Responses

Code 200: OK

Schema: FullOrder

Examples

application/json

{
  "id": "22347874",
  "type": "buy",
  "time": 1470302860316,
  "lastTxTime": "2016-08-04T09:27:47.527Z",
  "lastTx": "22347950",
  "pos": null,
  "user": "userId",
  "status": "cd",
  "symbol1": "BTC",
  "symbol2": "USD",
  "amount": "1.00000000",
  "price": "564",
  "fa:USD": "0.00",
  "ta:USD": "359.72",
  "remains": "0.36219371",
  "a:BTC:cds": "0.63780629",
  "a:USD:cds": "565.13",
  "f:USD:cds": "0.00",
  "tradingFeeMaker": "0",
  "tradingFeeTaker": "0.2",
  "tradingFeeStrategy": "Promo000Maker",
  "orderId": "22347874"
}

Get order transactions

POST http://bitcoin28.cryptofiles.ru/api/get_order_tx/

Request

Parameters
Position Name Type Description
body body OrderRequest
Example
{
  "key": "HLixH1aYdOIWOoRyoHkFpHlawrM",
  "signature": "0BDEDB9339DCE83D46F09A1527663762B52C8B12BCD1910E685BEAFEEABECFF9",
  "nonce": "1513175715",
  "id": 89067468
}

Responses

Code 200: OK

Schema:

Name Type Description
extends APIResponse Base response schema
data
id string order id
time string timestamp
type string Order type
price string price
amount string amount
pending string pending amount (if partially executed)
symbol1 string Currency code
symbol2 string Currency code
symbol1Amount string
symbol2Amount string
lastTxTime string Time in unix time OR in ISO format
tradingFeeUserVolumeAmount string
ta:{symbol2} string total amount in current currency (Maker)
tta:{symbol2} string total amount in current currency (Taker)
fa:{symbol2} string fee amount in current currency (Maker)
tfa:{symbol2} string fee amount in current currency (Taker)
a:{symbol1}:cds string credit, debit and saldo merged amount in current currency
tradingFeeMaker string fee % value of Maker transactions
tradingFeeTaker string fee % value of Taker transactions
tradingFeeStrategy string
remains string
orderId string order id
pos string
next boolean
prev boolean
vtx Transaction ]
Examples

application/json

{
  "e": "get_order_tx",
  "ok": "ok",
  "data": {
    "id": "22347874",
    "type": "buy",
    "time": 1470302860316,
    "lastTxTime": "2016-08-04T09:27:47.527Z",
    "lastTx": "22347950",
    "user": "userId",
    "status": "cd",
    "symbol1": "BTC",
    "symbol2": "USD",
    "amount": "1.00000000",
    "price": "564",
    "fa:USD": "0.00",
    "ta:USD": "359.72",
    "remains": "0.36219371",
    "a:BTC:cds": "0.63780629",
    "a:USD:cds": "565.13",
    "f:USD:cds": "0.00",
    "tradingFeeMaker": "0",
    "tradingFeeTaker": "0.2",
    "tradingFeeStrategy": "Promo000Maker",
    "orderId": "22347874",
    "vtx": [
      {
        "id": "22347950",
        "type": "cancel",
        "time": "2016-08-04T09:27:47.527Z",
        "user": "userId",
        "c": "user:userId:a:USD",
        "d": "order:22347874:a:USD",
        "a": "204.28000000",
        "amount": "204.28000000",
        "balance": "1391212.24000000",
        "symbol": "USD",
        "order": "22347874",
        "buy": null,
        "sell": null,
        "pair": null,
        "pos": null,
        "cs": "1391212.24",
        "ds": 0
      },
      {
        "id": "22347949",
        "type": "buy",
        "time": "2016-08-04T09:27:40.972Z",
        "user": "userId",
        "c": "user:userId:a:BTC",
        "d": "order:22347874:a:BTC",
        "a": "0.63780629",
        "amount": "0.63780629",
        "balance": "7633.93075975",
        "symbol": "BTC",
        "order": "22347874",
        "buy": "22347874",
        "sell": "22347877",
        "pair": null,
        "pos": null,
        "cs": "7633.93075975",
        "ds": 0,
        "price": 564,
        "symbol2": "USD",
        "fee_amount": 0
      },
      {
        "id": "22347876",
        "type": "buy",
        "time": "2016-08-04T09:27:40.316Z",
        "user": "userId",
        "c": "user:userId:a:USD",
        "d": "order:22347874:a:USD",
        "a": "1.13000000",
        "amount": "-564.00000000",
        "balance": "1391007.96000000",
        "symbol": "USD",
        "order": "22347874",
        "buy": null,
        "sell": null,
        "pair": null,
        "pos": null,
        "cs": "1391007.96",
        "ds": "564.00"
      }
    ],
    "next": false,
    "prev": false
  }
}

Get crypto address

POST http://bitcoin28.cryptofiles.ru/api/get_address/

Request

Parameters
Position Name Type Description
body body AddressRequest
Example
{
  "key": "HLixH1aYdOIWOoRyoHkFpHlawrM",
  "signature": "0BDEDB9339DCE83D46F09A1527663762B52C8B12BCD1910E685BEAFEEABECFF9",
  "nonce": "1513175715",
  "currency": "BTC"
}

Responses

Code 200: OK

Schema:

Name Type Description
extends APIResponse Base response schema
data string Crypto Address
Examples

application/json

{
  "ok": "ok",
  "e": "get_address",
  "data": "3JjMEw3b2wcRuUQL7rA5JMzKXwEgiArSrb"
}

Get my fee

POST http://bitcoin28.cryptofiles.ru/api/get_myfee/

Request

Parameters
Position Name Type Description
body body EmptyPrivateRequest
Example
{
  "key": "HLixH1aYdOIWOoRyoHkFpHlawrM",
  "signature": "0BDEDB9339DCE83D46F09A1527663762B52C8B12BCD1910E685BEAFEEABECFF9",
  "nonce": "1513175715"
}

Responses

Code 200: OK

Schema:

Name Type Description
extends APIResponse Base response schema
data
ETH:USD object Fee description
Examples

application/json

{
  "ok": "ok",
  "e": "get_myfee",
  "data": {
    "ETH:USD": {
      "sell": "0.15",
      "buyMaker": "0",
      "buy": "0.15",
      "sellMaker": "0"
    },
    "BCH:GBP": {
      "sell": "0.15",
      "buyMaker": "0",
      "buy": "0.15",
      "sellMaker": "0"
    },
    "ZEC:BTC": {
      "sell": "0.15",
      "buyMaker": "0",
      "buy": "0.15",
      "sellMaker": "0"
    },
    "ZEC:GBP": {
      "sell": "0.15",
      "buyMaker": "0",
      "buy": "0.15",
      "sellMaker": "0"
    }
  }
}

Cancel replace order

POST http://bitcoin28.cryptofiles.ru/api/cancel_replace_order/{symbol1}/{symbol2}

Request

Parameters
Position Name Type Description
path symbol1 string The first currency code
path symbol2 string The second currency code
body body CancelReplaceOrderRequest
Example
{
  "key": "HLixH1aYdOIWOoRyoHkFpHlawrM",
  "signature": "0BDEDB9339DCE83D46F09A1527663762B52C8B12BCD1910E685BEAFEEABECFF9",
  "nonce": "1513175715",
  "type": "buy"
}

Responses

Code 200: OK

Schema: ShortOrder

Examples

application/json

{
  "complete": false,
  "price": "150",
  "amount": "0.02000000",
  "time": 1506952374430,
  "type": "buy",
  "id": "88646680",
  "pending": "0.02000000"
}

Open position

POST http://bitcoin28.cryptofiles.ru/api/open_position/{symbol1}/{symbol2}

Request

Parameters
Position Name Type Description
path symbol1 string The first currency code
path symbol2 string The second currency code
body body OpenPositionOrderRequest
Example
{
  "key": "HLixH1aYdOIWOoRyoHkFpHlawrM",
  "signature": "0BDEDB9339DCE83D46F09A1527663762B52C8B12BCD1910E685BEAFEEABECFF9",
  "nonce": "1513175715",
  "symbol": "BTC",
  "msymbol": "BTC"
}

Responses

Code 200: OK. The response does not contain all info on the position - use open-positions call to get complete information on open positions

Schema:

Name Type Description
extends APIResponse Base response schema
data
id number the position id
otime number timestamp the position was opened at
psymbol string currency, in which the position was opened (product)
msymbol string currency, in which user is going to gain profit, can be one of the currencies, presented in the pair
lsymbol string currency of borrowed funds, can be one of the currencies, presented in the pair
pair object trading pair as a list of two symbols, presents the pair according to requested URL
pamount string total position amount, presented in "psymbol"
omamount string ("open money amount') user's amount used in the position, presented in 'msymbol"
lamount string amount of borrowed funds in the position, presented in "lsymbol"
oprice string price the position was opened at, calculated as average of underlying executed orders
ptype string position type. long - buying product, profitable if product price grows; short - selling product, profitable if product price falls;
stopLossPrice string price near which your position will be closed automatically in case of unfavorable market conditions
pfee string estimated fee (in %) from user's amount, that will be charged for position rollover for the next 4 hours
cfee string fee (in %) from user's amount, that will be charged for position closing
tfeeAmount string total fees paid by user, it is equal to opening fee amount, when position has been just opened
Examples

application/json

{
  "e": "open_position",
  "ok": "ok",
  "data": {
    "id": 104034,
    "otime": 1475484979608,
    "psymbol": "BTC",
    "msymbol": "USD",
    "lsymbol": "USD",
    "pair": {
      "symbol1": "BTC",
      "symbol2": "USD"
    },
    "pamount": "1.00000000",
    "omamount": "303.99",
    "lamount": "303.99",
    "oprice": "607.9800",
    "ptype": "long",
    "stopLossPrice": "520.3232",
    "pfee": "3",
    "cfee": "4",
    "tfeeAmount": "3.04"
  }
}

Get position

POST http://bitcoin28.cryptofiles.ru/api/get_position

Request

Parameters
Position Name Type Description
body body PositionRequest
Example
{
  "key": "HLixH1aYdOIWOoRyoHkFpHlawrM",
  "signature": "0BDEDB9339DCE83D46F09A1527663762B52C8B12BCD1910E685BEAFEEABECFF9",
  "nonce": "1513175715",
  "id": 89067468
}

Responses

Code 200: OK

Schema:

Name Type Description
extends APIResponse Base response schema
data
id string position id
otime number timestamp the position was opened at
psymbol string currency, in which the position was opened (product)
msymbol string currency, in which user is going to gain profit, can be one of the currencies, presented in the pair
lsymbol string currency of borrowed funds, can be one of the currencies, presented in the pair
pair string trading pair as a string like "XXX:XXX"
pamount string total position amount, presented in "psymbol"
omamount string ("open money amount') user's amount used in the position, presented in 'msymbol"
lamount string amount of borrowed funds in the position, presented in "lsymbol"
oprice string price the position was opened at, calculated as average of underlying executed orders
ptype string position type. long - buying product, profitable if product price grows; short - selling product, profitable if product price falls;
stopLossPrice string price, near which your position will be closed automatically in case of unfavorable market conditions
pfee string estimated fee (in %) from user's amount, that will be charged for position rollover for the next 4 hours
cfee string fee (in %) from user's amount, that will be charged for position closing
tfeeAmount string total fees paid by user, it is equal to opening fee amount, when position has been just opened
user string User ID
amount string total amount of "product" in the position
symbol string total amount of product in the position
slamount string (stop-loss amount) amount that will be returned, including user`s and borrowed funds
leverage string leverage, with which the position was opened
dfl string (TECH) desired fast liquidation price
flPrice string (TECH) estimated price of total loss
ofee string fee (in %) from user's amount, that was charged for position opening
rinterval string rollover interval in miliseconds
okind string how the position was opened
a:BTC:c string (TECH) credit in psymbol
a:BTC:s string (TECH) saldo in psymbol
oorder string underlying order id for position opening
lremains string (TECH) amount of borrowed funds to be returned by user
slremains string (TECH) remains of slamount to return
status string position's current status (e.g. a for active)
a:USD:cds string (TECH) equation c==d, s==0
Examples

application/json

{
  "e": "get_position",
  "ok": "ok",
  "data": {
    "user": "ud100036721",
    "pair": "BTC:USD",
    "amount": "1.00000000",
    "symbol": "BTC",
    "msymbol": "USD",
    "omamount": "1528.77",
    "lsymbol": "USD",
    "lamount": "3057.53",
    "slamount": "3380.11",
    "leverage": "3",
    "stopLossPrice": "3380.1031",
    "dfl": "3380.10310000",
    "flPrice": "3057.53333333",
    "otime": 1513002370342,
    "psymbol": "BTC",
    "ptype": "long",
    "ofee": "10",
    "pfee": "10",
    "cfee": "10",
    "tfeeAmount": "152.88",
    "rinterval": "14400000",
    "okind": "Manual",
    "a:BTC:c": "1.00000000",
    "a:BTC:s": "1.00000000",
    "oorder": "89101551",
    "pamount": "1.00000000",
    "lremains": "3057.53",
    "slremains": "3380.11",
    "oprice": "4586.3000",
    "status": "a",
    "id": "125531",
    "a:USD:cds": "4739.18"
  }
}

Open positions

POST http://bitcoin28.cryptofiles.ru/api/open_positions/{symbol1}/{symbol2}

Request

Parameters
Position Name Type Description
path symbol1 string The first currency code
path symbol2 string The second currency code
body body EmptyPrivateRequest
Example
{
  "key": "HLixH1aYdOIWOoRyoHkFpHlawrM",
  "signature": "0BDEDB9339DCE83D46F09A1527663762B52C8B12BCD1910E685BEAFEEABECFF9",
  "nonce": "1513175715"
}

Responses

Code 200: OK. The response does not contain all info on the position - use open-positions call to get complete information on open positions

Schema:

Name Type Description
extends APIResponse Base response schema
data FullPosition ]
Examples

application/json

{
  "e": "open_positions",
  "ok": "ok",
  "data": [
    {
      "user": "ud100036721",
      "id": "104102",
      "otime": 1475602208467,
      "symbol": "BTC",
      "amount": "1.00000000",
      "leverage": "2",
      "ptype": "long",
      "psymbol": "BTC",
      "msymbol": "USD",
      "lsymbol": "USD",
      "pair": "BTC:USD",
      "oprice": "607.5000",
      "stopLossPrice": "520.3232",
      "ofee": "1",
      "pfee": "3",
      "cfee": "4",
      "tfeeAmount": "3.04",
      "pamount": "1.00000000",
      "omamount": "303.75",
      "lamount": "303.75",
      "oorder": "34106774",
      "rinterval": "14400000",
      "dfl": "520.32320000",
      "slamount": "520.33",
      "slremains": "520.33",
      "lremains": "303.75",
      "flPrice": "303.75000000",
      "a:BTC:c": "1.00000000",
      "a:BTC:s": "1.00000000",
      "a:USD:cds": "610.54"
    }
  ]
}

Close position

POST http://bitcoin28.cryptofiles.ru/api/close_position/{symbol1}/{symbol2}

Request

Parameters
Position Name Type Description
path symbol1 string The first currency code
path symbol2 string The second currency code
body body PositionRequest
Example
{
  "key": "HLixH1aYdOIWOoRyoHkFpHlawrM",
  "signature": "0BDEDB9339DCE83D46F09A1527663762B52C8B12BCD1910E685BEAFEEABECFF9",
  "nonce": "1513175715",
  "id": 89067468
}

Responses

Code 200: OK

Schema:

Name Type Description
extends APIResponse Base response schema
data
id number the position id
ctime number timestamp the position was closed at
ptype string position type. long - buying product, profitable if product price grows; short - selling product, profitable if product price falls;
msymbol string currency, in which user gained or lost
price string price the position was closed at, calculated as average of underlying executed orders
pair object trading pair as a list of two symbols, presents the pair according to requested URL
profit string positive if user gained, negative - if lost, presented in currency msymbol
Examples

application/json

{
  "e": "close_position",
  "ok": "ok",
  "data": {
    "id": 104034,
    "ctime": 1475484981063,
    "ptype": "long",
    "msymbol": "USD",
    "pair": {
      "symbol1": "BTC",
      "symbol2": "USD"
    },
    "price": "607.1700",
    "profit": "-12.48"
  }
}

Archived positions

POST http://bitcoin28.cryptofiles.ru/api/archived_positions/{symbol1}/{symbol2}

Request

Parameters
Position Name Type Description
path symbol1 string The first currency code
path symbol2 string The second currency code
body body EmptyPrivateRequest
Example
{
  "key": "HLixH1aYdOIWOoRyoHkFpHlawrM",
  "signature": "0BDEDB9339DCE83D46F09A1527663762B52C8B12BCD1910E685BEAFEEABECFF9",
  "nonce": "1513175715"
}

Responses

Code 200: OK

Schema:

Name Type Description
extends APIResponse Base response schema
data ArchivedPosition ]
Examples

application/json

{
  "e": "archived_positions",
  "ok": "ok",
  "data": [
    {
      "id": "125531",
      "otime": 1513002370342,
      "ctime": 1513009023003,
      "pair": "BTC:USD",
      "ptype": "long",
      "msymbol": "USD",
      "omamount": "1528.77000000",
      "cmamount": "1377.14000000",
      "pamount": "1.00000000",
      "psymbol": "BTC",
      "lsymbol": "USD",
      "lamount": "3057.53000000",
      "dfl": "3380.10310000",
      "cfee": "10",
      "ofee": "10",
      "pfee": "10",
      "ckind": "Manual",
      "okind": "Manual",
      "amount": "1.00000000",
      "cprice": "4572.4",
      "oorder": "89101551",
      "oprice": "4586.3",
      "status": "c",
      "symbol": "BTC",
      "corders": "89101908",
      "flPrice": "3057.53333333",
      "leverage": "3",
      "lremains": "0.00",
      "slamount": "3380.11",
      "a:BTC:cds": "1.00000000",
      "a:USD:cds": "9311.57",
      "rinterval": "14400000",
      "slremains": "0.00",
      "tfeeAmount": "290.60",
      "stopLossPrice": "3380.1031"
    }
  ]
}

Get marginal fee

POST http://bitcoin28.cryptofiles.ru/api/get_marginal_fee/{symbol1}/{symbol2}

Request

Parameters
Position Name Type Description
path symbol1 string The first currency code
path symbol2 string The second currency code
body body EmptyPrivateRequest
Example
{
  "key": "HLixH1aYdOIWOoRyoHkFpHlawrM",
  "signature": "0BDEDB9339DCE83D46F09A1527663762B52C8B12BCD1910E685BEAFEEABECFF9",
  "nonce": "1513175715"
}

Responses

Code 200: OK

Schema:

Name Type Description
extends APIResponse Base response schema
data object returns marginal fee for user
Examples

application/json

{
  "e": "get_marginal_fee",
  "ok": "ok",
  "data": {
    "BTC:USD": {
      "short": {
        "2": [
          "1",
          "3",
          "4",
          "default"
        ],
        "3": [
          "10",
          "10",
          "10",
          "default"
        ]
      },
      "long": {
        "2": [
          "1",
          "3",
          "4",
          "default"
        ],
        "3": [
          "10",
          "10",
          "10",
          "default"
        ]
      }
    }
  }
}

Definitions

PriceStatsRequest

PriceStatsRequest

Name Type Description
lastHours integer past tense period till the current date in hours;
maxRespArrSize number maximal amount of price values in return.

ConvertRequest

ConvertRequest

Name Type Description
amnt string convertible amount. should be a positive number string.

CurrencyLimit

CurrencyLimit

Name Type Description
symbol1 string Currency code
symbol2 string Currency code
minLotSize number
minLotSizeS2 number
maxLotSize number
minPrice string
maxPrice string

Position

Position

Name Type Description
id number the position id
otime number timestamp the position was opened at
psymbol string currency, in which the position was opened (product)
msymbol string currency, in which user is going to gain profit, can be one of the currencies, presented in the pair
lsymbol string currency of borrowed funds, can be one of the currencies, presented in the pair
pair object trading pair as a list of two symbols, presents the pair according to requested URL
pamount string total position amount, presented in "psymbol"
omamount string ("open money amount') user's amount used in the position, presented in 'msymbol"
lamount string amount of borrowed funds in the position, presented in "lsymbol"
oprice string price the position was opened at, calculated as average of underlying executed orders
ptype string position type. long - buying product, profitable if product price grows; short - selling product, profitable if product price falls;
stopLossPrice string price near which your position will be closed automatically in case of unfavorable market conditions
pfee string estimated fee (in %) from user's amount, that will be charged for position rollover for the next 4 hours
cfee string fee (in %) from user's amount, that will be charged for position closing
tfeeAmount string total fees paid by user, it is equal to opening fee amount, when position has been just opened

FullPosition

FullPosition

Name Type Description
id string position id
otime number timestamp the position was opened at
psymbol string currency, in which the position was opened (product)
msymbol string currency, in which user is going to gain profit, can be one of the currencies, presented in the pair
lsymbol string currency of borrowed funds, can be one of the currencies, presented in the pair
pair string trading pair as a string like "XXX:XXX"
pamount string total position amount, presented in "psymbol"
omamount string ("open money amount') user's amount used in the position, presented in 'msymbol"
lamount string amount of borrowed funds in the position, presented in "lsymbol"
oprice string price the position was opened at, calculated as average of underlying executed orders
ptype string position type. long - buying product, profitable if product price grows; short - selling product, profitable if product price falls;
stopLossPrice string price, near which your position will be closed automatically in case of unfavorable market conditions
pfee string estimated fee (in %) from user's amount, that will be charged for position rollover for the next 4 hours
cfee string fee (in %) from user's amount, that will be charged for position closing
tfeeAmount string total fees paid by user, it is equal to opening fee amount, when position has been just opened
user string User ID
amount string total amount of "product" in the position
symbol string total amount of product in the position
slamount string (stop-loss amount) amount that will be returned, including user`s and borrowed funds
leverage string leverage, with which the position was opened
dfl string (TECH) desired fast liquidation price
flPrice string (TECH) estimated price of total loss
ofee string fee (in %) from user's amount, that was charged for position opening
rinterval string rollover interval in miliseconds
okind string how the position was opened
a:BTC:c string (TECH) credit in psymbol
a:BTC:s string (TECH) saldo in psymbol
oorder string underlying order id for position opening
lremains string (TECH) amount of borrowed funds to be returned by user
slremains string (TECH) remains of slamount to return
status string position's current status (e.g. a for active)
a:USD:cds string (TECH) equation c==d, s==0

ArchivedPosition

ArchivedPosition

Name Type Description
id string position id
otime number timestamp the position was opened at
psymbol string currency, in which the position was opened (product)
msymbol string currency, in which user is going to gain profit, can be one of the currencies, presented in the pair
lsymbol string currency of borrowed funds, can be one of the currencies, presented in the pair
pair string trading pair as a string like "XXX:XXX"
pamount string total position amount, presented in "psymbol"
omamount string ("open money amount') user's amount used in the position, presented in 'msymbol"
lamount string amount of borrowed funds in the position, presented in "lsymbol"
oprice string price the position was opened at, calculated as average of underlying executed orders
ptype string position type. long - buying product, profitable if product price grows; short - selling product, profitable if product price falls;
stopLossPrice string price, near which your position will be closed automatically in case of unfavorable market conditions
pfee string estimated fee (in %) from user's amount, that will be charged for position rollover for the next 4 hours
cfee string fee (in %) from user's amount, that will be charged for position closing
tfeeAmount string total fees paid by user, it is equal to opening fee amount, when position has been just opened
user string User ID
amount string total amount of "product" in the position
symbol string total amount of product in the position
slamount string (stop-loss amount) amount that will be returned, including user`s and borrowed funds
leverage string leverage, with which the position was opened
dfl string (TECH) desired fast liquidation price
flPrice string (TECH) estimated price of total loss
ofee string fee (in %) from user's amount, that was charged for position opening
rinterval string rollover interval in miliseconds
okind string how the position was opened
a:BTC:c string (TECH) credit in psymbol
a:BTC:s string (TECH) saldo in psymbol
oorder string underlying order id for position opening
lremains string (TECH) amount of borrowed funds to be returned by user
slremains string (TECH) remains of slamount to return
status string position's current status (e.g. a for active)
a:USD:cds string (TECH) equation c==d, s==0
cmamount string ("close money amount') user"s amount used in the position, presented in msymbol
cprice string price the position was closed at, calculated as average of underlying executed orders
corders string list of underlying orders for position closing
ctime string timestamp the position was closed at
ckind string how the position was closed

Fee

Fee description

Name Type Description
buy string
buyMaker string
sell string
sellMaker string

OrderStatus

Order status

Type: string

ResponseStatus

Response status

Type: string

OrderType

Order type

Type: string

ShortOrder

Order object (some fields omitted)

Name Type Description
id string order id
time string timestamp
type string Order type
price string price
amount string amount
pending string pending amount (if partially executed)
symbol1 string Currency code
symbol2 string Currency code
symbol1Amount string
symbol2Amount string

FullOrder

FullOrder

Name Type Description
id string order id
time string timestamp
type string Order type
price string price
amount string amount
pending string pending amount (if partially executed)
symbol1 string Currency code
symbol2 string Currency code
symbol1Amount string
symbol2Amount string
lastTxTime string Time in unix time OR in ISO format
tradingFeeUserVolumeAmount string
ta:{symbol2} string total amount in current currency (Maker)
tta:{symbol2} string total amount in current currency (Taker)
fa:{symbol2} string fee amount in current currency (Maker)
tfa:{symbol2} string fee amount in current currency (Taker)
a:{symbol1}:cds string credit, debit and saldo merged amount in current currency
tradingFeeMaker string fee % value of Maker transactions
tradingFeeTaker string fee % value of Taker transactions
tradingFeeStrategy string
remains string
orderId string
pos string

OrderWithTransactions

OrderWithTransactions

Name Type Description
id string order id
time string timestamp
type string Order type
price string price
amount string amount
pending string pending amount (if partially executed)
symbol1 string Currency code
symbol2 string Currency code
symbol1Amount string
symbol2Amount string
lastTxTime string Time in unix time OR in ISO format
tradingFeeUserVolumeAmount string
ta:{symbol2} string total amount in current currency (Maker)
tta:{symbol2} string total amount in current currency (Taker)
fa:{symbol2} string fee amount in current currency (Maker)
tfa:{symbol2} string fee amount in current currency (Taker)
a:{symbol1}:cds string credit, debit and saldo merged amount in current currency
tradingFeeMaker string fee % value of Maker transactions
tradingFeeTaker string fee % value of Taker transactions
tradingFeeStrategy string
remains string
orderId string order id
pos string
next boolean
prev boolean
vtx Transaction ]

Transaction

Transaction

Name Type Description
id string
type string Order type
time string
user string User id
c string
d string
a string
amount string
balance string
symbol string Currency code
symbol1 string Currency code
symbol2 string Currency code
order string order id
buy string order id
sell string order id
pair string
pos string
cs string
ds number
fee_amount number
price number

Symbol

Currency code

Type: string

Balance

Balance

Name Type Description
available string available balance
orders string balance in pending orders
bonus string referral program bonus

API key

Your own API key. To get an API key, go to Account -> API Access Tab. Set permissions and click "Generate key".

Type: string

nonce

The nonce is a regular integer number. It must be increasing with every request you make. Read more about it here. Example - if you set nonce to 1 in your first request, you must set it to at least 2 in your second request. You are not required to start with 1. A common practice is to use unix time for that parameter.

Type: string

signature

An HMAC-SHA256 encoded message containing - a nonce, user ID and API key. The HMAC-SHA256 code must be generated using a secret key that was generated with your API key. This code must be converted to its hexadecimal representation (64 uppercase characters).

Type: string

EmptyPrivateRequest

EmptyPrivateRequest

Name Type Description
key string Your own API key. To get an API key, go to Account -> API Access Tab. Set permissions and click "Generate key".
signature string An HMAC-SHA256 encoded message containing - a nonce, user ID and API key. The HMAC-SHA256 code must be generated using a secret key that was generated with your API key. This code must be converted to its hexadecimal representation (64 uppercase characters).
nonce string The nonce is a regular integer number. It must be increasing with every request you make. Read more about it here. Example - if you set nonce to 1 in your first request, you must set it to at least 2 in your second request. You are not required to start with 1. A common practice is to use unix time for that parameter.

IDRequest

Private request that contains some entity's ID

Name Type Description
key string Your own API key. To get an API key, go to Account -> API Access Tab. Set permissions and click "Generate key".
signature string An HMAC-SHA256 encoded message containing - a nonce, user ID and API key. The HMAC-SHA256 code must be generated using a secret key that was generated with your API key. This code must be converted to its hexadecimal representation (64 uppercase characters).
nonce string The nonce is a regular integer number. It must be increasing with every request you make. Read more about it here. Example - if you set nonce to 1 in your first request, you must set it to at least 2 in your second request. You are not required to start with 1. A common practice is to use unix time for that parameter.
id number

ArchivedOrdersRequest

ArchivedOrdersRequest

Name Type Description
key string Your own API key. To get an API key, go to Account -> API Access Tab. Set permissions and click "Generate key".
signature string An HMAC-SHA256 encoded message containing - a nonce, user ID and API key. The HMAC-SHA256 code must be generated using a secret key that was generated with your API key. This code must be converted to its hexadecimal representation (64 uppercase characters).
nonce string The nonce is a regular integer number. It must be increasing with every request you make. Read more about it here. Example - if you set nonce to 1 in your first request, you must set it to at least 2 in your second request. You are not required to start with 1. A common practice is to use unix time for that parameter.
limit integer limit the number of entries in response
dateTo integer end date for open orders filtering (unix timestamp in seconds, 10 digits), inclusive
dateFrom integer start date for open order filtering (unix timestamp in seconds, 10 digits), inclusive
lastTxDateTo integer end date for last change orders filtering (unix timestamp in seconds, 10 digits), inclusive
lastTxDateFrom integer start date for last change order filtering (unix timestamp in seconds, 10 digits), inclusive
status string Order status

ActiveOrdersRequest

ActiveOrdersRequest

Name Type Description
key string Your own API key. To get an API key, go to Account -> API Access Tab. Set permissions and click "Generate key".
signature string An HMAC-SHA256 encoded message containing - a nonce, user ID and API key. The HMAC-SHA256 code must be generated using a secret key that was generated with your API key. This code must be converted to its hexadecimal representation (64 uppercase characters).
nonce string The nonce is a regular integer number. It must be increasing with every request you make. Read more about it here. Example - if you set nonce to 1 in your first request, you must set it to at least 2 in your second request. You are not required to start with 1. A common practice is to use unix time for that parameter.
orders_list [ string ]

PlaceOrderRequest

PlaceOrderRequest

Name Type Description
key string Your own API key. To get an API key, go to Account -> API Access Tab. Set permissions and click "Generate key".
signature string An HMAC-SHA256 encoded message containing - a nonce, user ID and API key. The HMAC-SHA256 code must be generated using a secret key that was generated with your API key. This code must be converted to its hexadecimal representation (64 uppercase characters).
nonce string The nonce is a regular integer number. It must be increasing with every request you make. Read more about it here. Example - if you set nonce to 1 in your first request, you must set it to at least 2 in your second request. You are not required to start with 1. A common practice is to use unix time for that parameter.
order_type string
type string Order type
amount number amount
price string price

OrderRequest

OrderRequest

Name Type Description
key string Your own API key. To get an API key, go to Account -> API Access Tab. Set permissions and click "Generate key".
signature string An HMAC-SHA256 encoded message containing - a nonce, user ID and API key. The HMAC-SHA256 code must be generated using a secret key that was generated with your API key. This code must be converted to its hexadecimal representation (64 uppercase characters).
nonce string The nonce is a regular integer number. It must be increasing with every request you make. Read more about it here. Example - if you set nonce to 1 in your first request, you must set it to at least 2 in your second request. You are not required to start with 1. A common practice is to use unix time for that parameter.
id number Order ID

AddressRequest

AddressRequest

Name Type Description
key string Your own API key. To get an API key, go to Account -> API Access Tab. Set permissions and click "Generate key".
signature string An HMAC-SHA256 encoded message containing - a nonce, user ID and API key. The HMAC-SHA256 code must be generated using a secret key that was generated with your API key. This code must be converted to its hexadecimal representation (64 uppercase characters).
nonce string The nonce is a regular integer number. It must be increasing with every request you make. Read more about it here. Example - if you set nonce to 1 in your first request, you must set it to at least 2 in your second request. You are not required to start with 1. A common practice is to use unix time for that parameter.
currency string Currency code

CancelReplaceOrderRequest

CancelReplaceOrderRequest

Name Type Description
key string Your own API key. To get an API key, go to Account -> API Access Tab. Set permissions and click "Generate key".
signature string An HMAC-SHA256 encoded message containing - a nonce, user ID and API key. The HMAC-SHA256 code must be generated using a secret key that was generated with your API key. This code must be converted to its hexadecimal representation (64 uppercase characters).
nonce string The nonce is a regular integer number. It must be increasing with every request you make. Read more about it here. Example - if you set nonce to 1 in your first request, you must set it to at least 2 in your second request. You are not required to start with 1. A common practice is to use unix time for that parameter.
type string Order type
amount number amount
price number price
order_id string order id

OpenPositionOrderRequest

OpenPositionOrderRequest

Name Type Description
key string Your own API key. To get an API key, go to Account -> API Access Tab. Set permissions and click "Generate key".
signature string An HMAC-SHA256 encoded message containing - a nonce, user ID and API key. The HMAC-SHA256 code must be generated using a secret key that was generated with your API key. This code must be converted to its hexadecimal representation (64 uppercase characters).
nonce string The nonce is a regular integer number. It must be increasing with every request you make. Read more about it here. Example - if you set nonce to 1 in your first request, you must set it to at least 2 in your second request. You are not required to start with 1. A common practice is to use unix time for that parameter.
symbol string currency to buy
amount number total amount of product to buy using borrowed funds and user's funds
msymbol string currency of user funds used, may be one of currencies in the pair, default is second currency in the pair
leverage number leverage ratio of total funds (user's and borrowed) to user's funds; for example - leverage=3 means - ratio total/user's=3:1, margin=33.(3)%, 1/3 is users, 2/3 are borrowed; Note that in UI it will be presented as 1/3
ptype string position type. long - buying product, profitable if product price grows; short - selling product, profitable if product price falls;
anySlippage string allows to open position at changed price
eoprice number estimated price at which your position will be opened
stopLossPrice string price near which your position will be closed automatically in case of unfavorable market conditions

PositionRequest

PositionRequest

Name Type Description
key string Your own API key. To get an API key, go to Account -> API Access Tab. Set permissions and click "Generate key".
signature string An HMAC-SHA256 encoded message containing - a nonce, user ID and API key. The HMAC-SHA256 code must be generated using a secret key that was generated with your API key. This code must be converted to its hexadecimal representation (64 uppercase characters).
nonce string The nonce is a regular integer number. It must be increasing with every request you make. Read more about it here. Example - if you set nonce to 1 in your first request, you must set it to at least 2 in your second request. You are not required to start with 1. A common practice is to use unix time for that parameter.
id number Position ID

PairPrice

PairPrice

Name Type Description
curr1 string Currency code
curr2 string Currency code
lprice string last price of selling/buying the first currency relative to the second one. If there are no such executed orders, then lprice will equal to 0.

Ticker

Ticker

Name Type Description
bid number Highest buy order
ask number Lowest sell order
low string Last 24 hours price low
high string Last 24 hours price high
last string Last price
volume string Last 24 hours volume
volume30d string Last 30 days volume
timestamp string

APIResponse

APIResponse

Name Type Description
e string Event type
data object Operation result
ok string Response status
error string Error message