Sectors
Sectors are way to get a list of stocks that has similar characteristics. They are great for building a visually appealing UI for your users.
Sector List
Retrieves the list of sectors for the specified region and locale.
Each sector includes its id, title, image URLs (imageUrl, avatarUrl), and the number of associated stocks (numStocks).
curl --request GET \
--url 'https://api.getlaplace.com/api/v1/sector?region=us&locale=en' \
--header 'Authorization: Bearer your-api-key'Parameters
| Name | Description | Example | Parameter Type | Data Type |
|---|---|---|---|---|
| region | Region code | query | string | |
| locale | Locale code | query | string |
Response
(Note: Actual response can be different length and other fields may be present)
▼"root" : [ 2 items … ]
▼0 : { 5 items … }
▼1 : { 5 items … }
Sector Detail
Returns the detailed representation of a sector, including its metadata and the stocks within it.
Each stock object includes identifiers and classification fields such as id, name, symbol, sectorId, industryId, assetType, active, and updatedDate.
curl --request GET \
--url 'https://api.getlaplace.com/api/v1/sector/65533e047844ee7afe9941b9?locale=en®ion=us&sortBy=price_change' \
--header 'Authorization: Bearer your-api-key'Parameters
| Name | Description | Example | Parameter Type | Data Type |
|---|---|---|---|---|
| id | Unique identifier | 65533e047844ee7afe9941b9 | path | string |
| locale | Locale code | query | string | |
| region | Region code | query | string | |
| sortBy | Sort the stocks in a collection by a specific field. Currently only supports `price_change`. (Optional) | price_change | query | string |
Response
(Note: Actual response can be different length and other fields may be present)