Coinroom API [Unused] - LabMazurokCom/Blockchain GitHub Wiki

Intro

Website: https://coinroom.com

Base endpoint: https://coinroom.com/public-api

Documentation: https://coinroom.com/public-api

Limits: unknown

Order book

curl -X POST "https://coinroom.com/api/orderbook" -H "accept: application/json" -H "content-type: application/x-www-form-urlencoded" -d "realCurrency=USD&cryptoCurrency=BTC"

Response:

{
  "data": {
    "asks": [
      {
        "rate": 7622.1028,
        "amount": 0.6946345,
        "price": 5294.5755
      },
      {
        "rate": 7683.551,
        "amount": 0.1168087,
        "price": 897.5056
      },
      {
        "rate": 7834.2039,
        "amount": 0.796054,
        "price": 6236.4493
      },
      {
        "rate": 7836.7113,
        "amount": 0.9375674,
        "price": 7347.445
      },
      {
        "rate": 8114.7208,
        "amount": 0.6591803,
        "price": 5349.064
      },
      {
        "rate": 8190.5866,
        "amount": 0.9695247,
        "price": 7940.976
      },
      {
        "rate": 8202.0824,
        "amount": 0.5422157,
        "price": 4447.2978
      },
      {
        "rate": 8214.4377,
        "amount": 0.8361019,
        "price": 6868.1069
      },
      {
        "rate": 8214.5637,
        "amount": 0.8504445,
        "price": 6986.0305
      },
      {
        "rate": 8359.9955,
        "amount": 0.31063259,
        "price": 2596.8871
      },
      {
        "rate": 8379.8537,
        "amount": 0.1297303,
        "price": 1087.1209
      },
      {
        "rate": 8380.9596,
        "amount": 0.9669169,
        "price": 8103.6914
      },
      {
        "rate": 8381.8123,
        "amount": 0.2064374,
        "price": 1730.3195
      },
      {
        "rate": 8382.6317,
        "amount": 0.6208804,
        "price": 5204.6117
      },
      {
        "rate": 8383.8726,
        "amount": 0.0919582,
        "price": 770.9658
      },
      {
        "rate": 8457.6531,
        "amount": 0.0326708,
        "price": 276.3182
      },
      {
        "rate": 8458.1947,
        "amount": 0.2278663,
        "price": 1927.3375
      },
      {
        "rate": 8458.7946,
        "amount": 0.6071613,
        "price": 5135.8527
      },
      {
        "rate": 8459.5841,
        "amount": 0.4273743,
        "price": 3615.4088
      },
      {
        "rate": 8469.1744,
        "amount": 0.3709586,
        "price": 3141.713
      },
      {
        "rate": 8472.6128,
        "amount": 0.0893522,
        "price": 757.0465
      },
      {
        "rate": 8494.2434,
        "amount": 0.2175755,
        "price": 1848.1392
      },
      {
        "rate": 9898.7,
        "amount": 0.00158246,
        "price": 15.6642
      },
      {
        "rate": 12436.0355,
        "amount": 0.00237501,
        "price": 29.5357
      },
      {
        "rate": 16000,
        "amount": 0.0103326,
        "price": 165.3217
      },
      {
        "rate": 19999,
        "amount": 0.002,
        "price": 39.998
      },
      {
        "rate": 29999,
        "amount": 0.002,
        "price": 59.998
      }
    ],
    "bids": [
      {
        "rate": 7561.3155,
        "amount": 0.18323081,
        "price": 1385.4659
      },
      {
        "rate": 7538.2949,
        "amount": 0.13073248,
        "price": 985.4999
      },
      {
        "rate": 7441.9932,
        "amount": 0.1343726,
        "price": 999.9999
      },
      {
        "rate": 7311.7852,
        "amount": 0.7437281,
        "price": 5437.9801
      },
      {
        "rate": 7265.83,
        "amount": 0.8621101,
        "price": 6263.9454
      },
      {
        "rate": 7085.0341,
        "amount": 0.0194114,
        "price": 137.5304
      },
      {
        "rate": 6988.9461,
        "amount": 0.070016,
        "price": 489.338
      },
      {
        "rate": 6979.4747,
        "amount": 0.2994206,
        "price": 2089.7985
      },
      {
        "rate": 6851.7083,
        "amount": 0.7953702,
        "price": 5449.6446
      },
      {
        "rate": 6805.7053,
        "amount": 0.3252751,
        "price": 2213.7264
      },
      {
        "rate": 6151.0939,
        "amount": 0.7426589,
        "price": 4568.1646
      },
      {
        "rate": 6104.5364,
        "amount": 0.2915217,
        "price": 1779.6048
      },
      {
        "rate": 6091.9128,
        "amount": 0.7239833,
        "price": 4410.4431
      },
      {
        "rate": 6078.8302,
        "amount": 0.5627477,
        "price": 3420.8477
      },
      {
        "rate": 6077.934,
        "amount": 0.1644964,
        "price": 999.7982
      },
      {
        "rate": 6077.5111,
        "amount": 0.4959253,
        "price": 3013.9915
      },
      {
        "rate": 6074.0255,
        "amount": 0.4994374,
        "price": 3033.5955
      },
      {
        "rate": 6070.5263,
        "amount": 0.5396171,
        "price": 3275.7597
      },
      {
        "rate": 6066.4671,
        "amount": 0.0671367,
        "price": 407.2825
      },
      {
        "rate": 6064.1413,
        "amount": 0.4546451,
        "price": 2757.0321
      },
      {
        "rate": 6058.4624,
        "amount": 0.3562059,
        "price": 2158.06
      },
      {
        "rate": 6049.996,
        "amount": 0.4761065,
        "price": 2880.4424
      },
      {
        "rate": 6047.4165,
        "amount": 0.2385404,
        "price": 1442.5531
      },
      {
        "rate": 6046.4599,
        "amount": 0.103922,
        "price": 628.3602
      },
      {
        "rate": 6045.5487,
        "amount": 0.5827844,
        "price": 3523.2514
      },
      {
        "rate": 6044.1136,
        "amount": 0.4683383,
        "price": 2830.6898
      },
      {
        "rate": 6041.9942,
        "amount": 0.504508,
        "price": 3048.2344
      },
      {
        "rate": 6040.1114,
        "amount": 0.280372,
        "price": 1693.4781
      },
      {
        "rate": 6040.0714,
        "amount": 0.6712606,
        "price": 4054.4619
      },
      {
        "rate": 6032.4077,
        "amount": 0.0209107,
        "price": 126.1418
      },
      {
        "rate": 6027.525,
        "amount": 0.9122803,
        "price": 5498.7923
      },
      {
        "rate": 1,
        "amount": 3,
        "price": 3
      }
    ]
  },
  "result": true
}

Or

https://coinroom.com/api/offers/BTC/USD

Response:

{
  "asks": [
    [
      7622.1028,
      0.6946345
    ],
    [
      7683.551,
      0.1168087
    ],
    [
      7834.2039,
      0.796054
    ],
    [
      7836.7113,
      0.9375674
    ],
    [
      8190.5866,
      0.9695247
    ],
    [
      8202.0824,
      0.5422157
    ],
    [
      8214.4377,
      0.8361019
    ],
    [
      8214.5637,
      0.8504445
    ],
    [
      8359.9955,
      0.3106326
    ],
    [
      8362.5865,
      0.4008461
    ],
    [
      8379.8537,
      0.1297303
    ],
    [
      8380.9596,
      0.9669169
    ],
    [
      8381.8123,
      0.2064374
    ],
    [
      8382.6318,
      0.6208804
    ],
    [
      8383.8726,
      0.0919582
    ],
    [
      8457.6531,
      0.0326708
    ],
    [
      8458.1947,
      0.2278663
    ],
    [
      8458.7946,
      0.6071613
    ],
    [
      8459.5841,
      0.4273743
    ],
    [
      8469.1744,
      0.3709586
    ],
    [
      8472.6128,
      0.0893522
    ],
    [
      8494.2434,
      0.2175755
    ],
    [
      9898.7,
      0.00158246
    ],
    [
      12436.0355,
      0.00237501
    ],
    [
      16000,
      0.0103326072
    ],
    [
      19999,
      0.002
    ],
    [
      29999,
      0.002
    ]
  ],
  "bids": [
    [
      7561.3155,
      0.1832308143599
    ],
    [
      7538.2949,
      0.13073248169158
    ],
    [
      7441.9932,
      0.13437260329665
    ],
    [
      7311.7852,
      0.74372810000074
    ],
    [
      7265.83,
      0.86211010000086
    ],
    [
      7085.0341,
      0.019411400000019
    ],
    [
      6988.9461,
      0.07001600000007
    ],
    [
      6979.4747,
      0.2994206000003
    ],
    [
      6851.7083,
      0.7953702000008
    ],
    [
      6805.7053,
      0.32527510000033
    ],
    [
      6151.0939,
      0.74265890000074
    ],
    [
      6104.5364,
      0.29152170000029
    ],
    [
      6091.9128,
      0.72398330000072
    ],
    [
      6078.8302,
      0.56274770000056
    ],
    [
      6077.934,
      0.16449640000016
    ],
    [
      6077.5111,
      0.4959253000005
    ],
    [
      6074.0255,
      0.4994374000005
    ],
    [
      6070.5263,
      0.53961710000054
    ],
    [
      6066.4671,
      0.067136700000067
    ],
    [
      6064.1413,
      0.45464510000045
    ],
    [
      6058.4624,
      0.35620590000036
    ],
    [
      6049.996,
      0.47610650000048
    ],
    [
      6047.4166,
      0.23854040000024
    ],
    [
      6046.4599,
      0.1039220000001
    ],
    [
      6045.5487,
      0.58278440000058
    ],
    [
      6044.1136,
      0.46833830000047
    ],
    [
      6041.9942,
      0.5045080000005
    ],
    [
      6040.1114,
      0.28037200000028
    ],
    [
      6040.0714,
      0.67126060000067
    ],
    [
      6032.4077,
      0.020910700000021
    ],
    [
      6027.525,
      0.91228030000091
    ],
    [
      1,
      3
    ]
  ]
}

Ticker

Best price/quantity on the order book for a symbol.

https://coinroom.com/api/ticker/BTC/USD

Response:

{
  "low": 7357.5249,
  "high": 7911.8233,
  "vwap": 7648.1426943646,
  "volume": 306.64884563,
  "last": 7652.8319,
  "ask": 7689.4687,
  "bid": 7561.3155
}