Skip to content
Extract Data From Investing.com
web

Extract Data From Investing.com

Easily scrape market data from Investing.com with MrScraper’s ScrapeGPT. Extract stock indices, commodities, currency pairs, and more in just a few clicks.

What Data Can Be Scraped From Investing.com?

Investing.com provides a wealth of financial data, including:

  • Market Indices – Dow Jones, Nasdaq, S&P 500, and more.
  • Commodities – Gold, crude oil, natural gas, etc.
  • Currencies – Forex pairs like EUR/USD, BTC/USD, and XAU/USD.
  • Top Gainers & Losers – Identify trending stocks and market movements.

With ScrapeGPT, you can effortlessly extract all this data in structured formats like JSON and CSV.

How It Works?

Getting started with Mrscraper’s ScrapeGPT is simple and user-friendly. Just follow these steps:

  1. Create Your Account: Sign up or log in to your account on MrScraper. It’s quick, easy, and free to get started.

  2. Initiate Scraping: Select “New ScrapeGPT” on the homepage and paste the Investing.com page URL you wish to scrape.

  3. Process the Page: Let ScrapeGPT process the selected page. The tool will analyze the page to identify and extract relevant data.

  4. Enter a Prompt: Type in your prompt, such as “Get all the data”, and ScrapeGPT will handle the rest seamlessly.

  5. Download Your Data: Once the scraping is complete, download the data in your preferred format—JSON or CSV—for easy analysis and integration into your workflow.

Input Url

https://www.investing.com/markets/

Sample Output

The data extracted can be provided in JSON formats, ensuring compatibility with your workflow. For example:

Sample Output (JSON)

{
    "markets": {
        "indices": [
            {
                "name": "Dow Jones",
                "last": "41,350.93",
                "change": "-82.55",
                "change_percent": "-0.20%"
            },
            {
                "name": "DAX",
                "last": "22,676.41",
                "change": "+347.64",
                "change_percent": "+1.56%"
            },
            {
                "name": "Nasdaq 100",
                "last": "19,596.02",
                "change": "+219.06",
                "change_percent": "+1.13%"
            },
            {
                "name": "Nikkei 225",
                "last": "36,948.50",
                "change": "+129.41",
                "change_percent": "+0.35%"
            },
            {
                "name": "FTSE 100",
                "last": "8,540.97",
                "change": "+44.98",
                "change_percent": "+0.53%"
            }
        ],
        "commodities": [
            {
                "name": "Gold",
                "last": "2,953.42",
                "change": "+6.62",
                "change_percent": "+0.22%"
            },
            {
                "name": "Crude Oil WTI",
                "last": "67.59",
                "change": "-0.09",
                "change_percent": "-0.13%"
            }
        ],
        "currencies": [
            {
                "pair": "BTC/USD",
                "last": "X",
                "change": "Y",
                "change_percent": "Z%"
            },
            {
                "pair": "XAU/USD",
                "last": "X",
                "change": "Y",
                "change_percent": "Z%"
            }
        ],
        "top_gainers": [
            {
                "name": "NVIDIA",
                "last": "115.74",
                "change": "+6.98",
                "change_percent": "+6.42%"
            },
            {
                "name": "Boeing",
                "last": "158.80",
                "change": "+4.74",
                "change_percent": "+3.08%"
            }
        ],
        "top_losers": [
            {
                "name": "P&G",
                "last": "168.37",
                "change": "-4.75",
                "change_percent": "-2.74%"
            },
            {
                "name": "Walmart",
                "last": "85.20",
                "change": "-2.24",
                "change_percent": "-2.56%"
            }
        ]
    }
}

Web scraping legality depends on various factors, including terms of service, copyright laws, and the nature of the data being extracted. Investing.com’s data is publicly available, but it’s always recommended to review their robots.txt file and terms of service to ensure compliance. If scraping for commercial purposes, consider seeking legal advice or using official APIs where available.

Best Practices for Ethical Scraping:

  • Always check the website’s robots.txt file for scraping guidelines.
  • Avoid overloading servers by setting reasonable request intervals.
  • Do not extract personal or sensitive information.
  • Use scraped data responsibly and give proper attribution where required.

Conclusion

Scraping Investing.com with MrScraper’s ScrapeGPT is a game-changer for financial data extraction. Whether you need market indices, commodities prices, or currency rates, ScrapeGPT makes it simple, fast, and reliable.

Try it today and automate your financial data collection effortlessly!

Get started now!

Step up your web scraping

Try MrScraper Now

Other Scrapers You Might Like

Google Workspace Apps Scraper

Google Workspace Apps Scraper

Learn how to scrape Google Workspace apps, including app names, descriptions, and categories, using the Google Workspace Apps Scraper.

Rotten Tomatoes Scraper

Rotten Tomatoes Scraper

Extract movie ratings, reviews, upcoming releases, and more with a Rotten Tomatoes Scraper. Gather structured data for analysis, trend tracking, and research—all while following ethical scraping practices.

The Movie Database (TMDB) Scraper

The Movie Database (TMDB) Scraper

Extract movie data from The Movie Database (TMDB), including titles, release dates, and thumbnails, using a TMDB scraper. Learn what data can be scraped, legal considerations, and the best scraping practices.