# Investing.com News & Analysis Scraper — Full Text (`kibaale/investing-news-scraper`) Actor

Scrapes Investing.com news and analysis: title, author, provider, timestamps, images and the full article text. Pick any of 19 news and 8 analysis categories, filter by date. Clean JSON, no browser, no login.

- **URL**: https://apify.com/kibaale/investing-news-scraper.md
- **Developed by:** [kibalee](https://apify.com/kibaale) (community)
- **Stats:** 2 total users, 1 monthly users, 37.5% 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?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
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.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## 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.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Investing.com News & Analysis Scraper

Scrapes **Investing.com news and analysis** — title, provider, timestamps, image and the **full article text**. Choose any of 19 news categories and 8 analysis categories, cap how many articles to take from each, and optionally restrict to articles newer than a date. Pure JSON API: no browser, no login, no proxy.

### What you get

One record per article:

```json
{
  "type": "news",
  "category": "stock-market-news",
  "articleId": 4901009,
  "title": "Citi warns Tokyo Electron stock faces risk from Kioxia listing",
  "url": "https://www.investing.com/news/stock-market-news/citi-warns-tokyo-electron-stock-faces-risk-from-kioxia-listing-93CH-4901009",
  "publishedAt": "2026-09-15T09:10:05Z",
  "updatedAt": "2026-09-15T09:10:05Z",
  "provider": "Investing.com",
  "sourceId": 93,
  "newsType": "Investing.com AI",
  "sponsored": false,
  "editorsPick": false,
  "image": "https://content-media.investing.com/news/LYNXMPEBBR0PM_L.jpg",
  "imageCopyright": "&copy; Reuters.",
  "fullText": true,
  "body": "<p dir=\"auto\">Investing.com -- Citi said Tuesday that a potential ...</p>",
  "text": "Investing.com - Citi said Tuesday that a potential American Depositary ..."
}
```

- **`fullText`** — `true` when `body` is the complete article. `false` means only the short teaser shown in the listing was available, either because full text was turned off or because the article publishes no body to anonymous readers (see the `pro` category below).
- **`body` / `text`** — the same content as HTML and as plain text with paragraph breaks. Use `text` for search, embeddings or summarisation, `body` when you need the inline links and structure.
- **`type`** — `news` or `analysis`. Analysis pieces are long-form: typically 3–19 KB of body against 1.5–4 KB for news.
- **`category`** — the feed the article was found in, which is how you asked for it.
- **`provider`** — the publishing desk (`Investing.com`, `Reuters`, …), `null` on analysis columns that carry none. `newsType` marks the AI-generated market stubs.

### Input

| Field | Description |
|---|---|
| `newsCategories` | Any of the 19 news feeds below. Empty with no analysis categories falls back to `stock-market-news`. |
| `analysisCategories` | Any of the 8 analysis feeds below. |
| `maxArticlesPerCategory` | How many articles to take from each feed, newest first. Default 50, up to 2000. |
| `includeFullText` | Download each article for the complete text (default `true`). Off stores only the listing teaser. Costs one extra request per article. |
| `startDate` | `YYYY-MM-DD`. Stops paging once the feed reaches older articles, which makes repeated runs cheap. |

**News:** stock-market-news, company-news, economy, forex-news, commodities-news, cryptocurrency-news, earnings, economic-indicators, insider-trading-news, investment-ideas, press-releases, swot-analysis, analyst-ratings, transcripts, general, politics, pro, sec-filings, world-news

**Analysis:** bonds, commodities, cryptocurrency, editors-picks, etfs, forex, market-overview, stock-markets

### What it does not do

- **The listing is not a full archive.** Investing.com caps a feed at 10,000 rows and busy categories fill that in a few weeks — deep history is not reachable by paging. `startDate` helps you stop early, it cannot reach further back.
- The `pro` feed publishes only headlines and metadata to anonymous readers, so its records arrive with an empty body and `fullText: false`. The title usually carries the substance ("… receives Investment Bank Analyst Rating Update").
- Author names and reader comments are not available from the API the site itself uses, so records carry neither.
- It does not follow the tickers or markets an article mentions, and does not translate.

### Notes

- Cost is one request per 100-article listing page plus one per article when `includeFullText` is on, plus a single anonymous session request at the start.
- Feeds overlap: an article can sit in several categories. Every record is deduplicated by `articleId`, and the feed it was first seen in is the one recorded in `category`, so `maxArticlesPerCategory` is an upper bound, not a promise.
- Asking only for categories that do not exist fails the run rather than quietly scraping something else; unknown names alongside valid ones are logged and skipped.

# Actor input Schema

## `newsCategories` (type: `array`):

One or more of: stock-market-news, company-news, economy, forex-news, commodities-news, cryptocurrency-news, earnings, economic-indicators, insider-trading-news, investment-ideas, press-releases, swot-analysis, analyst-ratings, transcripts, general, politics, pro, sec-filings, world-news. Empty with no analysis categories falls back to stock-market-news.

## `analysisCategories` (type: `array`):

Opinion and research pieces, longer than news. One or more of: bonds, commodities, cryptocurrency, editors-picks, etfs, forex, market-overview, stock-markets.

## `maxArticlesPerCategory` (type: `integer`):

How many articles to take from each category, newest first. Each article is one record.

## `includeFullText` (type: `boolean`):

Download each article and store the complete text. When off, only the short teaser shown in the listing is stored. One extra request per article.

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

YYYY-MM-DD. Stops paging once the feed reaches older articles, which makes follow-up runs cheap. Leave empty for the newest articles regardless of date.

## Actor input object example

```json
{
  "newsCategories": [
    "stock-market-news",
    "forex-news",
    "cryptocurrency-news"
  ],
  "analysisCategories": [
    "forex"
  ],
  "maxArticlesPerCategory": 50,
  "includeFullText": true
}
```

# Actor output Schema

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

Article 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 = {
    "newsCategories": [
        "stock-market-news",
        "forex-news",
        "cryptocurrency-news"
    ],
    "analysisCategories": [
        "forex"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("kibaale/investing-news-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 = {
    "newsCategories": [
        "stock-market-news",
        "forex-news",
        "cryptocurrency-news",
    ],
    "analysisCategories": ["forex"],
}

# Run the Actor and wait for it to finish
run = client.actor("kibaale/investing-news-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 '{
  "newsCategories": [
    "stock-market-news",
    "forex-news",
    "cryptocurrency-news"
  ],
  "analysisCategories": [
    "forex"
  ]
}' |
apify call kibaale/investing-news-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,kibaale/investing-news-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/bGalZXPTlovbs43G7/builds/Xx3IIQfTMycH05zey/openapi.json
