Welcome to the PLATONEX | Bitcoin & Cryptocurrency Exchange REST API documentation. This API (Application Programming Interface) will allow you to access the functionality of this exchange by means of HTTP requests, making integration with your own applications possible.


Public Endpoints

URL for API access: https://platonex.io/api/public/v1/{endpoint}?{params}

‘endpoint’ - Endpoint of API you are accessing,
‘params’ - incoming request parameters (if required)
Endpoint: asset
Description: The assets endpoint is to provide a detailed summary for each currency available on the exchange.
Request parameter(s): Not needed
https://platonex.io/api/public/v1/assets
Success response:

{
	"BTC": {
		"name": "Bitcoin",
		"id": "28",
		"can_withdraw": "1",
		"can_deposit": "1",
		"min_withdraw": "0",
		"max_withdraw": "0",
		"maker_fee": "0.25",
		"taker_fee": "0.25
	},
	"ETH": {
		"name": "Ethereum",
		"id": "45",
		"can_withdraw": "1",
		"can_deposit": "1",
		"min_withdraw": "0",
		"max_withdraw": "0",
		"maker_fee": "0.25",
		"taker_fee":"0.25"
	}
}
					
Response parameter(s):
ParameterTypeDescription
nameStringName of cryptocurrency
idString Unique ID
can_withdrawStringIdentifies whether withdraws are enabled or disabled.
can_depositStringIdentifies whether deposits are enabled or disabled.
min_withdrawStringIdentifies the single minimum withdraw amount of a cryptocurrency.
max_withdrawStringIdentifies the single maximum withdraw amount of a cryptocurrency. 0 - disabled
maker_feeStringFees applied when liquidity is added to the order book.
taker_feeStringFees applied when liquidity is removed from the order book.
Ratelimit 2 req/sec
Endpoint: ticker
Description: The ticker endpoint is to provide a 24-hour pricing and volume summary for each market pair available on the exchange.
Request parameter(s): Not needed
https://platonex.io/api/public/v1/ticker/
Success response:


{
    "ETH_BTC": {
        "base_id": "45",
        "quote_id":"28",
        "last_price": "0.10900100",
        "base_volume": "120.23360000",
        "quote_volume":"12.79950000",
        "isFrozen": "0",
        "low24hr": "0.10331007",
        "high24hr": "0.11000000",
        "percentChange": "0.00000000",
        "lowestAsk": "0.02099987",
        "highestBid": "0.02023951"
    },
    "OMG_ETH": {
        "base_id": "50",
        "quote_id": "45",
        "last_price": "0.01621999",
        "base_volume": "235.63020000",
        "quote_volume": "3.78740000",
        "isFrozen": "0",
        "low24hr": "0.01590011",
        "high24hr": "0.01649998",
        "percentChange": "0.00000000",
        "lowestAsk": "0.00682898",
        "highestBid": "0.00663000"
    }
}
					
Response parameter(s):
ParameterTypeDescription
base_idStringThe base asset unique ID.
quote_idStringThe quote asset unique ID.
last_priceStringThe price of the last executed order.
base_volumeString24 hour trading volume in base units.
quote_volumeString24 hour trading volume in quoted units.
isFrozenStringIndicates if the market is currently enabled (1) or disabled (0).
low24hrStringThe lowest execution price for this pair within the last 24 hours
high24hrStringThe highest execution price for this pair within the last 24 hours.
percentChangeStringPrice change percentage.
lowestAskStringLowest current purchase price for this asset.
highestBidStringHighest current purchase price for this asset.
Ratelimit 2 req/sec
Endpoint: orderbook
Description: The order book endpoint is to provide a complete order book with full depth returned for a given market pair.
Request parameter(s):
ParameterIs RequiredTypeDescription
market_pairYesstringMust be ETH-BTC format.

https://platonex.io/api/public/v1/orderbook/index.php?market_pair=ETH-BTC
Success response:


{
    "timestamp": "1570712983",
    "asks": [
        [
            "0.02099999",
            "0.22454389"
        ],
        [
            "0.02114000",
            "0.10000000"
        ]
    ],
    "bids": [
        [
            "0.02011000",
            "0.05104000"
        ],
        [
            "0.02009993",
            "0.04798341"
        ]
    ]
}
					
Response parameter(s):
ParameterTypeDescription
timestampstringUnix timestamp in seconds for when the last updated time occurred.
asksarrayAn array containing 2 elements. The ask price and quantity for each ask order.
bidsarrayAn array containing 2 elements. The bid price and quantity for each ask order.
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):
ParameterIs RequiredTypeDescription
market_pairYesstringMust be ETH-BTC format.

https://platonex.io/api/public/v1/trades/index.php?market_pair=ETH-BTC
Success response:

[
    {
        "trade_id": "11536286",
        "price": "0.02023952",
        "base_volume": "0.01145925",
        "quote_volume": "0.00023192",
        "trade_timestamp": "1569591808",
        "type":"sell"
    },
    {
        "trade_id": "11536284",
        "price": "0.02024000",
        "base_volume": "0.11302150",
        "quote_volume": "0.00228755",
        "trade_timestamp": "1569591808",
        "type": "sell"
    },
    {
        "trade_id": "..."
    },
    {
        "trade_id":"11534676",
        "price": "0.02080524",
        "base_volume": "35.64549988",
        "quote_volume":"0.74161317",
        "trade_timestamp": "1569301803",
        "type": "sell"
    },
    {
        "trade_id": "11534668",
        "price": "0.02079909",
        "base_volume": "45.19564606",
        "quote_volume": "0.94002831",
        "trade_timestamp": "1569301707",
        "type": "sell"
    }
]
					
Response parameter(s):
ParameterTypeDescription
trade_idstringA unique ID associated with the trade for the currency pair transaction.
pricestringTransaction price in quoted units.
base_volumestringTransaction amount in base units.
quote_volumestringTransaction amount in quoted units.
trade_timestampstringUnix timestamp in seconds for when the transaction occurred.
typestring 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