Web application / Webull OpenAPI & Cloud MCP

Webull: Cloud MCP instruction approvals, OpenAPI splits and schema drift

Public specification, OAuth 2.1/DCR discovery, bridge HTML, and staged observation analysis of Webull: out-of-band place_*_instruction confirmation (72h TTL, zero dedup), Non-Trading watchlist/community writes, market-data entitlement splits, 32-char client_order_id limits, and missing fixed-income APIs.

Contract model · conceptual sequence, not a claim about internal deployment
  1. OAuth 2.1 PKCE/DCR -> place_*_instruction + jump_url
  2. 72h App/Desktop Place Order + zero dedup polling
  3. Non-Trading write hazard + 32-char client_order_id
01 / EMPIRICAL RECORD

Investigation question

How does Webull Cloud MCP separate AI order-instruction drafting from human in-app confirmation, how do Cloud MCP’s Non-Trading scopes differ from true read-only access, and where do OpenAPI, Local MCP, CLI, and live Cloud MCP contracts diverge?

02 / EMPIRICAL RECORD

Observed

Cookie-free inspection of 51 first-party Webull developer sources (developer.webull.com Markdown OpenAPI/MCP/CLI specs, llms.txt, official Cloud MCP video demos, and sp.webull.com/call-app-instruction bridge HTML) plus RFC 9728/8414 OAuth 2.1 discovery at api.webull.com and shape-only staged verification maps five distinct brokerage surfaces. First, Webull Cloud MCP (https://api.webull.com/mcp) supports unauthenticated public-client OAuth 2.1 + PKCE S256 + RFC 7591 Dynamic Client Registration across 6 scopes (separating instruction:all from order:read and order:write). Its Trading tier exposes zero direct order-submission tools: all place_*_instruction tools create pending 72-hour instructions returning a jump_url (sp.webull.com/call-app-instruction -> webulldt:// or uswebull://) that require explicit human Place Order confirmation in Webull App (>=12.4.0) or Desktop (>=9.15.6) before any OMS order exists. Second, Cloud MCP’s Non-Trading consent tier is NOT strictly read-only: it includes mutating watchlist CRUD (and documented community publishing tools). Third, market-data subscriptions do not transfer across surfaces: Cloud MCP inherits Webull App subscriptions, whereas OpenAPI/Local MCP/CLI (AK/SK) require separate Non-Display OpenAPI subscriptions. Fourth, direct OpenAPI enforces a 32-character client_order_id ceiling (rejecting 36-char hyphenated UUIDv4s), returns no preview_id, omits direct US Treasury/bond instrument_types, and restricts replace/cancel strictly to API-placed orders.

03 / EMPIRICAL RECORD

Inferred

Five clean-room safety rules apply to brokerage tooling against Webull: (1) never assume Non-Trading OAuth grants zero-mutation safety—explicitly block watchlist/community write tools unless authorized; (2) always poll get_pending_instruction before retrying place_*_instruction after a timeout because Webull Cloud MCP performs zero server-side deduplication and generates distinct instruction_id and client_order_id values on identical retries; (3) join approved instruction_order_details[].client_order_id to get_order_detail for authoritative order state rather than relying on delayed list endpoints, while handling live Title-Case status ("Approved"/"Rejected"), bare JSON array responses, and camelCase drift in get_account_authorization; (4) generate 32-char hex client_order_ids for OpenAPI order placement; and (5) treat PaperTrade account Reset cautiously because resetting one sandbox account resets all sandbox accounts and regenerates account_ids.

04 / METHODOLOGICAL BOUNDARY

Unknown & limitations

Public specs and shape-only staged read/dry-run verification leave five questions explicitly unverified: whether PaperTrade accounts support Cloud MCP OAuth, whether app-confirmed Cloud MCP instructions can be cancelled or modified via OpenAPI, cross-OAuth-client visibility of pending instructions, live Expired status string casing, and whether Webull exposes fixed-income/bond workflows exclusively inside web/mobile UI outside OpenAPI and Cloud MCP.

05 / EMPIRICAL RECORD

Architecture

Webull separates five retail/developer planes: (1) Cloud MCP (api.webull.com/mcp with OAuth 2.1 PKCE/DCR and out-of-band mobile/desktop instruction confirmation via sp.webull.com/call-app-instruction); (2) Local MCP (webull-openapi-mcp stdio over AK/SK HMAC-SHA1); (3) Go CLI (webull-openapi-cli with non-trading OAuth vs direct AK/SK); (4) OpenAPI REST + gRPC Trade Events; and (5) partner Connect API.

06 / EMPIRICAL RECORD

Domain & data models

10 account_class enums (INDIVIDUAL_CASH/MARGIN, IRAs, CRYPTO, FUTURES, EVENTS_CASH); 5 OpenAPI instrument_types (EQUITY, OPTION, FUTURES, CRYPTO, EVENT—no fixed-income/T-bills); decimal-string balances (note live INDIVIDUAL_MARGIN returns array open_margin_calls and buying-power variants); 32-char client_order_id; and 72h pending instructions.

07 / EMPIRICAL RECORD

Workflows & state machines

Cloud MCP order lifecycle runs draft (place_*_instruction, LIMIT/BUY/SELL/NORMAL only) -> push/inbox + jump_url -> human Reject or Place Order -> Approved/Rejected/Expired (or API revoke_instruction returning OPENAPI_INSTRUCTION_STATUS_NOT_ALLOW_CANCEL once processed) -> 1:1 join via client_order_id into get_order_detail.

08 / EMPIRICAL RECORD

API & protocol surfaces

Cloud MCP at https://api.webull.com/mcp (100 live tools vs 103 documented: 7 place_*_instruction, revoke_instruction, get_pending/processed_instruction, plus Non-Trading reads and watchlist writes); Local MCP (108 tools); OpenAPI /trading/* REST endpoints (preview 150/10s, place/replace/cancel 600/60s, list/get 2/2s) and events-api.webull.com gRPC stream.