Public API


fsdajlkl
Gender: Unknown
Country: Unknown
Threads: 0, Posts: 1
#75

How can I get total coins?



Posted: 2/5/2018 4:45:18 AM
satoshi_nakamoto_911
Gender: Unknown
Country: Unknown
Threads: 0, Posts: 1
#77

i do it in browser - "https://www.cryptopia.co.nz/api/GetMarketOrders/215/5"  for BTA

 

{"Success":true,"Message":null,"Data":{"Buy":[],"Sell":[]},"Error":null}

 

error ?

 

sevenup: 2/22/2017 3:32:01 PM

You need to use the trade pair id, ie 2664 for BTA/BTC:

https://www.cryptopia.co.nz/api/GetMarketOrders/2664/5

hakan7punkt: 2/22/2017 8:14:51 PM

 Thanks!

I need MUSIC / BTC

Where i can see ID this pair?

Solved, i found 4942

Question.. only https supported to public method?

i need http like in bittrex.. Thanks

use http protocol

send:

GET /api/GetMarket/4942 HTTP/1.1
Host: cryptopia.co.nz
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; ru; rv:1.9.1) Gecko/20090624 Firefox/3.5


Receive...
<head><title>Document Moved</title></head>
<body><h1>Object Moved</h1>This document may be found <a HREF="https://www.cryptopia.co.nz/api/GetMarket/4942">here</a></body>    

 

How i can use http protocol? ( I can`t use https)..

 

 

Etar: 3/16/2017 8:13:23 AM

 

You wrote above:

Use .NET WebClient C# or C++.

I am useing C++ with .NET. and quiet good.

 



Posted: 2/7/2018 3:31:48 AM
Kessedy
Gender: Unknown
Country: Unknown
Threads: 0, Posts: 1
#78

Hello,

Since it seems that it's not possible to obtain more than 1000 results when using GetMarketHistory method, could you then, please, add trade ID to the returned data? So it will be possible to make multiple requests during several hours and to combine all data to have a statistics for a longer period?

Thank you.



Posted: 2/7/2018 5:28:48 PM
dj_tereano
Gender: Unknown
Country: Unknown
Threads: 0, Posts: 1
#79

Hello,

How can I get candlestick data like OHLC and volume at 30 minute interval? Get market API seems quite close but I cannot specify candlestick time frame length... thanks.

chenxee: 1/4/2018 9:37:04 AM

 

Same questions here. The GetMarket() request accepts a parameter 'hours', but what I receive is obviously not OHLC for hour candles compared with the charts.

1) How is it possible to receive OHLC for a certain interval?

2) What is the actual timeframe relation for the given OHLC when using GetMarket() and 'hours' parameter?



Posted: 2/8/2018 11:21:39 AM
coinmyne
Gender: Unknown
Country: Unknown
Threads: 4, Posts: 17
#80

Hello,

Since it seems that it's not possible to obtain more than 1000 results when using GetMarketHistory method, could you then, please, add trade ID to the returned data? So it will be possible to make multiple requests during several hours and to combine all data to have a statistics for a longer period?

Thank you.

Kessedy: 2/7/2018 5:28:48 PM

I agree. A unique trade identifier for each trade returned by the GetMarketHistory call would very helpful.



Posted: 2/12/2018 8:46:27 PM