# Poland Events & Ticket Price Comparison (eBilet, KupBilecik) (`donzely/poland-events-aggregator`) Actor

Concerts, theatre, stand-up, cabaret, sport and kids events in any Polish city from eBilet, KupBilecik, Bilety24 and Ticketmaster.pl. The same show on several sites is merged into one row with each seller's price and the cheapest seller. Alerts for new events and price drops.

- **URL**: https://apify.com/donzely/poland-events-aggregator.md
- **Developed by:** [Grzegorz Pryjma](https://apify.com/donzely) (community)
- **Categories:** Travel, E-commerce
- **Features:** Limited permissions
- **Stats:** 3 total users, 2 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$3.70 / 1,000 events

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

## Poland Events & Ticket Price Comparison

**Every concert, theatre play, stand-up, cabaret, sports event and kids show in a Polish city, from four ticket sites in one list, with the same show merged across sellers so you see who sells it cheapest.**

🇵🇱 *Wszystkie wydarzenia w Twoim mieście z eBilet, KupBilecik, Ticketmaster i Bilety24 w jednej liście, z porównaniem cen biletów.*

Event information in Poland is scattered across many ticket sellers. The same concert is often on sale on eBilet and KupBilecik at different prices (service fees differ), while smaller venues only sell through one of them. This actor searches all of them at once and returns one clean row per performance.

### What it does

- Searches **eBilet.pl**, **KupBilecik.pl**, **Ticketmaster.pl** and **Bilety24.pl** for a city and date range.
- **Merges duplicates**: the same show (same city, start time within 60 minutes, matching title or performer, same or similar venue) becomes one row with a `sellers` list.
- For each event: title, performers, category, venue, address, city, date and time, every seller's price from, sold-out flag and ticket link, plus the **cheapest seller** and the **price difference** between sellers.
- Understands what people type: city typos and inflections (`Krakuw`, `w Krakowie`, `Warsaw`), Polish and English categories (`koncert`, `stand-up`, `kabaret`, `teatr`, `dzieci`, `sport`…) and periods such as `this weekend`, `jutro` or `next 7 days`.
- **Monitoring mode** for scheduled runs: only events that are new, got cheaper or dearer, sold out, came back on sale or appeared on another site since the previous run.

### Who it's for

- City guides, local media and newsletters building "what's on this weekend" lists.
- Hotels, tourist offices and concierge apps.
- Event organisers and promoters watching competing events and ticket prices.
- Price-comparison and event apps that need a clean feed of Polish events.

### Input

| Field | Type | Description |
|---|---|---|
| `city` | string | Polish town, any spelling. Default `Kraków`. |
| `period` | string | Optional: `this weekend`, `next weekend`, `today`, `tomorrow`, `next 7 days`, `2 weeks`, `ten weekend`, `jutro`. |
| `dateFrom`, `dateTo` | date | Exact range (YYYY-MM-DD). Swapped if given in the wrong order. |
| `nextDays` | integer | Days ahead when no dates are given. Default 14. |
| `categories` | list | `koncert`, `klasyka`, `opera`, `teatr`, `stand-up`, `kabaret`, `festiwal`, `sport`, `dzieci`, `wystawa`, `kino` (or English). Empty = everything except cinema. |
| `keywords` | list | Artist or title words, e.g. `Happysad`. |
| `maxPrice` | integer | Max cheapest ticket in PLN. |
| `radiusKm` | integer | Include nearby towns (KupBilecik, Bilety24). Default 10. |
| `sources` | list | `ebilet`, `kupbilecik`, `ticketmaster`, `bilety24`. Empty = all. |
| `onlyMultiSeller` | boolean | Only events sold on 2+ sites. |
| `onlyNewSinceLastRun` | boolean | Monitoring mode (see above). |
| `maxItems` | integer | Max events to save. Default 100. |

Example:

```json
{ "city": "Kraków", "period": "this weekend", "categories": ["koncert", "stand-up"], "maxPrice": 150 }
```

An empty input `{}` runs the example search (Kraków, next 14 days).

### Output

```json
{
  "title": "Varius Manx & Kasia Stankiewicz - SUPER TRASA",
  "performers": ["Varius Manx", "Kasia Stankiewicz"],
  "category": "concert",
  "venue": "ICE Kraków Congress Centre",
  "address": "Marii Konopnickiej 17, 30-302 Kraków",
  "city": "Kraków",
  "startDate": "2026-11-13",
  "startTime": "19:00",
  "sellerCount": 2,
  "sellers": [
    { "seller": "eBilet.pl", "priceFrom": 181.9, "currency": "PLN", "soldOut": false, "available": true, "ticketUrl": "https://www.ebilet.pl/muzyka/pop/varius-manx" },
    { "seller": "KupBilecik.pl", "priceFrom": 169, "currency": "PLN", "soldOut": false, "available": true, "ticketUrl": "https://www.kupbilecik.pl/pl/event/…" }
  ],
  "cheapestSeller": "KupBilecik.pl",
  "cheapestPrice": 169,
  "priceDifference": 12.9,
  "soldOutEverywhere": false,
  "changeType": null,
  "image": "https://…",
  "description": "…"
}
```

`changeType` is filled from the second run of the same search on: `new`, `price_drop`, `price_rise`, `sold_out`, `back_on_sale` or `new_seller`. A `SUMMARY` record in the key-value store shows how many listings each site returned.

### Pricing

Pay per event: you pay only for events saved to the dataset, not for the listings that were merged into them. Set `maxItems` to cap the cost.

### Sources and limits

| Site | Coverage | Price |
|---|---|---|
| eBilet.pl | Any city with an eBilet city page; about 20 pages per run (eBilet limits request rates) | Yes, per date |
| KupBilecik.pl | Any of ~580 towns, with radius | Yes (from the event page) |
| Ticketmaster.pl | Kraków, Warszawa, Gdańsk, Katowice, Łódź, Wrocław. **Best effort**: Ticketmaster refuses many cloud servers, including Apify's, so it is often skipped (shown in `SUMMARY`) | No (not on public pages) |
| Bilety24.pl | Venues within the radius of the city | Yes, "from" price |

- Only public pages are read, at a polite pace, following each site's robots.txt. Nothing behind logins or bot protection is accessed. When a site refuses requests (HTTP 403/429), the actor stops asking it for the rest of the run and keeps the results gathered so far.
- **Not included**: Going (goingapp.pl), Biletyna, Evenea and Eventim, which block automated access or were unavailable.
- Prices are the lowest "from" prices shown by each seller and may exclude service fees added at checkout.
- With `maxPrice`, events without a published price (all Ticketmaster.pl listings) are left out.
- Big cities have hundreds of events per week. A run reads a limited number of pages per site (scaled with `maxItems`) and stops after about 4 minutes, returning what it found. Narrow the dates or categories for complete results.
- Without a city, only KupBilecik is searched nationwide (with `keywords`).

### FAQ

**How are duplicates detected?** Two listings are the same performance when they are in the same city, start within 60 minutes of each other, and their titles or performers match (after removing words like "koncert", "trasa", "stand-up"); for weaker title matches the venue must match as well and the start times must be within 30 minutes. Shows from the same series (e.g. two different "…by Candle Glow" concerts) are kept apart when each title has its own distinctive words. Two dates from the same seller are never merged.

**Can I monitor price drops?** Yes: schedule the actor daily with `onlyNewSinceLastRun: true`. Each search (city, categories, keywords, sources) keeps its own history.

**Why is a show missing?** It may be sold by a site we do not cover, or beyond the page budget for very large cities. Add a category or shorten the date range.

# Actor input Schema

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

Polish town, typed any way: "Kraków", "Krakow", "w Krakowie", "Warsaw". Leave empty only together with keywords to search KupBilecik nationwide.

## `period` (type: `string`):

Optional shortcut instead of dates: "this weekend", "next weekend", "today", "tomorrow", "next 7 days", "2 weeks", "ten weekend", "jutro".

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

First day, YYYY-MM-DD. Default: today.

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

Last day, YYYY-MM-DD. Default: dateFrom + nextDays.

## `nextDays` (type: `integer`):

Used when no dates or period are given.

## `categories` (type: `array`):

Any of: koncert/concert, klasyka/classical, opera/balet, teatr/theatre, stand-up, kabaret/cabaret, festiwal/festival, sport, dzieci/kids, wystawa/exhibition, kino/cinema. Empty = everything except cinema.

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

Only events whose title, performer or venue contains one of these words (e.g. an artist name).

## `maxPrice` (type: `integer`):

Only events whose cheapest known ticket is at most this price. Events without a published price (all Ticketmaster.pl listings) are then left out.

## `radiusKm` (type: `integer`):

Also include nearby towns on KupBilecik and Bilety24.

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

Which sellers to search: ebilet, kupbilecik, ticketmaster, bilety24. Empty = all.

## `onlyMultiSeller` (type: `boolean`):

Keep only events found on at least two ticket sites (price comparison view).

## `onlyNewSinceLastRun` (type: `boolean`):

Monitoring mode for scheduled runs: return only events that are new, got cheaper/dearer, sold out, came back on sale or got a new seller since the previous run with the same search.

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

Maximum events to save (you pay per saved event).

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

Optional. Not needed normally.

## Actor input object example

```json
{
  "city": "Kraków",
  "nextDays": 14,
  "categories": [
    "koncert",
    "stand-up"
  ],
  "radiusKm": 10,
  "onlyMultiSeller": false,
  "onlyNewSinceLastRun": false,
  "maxItems": 50
}
```

# Actor output Schema

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

No description

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

No description

## `summary` (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 = {
    "city": "Kraków",
    "nextDays": 14,
    "categories": [
        "koncert",
        "stand-up"
    ],
    "maxItems": 50
};

// Run the Actor and wait for it to finish
const run = await client.actor("donzely/poland-events-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 = {
    "city": "Kraków",
    "nextDays": 14,
    "categories": [
        "koncert",
        "stand-up",
    ],
    "maxItems": 50,
}

# Run the Actor and wait for it to finish
run = client.actor("donzely/poland-events-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 '{
  "city": "Kraków",
  "nextDays": 14,
  "categories": [
    "koncert",
    "stand-up"
  ],
  "maxItems": 50
}' |
apify call donzely/poland-events-aggregator --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,donzely/poland-events-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/dXaqLpRmE66FrXJ6r/builds/ucbyGCqXeVf0KwoTY/openapi.json
