# Forex & Commodities News Aggregator (`mrdoe/forex-commodities-news-aggregator`) Actor

Latest currency and commodities market headlines from Investing.com and FXStreet, deduplicated and newest first, with keyword filtering.

- **URL**: https://apify.com/mrdoe/forex-commodities-news-aggregator.md
- **Developed by:** [MrDoe](https://apify.com/mrdoe) (community)
- **Categories:** News
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.00 / 1,000 article returneds

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

![Forex & Commodities News Aggregator - One deduplicated, newest-first stream of forex & commodities news aggregator from 2 major outlets, filtered by keyword.](https://api.apify.com/v2/key-value-stores/kE36venAoVchGsE6b/records/forex-commodities-news-aggregator--hero.png)

### What does Forex & Commodities News Aggregator do?

Forex & Commodities News Aggregator collects the latest currency and commodities market headlines from Investing.com and FXStreet. The same story from several outlets is returned once, newest first, with the headline, summary, link and publication time. Add keywords such as a ticker or company name to follow one story, or set a maximum age to get only fresh news.

### Why use Forex & Commodities News Aggregator?

- 2 major outlets in one deduplicated stream.
- 2 topics to choose from.
- Keyword and age filters to follow one story or ticker.
- Fast: a run takes seconds.

### What makes this different

News sites each publish their own feed in their own format. This Actor merges them into one clean table, removes the same story published by several outlets, and lets you filter by keyword or age, so an alert or a model can react to forex news within minutes.

### How it works

![Forex & Commodities News Aggregator workflow: your input, collection, output](https://api.apify.com/v2/key-value-stores/kE36venAoVchGsE6b/records/forex-commodities-news-aggregator--how-it-works.png)

1. **Your input** — choose the topics and any keywords.
2. **The Actor collects it** — the Actor reads the latest headlines from each outlet.
3. **Your output** — you get one deduplicated row per article, newest first.

### What data can you extract?

The dataset has 12 fields per row:

| Field | Type | Description |
|---|---|---|
| `source` | string | Outlet that published the article. |
| `topic` | string | Topic the article was found under. |
| `title` | string | Headline. |
| `summary` | string | Short summary. |
| `url` | string | Link to the full article. |
| `publishedAt` | string | Publication time (ISO 8601, UTC). |
| `author` | string | Author or byline when given. |
| `imageUrl` | string | Lead image. |
| `teams` | array | Always empty - no team/player tagging for this topic. |
| `athletes` | array | Always empty - no team/player tagging for this topic. |
| `matchedKeywords` | array | Which of your keywords the article matched. |
| `scrapedAt` | string | ISO timestamp of collection. |

### How to use Forex & Commodities News Aggregator

![Forex & Commodities News Aggregator input form](https://api.apify.com/v2/key-value-stores/kE36venAoVchGsE6b/records/forex-commodities-news-aggregator--input.png)

1. Open the Actor and go to the **Input** tab.
2. Pick one or more **Topics** and press Start. Add **Keywords** (for example a ticker or company name) or a **Max age** to narrow it, and set **Max results** to 0 for everything found.
3. Optionally set filters and a **Max results** limit.
4. Click **Start**. A default run finishes in under a minute.
5. Open the **Output** tab, then download the dataset or connect it to your tools.

### Input Parameters

| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| `topics` | array | No | `["forex"]` | Which sections to read news for. |
| `keywords` | array | No | `[]` | Only articles that mention one of these words in the headline or summary, for example a ticker, company or term. |
| `sources` | array | No | `[]` | Only these outlets: Investing.com, FXStreet. Leave empty for all available for the topic. |
| `maxAgeHours` | integer | No | — | Only articles published in the last this many hours. Leave empty for no age limit. |
| `maxResults` | integer | No | `5` | Maximum number of articles, newest first returned. Default is 5 for a quick test; set 0 to return everything available. |
| `proxyConfiguration` | object | No | `{"useApifyProxy":false}` | Optional. The data is public and works without a proxy. |

### Output Data

![Forex & Commodities News Aggregator dataset table](https://api.apify.com/v2/key-value-stores/kE36venAoVchGsE6b/records/forex-commodities-news-aggregator--output.png)

Each row has the `title`, `summary`, `url`, `publishedAt` and `source`. `matchedKeywords` shows which of your keywords the article matched.

![Forex & Commodities News Aggregator field map of one record](https://api.apify.com/v2/key-value-stores/kE36venAoVchGsE6b/records/forex-commodities-news-aggregator--fields.png)

A real dataset item:

```json
{
  "source": "Investing.com",
  "topic": "commodities",
  "title": "Major Saudi conferences to proceed, organisers say, despite deadly airport attack",
  "summary": null,
  "url": "https://www.investing.com/news/commodities-news/major-saudi-conferences-to-proceed-organisers-say-despite-deadly-airport-attack-4942088",
  "publishedAt": "2026-10-10T05:51:21.000Z",
  "author": null,
  "imageUrl": "https://content-media.investing.com/trkd-images/LYNXMPEM990AA_L.jpg",
  "teams": [],
  "athletes": [],
  "matchedKeywords": [],
  "scrapedAt": "2026-10-10T13:10:19.733Z"
}
```

### Usage Examples

#### Latest Forex headlines

```json
{
  "topics": [
    "forex"
  ],
  "maxResults": 0
}
```

#### Keyword-filtered news, last 24 hours

```json
{
  "topics": [
    "forex",
    "commodities"
  ],
  "keywords": [
    "earnings"
  ],
  "maxAgeHours": 24,
  "maxResults": 0
}
```

### Tips for Best Results

- Default is 5 results for a fast test. Set the max to 0 to return everything available.

### Known Limitations

- Each outlet exposes only its most recent articles, so this is a live stream, not an archive.
- Full article text is not included, only the headline, summary and link.
- Some topics are covered by fewer outlets than others.

### Integrations

Run it from the Apify API, on a schedule, or from a webhook. Send results straight to Google Sheets, Make, Zapier, Slack or your own database with Apify's built-in integrations.

### Export Formats

Download the dataset as JSON, CSV, Excel, XML, HTML table or RSS from the **Output** tab or the API.

### Frequently Asked Questions

#### Does it need an account or API key?

No. The Actor reads public data and needs no account or key.

#### Am I charged for failed results?

No. You are only charged for results that are written to the dataset.

#### Do I need an account or login?

No. The Actor reads public data and needs no account or key.

#### Am I charged for failed runs or empty results?

You are only charged for results that are actually written to the dataset.

#### Can I run it on a schedule?

Yes. Create a Task with your input and add a schedule in Apify Console. With monitor mode on, each scheduled run returns only what changed since the previous one.

### Support

Questions or a missing field? Open an issue from the **Issues** tab on this Actor's page and it will be looked at.

### Legal / Responsible Use

You are responsible for using the data in line with the source's terms and applicable law. The Actor collects publicly available data only and is not affiliated with the source.

# Actor input Schema

## `topics` (type: `array`):

Which sections to read news for.

## `keywords` (type: `array`):

Only articles that mention one of these words in the headline or summary, for example a ticker, company or term.

## `sources` (type: `array`):

Only these outlets: Investing.com, FXStreet. Leave empty for all available for the topic.

## `maxAgeHours` (type: `integer`):

Only articles published in the last this many hours. Leave empty for no age limit.

## `maxResults` (type: `integer`):

Maximum number of articles, newest first returned. Default is 5 for a quick test; set 0 to return everything available.

## `proxyConfiguration` (type: `object`):

Optional. The data is public and works without a proxy.

## Actor input object example

```json
{
  "topics": [
    "forex"
  ],
  "keywords": [],
  "sources": [],
  "maxResults": 5,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

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

No description

# 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 = {
    "topics": [
        "forex"
    ],
    "maxResults": 5
};

// Run the Actor and wait for it to finish
const run = await client.actor("mrdoe/forex-commodities-news-aggregator").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 = {
    "topics": ["forex"],
    "maxResults": 5,
}

# Run the Actor and wait for it to finish
run = client.actor("mrdoe/forex-commodities-news-aggregator").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 '{
  "topics": [
    "forex"
  ],
  "maxResults": 5
}' |
apify call mrdoe/forex-commodities-news-aggregator --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,mrdoe/forex-commodities-news-aggregator"
        }
    }
}
```

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/apPrdGO3qjDmDpsTj/builds/ZBm04YWex0CyiggJK/openapi.json
