# Auswärtiges Amt RSS Feed Scraper (`bovi/auswaertigesamt-scraper`) Actor

Collect public articles, press releases, travel and security advisories, and job notices from the official Auswärtiges Amt RSS feeds. Records include source URLs, publication dates, summaries, and feed metadata.

- **URL**: https://apify.com/bovi/auswaertigesamt-scraper.md
- **Developed by:** [Vitalii Bondarev](https://apify.com/bovi) (community)
- **Categories:** News, Travel, Jobs
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.50 / 1,000 auswärtiges amt rss feed scrapers

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

## Auswärtiges Amt RSS Feed Scraper

Extract public articles, press releases, travel and security advisories, and job notices from the official RSS feeds of Germany's Federal Foreign Office. Each record has the source URL, title, summary, publication date, identifier, and feed metadata. No login or API key is needed for the source.

- One record per RSS entry, with `feedType` and `category` telling you which feed it came from.
- Travel advisories add `country` when the title has a colon; `updatedAt` is the item's own last build date, present only when the item carries one.
- Pick one feed (`articles`, `press`, `travel`, `jobs`) or combine all four.
- Records are deduplicated by URL across the selected feeds.

### What you get

Each dataset item represents one RSS entry from an official Auswärtiges Amt feed. Optional fields are included when the source supplies them or when they apply to the selected feed.

| Field | Type | Description | Availability |
|---|---|---|---|
| `title` | string | Title published in the official RSS item. | RSS item |
| `url` | string | Official Auswärtiges Amt page URL. | Valid collected item |
| `description` | string | Plain-text summary supplied by the RSS item. | When supplied |
| `publishedAt` | string | RSS publication date in ISO 8601 format. | When supplied |
| `updatedAt` | string | The RSS item's `lastBuildDate`, in ISO 8601 format. In the fixtures only the travel feed supplies it. | When the item supplies it |
| `guid` | string | RSS item identifier. | When supplied |
| `feedType` | string | Selected public feed: `articles`, `press`, `travel`, or `jobs`. | Every record |
| `category` | string | Record type mapped from the selected feed: `article`, `press_release`, `travel_advisory`, or `job`. | Every record |
| `feedTitle` | string | Title of the source RSS feed. | When supplied |
| `language` | string | Language declared by the source RSS feed. | When supplied |
| `country` | string | Country name parsed from a travel advisory title. | Travel titles containing a colon |

### Sample output

This is a real record from the dataset sample with the `description` truncated (marked `[...]`) for readability. Travel records also carry `country`.

```json
{
  "title": "Für Freihandel, sichere Lieferketten und globale Partnerschaften – Außenminister Wadephul reist nach Panama und zum G20-Außenministertreffen in Atlanta",
  "url": "https://www.auswaertiges-amt.de/de/aussenpolitik/2808056-2808056",
  "feedType": "articles",
  "category": "article",
  "description": "Außenminister Wadephul beginnt heute seine Reise nach Panama und in die USA, wo er am G20-Außenminstertreffen in Atlanta teilnehmen wird. Die G20 wurden Ende der 90er Jahre unter dem Eindruck schwerer Finanz- und Währungskrisen in Asien gegründet. [...]",
  "publishedAt": "2026-10-28T19:35:11+00:00",
  "guid": "https://www.auswaertiges-amt.de/de/aussenpolitik/2808056-2808056",
  "feedTitle": "Aktuelle Artikel als RSS-Feed",
  "language": "de"
}
```

### Pricing

This Actor uses pay-per-event pricing. One returned dataset item is one pay-per-result unit billed by Apify.

| Charge event | Free-plan price | What it covers |
|---|---:|---|
| Actor Start | $0.00005 per event on the Free plan | Charged when the Actor starts. The number of events depends on Actor memory, with a minimum of one event. |
| Dataset item | $0.0035 per event on the Free plan | One scraped result with all fields. |

The buyer pays only the event prices listed above. Compute, Apify Proxy traffic including residential traffic, and storage are covered by those prices and are not billed on top.

Cost examples on the Free plan, with one Actor Start event:

- 1,000 x $0.0035 + $0.00005 = $3.50005 on Free
- 10,000 x $0.0035 + $0.00005 = $35.00005 on Free

The $5 monthly credit of the Free plan pays for up to 1,428 dataset items plus one Actor Start event. Larger runs on the Free plan go beyond that credit.

### How to use

1. Choose `all`, `articles`, `press`, `travel`, or `jobs` with `feedType`. With `all`, feeds are read in the order articles, press, travel, jobs, and `maxResults` stops the loop, so a small cap may return only articles.
2. Set `maxResults` to the maximum combined number of records to return. Use an integer of at least `1`; the default is `50`, and a non-numeric value falls back to `50`.
3. `proxyConfiguration` is optional. If you omit it, the schema default applies: Apify Proxy with the `RESIDENTIAL` group. The Actor connects directly only if you set `useApifyProxy` to `false` or remove the object.
4. Run the Actor and inspect the dataset records, including the official page URL, publication date, summary, feed type, and category.
5. Filter the resulting dataset by `feedType`, `category`, `country`, or `publishedAt` for your monitoring workflow. Export it as JSON or CSV, or read it through the Apify dataset API.
6. Repeat the run through Apify Schedules; daily is a reasonable starting point. Each scheduled run reads the current feed again, so items from earlier runs can appear again.

Example input:

```json
{
  "feedType": "travel",
  "maxResults": 20,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": ["RESIDENTIAL"]
  }
}
```

### Input parameters

| Parameter | What it does | Default |
|---|---|---|
| `feedType` | Selects the official RSS feed: `all`, `articles`, `press`, `travel`, or `jobs`. `all` combines the available feeds. | `all` |
| `maxResults` | Caps the combined number of feed items returned. The value must be an integer of at least `1`. | `50` |
| `proxyConfiguration` | Optional Apify proxy settings. With `useApifyProxy: true` the Actor uses the supplied proxy configuration; with `false` or no object it connects directly. | `{"useApifyProxy": true, "apifyProxyGroups": ["RESIDENTIAL"]}` |

### Limits and edge cases

| Condition | What the buyer sees | What to do |
|---|---|---|
| `maxResults` is `0` or less | The Actor logs a warning and returns without pushing records. | Use an integer of at least `1`. |
| `maxResults` is reached | The Actor stops adding records across the selected feeds. | Increase `maxResults` for more records. |
| A selected feed fails or times out (40 seconds) | A warning is logged and the other feeds continue; records from successful feeds are pushed at the end. | Check the run log for the failed feed and run again. |
| No records are collected from any selected feed | The run raises an error and no dataset is pushed. | Check `feedType`, use a positive `maxResults`, and run again. |
| An RSS item has no title or no HTTPS `auswaertiges-amt.de` URL | The item is skipped. | Use the records from valid feed items. |
| The same URL appears in more than one selected feed | Only the first occurrence is kept (dedup by URL). | Use a narrower `feedType` to isolate one feed. |
| A travel title has no colon, or an item has no `lastBuildDate` | No `country` or `updatedAt` field is added. | Use `title` and `publishedAt` instead. |
| A description contains an external link | It is converted to plain text; the link is not followed. | Use the returned `url` to open the official item. |

### FAQ

#### How much does it cost to scrape Auswärtiges Amt RSS feeds?

See the Pricing section for the Free-plan event prices and cost examples.

#### Why did my run return no items?

If no valid records are collected from the selected feeds, the run raises an error instead of pushing an empty dataset. Check that `feedType` is one of the accepted values, that `maxResults` is at least `1`, and that the selected feed can be reached. You can also run again with the optional Apify proxy configuration.

#### Does this Actor require an account or login?

No account or login is required for the source. The Actor reads the published RSS feeds of the Auswärtiges Amt and does not follow external links from item descriptions. You still need your own Apify account to run an Actor on Apify.

#### Is it legal to use data from the Auswärtiges Amt RSS feeds?

This Actor collects public data from the source's published RSS feeds. Whether a particular use is legal or allowed depends on the source terms and the applicable law for your use case; this Actor does not provide a legal guarantee.

### Usage statistics

This Actor creates a small, content-free summary at the end of each run, used only to monitor reliability and improve this Actor. No input values, credentials or scraped data are sent.

A copy of the exact record for your run is saved as `USAGE_STATS` in your own Apify key-value store.

To opt out, set `disableUsageStats` to `true` in the input. Nothing is sent then.

[Full list of collected fields](https://api.apify.com/v2/key-value-stores/v9rgHjMKLDGtHf8tD/records/index.html)

# Actor input Schema

## `feedType` (type: `string`):

Choose which official Auswärtiges Amt RSS feed to collect, or select all feeds.

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

Maximum number of feed items to return.

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

Optional Apify proxy settings. Leave unset to connect directly.

## Actor input object example

```json
{
  "feedType": "all",
  "maxResults": 50,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# Actor output Schema

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

Dataset with the collected RSS items.

# 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 = {
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ]
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("bovi/auswaertigesamt-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 = { "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
    } }

# Run the Actor and wait for it to finish
run = client.actor("bovi/auswaertigesamt-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 '{
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}' |
apify call bovi/auswaertigesamt-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,bovi/auswaertigesamt-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/Xp155ZTkdSZrfII2X/builds/yajdmXd11K7LjOu8i/openapi.json
