Author

Topic: API call for BitcoinsNorway.com (Read 606 times)

newbie
Activity: 26
Merit: 0
July 14, 2014, 03:35:59 PM
#1
We have added a new API call for BitcoinsNorway. This GetTradesByDate call will accept a product pair, start date and end date
Sample JSON request:
"{\"ins\":\"BTCUSD\",\"startDate\":1404946873,\"endDate\":1404947473}"
startDate and endDate is in unix time.

Sample Response:
{"isAccepted":true,"dateTimeUtc":635405444199837968,"ins":"BTCUSD","startDate":1404944027,"endDate":1404947627,"trades":[{"tid":64426,"px":616.1,"qty":0.0198,"unixtime":1404944028,"utcticks":635405408280421875,"incomingOrderSide":1,"incomingServerOrderId":11182918,"bookServerOrderId":11180666},{"tid":64427,"px":616.1,"qty":0.04482416,"unixtime":1404944030,"utcticks":635405408302189453,"incomingOrderSide":1,"incomingServerOrderId":11182935,"bookServerOrderId":11180666},{"tid":64428,"px":616.1,"qty":0.0198,"unixtime":1404944032,"utcticks":635405408321945312,"incomingOrderSide":1,"incomingServerOrderId":11182948,"bookServerOrderId":11180666},{"tid":64429,"px":616.1,"qty":0.3908319,"unixtime":1404944034,"utcticks":635405408346486328,"incomingOrderSide":1,"incomingServerOrderId":11182960,"bookServerOrderId":11180666},{"tid":64430,"px":616.1,"qty":0.04482416,"unixtime":1404944042,"utcticks":635405408420578125,"incomingOrderSide":1,"incomingServerOrderId":11183013,"bookServerOrderId":11180666}]}


https://bitcoinsnorway.com/apiref/
Best regards, Bitcoinsnorway.com
Jump to: