Koleksiyonlar

Koleksiyonlar 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.


Koleksiyon Listesi

Belirtilen region ve locale için mevcut tüm koleksiyonları getirir.

Koleksiyonlar, Laplace ekibi tarafından oluşturulan ve ilişkili hisseleri bir araya getiren özel gruplardır.

Response, her koleksiyon için id, title, region, imageUrl, avatarUrl, numStocks ve assetClass bilgilerini döner.

curl --request GET \
  --url 'https://api.getlaplace.com/api/v1/collection?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" : [ 1 items … ]
▼0 : { 7 items … }
"id" : string"64fee37205b87f138630df0e"
"title" : string"İçecek"
▼"region" : [ 1 items … ]
0 : string"tr"
]
"imageUrl" : string"https://finfree-storage.s3.eu-central-1.amazonaws.com/collection-images/soft-drink-manufacturing_original.webp"
"avatarUrl" : string"https://finfree-storage.s3.eu-central-1.amazonaws.com/collection-images/soft-drink-manufacturing_avatar.webp"
"numStocks" : int5
"assetClass" : string"equity"
}
]

Koleksiyon Detayı

Belirtilen koleksiyon ID’sine ait detaylı bilgileri getirir.

region parametresi piyasa bağlamını (ör. tr = BIST, us = ABD), locale ise metinlerin dilini belirler.

Response, koleksiyonun id, title, region, order bilgilerini ve koleksiyona ait hisselerin listesini döner.

Her hisse için id, name, symbol, sectorId, industryId, assetType, active durumu ve updatedDate bilgileri yer alır.

curl --request GET \
  --url 'https://api.getlaplace.com/api/v1/collection/64fee37205b87f138630df0e?locale=tr&region=tr&sortBy=price_change' \
  --header 'Authorization: Bearer your-api-key'

Parameters

NameDescriptionExampleParameter TypeData Type
id
ID
64fee37205b87f138630df0epathstring
locale
Dil Kodu (tr, en)
querystring
region
Bölge kodu (tr, us)
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" : { 8 items … }
"id" : string"64fee37205b87f138630df0e"
"title" : string"İçecek"
▼"region" : [ 1 items … ]
0 : string"tr"
]
▼"stocks" : [ 2 items … ]
▼0 : { 8 items … }
"id" : string"61dd0d710ec2114146342fdd"
"name" : string"Anadolu Efes Biracılık"
"active" : booltrue
"symbol" : string"AEFES"
"sectorId" : string"65533e047844ee7afe9941ba"
"assetType" : string"stock"
"industryId" : string"65533e441fa5c7b58afa0947"
"updatedDate" : string"2025-04-01T00:00:00.587Z"
}
▼1 : { 8 items … }
"id" : string"61dd0d760ec2114146342ffd"
"name" : string"Tuborg Bira"
"active" : booltrue
"symbol" : string"TBORG"
"sectorId" : string"65533e047844ee7afe9941ba"
"assetType" : string"stock"
"industryId" : string"65533e441fa5c7b58afa0947"
"updatedDate" : string"2025-07-02T00:00:00.425Z"
}
]
"imageUrl" : string"https://finfree-storage.s3.eu-central-1.amazonaws.com/collection-images/soft-drink-manufacturing_original.webp"
"avatarUrl" : string"https://finfree-storage.s3.eu-central-1.amazonaws.com/collection-images/soft-drink-manufacturing_avatar.webp"
"numStocks" : int5
"assetClass" : string"equity"
}

© 2024 Laplace API. All rights reserved.