English
Back
Download
Need Help?
Log in to access Online Inquiry
Back to the Top

What is Moomoo API?

1. Introduction

Moomoo API provides a wide variety of market data and trading services for your programmed trading to meet the needs of every developer's programmed trading and help your Algo dreams.

 

2. Account

Moomoo API involves two types of accounts, account ID and universal account.

2.1 User Account

The user account ID can be used for logging into APP and Moomoo API. You can use your user account ID and login password to log in and obtain market data.

2.2 Universal Account

Universal account allows trading across multiple markets (including Hong Kong stocks, US stocks, A-shares, and funds) in various currencies. There's no need for multiple accounts.

Universal Accounts come in two forms:

● Securities Universal Account: Trade stocks, ETFs, options, and other securities across different markets.

● Futures Universal Account: Trade futures.

 

3. Functionality

There are 2 functions of Moomoo API: quotation and trading.

3.1 Quotation Functions

3.1.1 Quotation Data Categories

Including stocks, indices, options and futures from HK, US and A-share markets. Find the specific types of support in the table below.

Market

Contract

Status

HK Market

Stocks, ETFs, warrants, CBBCs, inline warrants

✓

Options

✓

Futures

✓

Indices

✓

Plates

✓

US Market

Stocks, ETFs, warrants, CBBCs, inline warrants

✓

OTC stocks

×

Options

✓

Futures

✓

Indices

×

Plates

✓

A-share

Market

Stocks, ETFs

✓

Indices

✓

Plates

✓

Singapore

Market

Stocks, ETFs, business trusts, REITs, daily leverage certificates

×

Futures

×

Japanese

Market

Stocks, ETFs, REITs

×

Futures

×

*Futures trading is not offered by Moomoo Financial Inc. and is not available to US customers. Futures trading involves high risks and is not suitable for all investors. The amount you could lose may be greater than your initial investment.

 

3.1.2 Method to Obtain Market Data

● Subscribe and receive pushed real-time quote, candlestick, tick-by-tick and order book.

● Request for the latest market snapshot, historical candlesticks etc.

 

3.2 Trading Functions

Trading is available across multiple markets, including Hong Kong, the US, A-shares, Singapore, Japan, and Malaysia, covering stocks, options, futures, and other instruments. Details are as follows:

Market

Instrument

Paper Trading

Live Trading

FUTU HK

Moomoo US

Moomoo SG

Moomoo AU

Moomoo MY

Moomoo CA

Moomoo JP

Hong Kong Market

Stocks, ETFs, warrants, CBBCs, inline warrants

✓

✓

✓

✓

✓

✓

X

X

Options¹

✓

✓

X

X

X

X

X

X

Futures

✓

✓

X

X

X

X

X

X

US Market

Stocks, ETFs

✓

✓

✓

✓

✓

✓

✓

✓

Options

✓

✓

✓

✓

✓

✓

✓

✓

Futures

✓

✓

X

✓

X

✓

X

X

A-share Market

Stock Connect stocks, ETFs

✓

✓

✓

✓

X

✓

X

X

Non-Stock Connect stocks

✓

X

X

X

X

X

X

X

Singapore Market

Stocks, ETFs, structured warrants, REITs, DLCs

X

✓

X

✓

X

✓

X

X

Futures

✓

✓

X

✓

X

X

X

X

Japanese Market

Stocks, ETFs, REITs

X

✓

X

✓

X

X

X

✓

Futures

✓

✓

X

X

X

X

X

X

Malaysia Market

Stocks, ETFs

X

X

X

X

X

✓

X

X

Australia Market

Stocks, ETFs

X

X

X

X

X

X

X

X

Canada Market

Stocks

X

X

X

X

X

X

X

X

Crypto Market³

Cryptocurrencies

X

✓

✓

✓

X

X

X

X

Prediction Market

Event contracts

X

X

✓

X

X

X

X

X

 

4. Features

4.1 Full platform and multi-language

● Supports Windows, MacOS, CentOS, Ubuntu

● Supports Python, Java, C#, C++, JavaScript, etc.

4.2 Stable speed and free transaction

● Stable technical architecture, directly connected to the exchanges

● The fastest single order placing speed can reach 0.0014s

● There is no additional charge for trading via Moomoo API

4.3 Abundant investment varieties

● Support real-time quotes, live trading, and paper trading in the Hong Kong, US, and A-share markets

4.4 Professional institutional services

● Customized market data and trading solutions

 

5. Technical Structure

moomoo offers two access methods: local gateway access and a cloud-native RESTful API. Both provide the same interface capabilities, so you can choose the one that fits your needs.

  • Local gateway: Start the OpenD gateway locally or in the cloud. It exposes interfaces over a custom TCP protocol that is independent of programming language. For easier use, moomoo provides API SDKs in each language. For more details, see the API documentation.

  • Cloud-native RESTful API: Call the Futu RESTful API directly over standard HTTPS, without installing or starting a gateway locally. Requests and responses use JSON and are not tied to any programming language, so any language or script that can send network requests can integrate quickly. The service is hosted in the cloud, so there is nothing to install, upgrade, or maintain, and updates take effect immediately. It also supports OAuth 2.1 + PKCE, API key signatures (Ed25519 / RSA-SHA256), and other authentication methods, covering both user authorization and server-side calls. For more details, see the API documentation.

Options trading subject to eligibility requirements. Strategies available will depend on options level approved. Options trading is very risky and is not appropriate for all customers. Read the Characteristics and Risks of Standardized Options before considering trading options. Options transactions are complex and may involve losing the entire investment in a short period of time. Supporting documentation for any claims, if applicable, will be furnished upon request.

Futures live trading is currently only available for trading accounts with Moomoo SG or FUTU HK and is not yet supported by accounts with Moomoo US or Moomoo AU. Futures trading involves high risks and is not suitable for all investors. The amount you could lose may be greater than your initial investment.

Losses can happen more quickly with quant and algorithmic trading compared to other forms of trading. Trading in financial markets carries inherent risks, making effective risk management a crucial aspect of quantitative trading systems. These risks encompass various factors that can disrupt the performance of such systems, including market volatility leading to losses.

Moreover, quants face additional risks such as capital allocation, technological broker-related uncertainties. It's important to note that automated investment strategies do not guarantee profits or protect against losses

The responsiveness of the trading system or app may vary due to market conditions, system performance, and other factors. Account access, real-time data, and trade execution may be affected by factors such as market volatility.

Risk Disclosure This presentation is for informational and educational use only and is not a recommendation or endorsement of any particular investment or investment strategy. Investment information provided in this content is general in nature, strictly for illustrative purposes, and may not be appropriate for all investors. It is provided without respect to individual investors’ financial sophistication, financial situation, investment objectives, investing time horizon, or risk tolerance. You should consider the appropriateness of this information having regard to your relevant personal circumstances before making any investment decisions. Past investment performance does not indicate or guarantee future success. Returns will vary, and all investments carry risks, including loss of principal. Moomoo makes no representation or warranty as to its adequacy, completeness, accuracy or timeliness for any particular purpose of the above content.

Market Insights
Hot AI Stocks
Crypto Stock Picks
Unlock Now
ARK ETFs
Unlock Now