Industries

Industries are way to get a list of stocks that has similar characteristics. They are great for building a visually appealing UI for your users.


Industry List

Retrieves the list of industries for the specified region and locale.

Each industry 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/industry?region=us&locale=en' \
  --header 'Authorization: Bearer your-api-key'

Parameters

NameDescriptionExampleParameter TypeData Type
region
Region code
querystring
locale
Locale code
querystring

Response

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

▼"root" : [ 2 items … ]
▼0 : { 5 items … }
"id" : string"65533e441fa5c7b58afa0944"
"title" : string"Retail (Special Lines)"
"imageUrl" : string"https://finfree-storage.s3.amazonaws.com/collection-images/retail-special-lines.webp"
"avatarUrl" : string"https://finfree-storage.s3.amazonaws.com/collection-images/retail-special-lines_avatar.webp"
"numStocks" : int54
}
▼1 : { 5 items … }
"id" : string"65533e441fa5c7b58afa0975"
"title" : string"Semiconductor"
"imageUrl" : string"https://finfree-storage.s3.eu-central-1.amazonaws.com/collection-images/donanim_original.webp"
"avatarUrl" : string"https://finfree-storage.s3.eu-central-1.amazonaws.com/collection-images/donanim_avatar.webp"
"numStocks" : int63
}
]

Industry Detail

Retrieves detailed information about a specific industry by its ID, including the list of associated stocks.

The region parameter defines the market scope, and locale controls text localization.

curl --request GET \
  --url 'https://api.getlaplace.com/api/v1/industry/65533e441fa5c7b58afa0944?locale=en&region=us&sortBy=price_change' \
  --header 'Authorization: Bearer your-api-key'

Parameters

NameDescriptionExampleParameter TypeData Type
id
Unique identifier
65533e441fa5c7b58afa0944pathstring
locale
Locale code
querystring
region
Region code
querystring
sortBy
Sort the stocks in a collection by a specific field. Currently only supports `price_change`. (Optional)
price_changequerystring

Response

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

▼"root" : { 7 items … }
"id" : string"65533e441fa5c7b58afa0944"
"title" : string"Retail (Special Lines)"
▼"region" : [ 2 items … ]
0 : string"us"
1 : string"tr"
]
▼"stocks" : [ 2 items … ]
▼0 : { 9 items … }
"id" : string"6489b9a6f393c364a722618d"
"name" : string"Brilliant Earth Group Inc"
"active" : booltrue
"symbol" : string"BRLT"
"sectorId" : string"65533e047844ee7afe9941b9"
"assetType" : string"stock"
"industryId" : string"65533e441fa5c7b58afa0944"
"dailyChange" : float0.131578947368421
"updatedDate" : string"2023-06-14T12:59:18.082Z"
}
▼1 : { 9 items … }
"id" : string"6489bb30f393c364a722622f"
"name" : string"Destination XL Group Inc"
"active" : booltrue
"symbol" : string"DXLG"
"sectorId" : string"65533e047844ee7afe9941b9"
"assetType" : string"stock"
"industryId" : string"65533e441fa5c7b58afa0944"
"dailyChange" : float0.120879120879121
"updatedDate" : string"2023-06-14T13:05:52.94Z"
}
]
"imageUrl" : string"https://finfree-storage.s3.amazonaws.com/collection-images/retail-special-lines.webp"
"avatarUrl" : string"https://finfree-storage.s3.amazonaws.com/collection-images/retail-special-lines_avatar.webp"
"numStocks" : int59
}

© 2024 Laplace API. All rights reserved.