cURL
curl --request GET \ --url https://api.diadata.org/v1/rwa/Commodities/:CommoditySymbol
{ "Ticker": "XAU-USD", "Name": "Gold Spot / US Dollar", "Price": 2925.88989, "Timestamp": "2025-02-17T20:00:00Z" }
Returns the latest price of a commodity in USD.
Available commodities
Was this page helpful?