Webull

App · 11 actions

Read Webull brokerage accounts, balances, positions and orders.

Actions

ActionWhat it does
Get account balanceRead cash, margin, and asset balances.
Get order detailsRead the latest details for a client order ID.
List account positionsRead the account's current positions.
List brokerage accountsList accounts available to your Webull app.
List crypto instrumentsFind cryptocurrencies available through Webull US.
List event contract marketsFind event contracts and their trading symbols.
List event contract seriesFind event series by category or symbol.
List futures productsGet Webull's US futures product codes.
List open ordersRead a page of resting orders.
List order historyRead a page of orders placed during the selected time range.
List stock instrumentsFind US equities and ETFs available through Webull.

Get account balance

Read cash, margin, and asset balances.

Inputs

Accountaccount_idtextRequired
Choose the Webull account.

Outputs

dataobject
The response from Webull.
Example output
{
  "data": {
    "account_currency_assets": [
      {}
    ],
    "total_asset_currency": "example",
    "total_cash_balance": "example",
    "total_market_value": "example",
    "total_net_liquidation_value": "example"
  }
}

Get order details

Read the latest details for a client order ID.

Inputs

Accountaccount_idtextRequired
Choose the Webull account.
Client order IDclient_order_idtextRequired
Client order ID from either orders list.

Outputs

dataobject
The response from Webull.
Example output
{
  "data": {
    "client_order_id": "example",
    "combo_order_id": "example",
    "orders": [
      {
        "client_order_id": "example",
        "order_id": "example",
        "status": "example",
        "symbol": "example"
      }
    ]
  }
}

List account positions

Read the account's current positions.

Inputs

Accountaccount_idtextRequired
Choose the Webull account.

Outputs

datalist
The response from Webull.
Example output
{
  "data": [
    {
      "currency": "example",
      "position_id": "example",
      "quantity": "example",
      "symbol": "example"
    }
  ]
}

List brokerage accounts

List accounts available to your Webull app.

Inputs

None.

Outputs

datalist
The response from Webull.
Example output
{
  "data": [
    {
      "account_id": "example",
      "account_type": "example"
    }
  ]
}

List crypto instruments

Find cryptocurrencies available through Webull US.

Inputs

Symbolssymbolslist
Enter up to 100 symbols.
Statusstatustext
Filter by trading status.One of: OC, CO, NT.
Pagination keypagination_keytext
Pagination key returned by the preceding page.

Outputs

dataobject
The response from Webull.
Example output
{
  "data": {
    "data": [
      {
        "instrument_id": "example",
        "name": "example",
        "symbol": "example"
      }
    ],
    "pagination_key": "example"
  }
}

List event contract markets

Find event contracts and their trading symbols.

Inputs

Series symbolseries_symboltext
Filter by series symbol.
Event symbolevent_symboltext
Filter by event symbol.
Expiration date afterexpiration_date_afterdate
Only return contracts expiring from this date.
Symbolssymbolslist
Enter up to 100 symbols.
Pagination keypagination_keytext
Pagination key returned by the preceding page.

Outputs

dataobject
The response from Webull.
Example output
{
  "data": {
    "data": [
      {
        "instrument_id": "example",
        "name": "example",
        "symbol": "example"
      }
    ],
    "pagination_key": "example"
  }
}

List event contract series

Find event series by category or symbol.

Inputs

Categorycategorytext
Filter by event category.One of: ECONOMICS, FINANCIALS, POLITICS, ENTERTAINMENT, SCIENCE_TECHNOLOGY (Science technology), CLIMATE_WEATHER (Climate weather), TRANSPORTATION, CRYPTO, SPORTS.
Symbolssymbolslist
Enter up to 100 symbols.
Pagination keypagination_keytext
Pagination key returned by the preceding page.

Outputs

dataobject
The response from Webull.
Example output
{
  "data": {
    "data": [
      {
        "instrument_id": "example",
        "name": "example",
        "symbol": "example"
      }
    ],
    "pagination_key": "example"
  }
}

List futures products

Get Webull's US futures product codes.

Inputs

None.

Outputs

datalist
The response from Webull.
Example output
{
  "data": [
    {
      "code": "example",
      "name": "example"
    }
  ]
}

List open orders

Read a page of resting orders.

Inputs

Accountaccount_idtextRequired
Choose the Webull account.
Pagination keypagination_keytext
Pagination key returned by the preceding page.

Outputs

dataobject
The response from Webull.
Example output
{
  "data": {
    "data": [
      {
        "client_order_id": "example",
        "combo_order_id": "example",
        "orders": [
          {
            "client_order_id": "example",
            "order_id": "example",
            "status": "example",
            "symbol": "example"
          }
        ]
      }
    ],
    "pagination_key": "example"
  }
}

List order history

Read a page of orders placed during the selected time range.

Inputs

Accountaccount_idtextRequired
Choose the Webull account.
Pagination keypagination_keytext
Pagination key returned by the preceding page.
Start timestart_timedate and time
Start of the order history window.
End timeend_timedate and time
End of the order history window.

Outputs

dataobject
The response from Webull.
Example output
{
  "data": {
    "data": [
      {
        "client_order_id": "example",
        "combo_order_id": "example",
        "orders": [
          {
            "client_order_id": "example",
            "order_id": "example",
            "status": "example",
            "symbol": "example"
          }
        ]
      }
    ],
    "pagination_key": "example"
  }
}

List stock instruments

Find US equities and ETFs available through Webull.

Inputs

Symbolssymbolslist
Enter up to 100 symbols.
Statusstatustext
Filter by trading status.One of: OC, CO, NT.
Pagination keypagination_keytext
Pagination key returned by the preceding page.
Sub categorysub_categorytext
Filter by security subtype when no symbols are selected.One of: COMMON_STOCK (Common stock), ETF, PREFERRED_STOCK (Preferred stock), WARRANT, UNITS, RIGHT.

Outputs

dataobject
The response from Webull.
Example output
{
  "data": {
    "data": [
      {
        "instrument_id": "example",
        "name": "example",
        "symbol": "example"
      }
    ],
    "pagination_key": "example"
  }
}

On this page