Finnhub Company Basic Financials
0.5 credits/call
ae_finnhub_company_basic_financials
Get company basic financials such as margin, P/E ratio, 52-week high/low etc. 强制服务边界:Finnhub 当前范围仅适合基础美股/美国上市公司、基础行情、公司资料、symbol 搜索和明确支持的公共市场信息。非美股、港股、A股、中文公司名、加密货币、外汇或市场不确定时,不得调用 Finnhub 工具。 强制范围规则:该工具属于当前范围外资源。当前 Finnhub 范围外时,绝对不得调用,需说明当前范围不支持。
0.5 credits/call
Pricing
0.5 credits/call
| Condition | Charge |
|---|---|
| Each call | 0.5 credits/call |
Parameters
Optional parameters use the platform defaults when omitted.
| Parameter | Type | Required | Description | Default |
|---|---|---|---|---|
metric | string | Yes | Metric type. Can be 1 of the following values <code>all</code> | — |
symbol | string | Yes | 必填。只能传 Finnhub 返回并确认可用的美股/美国上市公司 symbol。本工具仅用于基础美股/美国上市公司数据。用户请求港股、A股、非美国市场、中文公司名、加密货币、外汇或不确定市场时,不得调用本工具。只有用户明确请求美股/美国上市公司,或已经提供确定的 Finnhub 美股 symbol 时,才允许调用本工具。如果用户只提供美国公司英文名但没有 symbol,必须先通过股票代码搜索或股票列表确认 symbol;确认后才允许调用。禁止传公司中文名、港股/A股代码、URL、test、乱码、占位符或猜测值。 | — |
Invocation example
Copy the request and explore its response example.
POST
/agent-api/v1/tool/executeX-Api-KeyRequest coderequest.sh
curl --request POST \
--url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_finnhub_company_basic_financials' \
--header "X-Api-Key: $AGENTEARTH_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"params": {
"metric": "test",
"symbol": "test"
}
}'Response exampleresponse.json
{
"metric": {
"10DayAverageTradingVolume": 0.0012,
"13WeekPriceReturnDaily": -13.9973,
"26WeekPriceReturnDaily": -15.1061,
"3MonthADReturnStd": 39.158985,
"3MonthAverageTradingVolume": 0.00186,
"52WeekHigh": 57.74
},
"metricType": "all",
"series": {},
"symbol": "test"
}This example shows part of the response. Copied content is valid JSON.

