Sektörler
Sektörler benzer özelliklere sahip hisse senetlerinin listesini almanın bir yoludur. Kullanıcılarınız için görsel açıdan çekici bir arayüz oluşturmak için harikadırlar.
Sektör Listesi
Belirtilen region ve locale için sektör listesini getirir.
Her sektör için id, title, imageUrl, avatarUrl ve ilişkili hisse sayısı (numStocks) bilgileri döndürülür.
curl --request GET \
--url 'https://api.getlaplace.com/api/v1/sector?region=tr&locale=tr' \
--header 'Authorization: Bearer your-api-key'Parameters
| Name | Description | Example | Parameter Type | Data Type |
|---|---|---|---|---|
| region | Bölge kodu | query | string | |
| locale | Dil Kodu | query | string |
Response
(Note: Actual response can be different length and other fields may be present)
▼"root" : [ 3 items … ]
▼0 : { 5 items … }
▼1 : { 5 items … }
▼2 : { 5 items … }
Sektör Detayı
Belirtilen sektöre ait detaylı bilgileri ve sektörde yer alan hisseleri getirir.
Her hisse için id, name, symbol, sectorId, industryId, assetType, active ve updatedDate gibi tanımlayıcı ve sınıflandırma bilgileri döndürülür.
curl --request GET \
--url 'https://api.getlaplace.com/api/v1/sector/65533e047844ee7afe9941b9?locale=tr®ion=tr&sortBy=price_change' \
--header 'Authorization: Bearer your-api-key'Parameters
| Name | Description | Example | Parameter Type | Data Type |
|---|---|---|---|---|
| id | ID | 65533e047844ee7afe9941b9 | path | string |
| locale | Dil Kodu | query | string | |
| region | Bölge kodu | query | string | |
| sortBy | Bir koleksiyondaki hisse senetlerini belirli bir alana göre sırala. Şu anda yalnızca `price_change` destekleniyor. (Optional) | price_change | query | string |
Response
(Note: Actual response can be different length and other fields may be present)