Overview
moomoo OpenAPI provides programmatic access to market data and trading for developers who want to build their own strategies, trading tools, or analysis workflows.
Capabilities
| Category | Description |
|---|---|
| Real-time Quote | Market snapshot, stock quote, order book, current K-line, time-sharing data, tick-by-tick trades |
| Basic Data | Stock basic info, trading days, rehabilitation factor, owner plate, history K-line, market state |
| Capital Flow | Intraday and historical capital flow, capital distribution |
| Plate / Sector | Plate list, plate constituent stocks |
| Derivatives | Reference futures, option expiration, option chain, futures info, option volatility and exercise probability |
| Market Screening | Stock screen, warrant screen, option screen |
| IPO | IPO lists for HK, US, A-share, MY, SG markets |
| Watchlist | User security list, group management |
| Stock Deep Data | Financial statements, analyst ratings, valuation, corporate actions, shareholders, company profile |
| Short Selling | Daily short volume, short interest |
| Account & Positions | Authorized trading accounts, account funds, position list |
| Trading | Place order, modify order, cancel order, order confirm, max trade quantity |
| Orders | Open orders, history orders, order details |
| Deals | Today's deals, history deals |
| Trade Event Push | Real-time push for trade events, including order placement, modification, cancellation, and fills |
| Simulated Trading | Simulated accounts, funds, positions, place/modify/cancel orders, orders, history orders, max buy/sell quantity |
Market Coverage
| Market | Code Prefix | Instruments |
|---|---|---|
| Hong Kong | HK | Stocks, ETFs, Warrants/CBBCs, Options, Futures |
| US | US | Stocks, ETFs, Options |
| Shanghai A-share | SH | A-shares, ETFs |
| Shenzhen A-share | SZ | A-shares, ETFs |
| Singapore | SG | Stocks, ETFs |
| Japan | JP | Stocks, ETFs |
| Australia | AU | Stocks, ETFs |
| Canada | CA | Stocks, ETFs |
| Malaysia | BMS | Stocks, ETFs |
Interface Types
| Layer | Use Case |
|---|---|
| RESTful HTTP | Standard HTTP requests, works with any programming language |
| WebSocket | Real-time push for quotes and trade events |
Next Steps
- Getting Started - Learn the API Host, choose an authentication method, 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.