• |

SatoExchange Developers API

SatoExchange provide interfaces (APIs) for both developers and general public. Our APIs give access to allowed data regarding currencies and market statistics as accordingly to our terms of use

DATA API

All requests to our API must include the version. The current version being v1.

Also all requests come with a status object which has type and msg
type must equal to "success" to signify a request is without errors. status will be "error" otherwise.

GET MARKETS
This returns details about all markets.

Http Request

GET https://www.satoexchange.com/api/v1/get_markets/
{
markets: [
    {
    
        id: "1",
        slug: "DOGE/BTC",
        last_price: "0.00000000",
        date_listed: "2018-06-12 19:22:16",
    
    },
    ...
],
status: {

        type: "success",
        msg: "Query successful",
    }

}
Get Currencies
This returns details about all currencies available

Http Request

GET https://www.satoexchange.com/api/v1/get_currencies/
{
currencies: [
    {
    
        id: "1",
        name: "Bitcoin",
        symbol: "BTC",
        is_erc20: false,
        token_address: "",
    
    },
    {

        id: "13",
        name: "EOS",
        symbol: "EOS",
        is_erc20: true,
        token_address: "0x86Fa049857E0209aa7D9e616F7eb3b3B78ECfdb0",

	},
    ...
],
status: {

        type: "success",
        msg: "Query successful",
    }

}
GET Market orders (order book)
The end result gets market orders of a specified market

Http Request

GET https://www.satoexchange.com/api/v1/get_market_orders/?market_id=1
 {
market: {

    id: "1917",
    slug: "ETH/BTC",
    created_date: "2018-06-12 12:00:12",
    last_price: "0.10000000",
    high: "0",
    low: "0",
    ask: "0.07850037",
    bid: "0.10005000",
    growth: "0",
    volume: "0.00",

},
buy_orders: [
    {
    
        price: "0.10005000",
        amount: "0.02564998",
        total: "0.00256628",
    
    },
	...
],
sell_orders: [
    {
    
        price: "0.07850037",
        amount: "11.00000000",
        total: "0.86350407",
    
    },
	...
],
status: {

        type: "success",
        msg: "Query successful",
    }
}
GET Market transaction histories
The end result gets all market pairs hstories.

Http Request

GET https://www.satoexchange.com/api/v1/get_market_history/?market_id=1

{
market: {

    id: "1917",
    slug: "ETH/BTC",
    created_date: "2018-06-12 12:00:12",
    last_price: "0.10000000",
    high: "0",
    low: "0",
    ask: "0.07850037",
    bid: "0.10005000",
    growth: "0",
    volume: "0.00",

},
history: [
    {
    
        created_date: "2018-06-12 12:00:12",
        type: "sell",
        price: "0.10000000",
        amount: "1.00000000",
        total: "0.10000000",
        display_type: "Sell",
        class: "danger",
    
    },
    ...
],
status: {

        type: "success",
        msg: "Query successful",
    }

}

Tcker news