Investing.com Commodities All-in-One: Gold, Oil & Futures avatar

Investing.com Commodities All-in-One: Gold, Oil & Futures

Pricing

from $5.00 / 1,000 commodity data

Go to Apify Store
Investing.com Commodities All-in-One: Gold, Oil & Futures

Investing.com Commodities All-in-One: Gold, Oil & Futures

One scraper for everything about a commodity on Investing.com (gold, silver, crude oil, natural gas, wheat, coffee...): live price, historical prices, technical analysis, news, related markets and full commodity group lists (metals, energy, grains, softs, meats). 32 languages, any currency.

Pricing

from $5.00 / 1,000 commodity data

Rating

0.0

(0)

Developer

Pinto Studio

Pinto Studio

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

10 hours ago

Last modified

Categories

Share

Get commodities data from Investing.com: prices, history and more. Choose exactly what you need, in 32 languages and in any currency.

What you can get

Pick one or more options in "What do you want to get?" (dataToGet):

OptionNameWhat you get
overviewQuote & overviewCurrent price, change, open/high/low, 52-week range, contract details and more.
historicalHistorical pricesDaily, weekly or monthly prices (open, high, low, close, volume, change %) between two dates.
technicalTechnical analysisIndicators (RSI, MACD, ...), moving averages (5 to 200) and pivot points, with buy/sell signals.
newsLatest newsLatest news articles about it (title, summary, link, date, source).
relatedRelated instrumentsOther instruments people also watch, with their price and change.
commodity_groupMARKET: commodity groupAll commodities of a group (metals, energy, grains, softs or meats) with price and change.

How to use it (no code needed)

  1. Open the actor on Apify and go to the Input tab.
  2. In "Commodities to look up", type what you want, one per line, for example: Gold, Crude Oil WTI.
  3. In "What do you want to get?", tick the data you need.
  4. (Optional) choose a Language and a Currency.
  5. Click Start.
  6. When it finishes, open the Output tab. You can download the results as JSON, CSV, Excel or view them as a table.

Input fields

FieldWhat it doesExample
instrumentsCommodity names (Gold, Brent Oil, Coffee) or investing.com links. One per line.["Gold", "Crude Oil WTI"]
dataToGetWhat you want. Pick one or more of the options in the table above.["overview", "historical"]
languageLanguage of names, descriptions and news (32 languages)."en", "pt-br", "de", "ja"
currencyOptional. Show prices in another currency. local = the currency of the chosen language's country. Empty = the instrument's own currency."EUR", "BRL", "local"
historicalFrom / historicalToDates for historical prices. Empty = the last 30 days."2026-01-01"
historicalIntervaldaily, weekly or monthly."daily"
historicalOrderasc (oldest first) or desc (newest first)."asc"
splitHistoricalRowstrue saves every day as its own row: best for Excel/CSV.false
technicalIntervalTimeframe of the technical analysis: 1m, 5m, 15m, 30m, 1h, 5h, 1d, 1w, 1mo or all."1d"
commodityGroupmetals, energy, grains, softs or meats."energy"
marketLimitMaximum number of rows for the MARKET options (up to 2000).100
proxyTypeours (default): our proxy, included in the price. own: use your own proxy."ours"
ownProxyUrlsYour proxy URLs, only used when proxyType is own.["http://user:pass@host:port"]

Example inputs

1. Prices and history

{
"instruments": [
"Gold",
"Crude Oil WTI"
],
"dataToGet": [
"overview",
"historical"
],
"historicalFrom": "2026-01-01",
"historicalTo": "2026-06-30"
}

2. In Portuguese, prices in Brazilian reais

{
"instruments": [
"Coffee"
],
"dataToGet": [
"overview",
"news"
],
"language": "pt-br",
"currency": "BRL"
}

3. Market data (no list needed)

{
"dataToGet": [
"commodity_group"
],
"commodityGroup": "energy"
}

Market options return one row per item (e.g. one row per stock), so they look like a normal table.

What the results look like

Every result is one item in the dataset. For the commodities you typed, you get one item per commodity and per option:

FieldMeaning
inputWhat you typed
dataTypeWhich option this item is (overview, historical, ...)
instrumentThe commodity that was found: name, symbol, link, and how it was found
languageLanguage of the texts
currencyCurrency of the prices in this item
metaExtra details, e.g. the exchange rate used when you asked for another currency
dataThe data itself
errornull, or the reason this item failed (the other items still work)

Example (shortened):

{
"input": "Gold",
"dataType": "overview",
"instrument": {
"kind": "commodities",
"slug": "gold",
"cid": null,
"url": "https://www.investing.com/commodities/gold",
"found_by": "list (name)",
"id": "8830",
"name": "Gold Futures",
"symbol": null,
"country": null,
"currency": "USD",
"other_matches": 0
},
"language": "en",
"currency": "USD",
"meta": {
"currency": "USD",
"native_currency": "USD"
},
"data": {
"id": "8830",
"kind": "commodities",
"slug": "gold",
"type": "commodity",
"name": "Gold Futures",
"short_name": "Gold",
"symbol": "GC1!",
"url": "https://www.investing.com/commodities/gold",
"isin": null,
"is_open": false,
"is_crypto": false,
"exchange": {
"id": "1004",
"code": "",
"name": null,
"country": null,
"flag": "gold"
},
"price": {
"last": 4320.5,
"previous_close": 4298,
"open": 4310.1,
"high": 4351.5,
"low": 4289.55,
"change": 22.5,
"change_percent": 0.52,
"bid": 4312.1,
"ask": 4322.8,
"currency": "USD",
"decimals": 2,
"delayed": false,
"updated_at": "2026-09-25T20:59:59+00:00"
},
"range_52_weeks": {
"low": 3785.5,
"high": 5626.8
},
"...": "6 more fields"
},
"error": null
}

Call it from your code

Replace YOUR_API_TOKEN with your token (Apify Console → Settings → Integrations) and pintostudio with your Apify username.

Using the API (runs the actor and returns the results in one call):

curl -X POST "https://api.apify.com/v2/acts/pintostudio~investing-com-commodities/run-sync-get-dataset-items?token=YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{"instruments": ["Gold"], "dataToGet": ["overview"]}'

Python (pip install apify-client):

from apify_client import ApifyClient
client = ApifyClient("YOUR_API_TOKEN")
run = client.actor("pintostudio/investing-com-commodities").call(run_input={
"instruments": ["Gold", "Crude Oil WTI"],
"dataToGet": ["overview"],
})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
print(item["input"], item["dataType"], item["data"])

JavaScript (npm install apify-client):

import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: 'YOUR_API_TOKEN' });
const run = await client.actor('pintostudio/investing-com-commodities').call({
instruments: ["Gold", "Crude Oil WTI"],
dataToGet: ['overview'],
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);

Proxy

Investing.com blocks many IPs, so every request goes through a proxy. You have two options in Proxy (proxyType):

OptionWhat happensWho pays for the proxy
Our proxy (default)Requests go through our proxy. Nothing to set up.Included in the event price, no extra cost.
My own proxyRequests go through the proxy URLs you add in Your proxy URLs (ownProxyUrls). Several URLs are rotated.You, directly to your proxy provider. The actor price stays the same.

Apify Proxy is not used by this actor, so it never adds proxy usage to your Apify bill. If you choose My own proxy without adding a URL, the run stops with a clear message.

Pricing

You only pay for what you get (pay per event). Items that fail are never charged.

EventPriceWhen
Actor start$0.00005Once per run
Commodity data$0.005Each commodity × option (overview, historical, technical, news, related)
Market row$0.0005Each row of a commodity group list (metals, energy, grains, softs, meats)

Examples: overview of gold, silver and oil ≈ $0.015 · 10 years of daily gold prices ≈ $0.005 · the full energy list (≈15 rows) ≈ $0.0075. Historical prices are charged once per commodity, no matter how many days you ask for. Set a maximum cost per run and the actor stops cleanly when it is reached. Tip: ask for several commodities and options in one run, it is faster than many small runs.

Good to know

  • Not sure what to type? Paste the link of the commodity from investing.com. It always works.
  • Currency: prices are converted with the live exchange rate. Historical prices, dividends, earnings and financial statements use the rate of each date. Percentages, ratios and volumes are never converted. The item's meta shows the rate used.
  • Language: changes names, descriptions and news. Numbers stay the same.
  • Errors: if one commodity or option fails, you get an item with an error explaining why, and everything else still runs.
  • Proxy: see Proxy above. By default you do not need to do anything.