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&region=us' \
  --header 'Authorization: Bearer your-api-key'

Parameters

NameDescriptionExampleParameter TypeData Type
page
Page number (Optional)
1querynumber
pageSize
Page size (Optional)
10querynumber
region
Region code
querystring

Response

(Note: Actual response can be different length and other fields may be present)

▼"root" : [ 3 items … ]
▼0 : { 8 items … }
"id" : string"6203d1ba1e67487527555594"
"name" : string"Agilent Technologies Inc."
"active" : booltrue
"symbol" : string"A"
"sectorId" : string"65533e047844ee7afe9941bd"
"assetType" : string"stock"
"industryId" : string"65533e441fa5c7b58afa0962"
"updatedDate" : string"2022-02-09T14:37:46.368Z"
}
▼1 : { 8 items … }
"id" : string"6203d1ba1e67487527555595"
"name" : string"Alcoa Corp"
"active" : booltrue
"symbol" : string"AA"
"sectorId" : string"65533e047844ee7afe9941c0"
"assetType" : string"stock"
"industryId" : string"65533e441fa5c7b58afa097d"
"updatedDate" : string"2022-02-09T14:37:46.368Z"
}
▼2 : { 8 items … }
"id" : string"675a0087188356cdf4eb535d"
"name" : string"AXS First Priority CLO Bond ETF"
"active" : booltrue
"symbol" : string"AAA"
"sectorId" : string""
"assetType" : string"etf"
"industryId" : string""
"updatedDate" : string"2024-12-11T21:13:43.572Z"
}
]

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

NameDescriptionExampleParameter TypeData Type
locale
Locale code
querystring
id
Unique identifier
6203d1ba1e6748752755559apathstring

Response

(Note: Actual response can be different length and other fields may be present)

▼"root" : { 14 items … }
"id" : string"6203d1ba1e6748752755559a"
"name" : string"Apple Inc"
"active" : booltrue
"region" : string"us"
"symbol" : string"AAPL"
"sectorId" : string"65533e047844ee7afe9941bf"
"assetType" : string"stock"
"assetClass" : string"equity"
"industryId" : string"65533e441fa5c7b58afa0972"
"description" : string"Apple Inc. is a leading global technology company known for designing and developing a wide range of innovative consumer electronics, software, and services. Founded in 1976 and headquartered in Cupertino, California, Apple is among the world's largest companies, with the iPhone as its flagship product making up the majority of its sales. It offers an integrated ecosystem that includes Macs, iPads, Apple Watches, and services like Apple Music and iCloud. Apple designs its own software and semiconductors, with products manufactured through partners like Foxconn and TSMC. The company continues to expand its offerings in streaming, subscriptions, and other new technologies."
"updatedDate" : string"2022-02-09T14:37:46.368Z"
"shortDescription" : string"Designs and develops consumer electronics, software, and services, including the iPhone, iPad, and Apple Music."
▼"localized_description" : { 3 items … }
"en" : string"Apple Inc. is a leading global technology company known for designing and developing a wide range of innovative consumer electronics, software, and services. Founded in 1976 and headquartered in Cupertino, California, Apple is among the world's largest companies, with the iPhone as its flagship product making up the majority of its sales. It offers an integrated ecosystem that includes Macs, iPads, Apple Watches, and services like Apple Music and iCloud. Apple designs its own software and semiconductors, with products manufactured through partners like Foxconn and TSMC. The company continues to expand its offerings in streaming, subscriptions, and other new technologies."
"tr" : string"Apple Inc., yenilikçi tüketici elektroniği, yazılım ve hizmetler tasarlayıp geliştiren, önde gelen küresel bir teknoloji şirketidir. 1976 yılında kurulan ve merkezi Cupertino, Kaliforniya’da bulunan Apple, dünyanın en büyük şirketlerinden biridir ve satışlarının çoğunluğunu oluşturan amiral gemisi ürünü iPhone ile tanınır. Şirket, Mac’ler, iPad’ler, Apple Watch’lar ve Apple Music ile iCloud gibi hizmetleri içeren entegre bir ekosistem sunmaktadır. Apple, yazılımını ve yarı iletkenlerini kendi tasarlamakta, ürünlerini Foxconn ve TSMC gibi ortakları aracılığıyla üretmektedir. Şirket, akış hizmetleri, abonelikler ve diğer yeni teknolojiler alanında sunduğu ürünleri genişletmeye devam etmektedir."
"def" : string"Apple Inc., yenilikçi tüketici elektroniği, yazılım ve hizmetler tasarlayıp geliştiren, önde gelen küresel bir teknoloji şirketidir. 1976 yılında kurulan ve merkezi Cupertino, Kaliforniya’da bulunan Apple, dünyanın en büyük şirketlerinden biridir ve satışlarının çoğunluğunu oluşturan amiral gemisi ürünü iPhone ile tanınır. Şirket, Mac’ler, iPad’ler, Apple Watch’lar ve Apple Music ile iCloud gibi hizmetleri içeren entegre bir ekosistem sunmaktadır. Apple, yazılımını ve yarı iletkenlerini kendi tasarlamakta, ürünlerini Foxconn ve TSMC gibi ortakları aracılığıyla üretmektedir. Şirket, akış hizmetleri, abonelikler ve diğer yeni teknolojiler alanında sunduğu ürünleri genişletmeye devam etmektedir."
}
▼"localizedShortDescription" : { 2 items … }
"en" : string"Designs and develops consumer electronics, software, and services, including the iPhone, iPad, and Apple Music."
"tr" : string"iPhone, iPad ve Apple Music dahil olmak üzere tüketici elektroniği, yazılım ve hizmetleri tasarlar ve geliştirir."
}
}

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&region=us&asset_class=equity' \
  --header 'Authorization: Bearer your-api-key'

Parameters

NameDescriptionExampleParameter TypeData Type
locale
Locale code
querystring
symbol
Symbol of the stock.
AAPLquerystring
region
Region code
querystring
asset_class
Asset class
equityquerystring

Response

(Note: Actual response can be different length and other fields may be present)

▼"root" : { 14 items … }
"id" : string"6203d1ba1e6748752755559a"
"name" : string"Apple Inc"
"active" : booltrue
"region" : string"us"
"symbol" : string"AAPL"
"sectorId" : string"65533e047844ee7afe9941bf"
"assetType" : string"stock"
"assetClass" : string"equity"
"industryId" : string"65533e441fa5c7b58afa0972"
"description" : string"Apple Inc. is a leading global technology company known for designing and developing a wide range of innovative consumer electronics, software, and services. Founded in 1976 and headquartered in Cupertino, California, Apple is among the world's largest companies, with the iPhone as its flagship product making up the majority of its sales. It offers an integrated ecosystem that includes Macs, iPads, Apple Watches, and services like Apple Music and iCloud. Apple designs its own software and semiconductors, with products manufactured through partners like Foxconn and TSMC. The company continues to expand its offerings in streaming, subscriptions, and other new technologies."
"updatedDate" : string"2022-02-09T14:37:46.368Z"
"shortDescription" : string"Designs and develops consumer electronics, software, and services, including the iPhone, iPad, and Apple Music."
▼"localized_description" : { 3 items … }
"en" : string"Apple Inc. is a leading global technology company known for designing and developing a wide range of innovative consumer electronics, software, and services. Founded in 1976 and headquartered in Cupertino, California, Apple is among the world's largest companies, with the iPhone as its flagship product making up the majority of its sales. It offers an integrated ecosystem that includes Macs, iPads, Apple Watches, and services like Apple Music and iCloud. Apple designs its own software and semiconductors, with products manufactured through partners like Foxconn and TSMC. The company continues to expand its offerings in streaming, subscriptions, and other new technologies."
"tr" : string"Apple Inc., yenilikçi tüketici elektroniği, yazılım ve hizmetler tasarlayıp geliştiren, önde gelen küresel bir teknoloji şirketidir. 1976 yılında kurulan ve merkezi Cupertino, Kaliforniya’da bulunan Apple, dünyanın en büyük şirketlerinden biridir ve satışlarının çoğunluğunu oluşturan amiral gemisi ürünü iPhone ile tanınır. Şirket, Mac’ler, iPad’ler, Apple Watch’lar ve Apple Music ile iCloud gibi hizmetleri içeren entegre bir ekosistem sunmaktadır. Apple, yazılımını ve yarı iletkenlerini kendi tasarlamakta, ürünlerini Foxconn ve TSMC gibi ortakları aracılığıyla üretmektedir. Şirket, akış hizmetleri, abonelikler ve diğer yeni teknolojiler alanında sunduğu ürünleri genişletmeye devam etmektedir."
"def" : string"Apple Inc., yenilikçi tüketici elektroniği, yazılım ve hizmetler tasarlayıp geliştiren, önde gelen küresel bir teknoloji şirketidir. 1976 yılında kurulan ve merkezi Cupertino, Kaliforniya’da bulunan Apple, dünyanın en büyük şirketlerinden biridir ve satışlarının çoğunluğunu oluşturan amiral gemisi ürünü iPhone ile tanınır. Şirket, Mac’ler, iPad’ler, Apple Watch’lar ve Apple Music ile iCloud gibi hizmetleri içeren entegre bir ekosistem sunmaktadır. Apple, yazılımını ve yarı iletkenlerini kendi tasarlamakta, ürünlerini Foxconn ve TSMC gibi ortakları aracılığıyla üretmektedir. Şirket, akış hizmetleri, abonelikler ve diğer yeni teknolojiler alanında sunduğu ürünleri genişletmeye devam etmektedir."
}
▼"localizedShortDescription" : { 2 items … }
"en" : string"Designs and develops consumer electronics, software, and services, including the iPhone, iPad, and Apple Music."
"tr" : string"iPhone, iPad ve Apple Music dahil olmak üzere tüketici elektroniği, yazılım ve hizmetleri tasarlar ve geliştirir."
}
}

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

NameDescriptionExampleParameter TypeData Type
region
Region code
querystring
symbols
Comma-separated list of stock symbols
AAPL,TSLAqueryarray
keys
Comma-separated list of time periods to fetch.
queryarray

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 … }
"c" : float264.65
"d" : int1772634600000
"h" : float266.13
"l" : float263.92
"o" : float264.65
"v" : int2172518
}
▼1 : { 6 items … }
"c" : float263.31
"d" : int1772634900000
"h" : float264.64
"l" : float262.73
"o" : float264.64
"v" : int588778
}
]
▼"1M" : [ 0 items … ]
]
▼"1W" : [ 0 items … ]
]
▼"1Y" : [ 0 items … ]
]
▼"2Y" : [ 0 items … ]
]
▼"3M" : [ 0 items … ]
]
▼"3Y" : [ 0 items … ]
]
▼"5Y" : [ 0 items … ]
]
"symbol" : string"AAPL"
}
▼1 : { 9 items … }
▼"1D" : [ 2 items … ]
▼0 : { 6 items … }
"c" : float402.75
"d" : int1772634600000
"h" : float403.47
"l" : float394.55
"o" : float397.85
"v" : int5381736
}
▼1 : { 6 items … }
"c" : float401.06
"d" : int1772634900000
"h" : float403.32
"l" : float400.43
"o" : float402.81
"v" : int1822570
}
]
▼"1M" : [ 0 items … ]
]
▼"1W" : [ 0 items … ]
]
▼"1Y" : [ 0 items … ]
]
▼"2Y" : [ 0 items … ]
]
▼"3M" : [ 0 items … ]
]
▼"3Y" : [ 0 items … ]
]
▼"5Y" : [ 0 items … ]
]
"symbol" : string"TSLA"
}
]

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&region=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

NameDescriptionExampleParameter TypeData Type
stock
It can be either stock symbol or stock id you got from other endpoints.
AKBNKquerystring
region
Region code
trquerystring
fromDate
The interval start date (YYYY-MM-DD HH:mm:SS)
2025-03-29 16:04:00querystring
toDate
The interval end date (YYYY-MM-DD HH:mm:SS)
2025-04-29 16:04:00querystring
interval
The duration of the candlestick interval
querystring
detail
Whether to get the unadjusted values for open, high, close, low. (Optional)
queryboolean
numIntervals
Number of intervals (Optional) (1–1440)
querynumber

Response

(Note: Actual response can be different length and other fields may be present)

▼"root" : [ 2 items … ]
▼0 : { 6 items … }
"c" : float53.5
"d" : int1743664260
"h" : float53.5
"l" : float51.4
"o" : int52
"v" : int202939744
}
▼1 : { 6 items … }
"c" : float52.55
"d" : int1743749700
"h" : float53.8
"l" : float52.35
"o" : float53.5
"v" : int193175302
}
]

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

NameDescriptionExampleParameter TypeData Type
region
Region code
trquerystring
symbol
The stock symbol
ASELSquerystring

Response

(Note: Actual response can be different length and other fields may be present)

▼"root" : { 5 items … }
▼"rules" : [ 2 items … ]
▼0 : { 3 items … }
"priceTo" : float19.999
"tickSize" : float0.01
"priceFrom" : float0.01
}
▼1 : { 3 items … }
"priceTo" : float49.999
"tickSize" : float0.02
"priceFrom" : int20
}
]
"basePrice" : int292
"additionalPrice" : int0
"lowerPriceLimit" : int263
"upperPriceLimit" : int321
}

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

NameDescriptionExampleParameter TypeData Type
region
Region code
trquerystring
symbol
The stock symbol
ADELquerystring

Response

(Note: Actual response can be different length and other fields may be present)

▼"root" : [ 3 items … ]
▼0 : { 6 items … }
"id" : int1
"title" : string"Açığa Satış ve Kredili İşlem Yasağı"
"symbol" : string"ADEL.E"
"endDate" : string"2026-02-18T15:15:00Z"
"startDate" : string"2026-01-18T21:00:00Z"
"description" : string"Short selling and margin trading ban"
}
▼1 : { 6 items … }
"id" : int6
"title" : string"Kredili İşlem Yasağı"
"symbol" : string"ADEL.E"
"endDate" : string"2026-02-18T15:15:00Z"
"startDate" : string"2026-01-18T21:00:00Z"
"description" : string"Margin trading ban"
}
▼2 : { 6 items … }
"id" : int7
"title" : string"Açığa Satış Yasağı"
"symbol" : string"ADEL.E"
"endDate" : string"2026-02-18T15:15:00Z"
"startDate" : string"2026-01-18T21:00:00Z"
"description" : string"Short selling ban"
}
]

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 … }
"id" : int1
"title" : string"Açığa Satış ve Kredili İşlem Yasağı"
"symbol" : string"AKBNK.E"
"endDate" : string"2024-10-17T15:32:12.734344+03:00"
"startDate" : string"2024-10-16T15:32:12.734344+03:00"
"description" : string"Short selling and margin trading ban"
}
▼1 : { 6 items … }
"id" : int2
"title" : string"Brüt Takas"
"market" : string"ALT"
"endDate" : NULL
"startDate" : NULL
"description" : string"Gross settlement"
}
▼2 : { 6 items … }
"id" : int3
"title" : string"Emir Paketi"
"market" : string"ALT"
"endDate" : NULL
"startDate" : NULL
"description" : string"Order package restrictions"
}
▼3 : { 6 items … }
"id" : int2
"title" : string"Brüt Takas"
"market" : string"YAKIN_IZLEME"
"endDate" : NULL
"startDate" : NULL
"description" : string"Gross settlement"
}
▼4 : { 6 items … }
"id" : int3
"title" : string"Emir Paketi"
"market" : string"YAKIN_IZLEME"
"endDate" : NULL
"startDate" : NULL
"description" : string"Order package restrictions"
}
▼5 : { 6 items … }
"id" : int2
"title" : string"Brüt Takas"
"market" : string"PIOP"
"endDate" : NULL
"startDate" : NULL
"description" : string"Gross settlement"
}
▼6 : { 6 items … }
"id" : int3
"title" : string"Emir Paketi"
"market" : string"PIOP"
"endDate" : NULL
"startDate" : NULL
"description" : string"Order package restrictions"
}
]

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&region=tr&period=1M&resolution=5m&indicators=["MACD", "Moving Average"]&chartType=0' \
  --header 'Authorization: Bearer your-api-key'

Parameters

NameDescriptionExampleParameter TypeData Type
symbol
Stock symbol
THYAOquerystring
region
Region code
querystring
period
Chart period (Optional)
querystring
resolution
Chart resolution (Optional)
querystring
indicators
Technical analysis indicators to overlay on the chart (e.g. MACD, RSI, Bollinger Bands). (Optional)
["MACD", "Moving Average"]querystring
chartType
Defines the chart visualization style (e.g. candlestick, line, area). (Optional)
querystring

Response

(Note: Actual response can be different length and other fields may be present)

▼"root" : { 1 items … }
"return_type" : string"image/png"
}

© 2024 Laplace API. All rights reserved.