Investing.com Commodities All-in-One: Gold, Oil & Futures
Pricing
from $5.00 / 1,000 commodity data
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
Maintained by CommunityActor 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):
| Option | Name | What you get |
|---|---|---|
overview | Quote & overview | Current price, change, open/high/low, 52-week range, contract details and more. |
historical | Historical prices | Daily, weekly or monthly prices (open, high, low, close, volume, change %) between two dates. |
technical | Technical analysis | Indicators (RSI, MACD, ...), moving averages (5 to 200) and pivot points, with buy/sell signals. |
news | Latest news | Latest news articles about it (title, summary, link, date, source). |
related | Related instruments | Other instruments people also watch, with their price and change. |
commodity_group | MARKET: commodity group | All commodities of a group (metals, energy, grains, softs or meats) with price and change. |
How to use it (no code needed)
- Open the actor on Apify and go to the Input tab.
- In "Commodities to look up", type what you want, one per line, for example:
Gold,Crude Oil WTI. - In "What do you want to get?", tick the data you need.
- (Optional) choose a Language and a Currency.
- Click Start.
- When it finishes, open the Output tab. You can download the results as JSON, CSV, Excel or view them as a table.
Input fields
| Field | What it does | Example |
|---|---|---|
instruments | Commodity names (Gold, Brent Oil, Coffee) or investing.com links. One per line. | ["Gold", "Crude Oil WTI"] |
dataToGet | What you want. Pick one or more of the options in the table above. | ["overview", "historical"] |
language | Language of names, descriptions and news (32 languages). | "en", "pt-br", "de", "ja" |
currency | Optional. Show prices in another currency. local = the currency of the chosen language's country. Empty = the instrument's own currency. | "EUR", "BRL", "local" |
historicalFrom / historicalTo | Dates for historical prices. Empty = the last 30 days. | "2026-01-01" |
historicalInterval | daily, weekly or monthly. | "daily" |
historicalOrder | asc (oldest first) or desc (newest first). | "asc" |
splitHistoricalRows | true saves every day as its own row: best for Excel/CSV. | false |
technicalInterval | Timeframe of the technical analysis: 1m, 5m, 15m, 30m, 1h, 5h, 1d, 1w, 1mo or all. | "1d" |
commodityGroup | metals, energy, grains, softs or meats. | "energy" |
marketLimit | Maximum number of rows for the MARKET options (up to 2000). | 100 |
proxyType | ours (default): our proxy, included in the price. own: use your own proxy. | "ours" |
ownProxyUrls | Your 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:
| Field | Meaning |
|---|---|
input | What you typed |
dataType | Which option this item is (overview, historical, ...) |
instrument | The commodity that was found: name, symbol, link, and how it was found |
language | Language of the texts |
currency | Currency of the prices in this item |
meta | Extra details, e.g. the exchange rate used when you asked for another currency |
data | The data itself |
error | null, 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 ApifyClientclient = 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):
| Option | What happens | Who 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 proxy | Requests 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.
| Event | Price | When |
|---|---|---|
| Actor start | $0.00005 | Once per run |
| Commodity data | $0.005 | Each commodity × option (overview, historical, technical, news, related) |
| Market row | $0.0005 | Each 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
metashows 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
errorexplaining why, and everything else still runs. - Proxy: see Proxy above. By default you do not need to do anything.