# Investing.com Economic Calendar Scraper — Actual & Forecast (`kibaale/investing-economic-calendar-scraper`) Actor

Scrapes the Investing.com economic calendar: event, country, currency, importance, actual, forecast, previous and revised values, plus exchange holidays. Filter by date range, country and importance. Clean JSON, no browser, no login.

- **URL**: https://apify.com/kibaale/investing-economic-calendar-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 $5.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 Economic Calendar Scraper

Scrapes the **Investing.com economic calendar** for any date range: every scheduled release with its actual, forecast and previous values, impact level, country and currency. Optionally includes stock exchange holidays. No browser, no login.

### What you get

One record per event occurrence:

```json
{
  "type": "event",
  "eventId": 63,
  "occurrenceId": 556265,
  "date": "2026-09-16",
  "time": "2026-09-16T12:30:00Z",
  "country": "United States",
  "countryCode": "US",
  "countryId": 5,
  "currency": "USD",
  "event": "U.S. Core Retail Sales MoM",
  "shortName": "Core Retail Sales",
  "importance": "high",
  "category": "consumer",
  "actual": 0.5,
  "forecast": 0.4,
  "previous": -0.3,
  "revisedFrom": null,
  "unit": "%",
  "precision": 1,
  "referencePeriod": "Aug",
  "actualVsForecast": "bullish",
  "revisedVsPrevious": "neutral",
  "preliminary": false,
  "url": "https://www.investing.com/economic-calendar/core-retail-sales-63"
}
```

- **`actual` / `forecast` / `previous`** — released value, consensus and prior reading. `forecast`, `actual` are `null` until published, so one run captures both the schedule and the results.
- **`revisedFrom`** — present when the previous figure was later revised.
- **`actualVsForecast` / `revisedVsPrevious`** — Investing.com's own read on the surprise: `bullish`, `bearish` or `neutral`.
- **`importance`** — `high`, `medium` or `low`, the calendar's impact rating.
- **`category`** — `inflation`, `employment`, `central_banks`, `economic_activity`, `confidence_index`, `balance`, `bonds`, `credit`, `housing` and so on.
- **`unit` / `precision` / `referencePeriod`** — e.g. `%`, 1 decimal, `Aug`.
- **`description`** — the plain-text explanation of what the event measures (only with `includeDescriptions`).
- **`type: "holiday"`** records (only with `includeExchangeHolidays`) carry the exchange, its country and timezone, and whether it is closed.

### Input

| Field | Description |
|---|---|
| `startDate` | First day, `YYYY-MM-DD`. Default: today. |
| `days` | Length of the range, 1–90. Default: 7. |
| `countries` | ISO codes, e.g. `US`, `EU`, `GB`, `JP`, `DE`. Empty returns every country. |
| `importance` | `all` (default), `high`, or `high_medium`. |
| `includeExchangeHolidays` | Also return market holidays for the range (default `false`). |
| `includeDescriptions` | Add the event explanation text (default `false`). |

Running with no input returns every event for the next 7 days.

### What it does not do

- It is a calendar, not a news feed — it does not scrape the articles linked from events.
- The `importance` filter is applied after download, since the calendar API returns the whole day's schedule regardless.
- Dates and times are **UTC**, so a release late in the US evening lands on the next day in Asia. Times come straight from the calendar and are not converted.
- Historical values are whatever Investing.com still publishes; revisions show up as `revisedFrom`, not as a separate record.
- The calendar only publishes roughly the next month in detail. Fewer than 100 events are listed beyond ~30 days out and essentially none past ~50, so a long forward range returns sparse results and then nothing — that is the source, not a failed run. Past dates are unaffected.

### Notes

- One request covers 1000 occurrences, so a month is 2–3 requests plus one for the country list.
- A country code the calendar does not know is ignored with a warning rather than failing the run.
- If the country name lookup fails, records still carry `countryId` and the run continues.

# Actor input Schema

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

First day of the calendar, YYYY-MM-DD. Default: today.

## `days` (type: `integer`):

How many days to cover starting from the start date.

## `countries` (type: `array`):

ISO country codes, e.g. US, EU, GB, JP, DE. Leave empty for every country.

## `importance` (type: `string`):

Which events to keep, by impact level.

## `includeExchangeHolidays` (type: `boolean`):

Also return market holidays for the same range, as records with type "holiday".

## `includeDescriptions` (type: `boolean`):

Add the plain-text explanation Investing.com shows for each event. Makes records noticeably larger.

## Actor input object example

```json
{
  "days": 7,
  "countries": [
    "US",
    "EU",
    "GB",
    "JP"
  ],
  "importance": "all",
  "includeExchangeHolidays": false,
  "includeDescriptions": false
}
```

# Actor output Schema

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

Event 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 = {
    "countries": [
        "US",
        "EU",
        "GB",
        "JP"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("kibaale/investing-economic-calendar-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 = { "countries": [
        "US",
        "EU",
        "GB",
        "JP",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("kibaale/investing-economic-calendar-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 '{
  "countries": [
    "US",
    "EU",
    "GB",
    "JP"
  ]
}' |
apify call kibaale/investing-economic-calendar-scraper --silent --output-dataset

```

## MCP server setup

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