Follow @nxtchg

API



Results are returned in JSON format. Prices are in mBTC. Time is UTC.

Orders

https://simxchg.com/api/orders.php

Each type is limited to 40.


Trades

https://simxchg.com/api/trades.php?from=2018-12-16+11:03:12

"from" can be any valid MySQL date string or empty. Trades are limited to 100.

To get 24 hours worth of trades:
• call it with initial timestamp (now - 24 hours)
• get timestamp of the last transaction (by max ID)
• call again with the new timestamp
• repeat until there are no more transactions


There is also a version with UNIX timestamps:

https://simxchg.com/api/trades_unix.php?from=1544958192