# Public Events Feed (`vizellie/public-events-feed`) Actor

Upcoming public events from official city open data: name, dates, venue, city, category, organiser, link, and free or paid when the source says so.

- **URL**: https://apify.com/vizellie/public-events-feed.md
- **Developed by:** [Vi Zellie](https://apify.com/vizellie) (community)
- **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 event 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

## Public Events Feed

Upcoming public events from official open data, one row per event. Each row has the name, the start and end, the venue and its address, the city, a category when the source gives one, the organiser when that is an organisation, the official event link, and whether the event is free or paid when the source says so.

General information from public calendars. Check the time and the place with the organiser before you go.

### Who it is for

Editors, travel desks and local teams who want a repeatable list of what is on, without copying it from a ticketing site.

### What you get

- One row per event. A duplicate inside one feed is saved once. The same name at another venue is kept.
- The city, the venue name and the street address, when the source publishes them.
- A category, an organiser when that name is clearly an organisation, and an official link, when the source publishes them.
- `free` or `paid` in `admission` when the source says which it is. If the source does not say, `admission` is empty.
- A date range. Leave the dates empty for the next 30 days, including today. An event that is already underway is included, and its start and end stay as the source published them.
- Paris, Helsinki, Madrid and The Hague. You can ask for a feed by name, or for a country: `FR`, `FI`, `ES` or `NL`.
- A clear note in the run summary when a source does not respond or refuses the request. Rows from the sources that did respond are still saved. You are not charged for rows that were not saved.

The Hague list is the city's permit register. Some weeks it has no rows. That is not an error.

### Sources and licences

Each feed is published by a city or a municipality, and the licence allows commercial reuse. The `licence` and `credit` fields on a row repeat this.

| Place | Who publishes it | Licence |
|---|---|---|
| Paris | City of Paris, Que faire à Paris | Open Database License (ODbL) |
| Helsinki | City of Helsinki | Creative Commons Attribution 4.0 (CC BY 4.0) |
| Madrid | City of Madrid | Creative Commons Attribution 4.0 (CC BY 4.0) |
| The Hague | Municipality of The Hague, also listed on the Dutch open data portal | CC0 1.0 |

Credit the city when you pass the rows on. For Paris, a database you build from these rows and then publish has to stay under the Open Database License as well. CC BY asks for attribution. CC0 does not.

Feeds whose licence was not this clear are not included.

### Tutorial

1. Leave **Sources or countries** on `paris`, or add `helsinki`, `madrid`, `den-haag`, or a country code such as `NL`. Clear the list to read every feed.
2. Set **City** if you want one place, for example `Paris` or `Den Haag`. Leave it empty to keep every city the feeds return.
3. Leave **Start date** and **End date** empty for the next 30 days. Or set a range, such as `2026-12-01` to `2026-12-31`.
4. Use **Category** or **Keyword** when you want a slice, such as music or jazz. Turn on **Free only** to keep events the source marks as free.
5. Leave **Max events** at 50, or lower it. The form starts at 10.
6. Run the Actor. The dataset has one row per event. The `OUTPUT` record says how many rows were saved, and the credit line for each source that contributed a row.
7. Schedule a task if you want this every Monday. Rows that were not saved are not charged.

### Example input

```json
{
  "sources": ["paris", "NL"],
  "city": "Paris",
  "startDate": "2026-11-03",
  "endDate": "2026-12-03",
  "freeOnly": true,
  "maxItems": 50
}
```

### Example output

```json
{
  "name": "City walk",
  "startDate": "2026-11-10T10:00:00",
  "endDate": "2026-11-10T12:00:00",
  "venueName": "Hotel de Ville",
  "address": "Place de l Hotel de Ville, 75004",
  "city": "Paris",
  "category": "Balade",
  "organiser": "Ville de Paris",
  "url": "https://www.paris.fr/evenements/city-walk",
  "admission": "free",
  "country": "FR",
  "countryName": "France",
  "source": "City of Paris",
  "licence": "ODbL-1.0",
  "credit": "Que faire à Paris (https://opendata.paris.fr/explore/dataset/que-faire-a-paris-/), published by the City of Paris. Licence: Open Database License (https://opendatacommons.org/licenses/odbl/1-0/). This data was changed. A database made from it must stay under the Open Database License."
}
```

A clock time is the city's local time. When the source publishes only a day, including a midnight UTC stamp, the row keeps that date and leaves the time empty.

### Pricing

You pay a small fee when the run starts, then a fee for each event that is saved.

| What | Price |
|---|---|
| Run start | $0.00005 |
| Event row | $0.002 |

Duplicates, events outside the dates, events past **Max events**, and rows a source did not return are not charged. If a source does not respond, you are not charged for events it did not save.

**Examples**

- The form, Paris, up to 10 events: 10 × $0.002 = **$0.02**, plus the $0.00005 start fee.
- The default cap of 50 events: 50 × $0.002 = **$0.10**, plus the start fee.
- One city, 20 free events: 20 × $0.002 = **$0.04**, plus the start fee.
- A run that saves nothing: **$0.00005**.

Use **Max events** 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 and schedule it weekly. Keep the same city and dates shape so each file looks the same. The dataset can go to Google Sheets, Slack, email, Make or Zapier, or you can read it from the Apify API. The rows are small enough to pass to an AI agent over MCP.

### No personal data

This Actor does not collect personal data.

- It does not ask the sources for a contact person, a personal email or a mobile number.
- An organiser is kept only when the name is clearly an organisation. A person's name is left blank.
- Private gatherings on the Hague permit list are left out. That includes birthdays, street parties, neighbourhood parties and neighbourhood barbecues.
- A house number in a venue name or address from that permit list is not saved. Office notes on the permit name are removed.
- Venue names, street names and the official event link are kept.
- If an email address or a phone number still appears in a title or an address, it is removed before the row is saved.
- Raw responses are not stored.
- Logs and error text do not include the address that was called.

### FAQ

**Why is a city missing?**
Only feeds with a licence that allows commercial reuse are included. A city portal with no stated licence, or with a non-commercial licence, is left out.

**Why is admission empty?**
The source did not say free or paid. **Free only** leaves those rows out, together with paid ones.

**Why is The Hague empty for this week?**
That feed is a permit register. It lists events the city has recorded, and some stretches have none. The other cities are still saved.

**Where do the events come from?**
The City of Paris, the City of Helsinki, the City of Madrid and the Municipality of The Hague. This Actor is not affiliated with them. Details can change. Use the link on the row to check.

### Next additions

- A few more city calendars, once the licence is as clear as these.
- A simple week view for one city.
- A note when a returning event moves its time.

### Feedback

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

# Actor input Schema

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

City feeds or country codes. Use paris, helsinki, madrid or den-haag, or FR, FI, ES and NL. Leave empty for every feed.

## `city` (type: `string`):

Keep events in this city. Examples: Paris, Helsinki, Madrid, Den Haag. Leave empty for every city the feeds return.

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

First day to keep, inclusive, as 2026-11-03. Leave empty to start today.

## `endDate` (type: `string`):

Last day to keep, inclusive, in the same shape. Leave empty for 30 days after the start date.

## `category` (type: `string`):

Keep events whose category contains this word, for example music or expo. Leave empty for every category.

## `keyword` (type: `string`):

Keep events whose name, venue, organiser or category contains this text. Leave empty for no keyword.

## `freeOnly` (type: `boolean`):

Keep events the source marks as free. Events with no price, and paid events, are left out.

## `maxItems` (type: `integer`):

Most events saved in one run, from 1 to 500. Default 50.

## Actor input object example

```json
{
  "sources": [
    "paris",
    "NL"
  ],
  "city": "Paris",
  "startDate": "2026-11-03",
  "endDate": "2026-12-03",
  "category": "music",
  "keyword": "jazz",
  "freeOnly": false,
  "maxItems": 10
}
```

# Actor output Schema

## `events` (type: `string`):

One row per event, with dates, venue, city and source. A date with no clock means the source gave a day. Midnight UTC stays that date and is not turned into a local time.

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

The OUTPUT record in the default key-value store.

# 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 = {
    "sources": [
        "paris"
    ],
    "maxItems": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("vizellie/public-events-feed").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 = {
    "sources": ["paris"],
    "maxItems": 10,
}

# Run the Actor and wait for it to finish
run = client.actor("vizellie/public-events-feed").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 '{
  "sources": [
    "paris"
  ],
  "maxItems": 10
}' |
apify call vizellie/public-events-feed --silent --output-dataset

```

## MCP server setup

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

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/mYV5u2mPEueZYLFBb/builds/E6im1RzpSojVj5Goj/openapi.json
