Skip to content
//Investing.com Historical Data Scraper example\\

Monthly prices: crypto, FX, gold, bonds, index, ETF

Five years of monthly bars for Bitcoin, EUR/USD, gold, the Indonesia 10-year yield, the IDX Composite and SPY.

Updated November 9, 2026

What this example returns

The dataset’s “Historical prices” view shows 18 columns: Date, Symbol, Name, Open, High, Low, Close, Volume, Change %, Currency, Exchange, Country, Type, Interval, ISIN, Investing.com id, Page, and Input. See every output field.

What each setting does

The input this example runs Investing.com Historical Data Scraper with. “Try this input” opens it in the console, where you can run it as-is or change any field first.

Instruments instruments

https://www.investing.com/crypto/bitcoin/historical-data, EUR/USD, https://www.investing.com/commodities/gold-historical-data, https://www.investing.com/rates-bonds/indonesia-10-year-bond-yield-historical-data, https://www.investing.com/indices/idx-composite-historical-data, https://www.investing.c…

investing.com links or search terms, one per line. Links work from any language site (www., id., de., in., uk., ...) and any tab of the instrument (overview, historical data, chart), e.g. https://id.investing.com/equities/erajaya-swasem-historical-data. Search terms are tickers or names as you would type them in the…

Start date startDate

2020-01-15

First day of the period: YYYY-MM-DD (e.g. 2024-01-01), or a relative period such as 30 days, 6 months or 5 years. Empty = one year before the end date.

End date endDate

2024-12-31

Last day of the period: YYYY-MM-DD. Empty = today.

Interval interval

Monthly

One row per trading day, per week or per month, as in the Time Frame menu of the site's Historical Data page. Weekly and monthly rows are whole weeks or months, dated by their first day, so the first and last row can start before the start date or end after the end date.

Default: Daily → this example uses Monthly

Row order sortOrder

Oldest first

Newest first (as on the site) or oldest first.

Default: Newest first → this example uses Oldest first

.json
{
  "instruments": [
    "https://www.investing.com/crypto/bitcoin/historical-data",
    "EUR/USD",
    "https://www.investing.com/commodities/gold-historical-data",
    "https://www.investing.com/rates-bonds/indonesia-10-year-bond-yield-historical-data",
    "https://www.investing.com/indices/idx-composite-historical-data",
    "https://www.investing.com/etfs/spdr-s-p-500-historical-data"
  ],
  "startDate": "2020-01-15",
  "endDate": "2024-12-31",
  "interval": "monthly",
  "sortOrder": "oldest"
}

What it costs

You pay for the events the actor reports, such as each result or page it produces. Platform usage is included in the event prices: compute, proxies, browser and storage cost nothing extra.

  • Instrument history$0.00425Charged once per instrument and run: all of its daily, weekly or monthly price rows for the requested period, however many there are.

Full pricing

When to use this example

From the Investing.com Historical Data Scraper readme:

Why do weekly or monthly rows start before my start date?

They are whole weeks or months, dated by their first day, exactly as on the site. The last row covers the whole week or month too, even when your end date is earlier.

Other ways to run Investing.com Historical Data Scraper

All examples of Investing.com Historical Data Scraper

About Investing.com Historical Data Scraper

Download daily, weekly or monthly historical prices from Investing.com for stocks, indices, ETFs, funds, currencies, crypto, commodities and bonds: date, open, high, low, close, volume and change %. Paste investing.com links (any language site) or tickers. No login needed.

Price:
$4.25 / 1,000 results
Developer:
Querystone

Investing.com Historical Data Scraper pageOutput fieldsPricing

Related actors

//From the blog\\

Latest articles

All articles

The internet is full of data.
Start owning yours.

Scrape.ly gives you the infrastructure, the tooling, and the team to extract, process, and operationalize web data at any scale. Setup takes minutes.

No credit card. No setup calls.