Arama API
Hisse senetlerini, koleksiyonları, endüstrileri, sektörleri aramak için Arama API'sini kullanabilirsiniz. Hem TR hem de ABD bölgeleri için çalışır.
Arama
Bu endpoint ile hisse, sektör, industry ve koleksiyonlar arasında arama yapabilirsiniz.
Arama sonuçları region parametresi ile filtrelenebilir.
curl --request GET \
--url 'https://api.getlaplace.com/api/v1/search?filter=Garanti&types=stock,sector,industry,collection®ion=tr&locale=tr&page=0&size=10' \
--header 'Authorization: Bearer your-api-key'Parameters
| Name | Description | Example | Parameter Type | Data Type |
|---|---|---|---|---|
| filter | Arama terimi | Garanti | query | string |
| types | Aranacak türlerin listesi | stock,sector,industry,collection | query | array |
| region | Bölge kodu (Optional) | query | string | |
| locale | Dil kodu | query | string | |
| page | Sayfa numarası (Optional) | 0 | query | string |
| size | Sayfa boyutu (Optional) | query | string |
Response
(Note: Actual response can be different length and other fields may be present)
▼"root" : { 4 items … }
▼"stocks" : [ 3 items … ]
▼0 : { 6 items … }
"id" : string"61dd0d4b0ec2114146342f6a"
"name" : string"Garanti Bankası"
"type" : string"stock"
"title" : string"GARAN"
"region" : string"tr"
"assetType" : string"stock"
}
▼1 : { 6 items … }
"id" : string"61dd0d420ec2114146342f29"
"name" : string"Garanti Yatırım"
"type" : string"stock"
"title" : string"GRNYO"
"region" : string"tr"
"assetType" : string"stock"
}
▼2 : { 6 items … }
"id" : string"61dd0d6d0ec2114146342fc5"
"name" : string"Garanti Faktoring "
"type" : string"stock"
"title" : string"GARFA"
"region" : string"tr"
"assetType" : string"stock"
}
]
▼"sectors" : [ 0 items … ]
]
▼"industries" : [ 0 items … ]
]
▼"collections" : [ 0 items … ]
]
}