TomanEX

Integrated crypto and fiat asset exchange

API Documentation

Welcome to the API documentation. Here you will find details about all the available endpoints.

Endpoints

1. Ping

URL:https://doc.tomanex.io/api/public/ping

Method: GET

Use this endpoint to check the availability of the API.

Parameters: None

Response:

{
    "success": true,
    "message": "pong"
}

2. Tickers

URL:https://doc.tomanex.io/api/public/tickers

Method: GET

Returns the tickers information for all available markets.

Parameters: None

Response: A list of market tickers with their current data.

3. Ticker

URL:https://doc.tomanex.io/api/public/ticker?market=TMC_USDT

Method: GET

Retrieve ticker information for a specific market.

Parameters:

  • market (required): The market pair (e.g., TMC_USDT).

Response: Details about the ticker, including bid, ask, last price, volume, and more.

4. Order Book

URL:https://doc.tomanex.io/api/public/book?market=TMC_USDT&side=sell&limit=5&page=1

Method: GET

Fetch the order book for a specific market and side (buy or sell).

Parameters:

  • market (required): The market pair (e.g., TMC_USDT).
  • side (required): The order side, either buy or sell.
  • limit (optional, default: 10): The number of records per page (max: 100).
  • page (optional, default: 1): The page number for pagination.

Response: A paginated list of orders based on the side and market specified.

5. Depth

URL:https://doc.tomanex.io/api/public/depth?market=TMC_USDT&limit=50&page=1

Method: GET

Retrieve the market depth for a specific market.

Parameters:

  • market (required): The market pair (e.g., TMC_USDT).
  • limit (optional, default: 10): The number of records per page (max: 100).
  • page (optional, default: 1): The page number for pagination.

Response: Depth data for the specified market, including asks and bids.

6. History

URL:https://doc.tomanex.io/api/public/history?market=TMC_USDT&limit=50&page=1

Method: GET

Retrieve the transaction history for a specific market.

Parameters:

  • market (required): The market pair (e.g., TMC_USDT).
  • limit (optional, default: 10): The number of records per page (max: 100).
  • page (optional, default: 1): The page number for pagination.

Response: A paginated list of transaction history for the specified market.