The ZerCEX API provides real-time market data for all listed pairs.
All endpoints are publicly accessible and return data in JSON format.
https://zercex.xyz/api/v1/Endpoint: /api/v1/pairs
Method: GET
Description: Returns the list of all active trading pairs on ZerCEX.
Example Request:
GET https://zercex.xyz/api/v1/pairs
Example Response:
[
{
"symbol": "ZERC_USDC",
"base_currency": "ZERC",
"quote_currency": "USDC"
},
{
"symbol": "LTC_USDT",
"base_currency": "LTC",
"quote_currency": "USDT"
}
]
Endpoint: /api/v1/ticker
Method: GET
Description: Returns the latest price and 24h statistics for a specific market.
Parameters:
market – e.g. ZERC_USDCExample Request:
GET https://zercex.xyz/api/v1/ticker?market=ZERC_USDC
Example Response:
[
{
"symbol": "ZERC_USDC",
"base_currency": "ZERC",
"quote_currency": "USDC",
"last_price": 0.00075947,
"high": 0.00078473,
"low": 0.00075864,
"base_volume": 9198.07,
"quote_volume": 6.99,
"price_change_percent": -3.22,
"timestamp": 1762856400
}
]
Endpoint: /api/v1/tickers
Method: GET
Description: Returns the latest ticker information for all active markets.
Example Request:
GET https://zercex.xyz/api/v1/tickers
Example Response:
[
{
"symbol": "ZERC_USDC",
"base_currency": "ZERC",
"quote_currency": "USDC",
"last_price": 0.00075947,
"high": 0.00078473,
"low": 0.00075864,
"base_volume": 9198.07,
"quote_volume": 6.99,
"price_change_percent": -3.22,
"timestamp": 1762856100
},
{
"symbol": "LTC_USDT",
"base_currency": "LTC",
"quote_currency": "USDT",
"last_price": 95.30001084,
"high": 110.61327275,
"low": 95.30001084,
"base_volume": 0.1,
"quote_volume": 9.53,
"price_change_percent": -13.19,
"timestamp": 1762856100
}
]
Endpoint: /api/v1/orderbook
Method: GET
Description: Returns the current order book for a specific market, including top bids and asks.
Parameters:
market – e.g. ZERC_USDCExample Request:
GET https://zercex.xyz/api/v1/orderbook?market=ZERC_USDC
Example Response:
{
"symbol": "ZERC_USDC",
"bids": [
[0.00075, 2712.61645599],
[0.00070, 4097.98843173],
[0.00065, 3123.57784907]
],
"asks": [
[0.0008, 26945.33653947],
[0.0009, 5819.02089787],
[0.0019985, 1971.94180509]
],
"timestamp": 1762856100
}
Endpoint: /api/v1/trades
Method: GET
Description: Returns recent executed trades for a specific market.
Parameters:
market or ticker_id – e.g. ZERC_USDClimit – number of trades to return (default: 50, max: 200)Example Request:
GET https://zercex.xyz/api/v1/trades?market=ZERC_USDC&limit=10
Example Response:
[
{
"trade_id": 30134,
"symbol": "ZERC_USDC",
"price": "0.00076660",
"base_volume": "6177.36000000",
"quote_volume": "4.73556418",
"timestamp": 1762848003,
"type": "buy"
},
{
"trade_id": 30124,
"symbol": "ZERC_USDC",
"price": "0.00077247",
"base_volume": "1865.50000000",
"quote_volume": "1.44104279",
"timestamp": 1762837203,
"type": "sell"
}
]