Finnhub Quote

0.5 credits/call
ae_finnhub_quote

<p>Get real-time quote data for US stocks. Constant polling is not recommended.</p> 强制服务边界:本工具仅用于基础美股/美国上市公司行情查询。非美股、港股、A股、中文公司名、加密货币、外汇或市场不确定时,不得调用本工具。

News
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必填。填写已确认可用于本工具的美股/美国上市公司 symbol。仅在用户明确请求美股/美国上市公司行情,或已提供确定可用的美股 symbol 时使用。若只有美国公司的英文名而没有 symbol,须先通过 symbol 搜索或股票代码列表确认,不得猜测。不要填写公司中文名、港股/A股代码、URL、test、乱码或占位符;非美国市场、加密货币、外汇或市场不确定时,不得调用本工具,也不得通过 symbol 搜索试探非美股。—

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_quote' \
  --header "X-Api-Key: $AGENTEARTH_API_KEY" \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "params": {
    "symbol": "JD"
  }
}'
Response exampleresponse.json
JSONPartial content
{
  "c": 28.38,
  "d": -0.73,
  "dp": -2.5077,
  "h": 28.62,
  "l": 28.095,
  "o": 28.595
}

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