Get Investment Theme Constituents
Fetch the constituent stock symbols of a thematic investing portfolio from Finnhub (e.g. ai, robotics, cybersecurity, fintech). Returns the list of symbols and a count; unknown themes return an empty list. Ideal for: building thematic watchlists, screening stocks by sector trend, feeding symbols into downstream quote or sentiment checks.
Catalog action Blockchain Data
Fetch the constituent stock symbols of a thematic investing portfolio from Finnhub (e.g. ai, robotics, cybersecurity, fintech). Returns the list of symbols and a count; unknown themes return an empty list. Ideal for: building thematic watchlists, screening stocks by sector trend, feeding symbols into downstream quote or sentiment checks.
At a Glance
| Field | Value |
|---|---|
| Action ID | finnhub-get-investment-theme |
| Category | Blockchain Data |
| Connector | Not required |
| Requires gas | No |
| Funds movement | None declared |
| Tags | finnhub, stock, research, discovery, read |
Payload Schema
| Field | Type | Required | Description |
|---|---|---|---|
theme | string | Yes | Investment theme slug (camelCase). Known working values include: 'ai', 'robotics', 'cybersecurity', 'fintech', 'cloud', 'gaming', 'drones', '3dPrinting', 'futureFood', 'financialExchangesData'. See Finnhub docs for the full list. Unknown themes return an empty list. |
Result Schema
| Field | Type | Required | Description |
|---|---|---|---|
theme | string | Yes | The requested theme |
symbols | array | Yes | Constituent stock symbols for the theme |
count | number | Yes | Number of constituent symbols |
Examples
json{ "type": "finnhub-get-investment-theme", "payload": { "theme": "example-theme" }, "children": []}
bashcurl -X POST "https://api.b3os.org/v1/actions/finnhub-get-investment-theme/test" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "inputs": { "theme": "example-theme" }}'
Payload fields can use workflow expressions such as {{$trigger.body.amount}}, {{$nodes.fetch.result.price}}, and {{$props.asset}} when the value should come from a trigger, prior node, or reusable workflow prop.
