Get Precious Metal Spot Price

1 credits/call
ae_get_precious_metal_spot_price

Returns the latest USD spot price per troy ounce. XAU is gold and XAG is silver. updatedAt is the UTC source update time.

Search
1 credits/call

Pricing

1 credits/call
ConditionCharge
Each call1 credits/call

Parameters

Optional parameters use the platform defaults when omitted.

ParameterTypeRequiredDescriptionDefault
symbolenum (XAU | XAG)YesRequired precious-metal symbol: use XAU for gold or XAG for silver.—

Invocation example

Parameter template

Generated from the parameter configuration. Replace the sample values before use.

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_get_precious_metal_spot_price' \
  --header "X-Api-Key: $AGENTEARTH_API_KEY" \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "params": {
    "symbol": "XAU"
  }
}'

No response example available yet.