Get started

    API Endpoint

        https://api.westeros.com/
                

Social Send platform provides HTTP APIs for interacting with the exchange. these APIs allow read access to public market data. The public HTTP endpoint is accessed via GET requests and types of HTTP endpoints return results in JSON format.

The public HTTP API allows read access to public market data.
Public HTTP URL: `https://socialsend.net/api/v1`
There are seven public methods, all of which take HTTP GET requests and return output in JSON format. No authentication is necessary but you must not excessively use any API endpoint.

get Exchange Summery


# Here is a curl example
curl \
-X GET https://socialsend.net/api/v1/summary \
                

To get summery of social send exchange you need to make a GET call to the following url :
https://socialsend.net/api/v1/summary



Result example :

{
    "code": 200,
    "msg": "success",
    "data": {
        "BTC_SEND": {
            "id": 1,
            "last": "0.00000035",
            "lowestAsk": "0.00000044",
            "highestBid": "0.00000036",
            "percentChange": "0",
            "baseVolume": "0.1521",
            "quoteVolume": "417550",
            "isFrozen": "0",
            "high24hr": "0.00000086",
            "low24hr": "0.00000035"
        },
        "BTC_MRX": {
            "id": 2,
            "last": "0.00000002",
            "lowestAsk": "0.00000003",
            "highestBid": "0.00000002",
            "percentChange": "-0.9",
            "baseVolume": "0.002879",
            "quoteVolume": "143975.555",
            "isFrozen": "0",
            "high24hr": "0.00000020",
            "low24hr": "0.00000002"
        }
    }
}

                

get assets


# Here is a curl example
curl \
-X GET https://socialsend.net/api/v1/assets \
-F 'offset=0' \
-F 'limit=50'
                

To get assets of social send exchange you need to make a GET call to the following url :
https://socialsend.net/api/v1/assets



Result example :

 {
    "SEND": {
        "name": "Social Send",
        "unified_cryptoasset_id": 1,
        "can_withdraw": true,
        "can_deposit": true,
        "min_withdraw": 0.001,
        "max_withdraw": 0,
        "maker_fee": 0.0025,
        "taker_fee": 0.0025
    },
    "MRX": {
        "name": "Metrix",
        "unified_cryptoasset_id": 2,
        "can_withdraw": true,
        "can_deposit": true,
        "min_withdraw": 0.001,
        "max_withdraw": 0,
        "maker_fee": 0.0025,
        "taker_fee": 0.0025
    },
    "VITAE": {
        "name": "Vitae",
        "unified_cryptoasset_id": 3,
        "can_withdraw": true,
        "can_deposit": true,
        "min_withdraw": 0.001,
        "max_withdraw": 0,
        "maker_fee": 0.0025,
        "taker_fee": 0.0025
    },
    "ECA": {
        "name": "Electra",
        "unified_cryptoasset_id": 4,
        "can_withdraw": true,
        "can_deposit": true,
        "min_withdraw": 0.001,
        "max_withdraw": 0,
        "maker_fee": 0.0025,
        "taker_fee": 0.0025
    }
}
                

get tickers


# Here is a curl example
curl \
-X GET https://socialsend.net/api/v1/ticker \
-F 'offset=0' \
-F 'limit=50'
                

To get tickers of social send exchange you need to make a GET call to the following url :
https://socialsend.net/api/v1/ticker



Result example :

 {
    "BTC_SEND": {
        "base_id": 7,
        "quote_id": 1,
        "last_price": "0.00000035",
        "base_volume": "0.15219244999999998",
        "quote_volume": "417550",
        "isFrozen": 0
    },
    "BTC_MRX": {
        "base_id": 7,
        "quote_id": 2,
        "last_price": "0.00000002",
        "base_volume": "0.0028796900000000003",
        "quote_volume": "143975.55556667",
        "isFrozen": 0
    },
    "BTC_VITAE": {
        "base_id": 7,
        "quote_id": 3,
        "last_price": "0.00009870",
        "base_volume": "21.09940571",
        "quote_volume": "259462.70952381002",
        "isFrozen": 0
    },
    "BTC_ECA": {
        "base_id": 7,
        "quote_id": 4,
        "last_price": "0.00000002",
        "base_volume": "0.00287382",
        "quote_volume": "143678.995",
        "isFrozen": 0
    }
}
                

QUERY PARAMETERS

Field Type Description
secret_key String Your API key.
search String (optional) A search word to find character by name.
house String (optional) a string array of houses:
alive Boolean (optional) a boolean to filter alived characters
gender String (optional) a string to filter character by gender:
m: male
f: female
offset Integer (optional - default: 0) A cursor for use in pagination. Pagination starts offset the specified offset.
limit Integer (optional - default: 10) A limit on the number of objects to be returned, between 1 and 100.

get orders book


# Here is a curl example
curl \
-X GET https://socialsend.net/api/v1/orderbook/BTC_SEND \
-F 'offset=0' \
-F 'limit=50'
                

To get orders book of social send exchange you need to make a GET call to the following url :
https://socialsend.net/api/v1/orderbook/{pair}
{pair} parameter will be the market active pairs where you can obtain from tickers API call



Result example :

 {
    "timestamp": 1584163654,
    "bids": [
        [
            "0.00000088",
            "24.05370000"
        ],
        [
            "0.00000088",
            "113.99993000"
        ],
        [
            "0.00000090",
            "608.33193146"
        ],
        [
            "0.00000094",
            "50.00000000"
        ]
    ],
    "asks": [
        [
            "0.00000033",
            "1536.48484848"
        ],
        [
            "0.00000032",
            "1095.96875000"
        ],
        [
            "0.00000031",
            "2371.61290323"
        ],
        [
            "0.00000030",
            "104.60000000"
        ]
    ]
}
                

get trades


# Here is a curl example
curl \
-X GET https://socialsend.net/api/v1/trades/BTC_SEND \
-F 'offset=0' \
-F 'limit=50'
                

To get trades of social send exchange you need to make a GET call to the following url :
https://socialsend.net/api/v1/trades/{pair}
{pair} parameter will be the market active pairs where you can obtain from tickers API call



Result example :

[
    {
        "tradeID": 3537,
        "price": "0.00000058",
        "base_volume": "0.01159942",
        "quote_volume": "19999.00000000",
        "trade_timestamp": 1584054002,
        "type": "sell"
    },
    {
        "tradeID": 3536,
        "price": "0.00000058",
        "base_volume": "0.00882760",
        "quote_volume": "15220.00000000",
        "trade_timestamp": 1584050402,
        "type": "sell"
    },
    {
        "tradeID": 3533,
        "price": "0.00000068",
        "base_volume": "0.00604112",
        "quote_volume": "8884.00000000",
        "trade_timestamp": 1584018002,
        "type": "sell"
    }
]