GET
/
fapi
/
v1
/
myTrades
curl --request GET \
  --url https://futuresopenapi.odyssey.trade/fapi/v1/myTrades \
  --header 'x-ch-apikey: <x-ch-apikey>' \
  --header 'x-ch-sign: <x-ch-sign>' \
  --header 'x-ch-ts: <x-ch-ts>'
[
  {
    "contract_name": "<string>",
    "trade_id": 123,
    "bidId": 123,
    "askId": 123,
    "price": "<string>",
    "qty": "<string>",
    "amount": "<string>",
    "time": 123,
    "isBuyer": true,
    "isMaker": true,
    "fee": "<string>",
    "bidUserId": 123,
    "askUserId": 123,
    "side": "BUY"
  }
]

Headers

x-ch-sign
string
required

Request signature.

x-ch-apikey
string
required

The user's API key.

x-ch-ts
string
required

The current time in milliseconds.

Query Parameters

symbol
string
required

The uppercase contract name, e.g., E-BTC-USDT.

limit
integer
required

The maximum number of items that can be returned in the query result. The value must be a positive integer. The default value is 100, maximum value is 1000.

fromId
string | null
required

Start searching from this record.

Response

200
application/json

Successful Response

The response is of type object[].