Themes

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


Themes

Retrieves the list of available themes for the specified region and locale.

Themes are curated groups of stocks with similar characteristics. Each theme includes its id, title, region, image URLs (imageUrl, avatarUrl), numStocks, and assetClass.

curl --request GET \
  --url 'https://api.getlaplace.com/api/v1/theme?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 : { 7 items … }
"id" : string"6229b17252b90900124dcb5c"
"title" : string"Gaming"
▼"region" : [ 1 items … ]
0 : string"us"
]
"imageUrl" : string"https://finfree-storage.s3.eu-central-1.amazonaws.com/collection-images/videogames-stocks_original.webp"
"avatarUrl" : string"https://finfree-storage.s3.eu-central-1.amazonaws.com/collection-images/videogames-stocks_avatar.webp"
"numStocks" : int7
"assetClass" : string"equity"
}
▼1 : { 7 items … }
"id" : string"6229acdfb3d8f8001175ee45"
"title" : string"Social Media"
▼"region" : [ 1 items … ]
0 : string"us"
]
"imageUrl" : string"https://finfree-storage.s3.eu-central-1.amazonaws.com/collection-images/socialmedia-stocks_original.webp"
"avatarUrl" : string"https://finfree-storage.s3.eu-central-1.amazonaws.com/collection-images/socialmedia-stocks_avatar.webp"
"numStocks" : int6
"assetClass" : string"equity"
}
]

Theme Detail

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

The region parameter defines the market scope (e.g., tr, us), and locale controls text localization.

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

Parameters

NameDescriptionExampleParameter TypeData Type
id
Unique identifier
6229b17252b90900124dcb5cpathstring
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" : { 9 items … }
"id" : string"6229b17252b90900124dcb5c"
"image" : string"https://finfree-storage.s3.eu-central-1.amazonaws.com/themes/us/video_oyunlari.png"
"title" : string"Gaming"
▼"region" : [ 1 items … ]
0 : string"us"
]
▼"stocks" : [ 2 items … ]
▼0 : { 8 items … }
"id" : string"6203d1ba1e67487527555619"
"name" : string"Advanced Micro Devices Inc."
"active" : booltrue
"symbol" : string"AMD"
"sectorId" : string"65533e047844ee7afe9941bf"
"assetType" : string"stock"
"industryId" : string"65533e441fa5c7b58afa0975"
"updatedDate" : string"2022-02-09T14:37:46.368Z"
}
▼1 : { 8 items … }
"id" : string"6203d1ba1e67487527555bed"
"name" : string"Microsoft Corporation"
"active" : booltrue
"symbol" : string"MSFT"
"sectorId" : string"65533e047844ee7afe9941bf"
"assetType" : string"stock"
"industryId" : string"65533e441fa5c7b58afa0978"
"updatedDate" : string"2022-02-09T14:37:46.369Z"
}
]
"imageUrl" : string"https://finfree-storage.s3.eu-central-1.amazonaws.com/collection-images/videogames-stocks_original.webp"
"avatarUrl" : string"https://finfree-storage.s3.eu-central-1.amazonaws.com/collection-images/videogames-stocks_avatar.webp"
"numStocks" : int7
"assetClass" : string"equity"
}

© 2024 Laplace API. All rights reserved.