http://108.6.212.149:8080/api/
In callback URLs, ?{}= denotes a parameter. For example, take the following request:
http://108.6.212.149:8080/api/accounts/user?username=
This request calls for a username, of which would be specified by adding a username after '?username='. All requests will return a JSON-formatted object.
All-Users (base callback):
GET: http://108.6.212.149:8080/api/accounts
Create an Account:
POST: http://108.6.212.149:8080/api/accounts/create?username=?email=?password=
Fetch Account Information:
GET: http://108.6.212.149:8080/api/accounts/user?username=
Update Account Information:
POST: http://108.6.212.149:8080/api/accounts/update?username=?email=?newpassword=?oldpassword=
Fetch Account Wallet Private Keys:
GET: http://108.6.212.149:8080/api/accounts/keys?username=?password=
Delete an Account:
DELETE: http://108.6.212.149:8080/api/accounts/remove?username=?password=
Fetch an Account's Balance:
POST: http://108.6.212.149:8080/api/deposit?username=?symbol=
1. username: username for account
2. email: specified email for account
3. password: account password
4. symbol: trading symbol ("BTC", "LTC", "ETH")
5. newpassword: desired newpassword (used only in update request)
5. oldpassword: raw account old password (used only in update request)
Create an Order:
POST: http://180.6.212.149:8080/api/orders?pair=?type=?amount=?fillprice=?username=?password=
Note: before creating an order, make sure to fetch the balance of the issuing account
Cancel an Order:
DELETE: http://108.6.212.149:8080/api/orders?pair=?OrderID=?username=?password=
Fetch Order Information:
GET: http://108.6.212.149:8080/api/orders/order?pair=?OrderID=
Update Order Information:
POST: http://108.6.212.149:8080/api/orders/update?pair=?OrderID=?username=?password=?updatedfill=?updatedamount=
Note: before updating an order, make sure to fetch the balance of the issuing account
Fetch All Orders for Trading Pair:
GET: http://108.6.212.149:8080/api/orders?pair=
1. pair: specific trading pair (e.g. "BTC-ETH")
2. type: string specifying buy or sell (e.g. "BUY")
3. amount: specifies amount to trade, can have decimal
4. username: username of user to issue order (e.g. "satoshi")
5. fillprice: price at which order is to fill
6. password: password of user to issue order
7. OrderID: id of order, found under JSON tag "orderid"
8. updatefill: desired new fill price (used only in update request)
9. updateamount: desired new amount of coins to trade (used only in update request)
- Global clocks
- Trading pair data
- Downtime
- System time
- Server ping
- Volume
- Latest Orders (amount configurable)
- Open
- Close
- Day High
- Day Low
- Trade Offers (amount configurable)
- Create Order
- Filled
- Issuance Time
- Amount
- Fill Time (if filled)
- Order Type
- Order Fee
- Trading Pair
- Username
- Hashed Password
- Hash ID
- Wallet Balances
- Wallet Addresses
- Get - global clock times
- Get - Trading pair data
- Get - Downtime
- Get - System time
- Get - Server ping
- Get - Volume
- Get - Latest Orders (amount configurable)
- Get - Open
- Get - Close
- Get - Day High
- Get - Day Low
- Get - Trade Offers (amount configurable)
- Post - Create Order
- Get - Filled
- Get - Issuance Time
- Get - Amount
- Get - Fill Time (if filled)
- Get - Order Type
- Get - Order Fee
- Get - Trading Pair
- Get - Username
- Get - Email
- Get - Hashed Password
- Get - Hash ID
- Get - Wallet Balances
- Get - Wallet Addresses