POST
/
fapi
/
v1
/
orderHistorical
curl --request POST \
  --url https://futuresopenapi.odyssey.trade/fapi/v1/orderHistorical \
  --header 'Content-Type: application/json' \
  --header 'x-ch-apikey: <x-ch-apikey>' \
  --header 'x-ch-sign: <x-ch-sign>' \
  --header 'x-ch-ts: <x-ch-ts>' \
  --data '{
  "contract_name": "<string>",
  "limit": 100,
  "from_id": 123
}'
[
  {
    "side": "BUY",
    "client_id": "<string>",
    "ctime_ms": 123,
    "position_type": 1,
    "order_id": 123,
    "average_price": "<string>",
    "open_or_close": "OPEN",
    "leverage_level": 123,
    "type": 123,
    "close_taker_fee_rate": "<string>",
    "open_maker_fee_rate": "<string>",
    "close_maker_fee_rate": "<string>",
    "open_taker_fee_rate": "<string>",
    "volume": "<string>",
    "deal_volume": "<string>",
    "price": "<string>",
    "contract_id": 123,
    "ctime": "2023-11-07T05:31:56Z",
    "contractName": "<string>",
    "deal_money": "<string>",
    "status": 123
  }
]

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.

Body

application/json
contract_name
string
required
limit
integer
default:100
from_id
integer | null

Response

200
application/json
Successful Response
side
enum<string>
required
Available options:
BUY,
SELL
client_id
string
required
ctime_ms
integer
required
position_type
enum<integer>
required
Available options:
1,
2
order_id
integer
required
open_or_close
enum<string>
required
Available options:
OPEN,
CLOSE
leverage_level
integer
required
type
integer
required
close_taker_fee_rate
string
required
open_maker_fee_rate
string
required
close_maker_fee_rate
string
required
open_taker_fee_rate
string
required
volume
string
required
deal_volume
string
required
contract_id
integer
required
ctime
string
required
contractName
string
required
deal_money
string
required
status
integer
required
average_price
string | null
price
string | null