Finnhub Company Peers

0.5 credits/call
ae_finnhub_company_peers

Get company peers. Return a list of peers operating in the same country and sector/industry. 强制服务边界:Finnhub 当前范围仅适合基础美股/美国上市公司、基础行情、公司资料、symbol 搜索和明确支持的公共市场信息。非美股、港股、A股、中文公司名、加密货币、外汇或市场不确定时,不得调用 Finnhub 工具。

Productivity
0.5 credits/call

Pricing

0.5 credits/call
ConditionCharge
Each call0.5 credits/call

Parameters

Optional parameters use the platform defaults when omitted.

ParameterTypeRequiredDescriptionDefault
symbolstringYes必填。只能传 Finnhub 返回并确认可用的美股/美国上市公司 symbol。本工具只用于基础美股/美国上市公司数据。用户请求港股、A股、非美国市场、中文公司名、加密货币、外汇或不确定市场时,不得调用本工具,也不得用股票代码搜索试探非美股。只有用户明确请求美股/美国上市公司,或已经提供确定的 Finnhub 美股 symbol 时,才允许调用本工具。如果用户只提供美国公司英文名但没有 symbol,必须先通过股票代码搜索或股票列表确认 symbol;确认后才允许调用。禁止传公司中文名、港股/A股代码、URL、test、乱码、占位符或猜测值。未确认是本工具支持范围内的 Finnhub symbol 时,不得调用本工具。—
groupingstringNoSpecify the grouping criteria for choosing peers. Supported values: <code>sector</code>, <code>industry</code>, <code>subIndustry</code>. Default to <code>subIndustry</code>.—

Invocation example

Copy the request and explore its response example.

POST/agent-api/v1/tool/executeX-Api-Key
Request coderequest.sh
curl --request POST \
  --url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_finnhub_company_peers' \
  --header "X-Api-Key: $AGENTEARTH_API_KEY" \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "params": {
    "symbol": "AAPL"
  }
}'
Response exampleresponse.json
JSONPartial content
[
  "AAPL"
]

This example shows part of the response. Copied content is valid JSON.