Stocks
You can use these APIs to get stock information.
List All Stocks
Retrieve a list of all stocks available in the specified region (us for the US stock markets and tr for Borsa Istanbul).
curl --request GET \
--url 'https://api.getlaplace.com/api/v2/stock/all?page=1&pageSize=10®ion=us' \
--header 'Authorization: Bearer your-api-key'Parameters
| Name | Description | Example | Parameter Type | Data Type |
|---|---|---|---|---|
| page | Page number (Optional) | 1 | query | number |
| pageSize | Page size (Optional) | 10 | query | number |
| region | Region code | query | string |
Response
(Note: Actual response can be different length and other fields may be present)
▼"root" : [ 3 items … ]
▼0 : { 8 items … }
▼1 : { 8 items … }
▼2 : { 8 items … }
Stock Details By ID
Retrieves detailed information about a specific stock by its unique identifier.
curl --request GET \
--url 'https://api.getlaplace.com/api/v1/stock/6203d1ba1e6748752755559a?locale=en' \
--header 'Authorization: Bearer your-api-key'Parameters
| Name | Description | Example | Parameter Type | Data Type |
|---|---|---|---|---|
| locale | Locale code | query | string | |
| id | Unique identifier | 6203d1ba1e6748752755559a | path | string |
Response
(Note: Actual response can be different length and other fields may be present)
▼"root" : { 14 items … }
▼"localized_description" : { 3 items … }
▼"localizedShortDescription" : { 2 items … }
Stock Details By Symbol
Retrieves detailed information about a specific stock by its symbol, region, and asset class.
curl --request GET \
--url 'https://api.getlaplace.com/api/v1/stock/detail?locale=en&symbol=AAPL®ion=us&asset_class=equity' \
--header 'Authorization: Bearer your-api-key'Parameters
| Name | Description | Example | Parameter Type | Data Type |
|---|---|---|---|---|
| locale | Locale code | query | string | |
| symbol | Symbol of the stock. | AAPL | query | string |
| region | Region code | query | string | |
| asset_class | Asset class | equity | query | string |
Response
(Note: Actual response can be different length and other fields may be present)
▼"root" : { 14 items … }
▼"localized_description" : { 3 items … }
▼"localizedShortDescription" : { 2 items … }
Historical Price
Retrieves historical price data for one or more stock symbols in the specified region.
The response includes OHLC data (o, h, l, c) and timestamps. If available, volume data may also be included.
curl --request GET \
--url 'https://api.getlaplace.com/api/v1/stock/price?region=us&symbols=AAPL,TSLA&keys=1D' \
--header 'Authorization: Bearer your-api-key'Parameters
| Name | Description | Example | Parameter Type | Data Type |
|---|---|---|---|---|
| region | Region code | query | string | |
| symbols | Comma-separated list of stock symbols | AAPL,TSLA | query | array |
| keys | Comma-separated list of time periods to fetch. | query | array |
Response
(Note: Actual response can be different length and other fields may be present)
▼"root" : [ 2 items … ]
▼0 : { 9 items … }
▼"1D" : [ 2 items … ]
▼0 : { 6 items … }
▼1 : { 6 items … }
▼"1M" : [ 0 items … ]
▼"1W" : [ 0 items … ]
▼"1Y" : [ 0 items … ]
▼"2Y" : [ 0 items … ]
▼"3M" : [ 0 items … ]
▼"3Y" : [ 0 items … ]
▼"5Y" : [ 0 items … ]
▼1 : { 9 items … }
▼"1D" : [ 2 items … ]
▼0 : { 6 items … }
▼1 : { 6 items … }
▼"1M" : [ 0 items … ]
▼"1W" : [ 0 items … ]
▼"1Y" : [ 0 items … ]
▼"2Y" : [ 0 items … ]
▼"3M" : [ 0 items … ]
▼"3Y" : [ 0 items … ]
▼"5Y" : [ 0 items … ]
Historical Price Interval (BIST Only)
Retrieves the historical price of a stock in a specified time range and interval. This endpoint can be useful if you want to increase the frequency of the data you receive.
Detail
If you send detail=true in the query parameters, you will get unadjusted values for the fields. When a stock split occurs (for example, a Bedelli Sermaye Artırımı in the Turkish Stock Market), the historical prices are also adjusted with the split ratio to not have any sudden drops/increases in the graph. It is sometimes useful to get the unadjusted price, which can be done by sending detail=true; in this case, new fields such as uo, uc, uh, ul will come from the body along with o, c, l, h.
If you have access to broker data, volume will also be returned with the v field, and if you have sent a request to get the detail, then the uv field will also be returned
curl --request GET \
--url 'https://api.getlaplace.com/api/v1/stock/price/interval?stock=AKBNK®ion=tr&fromDate=2025-03-29 16:04:00&toDate=2025-04-29 16:04:00&interval=1d&detail=false&numIntervals=' \
--header 'Authorization: Bearer your-api-key'Parameters
| Name | Description | Example | Parameter Type | Data Type |
|---|---|---|---|---|
| stock | It can be either stock symbol or stock id you got from other endpoints. | AKBNK | query | string |
| region | Region code | tr | query | string |
| fromDate | The interval start date (YYYY-MM-DD HH:mm:SS) | 2025-03-29 16:04:00 | query | string |
| toDate | The interval end date (YYYY-MM-DD HH:mm:SS) | 2025-04-29 16:04:00 | query | string |
| interval | The duration of the candlestick interval | query | string | |
| detail | Whether to get the unadjusted values for open, high, close, low. (Optional) | query | boolean | |
| numIntervals | Number of intervals (Optional) (1–1440) | query | number |
Response
(Note: Actual response can be different length and other fields may be present)
▼"root" : [ 2 items … ]
▼0 : { 6 items … }
▼1 : { 6 items … }
Stock Tick Rules (BIST Only)
Retrieves tick size rules and price limits for a given stock in the tr region (Borsa Istanbul).
The response includes price range bands with their corresponding tickSize, as well as trading limit values such as basePrice, lowerPriceLimit, and upperPriceLimit.
curl --request GET \
--url 'https://api.getlaplace.com/api/v1/stock/rules?region=tr&symbol=ASELS' \
--header 'Authorization: Bearer your-api-key'Parameters
| Name | Description | Example | Parameter Type | Data Type |
|---|---|---|---|---|
| region | Region code | tr | query | string |
| symbol | The stock symbol | ASELS | query | string |
Response
(Note: Actual response can be different length and other fields may be present)
▼"root" : { 5 items … }
▼"rules" : [ 2 items … ]
▼0 : { 3 items … }
▼1 : { 3 items … }
Stock Restrictions (BIST Only)
Retrieves active trading restrictions for a specific stock (TR region only). Each restriction includes type, description, symbol, and validity date range (startDate, endDate). For market-wide restrictions, date fields may be empty and the relevant market is specified in the market field.
curl --request GET \
--url 'https://api.getlaplace.com/api/v1/stock/restrictions?region=tr&symbol=ADEL' \
--header 'Authorization: Bearer your-api-key'Parameters
| Name | Description | Example | Parameter Type | Data Type |
|---|---|---|---|---|
| region | Region code | tr | query | string |
| symbol | The stock symbol | ADEL | query | string |
Response
(Note: Actual response can be different length and other fields may be present)
▼"root" : [ 3 items … ]
▼0 : { 6 items … }
▼1 : { 6 items … }
▼2 : { 6 items … }
List Stock Restrictions (BIST Only)
Retrieves all active trading restrictions in the TR market.
Each restriction includes its identifier, title, description, and applicable symbol or market. For market-wide restrictions, startDate and endDate may be null, and the market field indicates the affected market.
curl --request GET \
--url https://api.getlaplace.com/api/v1/stock/restrictions/all \
--header 'Authorization: Bearer your-api-key'Response
(Note: Actual response can be different length and other fields may be present)
▼"root" : [ 7 items … ]
▼0 : { 6 items … }
▼1 : { 6 items … }
▼2 : { 6 items … }
▼3 : { 6 items … }
▼4 : { 6 items … }
▼5 : { 6 items … }
▼6 : { 6 items … }
Generate Tradingview Chart (BIST Only)
Generates a technical analysis chart for the specified stock using the TradingView library and returns the chart as an image.
Chart configuration can be customized using parameters such as period, resolution, indicators, and chartType.
For supported chart types, see TradingView ChartStyle.
For the full list of available indicators, see TradingView Indicators.
curl --request GET \
--url 'https://api.getlaplace.com/api/v1/stock/chart?symbol=THYAO®ion=tr&period=1M&resolution=5m&indicators=["MACD", "Moving Average"]&chartType=0' \
--header 'Authorization: Bearer your-api-key'Parameters
| Name | Description | Example | Parameter Type | Data Type |
|---|---|---|---|---|
| symbol | Stock symbol | THYAO | query | string |
| region | Region code | query | string | |
| period | Chart period (Optional) | query | string | |
| resolution | Chart resolution (Optional) | query | string | |
| indicators | Technical analysis indicators to overlay on the chart (e.g. MACD, RSI, Bollinger Bands). (Optional) | ["MACD", "Moving Average"] | query | string |
| chartType | Defines the chart visualization style (e.g. candlestick, line, area). (Optional) | query | string |
Response
(Note: Actual response can be different length and other fields may be present)