Navbar

Getting Started

Introduction

Welcome to Satowallet’s trader and developer documentation. These documents outline the exchange functionality, market details, and APIs. Satowallet provides both HTTP(REST) and websocket APIs for interacting with the exchange. Both allows read access to market data and read access to your account.

The HTTP(REST) API contains four categories: User, Trade, Market Data, Others.

WebSockets APIs are separated into two categories: Trading and Feed. Feed API offers real-time market data updates, WebSockets is a bidirectional protocol offering fastest real-time data.

Trading APIs require authentication and provide access to placing orders and other account information.

Articles

Example Request 

index


{ curl --location --request GET "https://www.satowallet.com/Mapi/Art/index" }

GET index

https://www.satowallet.com/Mapi/Art/Index



BODY



Example Request 

ArtList


{ curl --location --request POST "https://www.satowallet.com/Api/Art/ArtList" \ --form "pid=" }

POST ArtList

https://www.satowallet.com/Api/Art/ArtList

Body

pid Show articles where id >pid




Example Request 

ArtShow


{ curl --location --request POST "https://www.satowallet.com/Api/Art/ArtShow" \ --form "id=40" }

POST ArtShow

https://www.satowallet.com/Api/Art/ArtShow

Body

id 40
Enter Article




Exchange

Example Request 

Lasttrades


{ curl --location --request GET "https://www.satowallet.com/Api/Exchange/lasttrades/market/eth_usd" }

GET lasttrades

https://www.satowallet.com/Api/Exchange/lasttrades/market/eth_usd



Example Request 

activeorders


{ curl --location --request GET "https://www.satowallet.com/Api/Exchange/activeorders/market/btc_usd" }

GET activeorders

https://www.satowallet.com/Api/Exchange/activeorders/market/btc_usd



Example Request 

MyOpenOrders


{ curl --location --request POST "https://www.satowallet.com/Api/Exchange/MyOpenOrders/market/eth_usd" \ --header "id: {{id}}" \ --header "TOKEN: {{token}}" }

POST MyOpenOrders

https://www.satowallet.com/Api/Exchange/MyOpenOrders/market/eth_usd

HEADERS

id {{id}}
TOKEN {{token}}


Example Request 

reject


{ curl --location --request POST "https://www.satowallet.com/Api/Exchange/reject/id/275" \ --header "id: {{id}}" \ --header "TOKEN: {{token}}" }

POST reject

{https://www.satowallet.com/Api/Exchange/reject/id/275

HEADERS

id {{id}}
TOKEN {{token}}


Trade

Example Request 

getTradedata


{ curl --location --request POST "https://www.satowallet.com/Mapi/Trade/getTradedata" \ --form "marketid=8" }

POST getTradedata

https://www.satowallet.com/Mapi/Trade/getTradedata

Example Reponds 

200 - OK


{ "status": 1, "data": { "entrust": null, "depth": { "buy": "", "sell": [ [ 2616.85, 10 ], [ 2616.84, 10 ], [ 2616.83, 10 ], [ 2616.82, 10 ], [ 2616.81, 1 ] ] }, "info": { "new_price": 2616.12, "buy_price": 2616.13, "sell_price": 2616.81 }, "user": { "login": 0 } } }
Body

marketid 8

enter marketid example 7,8











Example Request 

matchingTrade


{ curl --location --request POST "https://www.satowallet.com/Mapi/Trade/matchingTrade" \ --form "market=btc_usd" }

POST matchingTrade

https://www.satowallet.com/Mapi/Trade/matchingTrade

Body

market btc_usd

btc_usd



Example Request 

mywt


{ curl --location --request POST "https://www.satowallet.com/Mapi/Trade/mywt" \ --header "TOKEN: 9a0fce26945b38afd05b42cfb2f3803c" \ --header "ID: 30" \ --form "id=183" }

POST mywt

https://www.satowallet.com/Mapi/Trade/mywt

HEADERS

TOKEN 9a0fce26945b38afd05b42cfb2f3803c

Set token from login api


ID 30

Set id from login api

Body

id 183
Enter trade id


Index

Example Request 

index


{ curl --location --request GET "https://www.satowallet.com/Api/Index/index" }

GET index

https://www.satowallet.com/Api/Index/index



Example Request 

initinfo


{ curl --location --request GET "https://www.satowallet.com/Api/Index/initinfo" }

GET initinfo

https://www.satowallet.com/Api/Index/initinfo





Example Request 

marketInfo


{ curl --location --request GET "https://www.satowallet.com/Mapi/Index/marketInfo" }
Example Request 

marketInfo


{ "status": 1, "data": { "market": [ { "id": "7", "name": "Litecoin(LTC/USD)", "icon": "http://satowallet.com/Upload/coin/59845c9fb46c2.png", "new_price": 525.618, "buy_price": 0, "sell_price": 292.01, "min_price": 408.81399999999996, "max_price": 350.412, "change": 0.01, "volume": 1.6 }, { "id": "8", "name": "BCH(BCC/USD)", "icon": "http://satowallet.com/Upload/coin/59845cb49d7d8.png", "new_price": 1570.092, "buy_price": 500, "sell_price": 5233.64, "min_price": 4710.276000000001, "max_price": 3140.184, "change": -0.01, "volume": 1.6 }, { "id": "6", "name": "ETC(ETC/USD)", "icon": "http://satowallet.com/Upload/coin/59845cab4ba05.png", "new_price": 144.38199999999998, "buy_price": 61.89, "sell_price": 41.524, "min_price": 61.85999999999999, "max_price": 41.252, "change": 0, "volume": 48 }, { "id": "5", "name": "ETH(ETH/USD)", "icon": "http://satowallet.com/Upload/coin/59845aa8b444f.png", "new_price": 2145.9339999999997, "buy_price": 0, "sell_price": 3065.62, "min_price": 3065.62, "max_price": 2452.496, "change": 0.01, "volume": 0.11 }, { "id": "4", "name": "Bitcoin(BTC/USD)", "icon": "http://satowallet.com/Upload/coin/598458a23a26a.png", "new_price": 19288.81, "buy_price": 34718.4, "sell_price": 34719.858, "min_price": 15431.048000000003, "max_price": 30862.096000000005, "change": 0, "volume": 2 }, { "id": "13", "name": "Bitcoin(BTC/ETH)", "icon": "http://satowallet.com/Upload/coin/598458a23a26a.png", "new_price": 0, "buy_price": 0, "sell_price": 0, "min_price": 0, "max_price": 0, "change": 0, "volume": 0 }, { "id": "15", "name": "Litecoin(LTC/BTC)", "icon": "http://satowallet.com/Upload/coin/59845c9fb46c2.png", "new_price": 0, "buy_price": 0, "sell_price": 0, "min_price": 0, "max_price": 0, "change": 0, "volume": 0 }, { "id": "16", "name": "doge(DOGE/BTC)", "icon": "http://satowallet.com/Upload/coin/", "new_price": 0, "buy_price": 0, "sell_price": 0, "min_price": 0, "max_price": 0, "change": 0, "volume": 0 } ] } }

GET marketInfo

https://www.satowallet.com/Api/Index/marketInfo

All Market Stats in one



Example Request 

marketinfo


{ curl --location --request GET "https://www.satowallet.com/Mapi/Index/marketInfo" }
Example Reponse 

200 - OK


{ "status": 1, "data": { "market": [ { "id": "7", "name": "Litecoin(LTC/USD)", "icon": "http://satowallet.com/Upload/coin/59845c9fb46c2.png", "new_price": 525.618, "buy_price": 0, "sell_price": 292.01, "min_price": 408.81399999999996, "max_price": 350.412, "change": 0.01, "volume": 1.6 }, { "id": "8", "name": "BCH(BCC/USD)", "icon": "http://satowallet.com/Upload/coin/59845cb49d7d8.png", "new_price": 1570.092, "buy_price": 500, "sell_price": 5233.64, "min_price": 4710.276000000001, "max_price": 3140.184, "change": -0.01, "volume": 1.6 }, { "id": "6", "name": "ETC(ETC/USD)", "icon": "http://satowallet.com/Upload/coin/59845cab4ba05.png", "new_price": 144.38199999999998, "buy_price": 61.89, "sell_price": 41.524, "min_price": 61.85999999999999, "max_price": 41.252, "change": 0, "volume": 48 }, { "id": "5", "name": "ETH(ETH/USD)", "icon": "http://satowallet.com/Upload/coin/59845aa8b444f.png", "new_price": 2145.9339999999997, "buy_price": 0, "sell_price": 3065.62, "min_price": 3065.62, "max_price": 2452.496, "change": 0.01, "volume": 0.11 }, { "id": "4", "name": "Bitcoin(BTC/USD)", "icon": "http://satowallet.com/Upload/coin/598458a23a26a.png", "new_price": 19288.81, "buy_price": 34718.4, "sell_price": 34719.858, "min_price": 15431.048000000003, "max_price": 30862.096000000005, "change": 0, "volume": 2 }, { "id": "13", "name": "Bitcoin(BTC/ETH)", "icon": "http://satowallet.com/Upload/coin/598458a23a26a.png", "new_price": 0, "buy_price": 0, "sell_price": 0, "min_price": 0, "max_price": 0, "change": 0, "volume": 0 }, { "id": "15", "name": "Litecoin(LTC/BTC)", "icon": "http://satowallet.com/Upload/coin/59845c9fb46c2.png", "new_price": 0, "buy_price": 0, "sell_price": 0, "min_price": 0, "max_price": 0, "change": 0, "volume": 0 }, { "id": "16", "name": "doge(DOGE/BTC)", "icon": "http://satowallet.com/Upload/coin/", "new_price": 0, "buy_price": 0, "sell_price": 0, "min_price": 0, "max_price": 0, "change": 0, "volume": 0 } ] } }

GET ticker

https://www.satowallet.com/Api/Index/ticker

All Market Stats in one



Example Request 

marketinfo


{ curl --location --request GET "https://www.satowallet.com/Mapi/Index/marketInfo" }
Example Reponse 

200 - OK


{ "status": 1, "data": { "market": [ { "id": "7", "name": "Litecoin(LTC/USD)", "icon": "http://satowallet.com/Upload/coin/59845c9fb46c2.png", "new_price": 525.618, "buy_price": 0, "sell_price": 292.01, "min_price": 408.81399999999996, "max_price": 350.412, "change": 0.01, "volume": 1.6 }, { "id": "8", "name": "BCH(BCC/USD)", "icon": "http://satowallet.com/Upload/coin/59845cb49d7d8.png", "new_price": 1570.092, "buy_price": 500, "sell_price": 5233.64, "min_price": 4710.276000000001, "max_price": 3140.184, "change": -0.01, "volume": 1.6 }, { "id": "6", "name": "ETC(ETC/USD)", "icon": "http://satowallet.com/Upload/coin/59845cab4ba05.png", "new_price": 144.38199999999998, "buy_price": 61.89, "sell_price": 41.524, "min_price": 61.85999999999999, "max_price": 41.252, "change": 0, "volume": 48 }, { "id": "5", "name": "ETH(ETH/USD)", "icon": "http://satowallet.com/Upload/coin/59845aa8b444f.png", "new_price": 2145.9339999999997, "buy_price": 0, "sell_price": 3065.62, "min_price": 3065.62, "max_price": 2452.496, "change": 0.01, "volume": 0.11 }, { "id": "4", "name": "Bitcoin(BTC/USD)", "icon": "http://satowallet.com/Upload/coin/598458a23a26a.png", "new_price": 19288.81, "buy_price": 34718.4, "sell_price": 34719.858, "min_price": 15431.048000000003, "max_price": 30862.096000000005, "change": 0, "volume": 2 }, { "id": "13", "name": "Bitcoin(BTC/ETH)", "icon": "http://satowallet.com/Upload/coin/598458a23a26a.png", "new_price": 0, "buy_price": 0, "sell_price": 0, "min_price": 0, "max_price": 0, "change": 0, "volume": 0 }, { "id": "15", "name": "Litecoin(LTC/BTC)", "icon": "http://satowallet.com/Upload/coin/59845c9fb46c2.png", "new_price": 0, "buy_price": 0, "sell_price": 0, "min_price": 0, "max_price": 0, "change": 0, "volume": 0 }, { "id": "16", "name": "doge(DOGE/BTC)", "icon": "http://satowallet.com/Upload/coin/", "new_price": 0, "buy_price": 0, "sell_price": 0, "min_price": 0, "max_price": 0, "change": 0, "volume": 0 } ] } }

GET single

https://www.satowallet.com/Api/Index/single/id/7

All Market Stats in one



Example Request 

up


{ curl --location --request GET "https://www.satowallet.com/Mapi/Index/up" \ --header "ID: 30" \ --header "TOKEN: 0922d72c312539b0a522ac572c283550" \ --form "market_id=8" }

GET up

https://www.satowallet.com/Mapi/Index/up

HEADERS

ID 30


TOKEN 0922d72c312539b0a522ac572c283550

Body

market_id 8
Stats line by market id


Chart

Example Request 

index


{ curl --location --request GET "https://www.satowallet.com/Api/Chart/index" }

GET index

https://www.satowallet.com/Api/Chart/index

Body



Example Request 

getChart


{ curl --location --request POST "https://www.satowallet.com/Api/Chart/getChart" \ --form "marketid=8" }

POST getChart

https://www.satowallet.com/Api/Chart/getChart

Body

marketid 8
Enter ID of market



Example Request 

depth


{ curl --location --request POST "https://www.satowallet.com/Api/Chart/depth" \ --form "marketid=8" }

POST depth

https://www.satowallet.com/Api/Chart/depth

Body

marketid 8
marketid for deptht

Example Request 

showP


{ curl --location --request POST "https://www.satowallet.com/Mapi/Chart/showP" \ --form "market_id=8" }

POST showP

https://www.satowallet.com/Mapi/Chart/showP

Body

market_id 8
Stats line by market id

Crypto

Example Request 

https://www.satowallet.com/Api/Crypto/MyWithdrawals


{ curl --location --request GET "https://www.satowallet.com/Api/Crypto/MyWithdrawals" \ --header "TOKEN: 654fc68202eb396965e3810e91670f8c" \ --header "ID: 39" }

GET https://www.satowallet.com/Api/Crypto/MyWithdrawals

https://www.satowallet.com/Api/Crypto/MyWithdrawals

MyWithdrawals

HEADERS



TOKEN 654fc68202eb396965e3810e91670f8c
Set token from login api


ID 39
Set id from login api


Example Request 

https://www.satowallet.com/Api/Crypto/depositaddress


{ curl --location --request GET "https://www.satowallet.com/Api/Crypto/depositaddress/coin/tbtc" \ --header "TOKEN: 5649c7f17db8343a5159473f548f4594" \ --header "ID: 39" }

GET https://www.satowallet.com/Api/Crypto/depositaddress

https://www.satowallet.com/Api/Crypto/depositaddress/coin/tbtc

MyWithdrawals



HEADERS

TOKEN 5649c7f17db8343a5159473f548f4594
Set token from login api


ID 39
Set id from login api


Example Request 

https://www.satowallet.com/Api/Crypto/coinbalance


{ curl --location --request GET "https://www.satowallet.com/Api/Crypto/coinbalance/coin/eth" \ --header "TOKEN: 5649c7f17db8343a5159473f548f4594" \ --header "ID: 39" }

GET https://www.satowallet.com/Api/Crypto/coinbalance

https://www.satowallet.com/Api/Crypto/coinbalance/coin/eth

MyWithdrawals



HEADERS

TOKEN 5649c7f17db8343a5159473f548f4594
Set token from login api


ID 39
Set id from login api


Example Request 

https://www.satowallet.com/Api/Crypto/doWithdraw


{ curl --location --request POST "https://www.satowallet.com/Api/Crypto/doWithdraw" \ --header "TOKEN: 5649c7f17db8343a5159473f548f4594" \ --header "ID: 39" \ --header "Content-Type: application/x-www-form-urlencoded" \ --data "{\"coin\":\"tbtc\",\"num\":\"0.001\",\"addr\":\"1123423423423525353453456346534645645745746747475\",\"paypassword\":\"funding\"}" }

POST https://www.satowallet.com/Api/Crypto/doWithdraw

https://www.satowallet.com/Api/Crypto/doWithdraw

MyWithdrawals



HEADERS

TOKEN 5649c7f17db8343a5159473f548f4594
Set token from login api


ID 39
Set id from login api

Content-Type application/x-www-form-urlencoded

body

{"coin":"tbtc","num":"0.001","addr":"1123423423423525353453456346534645645745746747475","paypassword":"funding"}

Example Request 

https://www.satowallet.com/Api/Crypto/MyDeposits


{ curl --location --request GET "https://www.satowallet.com/Api/Crypto/MyDeposits" \ --header "TOKEN: 654fc68202eb396965e3810e91670f8c" \ --header "ID: 39" }

GET https://www.satowallet.com/Api/Crypto/MyDeposits

https://www.satowallet.com/Api/Crypto/MyDeposits

MyWithdrawals



HEADERS

TOKEN 654fc68202eb396965e3810e91670f8c
Set token from login api


ID 39
Set id from login api


Faker

Example Request 

index


{ curl --location --request GET "https://www.satowallet.com/Mapi/Art/index" }

GET index

https://www.satowallet.com/Mapi/Art/index

Body

Example Request 

AddArticle


{ curl --location --request POST "https://www.satowallet.com/Mapi/Faker/AddArticle" \ --form "pid=16" }

POST AddArticle

https://www.satowallet.com/Mapi/Faker/AddArticle

Body

pid 16
Show articles where id >pid

Example Request 

ArtShow


{ curl --location --request POST "https://www.satowallet.com/Mapi/Art/ArtShow" \ --form "id=43" }

POST ArtShow

https://www.satowallet.com/Mapi/Art/ArtShow

Body

id 43
Enter article id to show

Affiliates

Example Request 

index


{ curl --location --request GET "https://www.satowallet.com/Api/Affiliates/info" \ --header "id: {{id}}" \ --header "TOKEN: {{token}}" }

GET info

https://www.satowallet.com/Api/Affiliates/info

Body

id {{id}}
TOKEN {{token}}