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.
Feature image
Bid & Ask Price
Feature image
Bid & Ask Volume
Feature image
Up to 10 ISINs per request

/trades

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

/ohlc

Directly retrieve aggregations of trades in candlestick format on a per-minute, hourly or daily basis.
Feature image
Historical prices
Feature image
Open, high, low, close
Feature image
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.

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.

Triangle green
Circle square

Need any help?
Get started with our DocumentationGet started with our DocumentationGet inspired on our BlogGet inspired on our Blog
© lemon.markets 2023Privacy 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.