Options Open API
Base URL
The base url of open API can be found here
Public Options Endpoints
exchange
exchange
Current trading rules and symbol information.
Request Weight:
0
Request Url:
Parameters:
None
Response:
In the symbols
field, the endpoint will return information on current actively trading cryptos. You can ignore this section.
In the options
field: All actively trading options will be displayed.
For filters
in options
field:
Example:
getOptions
getOptions
Retrieves available trading and expired options. Expired options will be returned if expired
is set true
.
Request Weight:
1
Request URL:
Parameters:
Response:
Example:
index
index
Retrieves the current index price and EDP. This API endpoint does not take any Parameters.
Request Weight:
0
Request URL:
Parameters:
None
Response:
Example:
depth
depth
Retrieves the options order book.
Request Weight:
Adjusted based on the limit:
Request Url:
Parameters:
Response:
The fields bids
and asks
are lists of order book price level entries, sorted from best to worst.
Example:
trades
trades
Retrieve the latest trades that have occurred for a specific option.
Request Weight:
1
Request URL:
Parameters:
Response:
Example:
klines
klines
Retrieves the kline information (open, high, trade volume, etc.) for a specific option.
Request Weight:
1
Request URL:
Parameters:
Response:
Example:
base asset
refers to the asset that is the quantity of a symbol.
quote asset
refers to the asset that is the price of a symbol.
Private Options Endpoints
order
order
Places a buy order for an option. This API endpoint requires your request to be signed.
Request Weight:
1
Request URL:
Parameters:
You can get options' price, quantity configuration data in the exchange
endpoint.
Response:
In the fees
field:
Example:
cancel
cancel
Cancels an order, specified by orderId
or clientOrderId
. This API endpoint requires your request to be signed.
Request Weight:
1
Request Url:
Parameter:
One MUST be provided of these two parameters.
Response:
In the fees
field:
Example:
openOrders
openOrders
Retrieves open orders. This API endpoint requires your request to be signed.
Request Weight:
1
Request Url:
Parameters:
If orderId
is set, it will get orders < that orderId
. Otherwise most recent orders are returned.
Response:
In the fees
field:
Example:
positions
positions
Retrieves current positions. This API endpoint requires your request to be signed.
Request Weight:
1
Request Url:
Parameters:
Response:
For each unique symbol
, this endpoint will return the following information.
Example:
historyOrders
historyOrders
Retrieves history of orders that have been partially or fully filled or canceled. This API endpoint requires your request to be signed.
Request Weight:
1
Request Url:
Parameters:
Response:
In the fees
field:
Example:
getOrder
getOrder
Get details on a specific order, regardless of order state.
Request Weight:
1
Request Url:
Parameters:
Response:
In the fees
field:
Example:
myTrades
myTrades
Retrieve the trade history of the account. This API endpoint requires your request to be signed.
Request Weight:
1
Request Url:
Parameters:
Response:
Example:
settlements
settlements
Retrieves settlement events that have affected your account. This API endpoint requires your request to be signed.
Request Weight:
1
Request Url:
Parameters:
None
Responses:
Examples:
account
account
This endpoint is used to retrieve options account balance. This endpoint requires you to be signed.
Request Weight:
1
Request Url:
Parameters:
None
Response:
In the balances
field:
Examples:
Last updated