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
Integrate our stock database as well as historical & live market data quickly & easily into your use case via our API.
An extensive documentation covering many edge cases to help you start building. Extend by OpenAPI specs with Swagger if that's your preference.
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 endpointsRetrieve 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.
/quotesAccess the latest quotes (prices & volume) or make a request for a period of your choice.
/tradesRetrieve trades of instruments on a tick-per-tick basis for specific time frames.
/ohlcDirectly retrieve aggregations of trades in candlestick format on a per-minute, hourly or daily basis.
Customise the API response to your needs
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.
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.