Pair

This API is to get aggregate, volatility and momentum for requested pair.

get
Get pair

https://datascience.api.dev.bitcurate.com/pair
This endpoint allows you to get aggregate, volatility and momentum for requested pair.
Request
Response
Query Parameters
hist_interval
optional
string
size of date histogram, example '1h'. Default is '1h', only accept 'Nt', N = positive integer, t = ['h', 'd', 'm']. If 'm', only accept more than or equal to 10.
after_date
optional
string
Start date to get the trend, format 'm/d/Y H:M'. Default is now.
before_date
optional
string
Start date to get the trend, format 'm/d/Y H:M'. Default is now minus 2 days.
pair
optional
string
pair, example 'ETH/USDT'. Default is 'ETH/USDT'.
exchange
optional
string
exchange, example 'binance'. Default is None. If None, it will average all exchanges for the pair.
200: OK
Successfully retrieved.
{
"close": [
220.77032730427194,
221.16217254189883,
221.0833721437316,
221.35304646949245,
221.3342577420748,
220.19184381498707,
218.02991234915598,
218.5665079381344,
219.7711933758242,
219.80307052047164,
216.76280787371206,
214.48952386038644,
214.5173110961914,
214.47190011662545,
214.8003328520676,
214.90689603365385,
214.32680615986862,
215.17368748391323,
216.22837306431362,
216.53086027922453,
216.49436290551586,
217.66384965659927,
216.69798166611616,
215.91702532087052,
215.5286666645723,
215.57339693975786,
216.76585046568914,
218.35597521193483,
218.71530301805953,
219.5356021710296,
219.3757203930486,
217.572648718002,
217.79177912959346,
218.5213541813034,
221.0797561645508,
221.91547410505532,
221.55335921135503,
222.053825266221,
221.4489597896878,
220.48926446097238,
220.32977126626406,
219.85462755475726,
220.56858957414147,
220.1702092114617,
213.21366004120532,
208.41917484828403,
205.81417869119082,
206.83477695382757,
206.88226013183595
],
"high": [
224.99574377181682,
224.99602856355554,
224.99594116210938,
224.99616356418557,
224.99584526648889,
224.99597036238197,
224.99599914550782,
224.99605755214273,
224.99602752036236,
224.99599914550782,
223.65583060444266,
223.241796875,
223.20744548124426,
223.2754068717682,
222.9196044921875,
223.60116530198317,
223.04980552359802,
223.45908941224565,
223.241796875,
223.241796875,
223.2086636157746,
223.17359556768932,
223.37765110240264,
222.3316155569894,
222.29440891041475,
222.2953872139572,
221.42871845302298,
221.4454866233447,
221.22365032787053,
220.72536172439803,
220.4817277671647,
220.46806173121675,
220.44258886266638,
220.17333611138432,
221.87459825788224,
223.17201667284442,
223.1844453673432,
223.1805166356704,
223.18313280283976,
223.1818389892578,
223.1805166356704,
223.1818389892578,
223.18313280283976,
223.1805166356704,
223.18313280283976,
223.1818389892578,
223.1805166356704,
223.18313280283976,
223.1818389892578
],
"low": [
209.2181299087849,
209.61370389601763,
209.6648227857507,
210.69872628825985,
210.34708580603967,
211.80911046309436,
212.89060134887694,
214.5493483717424,
214.5902533565007,
215.30740198206018,
215.1667050347812,
213.5724272591727,
212.9887612286736,
212.98591580836893,
213.00081260944236,
212.97227689302883,
212.96123692760727,
212.91430025322492,
212.918603515625,
212.918603515625,
212.91925968684203,
212.91995417462647,
212.91588233498965,
212.918603515625,
212.91928381078384,
212.91925968684203,
212.91791306680707,
212.91925968684203,
212.91990661621094,
212.91791306680707,
212.91657752712277,
212.91925968684203,
212.918603515625,
212.9179379030955,
214.09857788085938,
214.28954710577526,
214.24617712048516,
214.35765647888184,
214.30995156267565,
214.3428161621094,
214.4269920797909,
215.1797073364258,
215.2027299181163,
215.2562894260182,
210.89849414413783,
206.96636548723492,
204.32136726379395,
203.24796673891356,
203.24852294921874
],
"momentum": 93.70926911147119,
"open": [
214.17419011542137,
215.28504315544578,
212.39964703546053,
212.12973774949165,
212.35347642164965,
212.5217910876377,
213.58243560791016,
216.34367882944372,
215.8244654878657,
216.27996893988714,
218.78161853292713,
221.51542609078544,
221.44569307215073,
220.93808993332678,
220.63959413725755,
220.39935185359076,
220.23162664126045,
220.9733316584151,
220.8118537902832,
221.25336348922164,
221.07503417535875,
221.17844819674528,
222.2927329119514,
219.66632123674665,
219.9239678102381,
220.4833701925075,
220.4711296878644,
220.60549688677415,
220.5228084510481,
219.62535368506587,
217.9720308624045,
218.35160329832252,
219.33270229763454,
219.28881374880564,
217.15369382585797,
215.34749809320826,
215.37739198104194,
215.4134355432847,
215.64777533441998,
215.91831501552036,
215.32686300838694,
215.9340388706752,
216.73988210554603,
217.00705326304717,
216.9541475584181,
217.88932102748325,
217.11071597828584,
216.49064756983475,
216.3861550225152
],
"timestamp": [
"2019-07-25T14:00:00",
"2019-07-25T15:00:00",
"2019-07-25T16:00:00",
"2019-07-25T17:00:00",
"2019-07-25T18:00:00",
"2019-07-25T19:00:00",
"2019-07-25T20:00:00",
"2019-07-25T21:00:00",
"2019-07-25T22:00:00",
"2019-07-25T23:00:00",
"2019-07-26T00:00:00",
"2019-07-26T01:00:00",
"2019-07-26T02:00:00",
"2019-07-26T03:00:00",
"2019-07-26T04:00:00",
"2019-07-26T05:00:00",
"2019-07-26T06:00:00",
"2019-07-26T07:00:00",
"2019-07-26T08:00:00",
"2019-07-26T09:00:00",
"2019-07-26T10:00:00",
"2019-07-26T11:00:00",
"2019-07-26T12:00:00",
"2019-07-26T13:00:00",
"2019-07-26T14:00:00",
"2019-07-26T15:00:00",
"2019-07-26T16:00:00",
"2019-07-26T17:00:00",
"2019-07-26T18:00:00",
"2019-07-26T19:00:00",
"2019-07-26T20:00:00",
"2019-07-26T21:00:00",
"2019-07-26T22:00:00",
"2019-07-26T23:00:00",
"2019-07-27T00:00:00",
"2019-07-27T01:00:00",
"2019-07-27T02:00:00",
"2019-07-27T03:00:00",
"2019-07-27T04:00:00",
"2019-07-27T05:00:00",
"2019-07-27T06:00:00",
"2019-07-27T07:00:00",
"2019-07-27T08:00:00",
"2019-07-27T09:00:00",
"2019-07-27T10:00:00",
"2019-07-27T11:00:00",
"2019-07-27T12:00:00",
"2019-07-27T13:00:00",
"2019-07-27T14:00:00"
],
"volatility": 0.007392607018766188,
"volume": [
17128714.781914894,
15760082.215533089,
15413547.29981884,
13940615.866438355,
14884581.936538462,
14539071.37320144,
15137451.727232143,
14448721.922901459,
14262833.8089539,
14230738.919444444,
14359179.236865941,
13423923.902901785,
12844336.14016544,
12266905.176034173,
11212702.75625,
12588808.921875,
11170701.833476027,
12157801.74249031,
11756188.340625,
11674963.45625,
11535007.919547873,
11430674.235401459,
11760680.72633272,
10642730.656026786,
10161682.795036765,
10010169.028590426,
9808022.473414179,
10214208.856826242,
10294975.940140845,
10455875.087919775,
9916152.746122263,
9756135.009751773,
9807974.867708333,
9805178.410296762,
9952120.135491071,
9948471.833029198,
10303027.39039855,
10247833.033088235,
10307725.643435251,
10491510.54375,
10512141.651194854,
10579698.932142857,
10488419.761690648,
10170871.30813419,
11797937.627248202,
13677959.528125,
14633418.90992647,
15319586.522032375,
15401862.486805556
]
}
400: Bad Request
Errors from parameters given.
{
"message": "distance from 2 dates need less than 90 days",
"status": 400
}
{
"message": "hist_interval only accept ['h', 'd', 'm']",
"status": 400
}
{
"message": "hist_interval must Nt, N = positive integer, t = interval",
"status": 400
}
{
"message": "'m' size only accept more than or equal to 10",
"status": 400
}
{
"message": "data not available",
"status": 400
}

get
Get pair available

https://datascience.api.dev.bitcurate.com/pair_available
This endpoint allows you to available pairs and exchanges for /pair. This endpoint only returned top-100 pairs for last 100 hours inside our database, we have more than 2k unique pairs.
Request
Response
200: OK
Successfully retrieved.
{
"exchanges": [
"binance",
"gateio",
"bitfinex",
"bittrex",
"upbit",
"poloniex",
"kraken",
"cex",
"coinone",
"luno"
],
"pairs": [
"ETH/BTC",
"LTC/BTC",
"XRP/BTC",
"ZEC/BTC",
"BCH/BTC",
"DASH/BTC",
"XLM/BTC",
"EOS/BTC",
"ETC/BTC",
"QTUM/BTC",
"XMR/BTC",
"REP/ETH",
"OMG/BTC",
"QTUM/ETH",
"EOS/ETH",
"STORJ/BTC",
"ATOM/BTC",
"MANA/ETH",
"ZRX/ETH",
"BAT/ETH",
"GNT/ETH",
"DOGE/BTC",
"OMG/ETH",
"ZRX/BTC",
"BAT/BTC",
"SNT/BTC",
"REP/BTC",
"ETC/ETH",
"SNT/ETH",
"BNT/ETH",
"BSV/BTC",
"ADA/BTC",
"XLM/ETH",
"XVG/BTC",
"TRX/BTC",
"TRX/ETH",
"BTT/BTC",
"LRC/BTC",
"BAT/USDT",
"BTC/USDT",
"ETC/USDT",
"ETH/USDT",
"LTC/USDT",
"XMR/USDT",
"XRP/USDT",
"XEM/BTC",
"GNT/BTC",
"MANA/BTC",
"ZRX/USDT",
"BCH/USDT",
"DCR/BTC",
"POLY/BTC",
"LSK/BTC",
"BTS/BTC",
"DOGE/USDT",
"ZEC/USDT",
"CVC/ETH",
"BNT/BTC",
"DASH/USDT",
"ADA/USDT",
"TRX/USDT",
"ADA/ETH",
"NEO/BTC",
"BCH/USD",
"BTC/EUR",
"BTC/USD",
"BTG/BTC",
"ETH/USD",
"LTC/USD",
"MCO/ETH",
"POWR/BTC",
"TUSD/USDT",
"XRP/USD",
"ZEC/USD",
"ZIL/BTC",
"WAVES/BTC",
"IOST/BTC",
"RLC/BTC",
"ELF/BTC",
"RCN/BTC",
"XEM/ETH",
"ARDR/BTC",
"ATOM/USDT",
"EOS/USDT",
"XLM/USDT",
"KNC/ETH",
"DGB/BTC",
"ZEC/ETH",
"STRAT/BTC",
"LOOM/BTC",
"SC/BTC",
"NCASH/BTC",
"CVC/BTC",
"STEEM/BTC",
"VIA/BTC",
"NAV/BTC",
"OMG/USDT",
"POWR/ETH",
"GNO/ETH",
"PAX/USDT"
]
}