Overview
moomoo OpenAPI provides programmatic market data and trading interfaces for investors and developers with technical capabilities, enabling you to build automated trading systems or market analysis tools based on your own strategies.
Capabilities Overview
| Category | Description |
|---|---|
| Real-time Quotes | Market snapshots, real-time quotes, order book/market depth, current candlesticks, intraday data, tick-by-tick trades |
| Basic Data | Stock basic information, trading calendars, adjustment factors, related sectors/plates, historical candlesticks, market status |
| Capital Flows | Intraday and historical capital flows, capital distribution |
| Sectors & Plates | Sector/plate lists, sector constituent stocks |
| Derivatives | Related futures, option expiration dates, option chains, combo option strategies/spreads/quotes, futures contract details, option volatility & exercise probability |
| Market Screener | Stock screener, warrant screener, option screener |
| IPO | IPO listings for Hong Kong, US, China A-shares, Malaysia, and Singapore markets |
| Personalization | Watchlists, watchlist group management |
| In-Depth Stock Data | Financial statements, analyst ratings & consensus, valuations, corporate actions, shareholder holdings, company profiles |
| Short Selling Data | Daily short selling volume, short interest |
| Financial Calendar | Dividend calendar, earnings calendar |
| Rankings | Pre/after-hours, top movers, heat, short selling, dividends and earnings beats |
| ARK | ARK holdings, trades, and returns |
| Institutional Holdings | Institution lists, profiles, holdings, and industry distribution |
| Industry Chain | Industry chains, sector plates, and heatmaps |
| Macro | Macro indicators, history, and FedWatch |
| Crypto Quotes | Fear & greed index, market overview, and institutional holdings |
| Event Contracts | Categories, contract lists, and combo quotes |
| Quote Push | WebSocket quote push: auth, subscribe, heartbeat, data format, error codes, and rate limits |
| Accounts & Positions | Authorized trading accounts, account funds/balances, position lists |
| Trading | Place orders, modify/replace orders, cancel orders, order confirmation, max buy/sell quantity |
| Orders | Active/open orders, order history, order details |
| Fills | Today's fills, fills history |
| Cash Logs | Paginated cash logs by time range, direction, and symbol |
| Combo Trading | Query tradable combo (multi-leg) information |
| Order Fees | Query order commission, tax, and fee details |
| Margin | Query margin ratios and lending information |
| Trade Push Notifications | Real-time push notifications for trading events, covering order placement, modification, cancellation, execution, etc. |
| Paper Trading | Paper trading accounts, funds, positions, order placement, modification, cancellation, active orders, order history, max buy/sell quantity |
| Crypto Trading | Place orders, modify orders, cancel orders, query max buy/sell quantity, order management, execution queries |
Market Data
Supports market data across Hong Kong, US, China A-shares, Singapore, Malaysia, and Japan markets, covering asset classes such as stocks, indices, options, and futures. See the table below for supported instruments.
Accessing market data requires appropriate permissions. To learn how to acquire market data permissions and understand access limits, please click here.
| Market | Instruments | moomoo Users |
|---|---|---|
| Hong Kong Market | Stocks, ETFs, Warrants, CBBCs, Inline Warrants | ✓ |
| Options | ✓ | |
| Futures | ✓ | |
| Indices | ✓ | |
| Sectors/Plates | ✓ | |
| US Market | Stocks, ETFs | ✓ |
| OTC Stocks | ✗ | |
| Options | ✓ | |
| Futures | ✓ | |
| Indices | ✗ | |
| Sectors/Plates | ✓ | |
| China A-Share Market | Stocks, ETFs | ✓ |
| Indices | ✓ | |
| Sectors/Plates | ✓ | |
| Singapore Market | Stocks, ETFs, REITs, DLCs, Structured Warrants | ✗ |
| Futures | ✗ | |
| Malaysia Market | Stocks, ETFs, Warrants, REITs | ✗ |
| Japan Market | Stocks, ETFs | ✗ |
| Futures | ✗ | |
| Australia Market | Stocks, ETFs | ✗ |
| Global Market | Forex | ✗ |
| Cryptocurrency Market | Cryptocurrencies | ✓ |
| Prediction Market | Event Contracts | ✓ |
Market Data Access Methods
- Subscribe to and receive real-time streaming data, including real-time quotes, real-time candlesticks, tick-by-tick trades, and order book depth
- Pull latest market snapshots, historical candlesticks, etc.
Trading Features
Trading Capabilities
Supports trading across Hong Kong, US, China A-shares, Singapore, Japan, Korea, Malaysia, Australia, Canada, and more. Covered instruments include stocks, options, futures, leveraged forex, and cryptocurrencies. The Live Trading columns below follow the products each broker has enabled on WebAPI.
| Market | Instruments | Paper Trading | Live Trading | ||||||
|---|---|---|---|---|---|---|---|---|---|
| moomoo HK | Moomoo US | Moomoo SG | Moomoo AU | Moomoo MY | Moomoo CA | Moomoo JP | |||
| Hong Kong Market | Stocks, Warrants, CBBCs, Inline Warrants | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✗ | ✗ |
| Options1 | ✓ | ✓ | ✗ | ✓ | ✗ | ✓ | ✗ | ✗ | |
| Futures | ✓ | ✓ | ✗ | ✗ | ✗ | ✗ | ✗ | ✗ | |
| US Market | Stocks | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| Options | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | |
| Index Options | ✗ | ✗ | ✗ | ✗ | ✓ | ✓ | ✓ | ✓ | |
| Futures | ✓ | ✓ | ✗ | ✓ | ✗ | ✓ | ✗ | ✗ | |
| China A-Share Market | Stock Connect Stocks | ✓ | ✓ | ✓ | ✓ | ✗ | ✓ | ✗ | ✗ |
| Non-Stock Connect Stocks | ✓ | ✗ | ✗ | ✗ | ✗ | ✗ | ✗ | ✗ | |
| Singapore Market | Stocks | ✗ | ✓ | ✗ | ✓ | ✗ | ✓ | ✗ | ✗ |
| Futures | ✓ | ✓ | ✗ | ✓ | ✗ | ✓ | ✗ | ✗ | |
| Japan Market | Stocks | ✗ | ✓ | ✗ | ✓ | ✗ | ✗ | ✗ | ✓ |
| Options | ✗ | ✗ | ✗ | ✗ | ✗ | ✗ | ✗ | ✓ | |
| Futures | ✓ | ✓ | ✗ | ✗ | ✗ | ✗ | ✗ | ✗ | |
| Korea Market | Stocks | ✗ | ✓ | ✗ | ✓ | ✗ | ✗ | ✗ | ✗ |
| Malaysia Market | Stocks | ✗ | ✗ | ✗ | ✗ | ✗ | ✓ | ✗ | ✗ |
| Futures | ✗ | ✗ | ✗ | ✗ | ✗ | ✓ | ✗ | ✗ | |
| Australia Market | Stocks | ✗ | ✗ | ✗ | ✗ | ✓ | ✗ | ✗ | ✗ |
| Canada Market | Stocks | ✗ | ✗ | ✗ | ✗ | ✗ | ✗ | ✓ | ✗ |
| Global Market | Leveraged Forex | ✗ | ✓ | ✗ | ✗ | ✗ | ✗ | ✗ | ✗ |
| Cryptocurrency Market2 | Cryptocurrencies | ✗ | ✓ | ✓ | ✗ | ✗ | ✗ | ✗ | ✗ |
| Prediction Market | Event Contracts | ✗ | ✗ | ✗ | ✗ | ✗ | ✗ | ✗ | ✗ |
- Includes index options; trading requires a futures account.
- Cryptocurrency trading permissions must be enabled.
Connection Methods
| Layer | Use Case |
|---|---|
| RESTful HTTP | Standard HTTP requests, suitable for all programming languages |
| WebSocket | Real-time push streaming for market data and trading events |
Next Steps
- Getting Started — Learn the API hosts, authentication methods, and make your first request.
- Rate Limit — Quota rules to design against before going live.
- Quote API — Browse quote API documentation.
- Trading API — Browse trading API documentation.
- Simulated Trading API — Browse simulated trading API documentation.
- Crypto Trading API — Browse crypto trading API documentation.