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

NameDescriptionExampleParameter TypeData Type
region
Bölge kodu
querystring
locale
Dil Kodu
querystring

Response

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

▼"root" : [ 3 items … ]
▼0 : { 5 items … }
"id" : string"65533e047844ee7afe9941b9"
"title" : string"Tüketici Döngüsel"
"imageUrl" : string"https://finfree-storage.s3.amazonaws.com/collection-images/consumer-cyclical.webp"
"avatarUrl" : string"https://finfree-storage.s3.amazonaws.com/collection-images/consumer-cyclical_avatar.webp"
"numStocks" : int87
}
▼1 : { 5 items … }
"id" : string"65533e047844ee7afe9941ba"
"title" : string"Tüketici Defansif"
"imageUrl" : string"https://finfree-storage.s3.amazonaws.com/collection-images/consumer-defensive.webp"
"avatarUrl" : string"https://finfree-storage.s3.amazonaws.com/collection-images/consumer-defensive_avatar.webp"
"numStocks" : int68
}
▼2 : { 5 items … }
"id" : string"65533e047844ee7afe9941bf"
"title" : string"Teknoloji"
"imageUrl" : string"https://finfree-storage.s3.eu-central-1.amazonaws.com/collection-images/informationtechnology-stocks_original.webp"
"avatarUrl" : string"https://finfree-storage.s3.eu-central-1.amazonaws.com/collection-images/informationtechnology-stocks_avatar.webp"
"numStocks" : int42
}
]

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

Parameters

NameDescriptionExampleParameter TypeData Type
id
ID
65533e047844ee7afe9941b9pathstring
locale
Dil Kodu
querystring
region
Bölge kodu
querystring
sortBy
Bir koleksiyondaki hisse senetlerini belirli bir alana göre sırala. Şu anda yalnızca `price_change` destekleniyor. (Optional)
price_changequerystring

Response

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

▼"root" : { 7 items … }
"id" : string"65533e047844ee7afe9941b9"
"title" : string"Tüketici Döngüsel"
▼"region" : [ 2 items … ]
0 : string"us"
1 : string"tr"
]
▼"stocks" : [ 2 items … ]
▼0 : { 8 items … }
"id" : string"61dd0d430ec2114146342f2e"
"name" : string"Bosch Fren Sistemleri"
"active" : booltrue
"symbol" : string"BFREN"
"sectorId" : string"65533e047844ee7afe9941b9"
"assetType" : string"stock"
"industryId" : string"65533e441fa5c7b58afa0935"
"updatedDate" : string"2022-01-11T04:53:23.155Z"
}
▼1 : { 8 items … }
"id" : string"61dd0d440ec2114146342f3a"
"name" : string"Derimod Konfeksiyon"
"active" : booltrue
"symbol" : string"DERIM"
"sectorId" : string"65533e047844ee7afe9941b9"
"assetType" : string"stock"
"industryId" : string"65533e441fa5c7b58afa0933"
"updatedDate" : string"2022-01-11T04:53:24.934Z"
}
]
"imageUrl" : string"https://finfree-storage.s3.amazonaws.com/collection-images/consumer-cyclical.webp"
"avatarUrl" : string"https://finfree-storage.s3.amazonaws.com/collection-images/consumer-cyclical_avatar.webp"
"numStocks" : int797
}

© 2024 Laplace API. All rights reserved.