Get Precious Metal Spot Price

1积分/次
ae_get_precious_metal_spot_price

返回最新的美元/金衡盎司现货价格。XAU 表示黄金,XAG 表示白银。结果中的 updatedAt 是来源更新时间,采用 UTC。

搜索
1积分/次

价格说明

1积分/次
条件费用
每次调用1积分/次

工具参数

未传入的可选参数将使用平台默认值。

参数类型必填说明默认值
symbolenum (XAU | XAG)是Required precious-metal symbol: use XAU for gold or XAG for silver.—

调用示例

参数模板

根据参数配置生成,使用前请替换示例值。

POST/agent-api/v1/tool/executeX-Api-Key
请求代码request.sh
curl --request POST \
  --url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_get_precious_metal_spot_price' \
  --header "X-Api-Key: $AGENTEARTH_API_KEY" \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "params": {
    "symbol": "XAU"
  }
}'

暂无返回示例。