Commodities Scraper
Pricing
$4.00/month + usage
Commodities Scraper
Scrape real-time commodity prices from financial websites. Supports oil, gold, silver, natural gas, and more. Extract price, change, volume, technical indicators, and contract details. Currently supports Investing.com with more sites coming soon.
Pricing
$4.00/month + usage
Rating
0.0
(0)
Developer

No-Code Venture
Actor stats
0
Bookmarked
2
Total users
1
Monthly active users
6 days ago
Last modified
Categories
Share
Commodity Price Scraper ๐
Real-time commodity prices. Track crude oil, gold, silver, natural gas, and more from leading financial websites. Get current prices, trading data, contract details, and technical indicators โ all extracted automatically.
Currently supports: Investing.com Coming soon: More financial data sources
โจ Features
- ๐ฐ Real-Time Prices โ Current price, change, and change percentage
- ๐ Trading Data โ Previous close, open, day's range, 52-week range, volume
- ๐ Contract Details โ Settlement date, tick size, contract size, months, rollover dates
- ๐ Technical Indicators โ Summary signals (Buy/Sell/Neutral)
- โ FAQ Extraction โ Optionally extract FAQ questions and answers about the commodity
- ๐ฆ Multiple Commodities โ Scrape multiple commodities in a single run
- ๐ Login Support โ Authenticate with email/password for full data access
- ๐ญ Stealth Mode โ Uses Camoufox (stealthy Firefox fork) to avoid detection
- ๐ Multi-Site Architecture โ Easily extensible to support more financial sites
๐ Getting Started
Basic Usage
Scrape multiple commodity prices from Investing.com:
{"site": "investing.com","commodities": ["crude-oil", "gold", "natural-gas"]}
Or scrape a single commodity:
{"site": "investing.com","commodities": ["crude-oil"]}
๐ฆ Supported Commodities
| Commodity | Slug | Description |
|---|---|---|
| Crude Oil WTI | crude-oil | West Texas Intermediate crude |
| Brent Oil | brent-oil | North Sea Brent crude |
| Natural Gas | natural-gas | Henry Hub natural gas |
| Gold | gold | Gold futures |
| Silver | silver | Silver futures |
| Copper | copper | Copper futures |
| Platinum | platinum | Platinum futures |
| Palladium | palladium | Palladium futures |
| Heating Oil | heating-oil | No. 2 heating oil |
| Gasoline RBOB | gasoline-rbob | Reformulated gasoline |
๐ก Tip: You can use any commodity slug from Investing.com. Just use the URL path (e.g.,
https://www.investing.com/commodities/crude-oilโcrude-oil).
๐ Authentication
Authentication is optional but provides full data access on Investing.com.
{"site": "investing.com","commodities": ["gold", "silver"],"skipAuthentication": false,"investingEmail": "your-email@example.com","investingPassword": "your-password"}
โ๏ธ Input Parameters
| Parameter | Type | Required | Description | Default |
|---|---|---|---|---|
site | String | โ | Website to scrape from | investing.com |
commodities | String[] | โ | List of commodity slugs (e.g., ["crude-oil", "gold"]) | ["crude-oil"] |
skipAuthentication | Boolean | โ | Skip login (some data may be limited) | true |
investingEmail | String | โ | Investing.com email | โ |
investingPassword | String | โ | Investing.com password | โ |
includeFaq | Boolean | โ | Extract FAQ questions and answers | false |
maxConcurrency | Integer | โ | Max concurrent browsers (1-10) | 1 |
proxyConfiguration | Object | โ | Proxy settings (not required, works without proxies) | Disabled |
debugScreenshots | Boolean | โ | Save screenshots for debugging | true |
๐ Output Example
{"name": "Crude Oil WTI","symbol": "CL","url": "https://www.investing.com/commodities/crude-oil","scrapedAt": "2024-01-15T14:30:00.000Z","source": "investing.com","price": "72.45","currency": "USD","change": "-0.53","changePercent": "(-0.73%)","priceType": "Real-time derived","prevClose": "72.98","open": "72.98","dayRange": "71.85-73.12","weekRange52": "63.64-95.03","volume": "218,634","yearChange1": "-12.21%","settlementDate": "01/22/2024","settlementType": "Physical","month": "02, 2024","baseSymbol": "CL","pointValue": "1 = $1000","tickSize": "0.01","tickValue": "10","contractSize": "1,000 Barrels","months": "FGHJKMNQUVXZ","lastRolloverDay": "01/18/2024","technicalSummary": "Sell","faq": [{"question": "What Is the Current Price of Crude Oil?","answer": "The current price of Crude Oil WTI is $72.45 per barrel."},{"question": "What Is the Daily Trading Range for Crude Oil?","answer": "Today's trading range for Crude Oil is $71.85 - $73.12."}]}
๐ก Note: The
faqfield is only included whenincludeFaqis set totrue.
๐ฏ Use Cases
- Trading & Investment โ Track real-time commodity prices for trading decisions
- Portfolio Monitoring โ Monitor commodities in your investment portfolio
- Market Research โ Analyze price trends and technical indicators
- Data Analytics โ Build datasets for price analysis and forecasting
- Price Alerts โ Integrate with workflows to trigger alerts on price changes
- Business Intelligence โ Track commodity costs for business planning
โ๏ธ How It Works
- Navigate โ Opens the commodity page on Investing.com
- Handle Cookies โ Automatically rejects tracking cookies (OneTrust)
- Authenticate โ Logs in with your email and password
- Extract โ Scrapes all available price and trading data
- Output โ Saves structured data to the dataset
๐ก๏ธ Proxy Support
Proxies are disabled by default and typically not needed. The scraper uses Camoufox (a stealthy Firefox fork) which works well without proxies in most cases.
If you experience blocking issues, you can enable proxies:
{"proxyConfiguration": {"useApifyProxy": true,"apifyProxyGroups": ["RESIDENTIAL"]}}
๐ก Tip: Try running without proxies first. Only enable them if you encounter blocking.
๐ก Tips
- Check commodity slugs โ Use the exact slug from the site's URL
- Enable debug screenshots โ Helpful for troubleshooting issues
- Multiple commodities โ Add as many commodities as you need to the
commoditiesarray - Speed up scraping โ Increase
maxConcurrency(up to 10) to run multiple browsers in parallel
๐ฎ Coming Soon
- More Sites โ Support for additional financial data sources
- Historical Data โ Extract historical price data
- Price Alerts โ Built-in price threshold notifications
- Forex & Indices โ Support for currency pairs and market indices
๐ Legal & Ethical Use
This Actor is intended for legitimate data collection purposes. Please:
- Respect each site's Terms of Service
- Use reasonable request rates
- Comply with applicable data protection laws
- Don't use for market manipulation or illegal activities
๐ค Support
Having issues? Found a bug? Want a feature?
- Open an issue on the Actor's page
- Contact the developer through Apify
Built by nocodeventure โข Made with โค๏ธ for the Apify community