Options Trading
The Options API supports US options trading through the same unified order endpoints. Options are differentiated by setting instrument_type: OPTION and providing option-specific parameters including the legs array with strike price, expiration, and option type.
Supported: single-leg options, multi-leg options, and leg-in / leg-out on existing positions. Both equity / ETF options and index options are supported.
For stock trading, see the dedicated Stock Trading page.
Supported Order Types
| Order Type | Single-Leg | Multi-Leg | Description |
|---|---|---|---|
MARKET | ✓ | ✓ | Execute at the current market price |
LIMIT | ✓ | ✓ | Execute at the specified price. For multi-leg orders, the price is the net price of the strategy |
STOP_LOSS | ✓ | — | Trigger a market order when the stop price is reached |
STOP_LOSS_LIMIT | ✓ | — | Trigger a limit order when the stop price is reached |
Time in Force
| Value | Description |
|---|---|
DAY | Valid for the current trading day only |
GTC | Good till cancelled. For multi-leg orders, GTC is only available when every leg is an option leg. Multi-leg orders that include a stock leg only support DAY |
Trading Session
| Value | Description |
|---|---|
CORE | Core trading session only |
Multi-Leg Orders
- A multi-leg order contains 2 to 4 legs on the same underlying.
- The order is executed according to the composition of
legs.option_strategyis not validated. sideis the direction of the whole order. When a stock leg is included,sidefollows the direction of the stock leg.position_intentindicates opening or closing. ABUY_TO_OPENposition is closed withSELL_TO_CLOSE, and aSELL_TO_OPENposition is closed withBUY_TO_CLOSE.- The quantity of a stock leg equals the number of contracts × the contract deliverable (100 for standard options).
- The leg combinations available to an account depend on its option level.
- Whether a combination that requires Level 4 can be traded on a given underlying is also subject to the instrument data.
- An existing stock position and a short call on the same underlying are combined automatically. Other existing positions are combined only through a leg-in order.
Key Parameters
Order-Level Parameters (new_orders[])
| Parameter | Required | Description |
|---|---|---|
client_order_id | Yes | Unique client-defined order ID (max 32 chars, must be unique per account) |
combo_type | Yes | NORMAL for standard orders |
option_strategy | No | Reference only and not validated. The order is executed according to the composition of legs |
instrument_type | Yes | OPTION |
market | Yes | US |
symbol | Yes | Underlying symbol (e.g., AAPL) |
order_type | Yes | MARKET, LIMIT, STOP_LOSS, or STOP_LOSS_LIMIT |
side | Yes | BUY or SELL. For multi-leg orders, this is the direction of the whole order |
quantity | Yes | Number of strategy units (contracts for single-leg orders) |
entrust_type | Yes | QTY (only quantity-based orders are supported) |
time_in_force | Yes | DAY or GTC |
support_trading_session | No | CORE (default) |
limit_price | Conditional | Required for LIMIT and STOP_LOSS_LIMIT. For multi-leg orders, this is the net debit or net credit of the strategy |
stop_price | Conditional | Required for STOP_LOSS and STOP_LOSS_LIMIT |
position_intent | No | BUY_TO_OPEN, SELL_TO_CLOSE, SELL_TO_OPEN, or BUY_TO_CLOSE. Applies to both single-leg and multi-leg orders |
leg_in_or_out | No | LEG_IN to add legs to an existing position, LEG_OUT to close one leg of an existing multi-leg position. See Leg In and Leg Out |
position_id | Conditional | ID of the target position, from Account Positions. Required when leg_in_or_out is set |
legs | Yes | Array of leg definitions. 1 leg for SINGLE, 2 to 4 legs for multi-leg strategies |
Leg Parameters (legs[])
| Parameter | Required | Description |
|---|---|---|
instrument_type | Yes | OPTION for option legs, EQUITY for the stock leg of a strategy |
market | Yes | US |
symbol | Yes | Underlying symbol (e.g., AAPL) |
side | Yes | BUY or SELL |
strike_price | Option legs | Strike price of the option |
option_expire_date | Option legs | Expiration date in YYYY-MM-DD format |
option_type | Option legs | CALL or PUT |
quantity | Yes | Number of contracts for an option leg, or number of shares for a stock leg. Leg quantities must keep the ratio of the strategy (for example 1 / 2 / 1 for a butterfly) |
Leg In and Leg Out
Leg In adds legs to an existing position to form a multi-leg strategy, for example selling a higher-strike call against an existing long call to form a vertical spread.
- Account Positions returns the
position_idof the existing position. - A leg-in order sets
leg_in_or_out: LEG_INand theposition_id, and contains only the new leg(s) inlegs.
Leg Out closes one leg of an existing multi-leg position and keeps the remaining legs.
- Account Positions returns the
position_idof the multi-leg position. - A leg-out order sets
leg_in_or_out: LEG_OUTand theposition_idof the strategy position, and contains the leg to close inlegs.
Preview Order supports the same leg_in_or_out and position_id fields for estimating the cost of a leg-in or leg-out order.
Replacing and Cancelling Multi-Leg Orders
| Rule | Description |
|---|---|
legs is required | When replacing a multi-leg order, modify_orders[].legs must include every leg of the order, each with its id (from Order Detail) and new quantity. Single-leg orders are not affected |
| Net price | limit_price is the net price of the strategy, the same as when placing the order |
| Structure cannot change | Adding or removing legs, or changing a strike, expiration, or side, requires cancelling the order and placing a new one |
| Cancel | Cancel by client_order_id. The whole multi-leg order is cancelled |
Orders and Positions
- Order Detail, Open Orders, and Order History return multi-leg orders with
option_strategy,legs,leg_in_or_out, andposition_id. Multi-leg orders placed from the Webull app or desktop are also returned. - Account Positions returns multi-leg positions with
option_strategyandlegs. See Accounts.
Request Examples — Single-Leg
- Buy Call (Limit)
- Buy Put (Limit)
- Sell Call (Limit)
- Sell Put (Limit)
- Market Order
- Stop Loss
- Stop Loss Limit
Buy 1 AAPL call option at a limit price of $11.00, strike price $220, expiring 2026-06-19.
{
"account_id": "<your_account_id>",
"new_orders": [
{
"client_order_id": "<unique_id>",
"combo_type": "NORMAL",
"option_strategy": "SINGLE",
"instrument_type": "OPTION",
"market": "US",
"symbol": "AAPL",
"order_type": "LIMIT",
"limit_price": "11.0",
"side": "BUY",
"quantity": "1",
"entrust_type": "QTY",
"time_in_force": "DAY",
"legs": [
{
"instrument_type": "OPTION",
"market": "US",
"symbol": "AAPL",
"side": "BUY",
"strike_price": "220.0",
"option_expire_date": "2026-06-19",
"option_type": "CALL",
"quantity": "1"
}
]
}
]
}
Buy 2 TSLA put options at a limit price of $8.50, strike price $255, expiring 2026-07-17.
{
"account_id": "<your_account_id>",
"new_orders": [
{
"client_order_id": "<unique_id>",
"combo_type": "NORMAL",
"option_strategy": "SINGLE",
"instrument_type": "OPTION",
"market": "US",
"symbol": "TSLA",
"order_type": "LIMIT",
"limit_price": "8.5",
"side": "BUY",
"quantity": "2",
"entrust_type": "QTY",
"time_in_force": "DAY",
"legs": [
{
"instrument_type": "OPTION",
"market": "US",
"symbol": "TSLA",
"side": "BUY",
"strike_price": "255.0",
"option_expire_date": "2026-07-17",
"option_type": "PUT",
"quantity": "2"
}
]
}
]
}
Sell 1 AAPL call option at a limit price of $5.00, strike price $230, expiring 2026-06-19.
{
"account_id": "<your_account_id>",
"new_orders": [
{
"client_order_id": "<unique_id>",
"combo_type": "NORMAL",
"option_strategy": "SINGLE",
"instrument_type": "OPTION",
"market": "US",
"symbol": "AAPL",
"order_type": "LIMIT",
"limit_price": "5.0",
"side": "SELL",
"quantity": "1",
"entrust_type": "QTY",
"time_in_force": "DAY",
"legs": [
{
"instrument_type": "OPTION",
"market": "US",
"symbol": "AAPL",
"side": "SELL",
"strike_price": "230.0",
"option_expire_date": "2026-06-19",
"option_type": "CALL",
"quantity": "1"
}
]
}
]
}
Sell 1 NVDA put option at a limit price of $6.00, strike price $100, expiring 2026-07-17.
{
"account_id": "<your_account_id>",
"new_orders": [
{
"client_order_id": "<unique_id>",
"combo_type": "NORMAL",
"option_strategy": "SINGLE",
"instrument_type": "OPTION",
"market": "US",
"symbol": "NVDA",
"order_type": "LIMIT",
"limit_price": "6.0",
"side": "SELL",
"quantity": "1",
"entrust_type": "QTY",
"time_in_force": "DAY",
"legs": [
{
"instrument_type": "OPTION",
"market": "US",
"symbol": "NVDA",
"side": "SELL",
"strike_price": "100.0",
"option_expire_date": "2026-07-17",
"option_type": "PUT",
"quantity": "1"
}
]
}
]
}
Buy 1 AAPL call option at market price.
{
"account_id": "<your_account_id>",
"new_orders": [
{
"client_order_id": "<unique_id>",
"combo_type": "NORMAL",
"option_strategy": "SINGLE",
"instrument_type": "OPTION",
"market": "US",
"symbol": "AAPL",
"order_type": "MARKET",
"side": "BUY",
"quantity": "1",
"entrust_type": "QTY",
"time_in_force": "DAY",
"legs": [
{
"instrument_type": "OPTION",
"market": "US",
"symbol": "AAPL",
"side": "BUY",
"strike_price": "220.0",
"option_expire_date": "2026-06-19",
"option_type": "CALL",
"quantity": "1"
}
]
}
]
}
Sell 1 AAPL call option when the option price drops to $3.00 (triggers a market order).
{
"account_id": "<your_account_id>",
"new_orders": [
{
"client_order_id": "<unique_id>",
"combo_type": "NORMAL",
"option_strategy": "SINGLE",
"instrument_type": "OPTION",
"market": "US",
"symbol": "AAPL",
"order_type": "STOP_LOSS",
"stop_price": "3.0",
"side": "SELL",
"quantity": "1",
"entrust_type": "QTY",
"time_in_force": "DAY",
"legs": [
{
"instrument_type": "OPTION",
"market": "US",
"symbol": "AAPL",
"side": "SELL",
"strike_price": "220.0",
"option_expire_date": "2026-06-19",
"option_type": "CALL",
"quantity": "1"
}
]
}
]
}
Sell 1 TSLA put option when the price drops to $4.00 (stop), then place a limit order at $3.80.
{
"account_id": "<your_account_id>",
"new_orders": [
{
"client_order_id": "<unique_id>",
"combo_type": "NORMAL",
"option_strategy": "SINGLE",
"instrument_type": "OPTION",
"market": "US",
"symbol": "TSLA",
"order_type": "STOP_LOSS_LIMIT",
"stop_price": "4.0",
"limit_price": "3.8",
"side": "SELL",
"quantity": "1",
"entrust_type": "QTY",
"time_in_force": "DAY",
"legs": [
{
"instrument_type": "OPTION",
"market": "US",
"symbol": "TSLA",
"side": "SELL",
"strike_price": "255.0",
"option_expire_date": "2026-07-17",
"option_type": "PUT",
"quantity": "1"
}
]
}
]
}
Request Examples — Multi-Leg
- Bull Call Spread
- Short Iron Condor
- Covered Call
- Close a Spread
- Leg In
- Leg Out
- Replace
Open 1 AAPL bull call spread at a net debit of $2.50: buy the $220 call and sell the $230 call, both expiring 2026-12-18.
{
"account_id": "<your_account_id>",
"new_orders": [
{
"client_order_id": "<unique_id>",
"combo_type": "NORMAL",
"order_type": "LIMIT",
"limit_price": "2.50",
"quantity": "1",
"option_strategy": "VERTICAL",
"position_intent": "BUY_TO_OPEN",
"side": "BUY",
"time_in_force": "DAY",
"entrust_type": "QTY",
"instrument_type": "OPTION",
"market": "US",
"symbol": "AAPL",
"legs": [
{
"side": "BUY",
"quantity": "1",
"symbol": "AAPL",
"strike_price": "220.00",
"option_expire_date": "2026-12-18",
"instrument_type": "OPTION",
"option_type": "CALL",
"market": "US"
},
{
"side": "SELL",
"quantity": "1",
"symbol": "AAPL",
"strike_price": "230.00",
"option_expire_date": "2026-12-18",
"instrument_type": "OPTION",
"option_type": "CALL",
"market": "US"
}
]
}
]
}
Open 1 SPY short iron condor for a net credit of $1.80 with strikes 560 / 570 / 600 / 610, all expiring 2026-12-18.
{
"account_id": "<your_account_id>",
"new_orders": [
{
"client_order_id": "<unique_id>",
"combo_type": "NORMAL",
"order_type": "LIMIT",
"limit_price": "1.80",
"quantity": "1",
"option_strategy": "IRON_CONDOR",
"position_intent": "SELL_TO_OPEN",
"side": "SELL",
"time_in_force": "GTC",
"entrust_type": "QTY",
"instrument_type": "OPTION",
"market": "US",
"symbol": "SPY",
"legs": [
{
"side": "BUY",
"quantity": "1",
"symbol": "SPY",
"strike_price": "560.00",
"option_expire_date": "2026-12-18",
"instrument_type": "OPTION",
"option_type": "PUT",
"market": "US"
},
{
"side": "SELL",
"quantity": "1",
"symbol": "SPY",
"strike_price": "570.00",
"option_expire_date": "2026-12-18",
"instrument_type": "OPTION",
"option_type": "PUT",
"market": "US"
},
{
"side": "SELL",
"quantity": "1",
"symbol": "SPY",
"strike_price": "600.00",
"option_expire_date": "2026-12-18",
"instrument_type": "OPTION",
"option_type": "CALL",
"market": "US"
},
{
"side": "BUY",
"quantity": "1",
"symbol": "SPY",
"strike_price": "610.00",
"option_expire_date": "2026-12-18",
"instrument_type": "OPTION",
"option_type": "CALL",
"market": "US"
}
]
}
]
}
Buy 100 shares of AAPL and sell 1 AAPL $230 call expiring 2026-12-18 at a net debit of $215.00. Strategies with a stock leg only support DAY.
{
"account_id": "<your_account_id>",
"new_orders": [
{
"client_order_id": "<unique_id>",
"combo_type": "NORMAL",
"order_type": "LIMIT",
"limit_price": "215.00",
"quantity": "1",
"option_strategy": "COVERED_STOCK",
"position_intent": "BUY_TO_OPEN",
"side": "BUY",
"time_in_force": "DAY",
"entrust_type": "QTY",
"instrument_type": "OPTION",
"market": "US",
"symbol": "AAPL",
"legs": [
{
"side": "BUY",
"quantity": "100",
"symbol": "AAPL",
"instrument_type": "EQUITY",
"market": "US"
},
{
"side": "SELL",
"quantity": "1",
"symbol": "AAPL",
"strike_price": "230.00",
"option_expire_date": "2026-12-18",
"instrument_type": "OPTION",
"option_type": "CALL",
"market": "US"
}
]
}
]
}
Close the bull call spread opened above at a net credit of $4.00. The side and position_intent are reversed, and so is the side of each leg.
{
"account_id": "<your_account_id>",
"new_orders": [
{
"client_order_id": "<unique_id>",
"combo_type": "NORMAL",
"order_type": "LIMIT",
"limit_price": "4.00",
"quantity": "1",
"option_strategy": "VERTICAL",
"position_intent": "SELL_TO_CLOSE",
"side": "SELL",
"time_in_force": "DAY",
"entrust_type": "QTY",
"instrument_type": "OPTION",
"market": "US",
"symbol": "AAPL",
"legs": [
{
"side": "SELL",
"quantity": "1",
"symbol": "AAPL",
"strike_price": "220.00",
"option_expire_date": "2026-12-18",
"instrument_type": "OPTION",
"option_type": "CALL",
"market": "US"
},
{
"side": "BUY",
"quantity": "1",
"symbol": "AAPL",
"strike_price": "230.00",
"option_expire_date": "2026-12-18",
"instrument_type": "OPTION",
"option_type": "CALL",
"market": "US"
}
]
}
]
}
Existing position: 1 long AAPL $220 call expiring 2026-12-18. The order sells 1 AAPL $230 call with the same expiration and combines it with the existing position into a vertical spread. Only the new leg is sent.
{
"account_id": "<your_account_id>",
"new_orders": [
{
"client_order_id": "<unique_id>",
"combo_type": "NORMAL",
"order_type": "LIMIT",
"limit_price": "3.20",
"quantity": "1",
"leg_in_or_out": "LEG_IN",
"position_id": "<position_id_of_long_call>",
"position_intent": "SELL_TO_OPEN",
"side": "SELL",
"time_in_force": "DAY",
"entrust_type": "QTY",
"instrument_type": "OPTION",
"market": "US",
"symbol": "AAPL",
"legs": [
{
"side": "SELL",
"quantity": "1",
"symbol": "AAPL",
"strike_price": "230.00",
"option_expire_date": "2026-12-18",
"instrument_type": "OPTION",
"option_type": "CALL",
"market": "US"
}
]
}
]
}
Existing position: an AAPL 220 / 230 bull call spread. The order buys back the short $230 call and keeps the long $220 call.
{
"account_id": "<your_account_id>",
"new_orders": [
{
"client_order_id": "<unique_id>",
"combo_type": "NORMAL",
"order_type": "LIMIT",
"limit_price": "1.10",
"quantity": "1",
"option_strategy": "SINGLE",
"leg_in_or_out": "LEG_OUT",
"position_id": "<position_id_of_spread>",
"position_intent": "BUY_TO_CLOSE",
"side": "BUY",
"time_in_force": "DAY",
"entrust_type": "QTY",
"instrument_type": "OPTION",
"market": "US",
"symbol": "AAPL",
"legs": [
{
"side": "BUY",
"quantity": "1",
"symbol": "AAPL",
"strike_price": "230.00",
"option_expire_date": "2026-12-18",
"instrument_type": "OPTION",
"option_type": "CALL",
"market": "US"
}
]
}
]
}
Change an open bull call spread order to 2 spreads at a net debit of $2.40. Every leg must be included with its id from Order Detail.
{
"account_id": "<your_account_id>",
"modify_orders": [
{
"client_order_id": "<client_order_id>",
"quantity": "2",
"limit_price": "2.40",
"legs": [
{
"id": "<leg_id_1>",
"quantity": "2"
},
{
"id": "<leg_id_2>",
"quantity": "2"
}
]
}
]
}
What's Next
- Stock Trading — Stock and ETF order management
- Accounts — Query balances and positions, including multi-leg option positions
- Trading API FAQ — Common questions and troubleshooting