The lemon.markets API consists of a variety of different endpoints that together enable you to place orders at the stock market, manage your previous orders and portfolio, and retrieve market data conveniently. Please take a look at the graphic below to understand how our different API services are structured and related with each other.
Let us quickly go through the different sections.
Most requests with our API need authentication. This works via the separate request URL:
Find out more in the authentication chapter.
All requests related to paper money trading are executed against the URL:
The paper money state is a place where unused money is store and can be reached via:
Find out more about the state here.
Spaces are a key concept of lemon.markets. There are 3 GET operations that deal specifically with spaces, with the base URL being:
All Order endpoints are always related to one specific space and can be accessed via the base URL:
Find out more about the different order use cases and specific endpoints here.
Similarly to orders, the portfolio is also always related to one specific space. Its endpoints can be accessed via:
Find out more about the portfolio endpoints here.
Transactions also occur in one specific space. All transactions-related endpoints can be accessed through the base URL:
Find out more about the transactions endpoints here.
You can get specific information on trading venues through the URL:
For detailed information on trading venues, click here
You can retrieve instruments through the URL:
For detailed information, click here
To receive data about the quotes of an instrument, use the following URL:
For detailed information on the quotes endpoint, click here.
Historic Data in the "Open-High-Low-Close" (OHLC) format can be accessed through the base URL:
Find out more information here.
Information about trades of specific instruments can be accessed through the request URL:
Find more information here.