# Travel Advice Monitor (`vizellie/travel-advice-monitor`) Actor

Official travel advice from the Dutch, UK and US governments for the countries you pick, put on one 1 to 4 scale with the date, a short summary and a link. On a schedule it can return only what changed. $0.002 per country row.

- **URL**: https://apify.com/vizellie/travel-advice-monitor.md
- **Developed by:** [Vi Zellie](https://apify.com/vizellie) (community)
- **Categories:** Travel, Automation, Business
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 country advice rows

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

## Travel Advice Monitor

Read official travel advice for the countries you choose, and see what changed since the last run. Each row is one country from one government source, with a level from 1 to 4, the original colour or level, the date, a short summary and a link to the official page.

Not a substitute for the official travel advice; general information only.

### Who it is for

Travel agencies, tour operators, corporate travel and HR teams, and expat and travel content sites that need a repeatable check of destinations they sell, staff or write about.

### What you get

- One row per country and source. The level uses one scale from 1 to 4. The original colour or wording stays on the row.
- The date the advice was updated, a short official summary, and a link to the official page.
- Dutch colour codes, UK advice and US levels, together or one at a time.
- A changes-only mode for a schedule: level up, level down, or summary updated.
- An optional webhook when a saved level goes up. Leave the address empty and nothing is sent. Apify integrations still work.
- A note in the run summary when a source does not respond. Rows from the sources that did respond are still saved.
- Personal data removed before anything is saved. See the policy below.

The level is the advice for the country as a whole. Where a page also names a stricter area, that stays in the summary. Area-by-area rows are listed under Next additions.

| Level | Meaning |
|---|---|
| 1 | Travel with the usual care |
| 2 | Travel with extra care |
| 3 | Reconsider travel |
| 4 | Do not travel |

Dutch colours map onto that scale: groen is 1, geel is 2, oranje is 3, rood is 4. When a country has more than one colour, the level is the colour for the country as a whole.

US advice is already a level from 1 to 4. The row keeps the original level name.

UK advice has no single number. No advice against travel is 1. Advice against all but essential travel to parts of a country is 2. Advice against all travel to parts, or against all but essential travel to the whole country, is 3. Advice against all travel to the whole country is 4. The original wording stays on the row.

### Tutorial

1. The form starts with Spain, France and Italy. For a first scheduled check, use Spain and France and one source, as in the example below. Clear the list for Spain, France, Italy, Greece, Turkey, Thailand and the United States, or type the codes and names you cover, such as `FR`, `France` or `Frankrijk`.
2. Leave **Sources** on all three, or clear the ones you do not need.
3. Leave **Changes only** off for a first look. Turn it on when you schedule the run, and keep the same **State store name** and **State key**.
4. Leave **Webhook URL** empty unless you want one ping when a level goes up. A Slack incoming webhook, Make, Zapier or your own HTTPS address is enough. Apify integrations still work if you leave it empty.
5. Run the Actor. The dataset has one row per country and source. The `OUTPUT` record says how many rows were saved, how many changed, whether a source did not respond, and, when a webhook is set, whether the alert was sent.
6. Schedule the same task. A quiet run that saves nothing still completes. You pay the start fee only.

The form starts with three countries and three sources, which is 9 rows when every source publishes them. The example below is 2 rows. See Pricing.

### Example input

```json
{
  "countries": ["ES", "FR"],
  "sources": ["NL"],
  "changesOnly": true,
  "stateKey": "summer-programme",
  "webhookUrl": "https://example.com/travel-advice"
}
```

Replace that address with a Slack incoming webhook, Make, Zapier or your own HTTPS endpoint. Leave `webhookUrl` out, or empty, and nothing is sent. The form leaves that field empty.

### Example output

Read on 10 November 2026, Dutch advice only, changes only, with no earlier state. Both rows are new. Spain was green, updated 5 October 2026. France was yellow, updated 26 October 2026. The webhook was not called: a first run is a baseline.

```json
{
  "source": "NL",
  "sourceName": "Ministry of Foreign Affairs of the Netherlands",
  "country": "ES",
  "countryName": "Spain",
  "level": 1,
  "levelLabel": "Travel with the usual care",
  "originalLevel": "groen",
  "updatedOn": "2026-10-05",
  "change": "new",
  "previousLevel": null,
  "summary": "Delen van Spanje hebben te maken met overstromingen. Lees meer onder Natuurgeweld. De kleurcode van het reisadvies voor Spanje is groen. U kunt erheen reizen. Lees welke veiligheidsrisico's er zijn.",
  "url": "https://www.nederlandwereldwijd.nl/reisadvies/spanje",
  "licence": "CC0 1.0",
  "attribution": "Ministry of Foreign Affairs of the Netherlands",
  "retrievedAt": "2026-11-10T03:05:00.000Z"
}
```

```json
{
  "source": "NL",
  "sourceName": "Ministry of Foreign Affairs of the Netherlands",
  "country": "FR",
  "countryName": "France",
  "level": 2,
  "levelLabel": "Travel with extra care",
  "originalLevel": "geel",
  "updatedOn": "2026-10-26",
  "change": "new",
  "previousLevel": null,
  "summary": "Op meerdere plekken in Frankrijk vinden grootschalige demonstraties plaats. Lees meer onder Actueel. De kleurcode van het reisadvies voor Frankrijk is geel. U kunt erheen reizen. Maar let op: er zijn bijzondere veiligheidsrisico's.",
  "url": "https://www.nederlandwereldwijd.nl/reisadvies/frankrijk",
  "licence": "CC0 1.0",
  "attribution": "Ministry of Foreign Affairs of the Netherlands",
  "retrievedAt": "2026-11-10T03:05:00.000Z"
}
```

`change` is `new`, `level-up`, `level-down`, `summary-updated` or `unchanged`. With **Changes only** on, unchanged rows are left out of the dataset. The first run treats every row as new.

### Webhook

One HTTPS address, one POST per run. Slack reads `text`. Any other endpoint can read `changes`. The sample below is the shape sent when a later run sees a higher level. The France page, level and date are the 10 November 2026 row. `previousLevel` is whatever the state store held from the run before, not a figure from the Dutch page.

```json
{
  "text": "Travel advice level went up.\nFrance (NL) went from 1 to 2 (Travel with extra care). Updated 2026-10-26. https://www.nederlandwereldwijd.nl/reisadvies/frankrijk",
  "changes": [
    {
      "country": "FR",
      "countryName": "France",
      "source": "NL",
      "change": "level-up",
      "previousLevel": 1,
      "previousLevelLabel": "Travel with the usual care",
      "level": 2,
      "levelLabel": "Travel with extra care",
      "updatedOn": "2026-10-26",
      "url": "https://www.nederlandwereldwijd.nl/reisadvies/frankrijk"
    }
  ]
}
```

**Alert from level** defaults to 1, so any level up is sent. Set it to 3 or 4 to wait for a higher level. **Also alert on new rows** is off, so the first run does not send one message per country. Turn it on only when a new country at or above the alert level should ping as well.

The address has to be HTTPS on port 443. Private, loopback, link-local and metadata addresses are refused, including after DNS and on a redirect. The request waits 5 seconds and is tried at most three times when the server returns an error or does not answer. The address is not written to the log or to `OUTPUT`.

If the webhook does not answer, the rows stay saved and the run still succeeds. `OUTPUT` says the webhook was sent, skipped or failed. The same change is not sent again on the next run, because the state store has moved on. The dataset row is still there. Apify's own webhooks and integrations still work if you leave this field empty.

### Pricing

You pay a small fee when the run starts, then a fee for each country advice row that is saved. One row is one country from one source.

| What | Price |
|---|---|
| Run start | $0.00005 |
| Country advice row | $0.002 |

Unchanged rows left out by **Changes only**, countries a source does not publish, and rows past **Max rows** are not charged. If a source does not respond, you are not charged for rows it did not save. The webhook is not a separate charge.

**Examples**

- The form, 3 countries and 3 sources, all saved: 9 x $0.002 = **$0.018**, plus the $0.00005 start fee.
- Seven countries and 3 sources, all saved: 21 x $0.002 = **$0.042**, plus the $0.00005 start fee.
- Spain and France, Dutch advice only: 2 x $0.002 = **$0.004**, plus the start fee. The webhook, if set, adds nothing.
- France, Spain and Italy, Dutch advice only: 3 x $0.002 = **$0.006**, plus the start fee.
- A weekday changes-only run that saves 3 updates: 3 x $0.002 = **$0.006**, plus the start fee.
- A quiet day that saves nothing: **$0.00005**.

Use **Max rows** and Apify's maximum cost per run to cap a single run. The pricing tab on the store is the price you are charged if it ever differs.

### Scheduling and integrations

Save a task, turn on **Changes only**, and schedule it daily with the same state key. The dataset can go to Google Sheets, Slack, email, Make or Zapier through Apify integrations, or you can read it from the Apify API. The optional webhook is only a shortcut when you want this Actor to send the ping itself. The rows are small enough to pass to an AI agent over MCP.

### No personal data

This Actor does not collect personal data.

- It reads published country advice only. It does not request names, contact details or traveller records.
- Embassy phone numbers, email addresses and similar contact lines are removed if they appear in a summary.
- The signup prompt some advice pages include is left out of the summary.
- Raw responses are not stored. The state store keeps the level, the original wording, the updated date and the short summary, so the next run can see what changed.
- Logs and error text are scrubbed the same way, and they do not include the address that was called.

### FAQ

**Why do two sources disagree about the same country?**
They are different governments, writing for their own nationals. Keep the source field. A level 2 from one source and a level 3 from another can both be current.

**Why is a strict border area not the level for the whole country?**
The level is the advice for the country as a whole. The summary still names a stricter area when the official short text does. A separate row per area is a later addition.

**What if a source is down?**
The run summary says which one did not respond. Rows from the other sources are still saved. If every selected source fails, the run stops and no advice rows are charged.

**What does changes only skip?**
Rows whose level, original wording, updated date and summary are the same as the last run with that state key. A higher level is level up. A lower level is level down. The same level with a new summary or a new date is summary updated.

**Will the first run flood the webhook?**
No. New rows are not sent unless you turn on **Also alert on new rows**. A run where nothing went up sends nothing. Apify integrations are unchanged either way.

**What if the webhook does not answer?**
The advice rows are still saved and the run succeeds. `OUTPUT` says the webhook failed, without the address. You are not charged for the attempt.

**Where does the advice come from?**
Dutch advice is published by the Ministry of Foreign Affairs of the Netherlands. The text is available under Creative Commons Zero (CC0 1.0). Attribution is not required. Photographs on that site are not covered by CC0, and this Actor does not copy them.

UK advice is published by the Foreign, Commonwealth and Development Office. It is Crown copyright, licensed under the Open Government Licence v3.0. Reuse of those rows should keep this attribution: Contains public sector information licensed under the Open Government Licence v3.0.

US advice is published by the Bureau of Consular Affairs, U.S. Department of State. Unless a copyright is shown, that information is in the public domain and may be copied without permission. A citation of the Bureau of Consular Affairs is appreciated. This Actor does not copy photographs.

This Actor is not affiliated with any of those institutions. Read the official page before you travel or you send customers. The rows here are general information.

### Next additions

- Regional and area-level advice, where one country has more than one colour or level.
- Belgium and Germany, once a keyless official feed with a licence that allows reuse is wired in the same way.

### Feedback

Missing a country or a field? Open an issue on the Actor's Issues tab.

# Actor input Schema

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

ISO codes or country names, for example FR, France or Frankrijk. Leave empty for Spain, France, Italy, Greece, Turkey, Thailand and the United States. At most 40.

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

Which official advice to read. NL is the Dutch colour code. UK is FCDO advice. US is the State Department level.

## `changesOnly` (type: `boolean`):

Save only rows that are new, or whose level or summary changed, since the last run with the same state store and state key. The run still remembers every country it read.

## `maxRows` (type: `integer`):

Most rows saved in one run, from 1 to 500. Default 200. Rows past the cap are not charged and stay unseen, so a later run can still report them.

## `stateStoreName` (type: `string`):

Named key-value store that remembers the last level, original level, updated date and summary for each country and source.

## `stateKey` (type: `string`):

Key inside the state store. Use a different key for each schedule.

## `webhookUrl` (type: `string`):

Optional HTTPS address for one alert after the run, when a saved level goes up. Leave empty to skip. A Slack incoming webhook, Make, Zapier or your own endpoint. The address is not written to the log or the output. Apify integrations still work without this.

## `webhookMinLevel` (type: `integer`):

Send the alert only when the new level is this number or higher, from 1 to 4. 1 means any level up. Ignored when Webhook URL is empty.

## `webhookIncludeNew` (type: `boolean`):

Also alert when a country is seen for the first time and its level is at least Alert from level. Leave off so the first run does not send one alert per country.

## Actor input object example

```json
{
  "countries": [
    "FR",
    "ES",
    "IT",
    "GR",
    "TR",
    "TH",
    "US"
  ],
  "sources": [
    "NL",
    "UK",
    "US"
  ],
  "changesOnly": false,
  "maxRows": 200,
  "stateStoreName": "travel-advice-state",
  "stateKey": "default",
  "webhookMinLevel": 1,
  "webhookIncludeNew": false
}
```

# Actor output Schema

## `overview` (type: `string`):

One row per country and source, with the level and what changed.

## `details` (type: `string`):

The same rows, including the summary, the previous level and the attribution.

## `summary` (type: `string`):

The OUTPUT record in the default key-value store. When a webhook URL is set, it also says whether the alert was sent, skipped or failed.

# 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": [
        "ES",
        "FR",
        "IT"
    ],
    "sources": [
        "NL",
        "UK",
        "US"
    ],
    "stateKey": "default"
};

// Run the Actor and wait for it to finish
const run = await client.actor("vizellie/travel-advice-monitor").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": [
        "ES",
        "FR",
        "IT",
    ],
    "sources": [
        "NL",
        "UK",
        "US",
    ],
    "stateKey": "default",
}

# Run the Actor and wait for it to finish
run = client.actor("vizellie/travel-advice-monitor").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": [
    "ES",
    "FR",
    "IT"
  ],
  "sources": [
    "NL",
    "UK",
    "US"
  ],
  "stateKey": "default"
}' |
apify call vizellie/travel-advice-monitor --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,vizellie/travel-advice-monitor"
        }
    }
}
```

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/VzRZktrqTTlhfnjKW/builds/kQO12h51OsuzdG1ol/openapi.json
