# Cinema City Seat Watcher (`artogahr/cinemacity-seat-watcher`) Actor

Get notified when seats open up at Cinema City: new showings, returned tickets, IMAX and other halls.

- **URL**: https://apify.com/artogahr/cinemacity-seat-watcher.md
- **Developed by:** [Arto Gahr](https://apify.com/artogahr) (community)
- **Categories:** Automation, Travel
- **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 checks

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

## Cinema City Seat Watcher

Get a push notification when seats open up at Cinema City. Use it for
sold-out premieres, IMAX showings and other halls that fill up fast.

The Actor checks the cinema's showtimes and seat maps, remembers what it saw,
and alerts you when:

- a new showing that matches your filters is published, or
- wanted seats free up in an existing showing, for example returned tickets.

It does not book or reserve anything. You get a link and buy the tickets
yourself.

### What you can filter

- Country: Czechia, Slovakia, Poland, Hungary, Romania, Bulgaria, Israel.
- Cinemas or whole cities, films (local or English title), halls such as
  IMAX, dates, weekdays, start times, and attributes such as `70-mm` or
  `subbed`.
- Seats (Czechia): wanted rows, a number of seats next to each other, and
  whether wheelchair spaces count. Wheelchair spaces are often the only free
  seats in a sold-out show, so they are ignored by default.

In other countries the Actor uses the share of free seats that the cinema
publishes, because exact seat maps are not supported there yet.

### How to use it

1. Install the free [ntfy](https://ntfy.sh) app on your phone and subscribe
   to a long, random topic name, for example `dune-imax-k3j9x2q`.
2. Fill in the input: cinema, film, hall, and the ntfy topic.
3. Create a schedule that runs this task every minute or every few minutes.
   Turn on "Don't start if the previous run is still running".

The first run records what is on sale now and notifies you only about
showings that already have wanted seats. Later runs notify you about
changes.

Example input, Dune: Part Three in IMAX at Praha Flora, rows 6 to 10, two
seats together:

```json
{
  "country": "cz",
  "cinemas": ["Flora"],
  "films": ["Dune: Part Three"],
  "auditoriums": ["IMAX"],
  "rows": "6-10",
  "minAdjacentSeats": 2,
  "ntfyTopic": "dune-imax-k3j9x2q"
}
```

### Output

- **Notifications** to ntfy or any webhook. The ntfy topic, token and webhook
  URL are stored encrypted. When a run finds more than 3 changes, ntfy gets
  one notification that lists them all. A webhook gets one request per
  change.
- **Dataset**: one item per change (new showing, seats available, sold out
  again, showing removed), with the showing, the free wanted seats by row and
  seat number, and a booking link.
- **Showtimes mode** saves all matching showings with their seat availability
  instead of watching.

### Pricing

You pay per event:

| Event | Price |
|---|---|
| Check (one look at the cinema's showtimes and seats) | $0.001 |
| Alert (one notification sent to ntfy or a webhook) | $0.01 |
| Dataset item (one saved change or showing) | $0.0005 |

A check that cannot reach the cinema at all is not charged. Platform usage is
included in these prices.

Examples:

- A schedule every 5 minutes makes 288 checks a day: $0.29 a day.
- A schedule every minute makes 1,440 checks a day: $1.44 a day.
- One alert when seats free up: $0.01, plus one dataset item.
- A first run that finds 18 showings with seats sends one grouped ntfy
  notification: $0.01, plus 18 dataset items.

Each run makes one check and takes a few seconds. The cinema's showtimes
refresh every 60 seconds, so a schedule more often than every minute does not
find seats sooner. Expect an alert within about two minutes of seats freeing
up with a one-minute schedule.

If a run reaches the maximum charge you set, alerts it could not pay for
stay pending and are sent by a later run within 24 hours.

### Limits and good use

- One watch per state record. Do not run the same watch from two schedules at
  once.
- The Actor is polite to the cinema: it respects the 60-second cache, spaces
  its requests, backs off when asked, and stops when blocked.
- Seats can be held by other customers during their checkout and come back
  minutes later. You may get an alert for such seats.

This Actor is not affiliated with Cinema City or Cineworld.

# Actor input Schema

## `mode` (type: `string`):

Watch: remember what was seen and notify about new showings and freed seats. Run it on a schedule. Showtimes: save the current showings once.

## `country` (type: `string`):

Cinema City site. Exact seat checks are available for Czechia; other countries use the share of free seats.

## `cinemas` (type: `array`):

Cinema ids or unique name parts, e.g. "Flora". Empty means every cinema.

## `cities` (type: `array`):

City ids, e.g. "prague". All cinemas of the city are added to the cinemas above.

## `films` (type: `array`):

Film ids or title parts, in the local language or English, e.g. "Dune: Part Three". If the film is not listed yet, the watch waits for it.

## `auditoriums` (type: `array`):

Hall name parts, e.g. "IMAX". Any of them must match.

## `dateFrom` (type: `string`):

First day, YYYY-MM-DD. A showing after midnight counts for the day before, as on the cinema website.

## `dateTo` (type: `string`):

Last day, YYYY-MM-DD.

## `timeFrom` (type: `string`):

HH:MM, e.g. 17:00.

## `timeTo` (type: `string`):

HH:MM, e.g. 21:30.

## `weekdays` (type: `array`):

Only these days. Empty means every day.

## `attributesInclude` (type: `array`):

Attribute ids every showing must have, e.g. "70-mm", "subbed", "original-lang-en".

## `attributesExclude` (type: `array`):

Attribute ids a showing must not have, e.g. "dubbed".

## `rows` (type: `string`):

Only count seats in these rows, e.g. "6-10" or "5,7,9-11". Empty means every row.

## `minAdjacentSeats` (type: `integer`):

Only count seats in groups of at least this many seats next to each other.

## `includeWheelchairSeats` (type: `boolean`):

Wheelchair spaces are often the only free seats. They are ignored unless this is on.

## `seatLevel` (type: `string`):

Auto: check exact seats where supported. Off: use only the share of free seats.

## `ntfyTopic` (type: `string`):

Push notifications to your phone with the free ntfy app. Pick a long random topic name and subscribe to it in the app. Anyone who knows the name can read it.

## `ntfyServer` (type: `string`):

Use your own ntfy server if you have one.

## `ntfyToken` (type: `string`):

Only for protected ntfy servers.

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

Each change is POSTed here as JSON.

## `notifyOnFirstRun` (type: `boolean`):

On the first run, notify about showings that already have wanted seats.

## `notifyOnMoreSeats` (type: `boolean`):

Notify each time wanted seats free up that were not free recently, for example after cancellations, even if other seats are already free.

## `seatMemoryMinutes` (type: `integer`):

A seat that was free within this time does not count as new when it is free again. Seats are often held for a few minutes while someone else checks out.

## `aggregatePolicy` (type: `string`):

Auto: where exact seats are not available, alert when at least 5% of seats are free. Ignore: never.

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

Named key-value store that remembers what each watch has seen. Run each watch from one schedule only.

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

Record for this watch. Empty: derived from the filters, so changing filters starts a new watch.

## `resetState` (type: `boolean`):

With a fixed state key: start over when the filters changed. Pending notifications are kept.

## `maxDays` (type: `integer`):

Upper limit of cinema days fetched in one check.

## `maxSeatChecks` (type: `integer`):

Upper limit of showings whose seats are checked in one check, earliest first.

## Actor input object example

```json
{
  "mode": "watch",
  "country": "cz",
  "cinemas": [
    "Flora"
  ],
  "films": [
    "Dune: Part Three"
  ],
  "auditoriums": [
    "IMAX"
  ],
  "minAdjacentSeats": 1,
  "includeWheelchairSeats": false,
  "seatLevel": "auto",
  "ntfyServer": "https://ntfy.sh",
  "notifyOnFirstRun": true,
  "notifyOnMoreSeats": true,
  "seatMemoryMinutes": 30,
  "aggregatePolicy": "auto",
  "stateStoreName": "cinemacity-watch",
  "resetState": false,
  "maxDays": 62,
  "maxSeatChecks": 20
}
```

# Actor output Schema

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

Watch mode: one item per change. Showtimes mode: one item per showing.

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

Counts of changes, sent alerts and alerts still pending.

# 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 = {
    "cinemas": [
        "Flora"
    ],
    "films": [
        "Dune: Part Three"
    ],
    "auditoriums": [
        "IMAX"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("artogahr/cinemacity-seat-watcher").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 = {
    "cinemas": ["Flora"],
    "films": ["Dune: Part Three"],
    "auditoriums": ["IMAX"],
}

# Run the Actor and wait for it to finish
run = client.actor("artogahr/cinemacity-seat-watcher").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 '{
  "cinemas": [
    "Flora"
  ],
  "films": [
    "Dune: Part Three"
  ],
  "auditoriums": [
    "IMAX"
  ]
}' |
apify call artogahr/cinemacity-seat-watcher --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,artogahr/cinemacity-seat-watcher"
        }
    }
}
```

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/Hipe1uFavzgeqWB5o/builds/Q8vzbbmyP5pOGJjqF/openapi.json
