Deprecated Mercatox API
Public Endpoints
This API is deprecated and will be removed soon. Please consider to use API v1.

URL for API access: https://mercatox.com/public/{endpoint}?{params}
‘endpoint’ - Endpoint of API you are accessing,
‘params’ - incoming request parameters (if required)
Endpoint: json24
Description: The assets endpoint is to provide crypto currencies markets data for 24h.
Request parameter(s): Not needed
https://mercatox.com/public/json24

Success response:
{
    "24volume": "79269.3423",
    "pairs": {
        "ETH_BTC": {
            "id": "19",
            "last": "0.02226796",
            "low24hr": "0.02198213",
            "high24hr": "0.02283994",
            "percentChange": "0.00000000",
            "baseVolume": "13826.6013",
            "quoteVolume": "308.6555",
            "isFrozen": "0",
            "lowestAsk": "0.02244983",
            "highestBid": "0.02222903"
        },
        "LTC_BTC": {
            "id": "20",
            "last": "0.00636383",
            "low24hr": "0.00633360",
            "high24hr": "0.00659999",
            "percentChange": "-2.59090000",
            "baseVolume": "25948.3291",
            "quoteVolume": "167.5188",
            "isFrozen": "0",
            "lowestAsk": "0.00640000",
            "highestBid": "0.00633360"
        }
    }
}
Response parameter(s):
Parameter Type Description
24volume string 24 volume.
id string The pair unique ID.
last string The price of the last executed order.
low24hr string The lowest execution price for this pair within the last 24 hours.
high24hr string The highest execution price for this pair within the last 24 hours.
percentChange string Price change percentage.
baseVolume string 24 hour trading volume in base units.
quoteVolume string 24 hour trading volume in quoted units.
isFrozen string Indicates if the market is currently enabled (1) or disabled (0).
lowestAsk string Lowest current purchase price for this asset.
highestBid string Highest current sale price for this asset.

Ratelimit 2 req/sec
Endpoint: market-depth
Description: The order book endpoint is to provide a complete order book with full depth returned for a given market pair.
Request parameter(s):
Parameter Is required Type Description
symbol string Must be ETH_BTC format.

https://mercatox.com/public/market-depth?symbol=ETH_BTC

Success response:
{
    "status": "success",
    "result": {
        "bids": [
            [
                "37.37600000",
                "0.00000408"
            ],
            [
                "20.00000000",
                "0.00000300"
            ]
        ],
        "asks": [
            [
                "3.00000000",
                "0.00001197"
            ],
            [
                "24.85000000",
                "0.00001198"
            ]
        ]
    },
    "messages": []
}
Response parameter(s):
Parameter Type Description
status string Status.
asks array An array containing 2 elements. The ask quantity and price for each ask order.
bids array An array containing 2 elements. The offer quantity and price for each bid order.

Ratelimit 2 req/sec
Endpoint: market-pairs
Description: The endpoint is to provide a list of active trading pairs.
Request parameter(s): Not needed
https://mercatox.com/public/market-pairs

Success response:
[
    {
        "symbol": "ETH_BTC"
    },
    {
        "symbol": "LTC_BTC"
    }
]
Response parameter(s):
Parameter Type Description
symbol string Pair name.

Ratelimit 2 req/sec
Endpoint: trades
Description: The trades endpoint is to return data on all recently completed trades for a given market pair.
Request parameter(s):
Parameter Is required Type Description
symbol string Must be ETH_BTC format.
period string Must be 1h or 12h (default) or 24h format.

https://mercatox.com/public/trades?symbol=ETH_BTC&period=1h

Success response:
{
    "status": "success",
    "result": [
        {
            "tid": "123456789",
            "amount": "1.12345678",
            "price": "0.12345678",
            "timestamp": "1234567890",
            "action": "sell"
        },
        {
            "tid": "123456790",
            "amount": "1.12345678",
            "price": "0.12345678",
            "timestamp": "1234567890",
            "action": "buy"
        }
    ],
    "messages": []
}
Response parameter(s):
Parameter Type Description
status string Status.
tid string A unique ID associated with the trade for the currency pair transaction..
amount string Transaction amount in base units.
price string Transaction price in quoted units.
timestamp string Unix timestamp in seconds for when the transaction occurred.
action string Used to determine whether or not the transaction originated as a buy or sell.
Buy – Identifies an ask was removed from the order book.
Sell – Identifies a bid was removed from the order book.

Ratelimit 2 req/sec