Loading
Loading
Get real-time prices for 130+ commodities in a single request. Specify one or more commodity symbols and an update frequency to receive current market prices with unit and currency metadata.
Pass a comma-separated list of commodity symbols and an update frequency (1m or 10m) to get current prices. An optional quote parameter converts prices into a desired currency.
Pass your API key as the apiKey parameter in every request.
This is version v1.0 of the API.
Both symbols and updates are required. Omitting either returns a 400 error.
symbolsrequiredArrayComma-separated list of commodity symbols. Visit the supported symbols list for all valid values.
updatesrequiredStringUpdate frequency. Accepted values: 10m (10-minute updates) or 1m (1-minute updates).
quoteoptionalStringTarget currency for the exchange rate. Defaults to the market currency of each commodity.
A successful request returns a 200 OK with current prices for each symbol and metadata describing the unit and quote currency.
successtrue for successful requests.
timestampUnix timestamp indicating when the response was generated.
ratesMap where each key is a commodity symbol and the value is the current price.
rates.[SYMBOL]Current live price for the specified commodity.
metadataMap containing unit and currency metadata for each requested commodity.
metadata.[SYMBOL]Metadata object for the specified commodity.
metadata.[SYMBOL].unitUnit of measurement for the commodity (e.g. Bbl, T.oz).
metadata.[SYMBOL].quoteQuote currency used for the commodity price.
The API uses standard HTTP status codes to indicate the success or failure of requests. For common status codes like 429 (Too Many Requests), refer to the general API documentation.
please pass correct parameters
The symbol is not supported, please visit the documentation for a list of supported symbols