> ## Documentation Index
> Fetch the complete documentation index at: https://developers.oceanxz-au.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Spot Trading API

## Public

### Security: None

<Info>
  **Public** section can be accessed freely without requiring any API-key or
  signatures.
</Info>

***

## Test Connectivity

**`GET`** `https://openapi.oceanxz-au.com/sapi/v1/ping`

**Rate Limit**: 160 times/s — shared across all `/sapi/*` endpoints

This interface checks connectivity to the host

<Tabs>
  <Tab title="200 Successfully connected">
    ```text theme={null}
    {}
    ```
  </Tab>
</Tabs>

***

## Check Server Time

**`GET`** `https://openapi.oceanxz-au.com/sapi/v1/time`

**Rate Limit**: 160 times/s — shared across all `/sapi/*` endpoints

This interface checks connectivity to the server and retrieves server timestamp

<Tabs>
  <Tab title="200  Successfully obtained server time">
    ```java theme={null}
    {
        "timezone": "Coordinated Universal Time",
        "serverTime": 1785841675564
    }
    ```
  </Tab>
</Tabs>

<Tabs>
  <Tab title="Response">
    | Parameter  | Type   | Example                    | Describe         |
    | ---------- | ------ | -------------------------- | ---------------- |
    | timezone   | string | Coordinated Universal Time | Server time zone |
    | serverTime | long   | 1785841675564              | Server timestamp |
  </Tab>
</Tabs>

***

## Symbol Pair List

**`GET`** `https://openapi.oceanxz-au.com/sapi/v1/symbols`

**Rate Limit**: 160 times/s — shared across all `/sapi/*` endpoints

The supported symbol pair collection which in the exchange

<Tabs>
  <Tab title="200 Successfully obtain symbol pair list">
    ```java theme={null}
    {
        "symbols": [
            {
                "quantityPrecision": 3,
                "limitVolumeMin":0.0001,
                "symbol": "sccadai",
                "pricePrecision": 6,
                "marketBuyMin":0.0001,
                "marketSellMin":0.0001,
                "baseAsset": "SCCA",
                "limitPriceMin":0.001,
                "quoteAsset": "DAI",
            },
            {
                "quantityPrecision": 8,
                "limitVolumeMin":0.0001,
                "symbol": "btcusdt",
                "pricePrecision": 2,
                "marketBuyMin":0.0001,
                "marketSellMin":0.0001,
                "baseAsset": "BTC",
                "limitPriceMin":0.001,
                "quoteAsset": "USDT"
            },
            {
                "quantityPrecision": 3,
                "limitVolumeMin":0.0001,
                "symbol": "bchusdt",
                "pricePrecision": 2,
                "marketBuyMin":0.0001,
                "marketSellMin":0.0001,
                "baseAsset": "BCH",
                "limitPriceMin":0.001,
                "quoteAsset": "USDT"
            },
            {
                "quantityPrecision": 2,
                "limitVolumeMin":0.0001,
                "symbol": "etcusdt",
                "pricePrecision": 2,
                "marketBuyMin":0.0001,
                "marketSellMin":0.0001,
                "baseAsset": "ETC",
                "limitPriceMin":0.001,
                "quoteAsset": "USDT"
            },
            {
                "quantityPrecision": 2,
                "limitVolumeMin":0.0001,
                "symbol": "ltcbtc",
                "pricePrecision": 6,
                "marketBuyMin":0.0001,
                "marketSellMin":0.0001,
                "baseAsset": "LTC",
                "limitPriceMin":0.001,
                "quoteAsset": "BTC"
            }
        ]
    }
    ```
  </Tab>
</Tabs>

<Tabs>
  <Tab title="Response:">
    | Parameter         | Type       | Exmaple | Describe                                   |
    | ----------------- | ---------- | ------- | ------------------------------------------ |
    | symbol            | string     | btcusdt | Lower case symbol name                     |
    | baseAsset         | string     | `BTC`   | Underlying asset for the symbol            |
    | quoteAsset        | string     | `USDT`  | Quote asset for the symbol                 |
    | pricePrecision    | integer    | `2`     | Price accuracy                             |
    | quantityPrecision | integer    | `6`     | Quantity accuracy                          |
    | limitVolumeMin    | BigDecimal | 0.00001 | Minimum quantity limit for limit order     |
    | marketBuyMin      | BigDecimal | 0.00001 | Minimum purchase quantity for market order |
    | marketSellMin     | BigDecimal | 0.00001 | Minimum selling quantity for market orders |
    | limitPriceMin     | BigDecimal | 0.00001 | Minimum price limit for limit orders       |
  </Tab>
</Tabs>

***

## Market

### Security: None

**Market** section can be accessed freely without requiring any API-key or signatures.

***

## Depth

**`GET`** `https://openapi.oceanxz-au.com/sapi/v1/depth`

**Rate Limit**: 160 times/s — shared across all `/sapi/*` endpoints

Market detpth data

#### Query Parameters

| Name     | Type    | Description                         |
| -------- | ------- | ----------------------------------- |
| limit    | integer | Default 100; Maximum 100            |
| symbol\* | string  | Symbol name E.g. BTCUSDT or btcusdt |

<Tabs>
  <Tab title="200  Successfully obtain market depth data">
    ```java theme={null}
    {
      "bids": [
        [
          "3.90000000",   // Price
          "431.00000000"  // Vol
        ],
        [
          "4.00000000",
          "431.00000000"
        ]
      ],
      "asks": [
        [
          "4.00000200",  // Price
          "12.00000000"  // Volume
        ],
        [
          "5.10000000",
          "28.00000000"
        ]
      ],
      "time": 1701658276000
    }
    ```
  </Tab>
</Tabs>

<Tabs>
  <Tab title="Response:">
    | Parameter | Type  | Example                      | Describe                                                                                                                                                                          |
    | --------- | ----- | ---------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
    | time      | long  | `1595563624731`              | Current timestamp (ms)                                                                                                                                                            |
    | bids      | array | \[\[1.3200,2.04],\[0.2,0.4]] | Order book buying information, the array length is 2, subscript one is the price, type is float; subscript two is the quantity corresponding to the current price, type is float  |
    | asks      | array | \[\[1.3200,2.04],\[0.2,0.4]] | Order book selling information, the array length is 2, subscript one is the price, type is float; subscript two is the quantity corresponding to the current price, type is float |
  </Tab>
</Tabs>

<Info>
  The information corresponding to bids and asks represents all the prices in
  the order book and the quantity information corresponding to the prices,
  arranged from top to bottom from the best price
</Info>

***

## 24hrs ticker

**`GET`** `https://openapi.oceanxz-au.com/sapi/v1/ticker`

**Rate Limit**: 160 times/s — shared across all `/sapi/*` endpoints

24-hour price change data

#### Query Parameters

| Name     | Type   | Description                         |
| -------- | ------ | ----------------------------------- |
| symbol\* | string | Symbol name E.g. BTCUSDT or btcusdt |

<Tabs>
  <Tab title="200  Successfully obtained ticker data">
    ```java theme={null}
    {
        "amount": "0",
        "high": "66297.86071",
        "vol": "0",
        "last": 66297.8607100000000000,
        "low": "66297.86071",
        "buy": 66291.39019,
        "sell": 66304.66047,
        "rose": "0",
        "time": 1785142500000
    }
    ```
  </Tab>
</Tabs>

<Tabs>
  <Tab title="Response:">
    | Parameter | Type   | Example         | Describe                                                                                 |
    | --------- | ------ | --------------- | ---------------------------------------------------------------------------------------- |
    | time      | long   | `1595563624731` | Timestamp (ms)                                                                           |
    | high      | string | `"9900"`        | Highest price                                                                            |
    | low       | string | `"8800.34"`     | Lowest price                                                                             |
    | last      | float  | `8900`          | Latest deal price                                                                        |
    | vol       | string | `"4999"`        | Trade volume                                                                             |
    | amount    | string | `"23.20"`       | Trade amount                                                                             |
    | buy       | float  | 130             | The price in the buying book order at the first one                                      |
    | sell      | float  | 120             | The price in the selling book order at the first one                                     |
    | rose      | string | `"+0.05"`       | Range of increase and decrease, + is increase, - is decrease, +0.05 means increase by 5% |
  </Tab>
</Tabs>

***

## Recent Trades List

**`GET`** `https://openapi.oceanxz-au.com/sapi/v1/trades`

**Rate Limit**: 160 times/s — shared across all `/sapi/*` endpoints

#### Query Parameters

| Name     | Type    | Description                         |
| -------- | ------- | ----------------------------------- |
| symbol\* | string  | Symbol name E.g. BTCUSDT or btcusdt |
| limit\*  | integer | Default 200; no maximum limit       |

<Tabs>
  <Tab title="200 ">
    ```java theme={null}
    [
        {
            "side": "buy",
            "price": 130.0000000000000000,
            "qty": 0.1000000000000000,
            "time": 1704788645416
        },
        {
            "side": "buy",
            "price": 130.0000000000000000,
            "qty": 0.1000000000000000,
            "time": 1704788282332
        }
    ]
    ```
  </Tab>
</Tabs>

<Tabs>
  <Tab title="Response:">
    | Parameter | Type   | Example         | Describe            |
    | --------- | ------ | --------------- | ------------------- |
    | `price`   | float  | `0.055`         | Trade price         |
    | `time`    | long   | `1537797044116` | Timestamp(ms)       |
    | `qty`     | float  | `5`             | The quantity traded |
    | `side`    | string | `buy/sell`      | Taker side          |
  </Tab>
</Tabs>

***

## Kline/candlestick data

**`GET`** `https://openapi.oceanxz-au.com/sapi/v1/klines`

**Rate Limit**: 160 times/s — shared across all `/sapi/*` endpoints

#### Query Parameters

| Name       | Type    | Description                                                                                                   |
| ---------- | ------- | ------------------------------------------------------------------------------------------------------------- |
| symbol\*   | string  | Symbol name E.g. `BTCUSDT` or `btcusdt`                                                                       |
| interval\* | string  | Interval of the Kline. Possible values include: `1min`,`5min`,`15min`,`30min`,`60min`,`1day`,`1week`,`1month` |
| limit      | integer | Default 200; no maximum limit                                                                                 |

<Tabs>
  <Tab title="200 ">
    ```java theme={null}
    [
        {
            "high": "6228.77",
            "vol": "111",
            "low": "6228.77",
            "idx": 1594640340,
            "close": "6228.77",
            "open": "6228.77"
        },
        {
            "high": "6228.77",
            "vol": "222",
            "low": "6228.77",
            "idx": 1587632160,
            "close": "6228.77",
            "open": "6228.77"
        },
        {
            "high": "6228.77",
            "vol": "333",
            "low": "6228.77",
            "idx": 1587632100,
            "close": "6228.77",
            "open": "6228.77"
        }
    ]
    ```
  </Tab>
</Tabs>

<Tabs>
  <Tab title="Response:">
    | Parameter | Type   | Example         | Describe                 |
    | --------- | ------ | --------------- | ------------------------ |
    | `idx`     | long   | `1538728740000` | Open time (timestamp,ms) |
    | `open`    | string | `"36.00"`       | Open price               |
    | `close`   | string | `"33.00"`       | Close price              |
    | `high`    | string | `"36.00"`       | Highest price            |
    | `low`     | string | `"30.00"`       | Lowest price             |
    | `vol`     | string | `"2456.11"`     | Trade volume             |
  </Tab>
</Tabs>

***

## Trade

### Security: TRADE

The interface in Trade requires API-key and signature for access.

***

## Create new order

**`POST`** `https://openapi.oceanxz-au.com/sapi/v1/order`

**Rate Limit**: 10 times/s

#### Headers

| Name          | Type    | Description  |
| ------------- | ------- | ------------ |
| X-CH-SIGN\*   | string  | Sign         |
| X-CH-APIKEY\* | string  | User API-KEY |
| X-CH-TS\*     | integer | Timestamp    |

#### Request Body

| Name             | Type   | Description                                                                                                                                                                                                                                                   |
| ---------------- | ------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| symbol\*         | string | Symbol name, Case-insensitive E.g. BTCUSDT or btcusdt                                                                                                                                                                                                         |
| volume\*         | number | Order quantity, there is a precision limit, the precision is configured by the administrator                                                                                                                                                                  |
| side\*           | string | Order side, `BUY/SELL`                                                                                                                                                                                                                                        |
| type\*           | string | Order type, `LIMIT/MARKET`                                                                                                                                                                                                                                    |
| price            | number | Order price, for LIMIT orders must be sent, there is a precision limit, the precision is configured by the administrator                                                                                                                                      |
| newClientOrderId | string | The field is a third-party identifier and is not involved in the exchange's business logic or stored in the database. It is only returned as-is in the response. *(Note: This field is not the exchange’s business order ID, please distinguish accordingly)* |

<Tabs>
  <Tab title="200  Successfully ordered">
    ```json theme={null}
    {
      "symbol": "ETHUSDT",
      "side": "BUY",
      "executedQty": 0,
      "orderId": ["2012274607240433332"],
      "price": 0,
      "origQty": 0.01,
      "clientOrderId": "1212",
      "transactTime": 1704959985403,
      "type": "MARKET",
      "status": "NEW"
    }
    ```
  </Tab>
</Tabs>

<Tabs>
  <Tab title="Response:">
    | Parameter       | Type   | Example                  | Describe                                                     |
    | --------------- | ------ | ------------------------ | ------------------------------------------------------------ |
    | `orderId`       | array  | `["150695552109032492"]` | Order ID (system generated)                                  |
    | `clientOrderId` | string | `213443`                 | Order ID (sent by user)                                      |
    | `symbol`        | string | `BTCUSDT`                | Uppercase symbol name                                        |
    | `transactTime`  | long   | `1273774892913`          | The time of place order                                      |
    | `price`         | float  | `4765.29`                | Order price                                                  |
    | `origQty`       | float  | `1.01`                   | Order volume                                                 |
    | `executedQty`   | float  | `1.01`                   | The number of already deal order                             |
    | `type`          | string | `LIMIT`                  | Type of the order `LIMIT/MARKET`                             |
    | `side`          | string | `BUY`                    | Side of the order `BUY/SELL`                                 |
    | `status`        | string | `New Order`              | Order status: `New Order` (new order or not transaction yet) |
  </Tab>
</Tabs>

***

## Test New Order

**`POST`** `https://openapi.oceanxz-au.com/sapi/v1/order/test`

**Rate Limit**: 160 times/s — shared across all `/sapi/*` endpoints

Test new order creation and signature/recvWindow length. Creates and validates a new order but does not send the order into the matching engine.

#### Headers

| Name          | Type    | Description |
| ------------- | ------- | ----------- |
| X-CH-SIGN\*   | string  | Sign        |
| X-CH-APIKEY\* | string  | Usr API-KEY |
| X-CH-TS\*     | integer | Timestamp   |

#### Request Body

| Name             | Type   | Description                                                                                                                                                                                                                                                   |
| ---------------- | ------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| symbol\*         | string | Symbol name, Case-insensitive E.g. BTCUSDT or btcusdt                                                                                                                                                                                                         |
| volume\*         | number | Order quantity, with precision limits, configured by the administrator                                                                                                                                                                                        |
| side\*           | string | Order side , `BUY/SELL`                                                                                                                                                                                                                                       |
| type\*           | string | Order type, `LIMIT/MARKET`                                                                                                                                                                                                                                    |
| price            | number | Order price, for LIMIT orders must be sent, there is a precision limit, configured by the administrator                                                                                                                                                       |
| newClientOrderId | string | The field is a third-party identifier and is not involved in the exchange’s business logic or stored in the database. It is only returned as-is in the response. *(Note: This field is not the exchange’s business order ID, please distinguish accordingly)* |

<Tabs>
  <Tab title="200  Successfully created test order">
    ```text theme={null}
    {}
    ```
  </Tab>
</Tabs>

***

## Batch Orders

**`POST`** `https://openapi.oceanxz-au.com/sapi/v1/batchOrders`

**Rate Limit**: 10 times/s, Maximum 10 orders in one batch order request

#### Headers

| Name          | Type    | Description  |
| ------------- | ------- | ------------ |
| X-CH-SIGN\*   | string  | Sign         |
| X-CH-APIKEY\* | string  | User API-KEY |
| X-CH-TS\*     | integer | Timestamp    |

#### Request Body

| Name     | Type   | Description                             |
| -------- | ------ | --------------------------------------- |
| orders\* | array  | Batch order param, Maxinum 10 orders    |
| symbol\* | string | Symbol name E.g. `BTCUSDT` or `btcusdt` |

<Tabs>
  <Tab title="200 ">
    ```java theme={null}
    {
        "ids": [
            165964665990709251,
            165964665990709252,
            165964665990709253
        ]
    }
    ```
  </Tab>
</Tabs>

<Tabs>
  <Tab title="Response:">
    | Parameter   | Type   | Example        | Describe              |
    | ----------- | ------ | -------------- | --------------------- |
    | `price`     | float  | 1000.00        | Trade pice            |
    | `volume`    | float  | 20.10          | Trade volume          |
    | `side`      | string | `BUY/SELL`     | Order side            |
    | `batchType` | string | `LIMIT/MARKET` | Order type            |
    | symbol      | string | ETHUSDT        | Uppercase symbol name |
  </Tab>

  <Tab title="Example of request">
    ```json theme={null}
    {
      "symbol": "ETHUSDT",
      "orders": [
        { "side": "BUY", "price": 1980.0, "volume": 1, "batchType": "MARKET" }
      ]
    }
    ```
  </Tab>
</Tabs>

***

## Query Order

**`GET`** `https://openapi.oceanxz-au.com/sapi/v1/order`

<br />

<br />

**Rate Limit**: 10 times/s

#### Query Parameters

| Name      | Type   | Description                             |
| --------- | ------ | --------------------------------------- |
| orderId\* | string | Order id                                |
| symbol\*  | string | Symbol name E.g. `ethusdt` or `ETHUSDT` |

#### Headers

| Name          | Type    | Description  |
| ------------- | ------- | ------------ |
| X-CH-SIGN\*   | string  | Sign         |
| X-CH-APIKEY\* | string  | User API-KEY |
| X-CH-TS\*     | integer | Timestamp    |

<Tabs>
  <Tab title="200 ">
    ```json theme={null}
    {
      "symbol": "ethusdt",
      "side": "BUY",
      "executedQty": 0e-16,
      "orderId": 53,
      "price": 20200.0,
      "origQty": 0.024,
      "avgPrice": 0e-16,
      "transactTime": 1672274311107,
      "type": "LIMIT",
      "status": "PENDING_CANCEL"
    }
    ```
  </Tab>
</Tabs>

<Tabs>
  <Tab title="Response:">
    | Parameter       | Type   | Example              | Describe                                                                                                                                                                                                           |
    | --------------- | ------ | -------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
    | `orderId`       | long   | `150695552109032492` | Order ID (system generated)                                                                                                                                                                                        |
    | `clientOrderId` | string | `213443`             | Order ID (sent by user)                                                                                                                                                                                            |
    | `symbol`        | string | ethusdt              | Lowercase symbol name                                                                                                                                                                                              |
    | `price`         | float  | `4765.29`            | Order price                                                                                                                                                                                                        |
    | `origQty`       | float  | `1.01`               | Order volume                                                                                                                                                                                                       |
    | `executedQty`   | float  | `1.01`               | The number of already deal order                                                                                                                                                                                   |
    | `avgPrice`      | float  | `4754.24`            | The average price of already deal order                                                                                                                                                                            |
    | `type`          | string | `LIMIT`              | Order type :`LIMIT/MARKET`                                                                                                                                                                                         |
    | `transactTime`  | long   | `1672274311107`      | Timestamp                                                                                                                                                                                                          |
    | `side`          | string | `BUY`                | Order side: `BUY/SELL`                                                                                                                                                                                             |
    | `status`        | string | `New Order`          | Order status: New Order (new order, no transaction), Partially Filled(partial transaction), Filled (full transaction), Cancelled (cancelled), Partially Filled/Cancelled (partial transaction but order canceled). |
  </Tab>
</Tabs>

***

## Cancel Order

**`POST`** `https://openapi.oceanxz-au.com/sapi/v1/cancel`

<br />

<br />

**Rate Limit**: 10 times/s

#### Headers

| Name          | Type    | Description  |
| ------------- | ------- | ------------ |
| X-CH-SIGN\*   | string  | Sign         |
| X-CH-APIKEY\* | string  | User API-KEY |
| X-CH-TS\*     | integer | Timestamp    |

#### Request Body

| Name      | Type   | Description                        |
| --------- | ------ | ---------------------------------- |
| orderId\* | string | Order id                           |
| symbol\*  | string | Lowercase symbol name E.g. ethusdt |

<Tabs>
  <Tab title="200  Successfully cancel order">
    ```json theme={null}
    {
      "symbol": "ethusdt",
      "orderId": ["1938321163093079425"],
      "status": "PENDING_CANCEL"
    }
    ```
  </Tab>
</Tabs>

<Tabs>
  <Tab title="Response:">
    | Parameter | Type   | Example              | Describe                      |
    | --------- | ------ | -------------------- | ----------------------------- |
    | `orderId` | long   | `150695552109032492` | Order ID (system generated)   |
    | `symbol`  | string | ethusdt              | Lowercase symbol name         |
    | `status`  | string | To be Cancelled      | Order Status: To be Cancelled |
  </Tab>
</Tabs>

***

## Batch Cancel Order

**`POST`** `https://openapi.oceanxz-au.com/sapi/v1/batchCancel`

**Rate Limit**: 10 times/s, Every batch cancel request contains at most 10 orders

#### Headers

| Name          | Type    | Description  |
| ------------- | ------- | ------------ |
| X-CH-SIGN\*   | string  | Sign         |
| X-CH-APIKEY\* | string  | User API-KEY |
| X-CH-TS\*     | integer | Timestamp    |

#### Request Body

| Name       | Type   | Description                                                                                                             |
| ---------- | ------ | ----------------------------------------------------------------------------------------------------------------------- |
| symbol\*   | string | Symbol name E.g. `BTCUSDT` or `btcusdt`                                                                                 |
| orderIds\* | array  | Collection of order IDs to be canceled. *The order id must be of numeric type rather than String type.* e.g.`[123,456]` |

<Tabs>
  <Tab title="200 ">
    ```java theme={null}
    {
        "success": [
            165964665990709251,
            165964665990709252,
            165964665990709253
        ],
        "failed": [ //Cancellation failure is usually because the order does not exist or the order status has reached the final state.
            165964665990709250
        ]
    }
    ```

    ```json theme={null}
    {} //Usually it is because the order number is wrong and you need to check whether the content in orderIds is correct.
    ```
  </Tab>
</Tabs>

***

## Current Open Orders

**`GET`** `https://openapi.oceanxz-au.com/sapi/v1/openOrders`

**Rate Limit**: 10 times/s

#### Query Parameters

| Name     | Type    | Description                        |
| -------- | ------- | ---------------------------------- |
| symbol\* | string  | Lowercase symbol name E.g. ethusdt |
| limit    | integer | Default 100; no maximum limit      |

#### Headers

| Name          | Type    | Description  |
| ------------- | ------- | ------------ |
| X-CH-SIGN\*   | string  | Sign         |
| X-CH-APIKEY\* | string  | User API-KEY |
| X-CH-TS\*     | integer | Timestamp    |

<Tabs>
  <Tab title="200 ">
    ```json theme={null}
    [
      {
        "symbol": "ETHUSDT",
        "side": "BUY",
        "executedQty": "0",
        "orderId": 1938321163093077686,
        "price": "0",
        "origQty": "0.10",
        "avgPrice": "0",
        "time": 1701240367864,
        "type": "MARKET",
        "status": "NEW_"
      },
      {
        "symbol": "ETHUSDT",
        "side": "BUY",
        "executedQty": "0",
        "orderId": 1938321163093078022,
        "price": "0",
        "origQty": "0.01",
        "avgPrice": "0",
        "time": 1701243281850,
        "type": "MARKET",
        "status": "NEW_"
      }
    ]
    ```
  </Tab>
</Tabs>

<Tabs>
  <Tab title="Response:">
    | Parameter     | Type   | Example              | Describe                                                                                                                                                                                                           |
    | ------------- | ------ | -------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
    | `orderId`     | long   | `150695552109032492` | Order ID (system generated)                                                                                                                                                                                        |
    | `symbol`      | string | `BTCUSDT`            | Uppercase symbol name                                                                                                                                                                                              |
    | `price`       | float  | `4765.29`            | Order price                                                                                                                                                                                                        |
    | `origQty`     | float  | `1.01`               | Order volume                                                                                                                                                                                                       |
    | `executedQty` | float  | `1.01`               | The number of already deal order                                                                                                                                                                                   |
    | `avgPrice`    | float  | `4754.24`            | The average price of already deal order                                                                                                                                                                            |
    | `type`        | string | `LIMIT`              | Order type :`LIMIT`/`MARKET`                                                                                                                                                                                       |
    | `time`        | long   | `1701243281850`      | Timestamp                                                                                                                                                                                                          |
    | `side`        | string | `BUY`                | Order side `BUY`/`SELL`                                                                                                                                                                                            |
    | `status`      | string | `New Order`          | Order status: New Order (new order, no transaction), Partially Filled(partial transaction), Filled (full transaction), Cancelled (cancelled), Partially Filled/Cancelled (partial transaction but order canceled). |
  </Tab>
</Tabs>

***

## Trading records

**`GET`** `https://openapi.oceanxz-au.com/sapi/v1/myTrades`

**Rate Limit**: 10 times/s

#### Query Parameters

| Name     | Type    | Description                             |
| -------- | ------- | --------------------------------------- |
| symbol\* | string  | Symbol name E.g. `BTCUSDT` or `btcusdt` |
| limit\*  | integer | Default 100; Maximum 100                |

#### Headers

| Name          | Type    | Description  |
| ------------- | ------- | ------------ |
| X-CH-SIGN\*   | string  | Sign         |
| X-CH-APIKEY\* | string  | User API-KEY |
| X-CH-TS\*     | integer | Timestamp    |

<Tabs>
  <Tab title="200 ">
    ```json theme={null}
    [
      {
        "symbol": "ETHUSDT",
        "side": "BUY",
        "fee": "0.00000000428",
        "isMaker": false,
        "isBuyer": true,
        "bidId": 1954603951049381893,
        "bidUserId": 10083,
        "feeCoin": "ETH",
        "price": "2334",
        "qty": "0.00000428",
        "askId": 1856176838352995447,
        "id": 159,
        "time": 1701623660989,
        "isSelf": false,
        "askUserId": 10671
      },
      {
        "symbol": "ETHUSDT",
        "side": "BUY",
        "fee": "0.00000004284",
        "isMaker": false,
        "isBuyer": true,
        "bidId": 1938321163093068889,
        "bidUserId": 10083,
        "feeCoin": "ETH",
        "price": "2334",
        "qty": "0.00004284",
        "askId": 1856176838352995447,
        "id": 158,
        "time": 1701165091964,
        "isSelf": false,
        "askUserId": 10671
      }
    ]
    ```
  </Tab>
</Tabs>

<Tabs>
  <Tab title="Response:">
    | Parameter   | Type    | Example              | Describe                                                     |
    | ----------- | ------- | -------------------- | ------------------------------------------------------------ |
    | `symbol`    | string  | `ETHBTC`             | Uppercase symbol name                                        |
    | `id`        | integer | `28457`              | Trade id                                                     |
    | `bidId`     | long    | `150695552109032492` | Buy side order ID                                            |
    | `askId`     | long    | `150695552109032493` | Sell side order ID                                           |
    | `price`     | string  | `"4.01"`             | Trade price                                                  |
    | `qty`       | string  | `"12"`               | Trade volume                                                 |
    | `time`      | long    | `1499865549590`      | Trade timestamp                                              |
    | `isBuyer`   | boolean | `true`               | `true` = Buyer, `false` = Seller                             |
    | `isMaker`   | boolean | `false`              | `true` = Maker, `false` = Taker                              |
    | `feeCoin`   | string  | `ETH`                | Trade fee coin                                               |
    | `fee`       | string  | `"0.01"`             | Trade fee                                                    |
    | `bidUserId` | integer | 10083                | Buy side user id                                             |
    | `askUserId` | integer | 10094                | Sell side user id                                            |
    | `isSelf`    | boolean | false                | Self deal status: true = is self deal, false = not self deal |
    | `side`      | string  | BUY                  | Taker order side: BUY/SELL                                   |
  </Tab>
</Tabs>

***

## Account

### Security: USER\_DATA

The interface in Trade requires API-key and signature for access.

***

## Account Information

**`GET`** `https://openapi.oceanxz-au.com/sapi/v1/account`

**Rate Limit**: 10 times/s

#### Headers

| Name          | Type    | Description  |
| ------------- | ------- | ------------ |
| X-CH-SIGN\*   | string  | Sign         |
| X-CH-APIKEY\* | string  | User API-KEY |
| X-CH-TS\*     | integer | Timestamp    |

<Tabs>
  <Tab title="200 Successfully obtained account information">
    ```json theme={null}
    {
      "balances": [
        {
          "asset": "ABAT",
          "free": "10.00",
          "locked": "20.00"
        },
        {
          "asset": "DOT",
          "free": "10.00",
          "locked": "10.00"
        },
        {
          "asset": "TT",
          "free": "50.00",
          "locked": "50.00"
        }
      ]
    }
    ```
  </Tab>
</Tabs>

<Tabs>
  <Tab title="Response:">
    | Parameter  | Type | Describe                          |
    | ---------- | ---- | --------------------------------- |
    | `balances` | `[]` | The collection or account balance |
  </Tab>

  <Tab title="Balances field:">
    | Parameter | Type   | Example | Describe                 |
    | --------- | ------ | ------- | ------------------------ |
    | `asset`   | string | `USDT`  | Coin name                |
    | `free`    | float  | 1000.30 | Account available amount |
    | `locked`  | float  | 400     | Account frozen amount    |
  </Tab>
</Tabs>
