Public API


coinmyne
Gender: Unknown
Country: Unknown
Threads: 4, Posts: 17
#75

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
IanWothington
Gender: Unknown
Country: Unknown
Threads: 0, Posts: 1
#76

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?

dj_tereano: 2/8/2018 11:21:39 AM
And the same question again.  Can I get OHLC hourly history via this API or do I have to go to cryptocompare?

 



Posted: 2/19/2018 4:56:42 AM Edited: 2/19/2018 5:22:40 AM
danielkhalilov
Gender: Unknown
Country: Unknown
Threads: 0, Posts: 1
#77

Hello,

I would like to get for example the 7 last days of the pair SC/BTC for the closing value.

== SC/BTC ==

03/08/2017 : Close 0.000XXX
04/08/2017 : Close 0.000XXX
05/08/2017 : Close 0.000XXX
06/08/2017 : Close 0.000XXX
07/08/2017 : Close 0.000XXX

....

How can I get theses values ?

 

Thank's a lot

Ricoxor: 8/3/2017 12:18:20 PM

 

I have the same problem. Is there really no way to get historical prices with a specified fixed time interval (ie candle data)?



Posted: 2/20/2018 2:38:15 AM
masterbaiter
Gender: Unknown
Country: Unknown
Threads: 0, Posts: 1
#78

Hi,

can anybody explain the the following parameters to me?
(Result of a call to GetMarket on ETN/BTC pair)

"Volume":86946000.41546910,
"BuyVolume":73699475.92619470,
"SellVolume":57530351.10420557,

"BaseVolume": 1049.04260274,
"BaseBuyVolume": 224.56056735,
"BaseSellVolume": 29083580879.43240820

Shouldn't "Volume" be the sum of "BuyVolume" and "SellVolume"?
And what a weird number is that in "BaseSellVolume"? (looks like it's not in the base currency (BTC) but something in ETN?)

I thought the "regular" volume parameters are all the target currency (ETN in this case) and the "base" volume parameters are in the base currency (BTC in this case)?

wolf_reitsamer: 1/20/2018 5:47:08 PM

 

Same ask... anyone know the answer?



Posted: 2/22/2018 7:34:54 AM
berlincams
Gender: Unknown
Country: Unknown
Threads: 0, Posts: 1
#79

Hi guys,

 

I want to monitor the market and am therefore calling GetMarkets/BTC.

However, I notice that the values seem not to refresh between every calls:

When I look at the website, I see that the volume / price are changing but that these changes aren't reflected in what the API returns.

Eventually , after several seconds (sometimes 20), the values are updated.

Do you know if the data is being cached and if yes what is the refreshing frequency?

Thanks a lot!



Posted: 2/23/2018 8:55:57 PM
xalology
Gender: Unknown
Country: Unknown
Threads: 0, Posts: 1
#81

I want clarification on the trading direction field that is returned by the trading history API call:

GET https://www.cryptopia.co.nz/api/GetMarketHistory/ETH_BTC

The trade direction is encoded in the "Type" field, which can be one of "Buy" or "Sell". There is one of two ways this field could be interpreted, and I want to know which interpretation is correct.

Interpretation 1:

  • Sell means There was an EXISTING sell order in the orderbook, and the trade was triggered by a new buy order.
  • Buy means there was an EXISTING buy order in the orderbook, and the trade was triggered by a new sell order.

Interpretation 2:

  • Sell means There was an existing buy order in the orderbook, and the trade was TRIGGERED by a new sell order.
  • Buy means there was an existing sell order in the orderbook, and the trade was TRIGGERED by a new buy order.

Thanks in advance.



Posted: 4/5/2018 3:35:40 AM
SEFA
Gender: Unknown
Country: Unknown
Threads: 0, Posts: 2
#82

hesabımda bulunan putincoin  ve  ethereum u neden göremiyorum. hesabımda herşey 0 görünüyor bu nasıl olur böyle???



Posted: 4/11/2018 11:01:56 AM
SEFA
Gender: Unknown
Country: Unknown
Threads: 0, Posts: 2
#83

hesabımda bulunan putincoin  ve  ethereum u neden göremiyorum. hesabımda herşey 0 görünüyor. bu nasıl olur böyle???



Posted: 4/11/2018 11:06:13 AM
SalamanderNZ
Gender: Unknown
Country: Unknown
Threads: 0, Posts: 3
#84

I didn't knew it was so useful in my life, I'll study it bery hard in order to build some interesting tool to my personal usage.. Thank you very much!



Posted: 4/17/2018 11:01:05 PM
tomox
Gender: Unknown
Country: Unknown
Threads: 0, Posts: 1
#85

Is there a software which could show me a list of Cryptopia altcoins in certain buy orders BTC range?



Posted: Today 6:11:00 AM