Seamless Integration / Extensive Documentation / Free Market Data

Retrieve Real-Time, Intraday & Historical Market Data via API

The Market Data API provides you with access to stock market data of over 8000 ETFs and stocks. Retrieve historical prices or stream the price development of your favorites in real-time.

Historical Market Data

Retrieve Open-High-Low-Close (OHLC) data, historical quotes and historical trades. Specify the type of data you want to retrieve using query parameters: set a specific time period, retrieve multiple ISINs or set the numbers format that suits you best.

Real-Time Market Data

Stream real-time market data via WebSockets. Receive the latest Quotes and Trades without any delays and integrate them directly into your brokerage use case.

Get started with the lemon.markets Market Data API

Use historical or real-time market data for your brokerage use case

Seamless integration

Integrate our stock database as well as historical & live market data quickly & easily into your use case via our API.

Extensive Documentation

An extensive documentation covering many edge cases to help you start building. Extend by OpenAPI specs with Swagger if that's your preference.

It's free

The streaming of historical and real-time market data is available completely free of charge. We charge the subscription fee based on your trading activity.

The lemon.markets Market Data API endpoints

Retrieve the latest prices or use the historical data of the last months. Go directly to the source or simply use our aggregations in candlestick format.

/quotes

Access the latest quotes (prices & volume) or make a request for a period of your choice.
Bid & Ask Price
Bid & Ask Volume
Up to 10 ISINs per request

/trades

Retrieve trades of instruments on a tick-per-tick basis for specific time frames.
Prices & volume
Tick-per-Tick data
Up to 10 ISINs per request

/ohlc

Directly retrieve aggregations of trades in candlestick format on a per-minute, hourly or daily basis.
Historical prices
Open, high, low, close
Aggregations on M1/H1/D1

Customise the API response to your needs

Easily alter your JSON response by using query parameters. Choose what data you want to see and in what format.

Define your customised time range

Use query parameters "from" and "to" to define the time range you are interested in

Choose your numbers format

Set query parameter "?decimals=true" to receive your data in decimal format. Not what you need? Set "?decimals=false" for int format.

Define the date format that fits your needs

Set query parameter "?epoch=true" to receive the dates in your market data as UNIX timestamp. Choose "?epoch=false" for ISO string dates.

All about the market data API

FAQ - We hope your questions will be answered here
How can I live stream market data for a specific stock?

To stream market data live, you can easily take advantage of our streaming offer. You can find more information in our documentation.

How can I use market data for my trading strategy?

There are different ways to integrate market data into your own trading strategy. On our blog we present different ideas and concepts - get inspired.

What types of market data are available in the Market Data API?

With our API you have access to historical (quotes, trades, OHLC) and can stream live market data like real-time quotes. For more details please visit our FAQ.

How far back can historical market data be queried?

Currently you can access historical quotes, trades and OHLCs until August 2021. If there is a need for data further back, we will be happy to look into it.

What does it cost to query market data with the lemon.markets API?

You can choose from a three-tier subscription model. Based on your usage intensity, there is sure to be something for you and your wallet. The paper trading environment will always be available to you free of charge. For more details please visit our pricing page.

Get started

Join lemon.markets

Register now and experience the API firsthand. Test your use case within the Paper environment or immediately open a brokerage account with us, start wiring funds to your account, and place your first orders with the Trading API within minutes.


Need any help?
Ask a question in our CommunityAsk a question in our CommunityGet started with our DocumentationGet started with our DocumentationGet inspired on our BlogGet inspired on our Blog
© lemon.markets 2022Privacy PolicyImprint
Systems are down

As a tied agent under § 3 Sec. 2 WplG on the account and under the liability of DonauCapital Wertpapier GmbH, Passauer Str. 5, 94161 Ruderting (short: DonauCapital), lemon.markets GmbH offers you the receipt and transmission of orders for clients (§ 2 Sec. 2 Nr. 3 WpIG) of financial instruments according to § 2 Sec. 5 WpIG as well as brokerage of accounts.