Retrieve Real-Time, Intraday & Historical Market Data via API
The lemon.markets market data API provides you with access to stock market data of over 1500 ETFs and 6000 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
Integrate our stock database as well as historical & live market data quickly & easily into your project 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 via our API. We only charge a subscription fee for 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
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 early access to lemon.markets
Building a reliable trading infrastructure takes time. But we are working as fast as we can. Register now for our Paper Trading API and be the first to know when we go live with our Trading API.