Get Basic Financials
Fetch basic financial metrics for a stock symbol from Finnhub (100+ metrics: valuation, margins, growth, liquidity, 52-week range). Returns a metric map keyed by name, e.g. peTTM, beta, 52WeekHigh, currentRatio, grossMarginTTM. Ideal for: fundamental screening, valuation alerts, enriching AI analysis with company fundamentals.
Catalog action Blockchain Data
Fetch basic financial metrics for a stock symbol from Finnhub (100+ metrics: valuation, margins, growth, liquidity, 52-week range). Returns a metric map keyed by name, e.g. peTTM, beta, 52WeekHigh, currentRatio, grossMarginTTM. Ideal for: fundamental screening, valuation alerts, enriching AI analysis with company fundamentals.
At a Glance
| Field | Value |
|---|---|
| Action ID | finnhub-get-basic-financials |
| Category | Blockchain Data |
| Connector | Not required |
| Requires gas | No |
| Funds movement | None declared |
| Tags | finnhub, stock, fundamentals, analysis, read |
Payload Schema
| Field | Type | Required | Description |
|---|---|---|---|
symbol | string | Yes | Stock symbol to get financials for, e.g. 'AAPL', 'TSLA'. |
Result Schema
| Field | Type | Required | Description |
|---|---|---|---|
symbol | string | Yes | The queried symbol |
metricType | string | Yes | The metric set returned (always 'all') |
metric | object | Yes | Map of metric name to value (100+ metrics), e.g. peTTM, beta, 52WeekHigh, 52WeekLow, currentRatio, grossMarginTTM, revenueGrowthTTMYoy. Values are numbers, date strings, or null. Reference a specific metric downstream, e.g. {{node.result.metric.peTTM}}. |
Examples
json{ "type": "finnhub-get-basic-financials", "payload": { "symbol": "ETH" }, "children": []}
bashcurl -X POST "https://api.b3os.org/v1/actions/finnhub-get-basic-financials/test" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "inputs": { "symbol": "ETH" }}'
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.
