Get Precious Metal Spot Price
1积分/次
ae_get_precious_metal_spot_price
返回最新的美元/金衡盎司现货价格。XAU 表示黄金,XAG 表示白银。结果中的 updatedAt 是来源更新时间,采用 UTC。
1积分/次
价格说明
1积分/次
| 条件 | 费用 |
|---|---|
| 每次调用 | 1积分/次 |
工具参数
未传入的可选参数将使用平台默认值。
| 参数 | 类型 | 必填 | 说明 | 默认值 |
|---|---|---|---|---|
symbol | enum (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"
}
}'暂无返回示例。





