# Investing.com Stock Scraper — Quotes, Historical & Financials (`kibaale/investing-com-scraper`) Actor

Scrapes Investing.com for any listed stock worldwide: live quote, fundamentals, 48 financial ratios, dividends, earnings history, profile, historical OHLCV (daily/weekly/monthly) and full financial statements (income, balance sheet, cash flow). One bundled record per ticker. No browser, no login.

- **URL**: https://apify.com/kibaale/investing-com-scraper.md
- **Developed by:** [kibalee](https://apify.com/kibaale) (community)
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $7.50 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.
Actors are written with capital "A".

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## Investing.com Stock Scraper

Scrapes **Investing.com** for any listed stock worldwide: quote, fundamentals, ratios, dividends, earnings, profile — plus historical OHLCV and full financial statements on request. No browser, no login.

### What you get

One bundled record per instrument:

```json
{
  "instrumentId": "6408",
  "symbol": "AAPL",
  "name": "Apple Inc",
  "url": "https://www.investing.com/equities/apple-computer-inc",
  "exchange": "NASDAQ",
  "market": "United States",
  "isin": "US0378331005",
  "currency": "USD",
  "quote": {
    "last": 333.08, "change": 0.81, "changePct": 0.24,
    "open": 334.79, "high": 335.5, "low": 331.34, "previousClose": 333.08,
    "volume": 39269147, "averageVolume": 53694600,
    "fiftyTwoWeekHigh": 344.57, "fiftyTwoWeekLow": 236.32,
    "premarket": {"price": 331.14, "change": -1.94, "changePct": -0.58},
    "afterHours": {"price": 330.29, "change": -2.79, "changePct": -0.84},
    "lastUpdate": "2026-09-14T20:39:59Z"
  },
  "fundamentals": {
    "marketCap": 4860000000000, "revenue": 466820000000, "eps": 8.7171,
    "peRatio": 38.47, "dividend": 1.08, "dividendYieldPct": 0.33,
    "sharesOutstanding": 14594180000, "beta": 1.09
  },
  "technicalSummary": {"P1D": "strong_buy", "P1W": "strong_buy", "P1M": "strong_buy"},
  "profile": {"sector": "Technology", "industry": "...", "employees": 166000, "...": "..."},
  "dividends": {"summary": {"annualized_payout": 1.08, "...": "..."}, "history": []},
  "ratios": [{"key": "asset_turnover_ttm", "name": "Asset Turnover TTM", "value": 1.306235, "industryValue": 1.229714}],
  "earnings": {"nextReportDate": "2026-10-29", "latestRelease": {}, "upcoming": [], "history": []}
}
```

Add `historical` and `financials` to the same record with the options below.

- **`quote`** — last price, change, open/high/low, previous close, volume, average volume, 52-week range, pre-market and after-hours, last update time.
- **`fundamentals`** — market cap, revenue, EPS, P/E, dividend per share, dividend yield, shares outstanding, one-year return, beta.
- **`ratios`** — 48 profitability/valuation/leverage indicators, each with the industry average for comparison.
- **`dividends`** — summary (annualized payout, yield, payout ratio, 5-year growth) plus the 20 most recent payments.
- **`earnings`** — next report date, latest release (EPS actual/forecast/surprise, revenue, post-earnings price move), upcoming estimates and past reports.
- **`profile`** — sector, industry, employee count, business description, executives, contact details.
- **`historical`** (optional) — OHLCV rows with adjusted raw prices and volume.
- **`financials`** (optional) — income statement, balance sheet and cash flow, 10 annual + 10 quarterly periods each, every line item keyed and named.

### Input

| Field | Description |
|---|---|
| `symbols` | Tickers or company names. US and international: `AAPL`, `MSFT`, `BBCA` (Jakarta), `7203` (Tokyo). Prefix an exchange to pick a cross-listing: `Xetra:AAPL`. |
| `instrumentUrls` | Direct Investing.com path or URL instead of a lookup, e.g. `/equities/apple-computer-inc`. |
| `exchange` | Preferred exchange when a ticker trades in several markets. |
| `includeHistorical` | Add the OHLCV array (default `false`). |
| `startDate` / `endDate` | History range, `YYYY-MM-DD`. Default: last 365 days. |
| `timeFrame` | `Daily` (default), `Weekly` or `Monthly`. |
| `includeFinancials` | Add the three financial statements (default `false`). |

Running with no input returns the latest quote bundle for `AAPL`.

### What it does not do

- It does not scrape news articles. The news list on a quote page is site-wide market news, not instrument-specific, so it is left out.
- Dividend history is limited to the 20 most recent payments (the summary carries the aggregates).
- It is a snapshot at run time. Prices move; re-run to refresh.
- Financial statement amounts are in the instrument's reporting currency, identified by `currencyId` on each report and by `currency` at the record level.

### Notes

- Ticker lookup uses Investing.com's own search relevance; an exact ticker match on a stock listing wins over ETFs, depositary receipts and cross-listings. Add `exchange` to override.
- One instrument costs 2 requests (lookup + quote), plus 1 for history and 3 for the financial statements.

# Actor input Schema

## `symbols` (type: `array`):

Tickers to look up, e.g. AAPL, MSFT, BBCA (Jakarta), 7203 (Tokyo). Company names work too. Prefix an exchange to disambiguate a cross-listing, e.g. Xetra:AAPL.

## `instrumentUrls` (type: `array`):

Optional direct links instead of a lookup, e.g. /equities/apple-computer-inc or the full URL. Useful for ambiguous tickers.

## `exchange` (type: `string`):

Optional. When a ticker is listed in several markets, prefer this exchange, e.g. Xetra, Jakarta, NASDAQ, Tokyo.

## `includeHistorical` (type: `boolean`):

Add an OHLCV array to each record. Pick the range with startDate/endDate and the timeframe below.

## `startDate` (type: `string`):

First day of historical prices, YYYY-MM-DD. Default: one year back.

## `endDate` (type: `string`):

Last day of historical prices, YYYY-MM-DD. Default: today.

## `timeFrame` (type: `string`):

Candle size for historical prices.

## `includeFinancials` (type: `boolean`):

Add income statement, balance sheet and cash flow (10 annual + 10 quarterly periods each) to every record.

## Actor input object example

```json
{
  "symbols": [
    "AAPL",
    "MSFT",
    "TSLA"
  ],
  "instrumentUrls": [],
  "includeHistorical": false,
  "timeFrame": "Daily",
  "includeFinancials": false
}
```

# Actor output Schema

## `results` (type: `string`):

Stock records stored in the run's default dataset

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "symbols": [
        "AAPL",
        "MSFT",
        "TSLA"
    ],
    "instrumentUrls": [],
    "exchange": ""
};

// Run the Actor and wait for it to finish
const run = await client.actor("kibaale/investing-com-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "symbols": [
        "AAPL",
        "MSFT",
        "TSLA",
    ],
    "instrumentUrls": [],
    "exchange": "",
}

# Run the Actor and wait for it to finish
run = client.actor("kibaale/investing-com-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "symbols": [
    "AAPL",
    "MSFT",
    "TSLA"
  ],
  "instrumentUrls": [],
  "exchange": ""
}' |
apify call kibaale/investing-com-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,kibaale/investing-com-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/bR301SxoNtioviWUg/builds/COD2fbLgMrT7AfDFV/openapi.json
