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
contract_name
string
required
trade_id
integer
required
bidId
integer
required
askId
integer
required
price
string
required
qty
string
required
amount
string
required
time
integer
required
isBuyer
boolean
required
isMaker
boolean
required
fee
string
required
bidUserId
integer
required
askUserId
integer
required
side
enum<string>
required
Available options:
BUY,
SELL