# Webull

> Read Webull brokerage accounts, balances, positions and orders.

App · 11 actions. Web page: https://docs.lodol.com/docs/integrations/webull

## Actions

### Get account balance

Read cash, margin, and asset balances.

**Inputs**

- Account (`account_id`, text, required): Choose the Webull account.

**Outputs**

- `data` (object): The response from Webull.

**Example output**

```json
{
  "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**

- Account (`account_id`, text, required): Choose the Webull account.
- Client order ID (`client_order_id`, text, required): Client order ID from either orders list.

**Outputs**

- `data` (object): The response from Webull.

**Example output**

```json
{
  "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**

- Account (`account_id`, text, required): Choose the Webull account.

**Outputs**

- `data` (list): The response from Webull.

**Example output**

```json
{
  "data": [
    {
      "currency": "example",
      "position_id": "example",
      "quantity": "example",
      "symbol": "example"
    }
  ]
}
```

### List brokerage accounts

List accounts available to your Webull app.

**Inputs**: None.

**Outputs**

- `data` (list): The response from Webull.

**Example output**

```json
{
  "data": [
    {
      "account_id": "example",
      "account_type": "example"
    }
  ]
}
```

### List crypto instruments

Find cryptocurrencies available through Webull US.

**Inputs**

- Symbols (`symbols`, list): Enter up to 100 symbols.
- Status (`status`, text): Filter by trading status. One of: `OC`, `CO`, `NT`.
- Pagination key (`pagination_key`, text): Pagination key returned by the preceding page.

**Outputs**

- `data` (object): The response from Webull.

**Example output**

```json
{
  "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 symbol (`series_symbol`, text): Filter by series symbol.
- Event symbol (`event_symbol`, text): Filter by event symbol.
- Expiration date after (`expiration_date_after`, date): Only return contracts expiring from this date.
- Symbols (`symbols`, list): Enter up to 100 symbols.
- Pagination key (`pagination_key`, text): Pagination key returned by the preceding page.

**Outputs**

- `data` (object): The response from Webull.

**Example output**

```json
{
  "data": {
    "data": [
      {
        "instrument_id": "example",
        "name": "example",
        "symbol": "example"
      }
    ],
    "pagination_key": "example"
  }
}
```

### List event contract series

Find event series by category or symbol.

**Inputs**

- Category (`category`, text): Filter by event category. One of: `ECONOMICS`, `FINANCIALS`, `POLITICS`, `ENTERTAINMENT`, `SCIENCE_TECHNOLOGY` (Science technology), `CLIMATE_WEATHER` (Climate weather), `TRANSPORTATION`, `CRYPTO`, `SPORTS`.
- Symbols (`symbols`, list): Enter up to 100 symbols.
- Pagination key (`pagination_key`, text): Pagination key returned by the preceding page.

**Outputs**

- `data` (object): The response from Webull.

**Example output**

```json
{
  "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**

- `data` (list): The response from Webull.

**Example output**

```json
{
  "data": [
    {
      "code": "example",
      "name": "example"
    }
  ]
}
```

### List open orders

Read a page of resting orders.

**Inputs**

- Account (`account_id`, text, required): Choose the Webull account.
- Pagination key (`pagination_key`, text): Pagination key returned by the preceding page.

**Outputs**

- `data` (object): The response from Webull.

**Example output**

```json
{
  "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**

- Account (`account_id`, text, required): Choose the Webull account.
- Pagination key (`pagination_key`, text): Pagination key returned by the preceding page.
- Start time (`start_time`, date and time): Start of the order history window.
- End time (`end_time`, date and time): End of the order history window.

**Outputs**

- `data` (object): The response from Webull.

**Example output**

```json
{
  "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**

- Symbols (`symbols`, list): Enter up to 100 symbols.
- Status (`status`, text): Filter by trading status. One of: `OC`, `CO`, `NT`.
- Pagination key (`pagination_key`, text): Pagination key returned by the preceding page.
- Sub category (`sub_category`, text): Filter by security subtype when no symbols are selected. One of: `COMMON_STOCK` (Common stock), `ETF`, `PREFERRED_STOCK` (Preferred stock), `WARRANT`, `UNITS`, `RIGHT`.

**Outputs**

- `data` (object): The response from Webull.

**Example output**

```json
{
  "data": {
    "data": [
      {
        "instrument_id": "example",
        "name": "example",
        "symbol": "example"
      }
    ],
    "pagination_key": "example"
  }
}
```
