# Travelodge London Hotel Price Calendar (`jpmarketdata/travelodge-uk-nightly-price-calendar`) Actor

Monitor 1–5 Travelodge London hotels across 1–14 dates. Compare room-labelled nightly calendar observations and cheapest displayed dates; keep booking totals, occupancy, fees and refund terms explicitly unknown.

- **URL**: https://apify.com/jpmarketdata/travelodge-uk-nightly-price-calendar.md
- **Developed by:** [h ichi](https://apify.com/jpmarketdata) (community)
- **Categories:** Travel, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 96.6% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$10.00 / 1,000 hotel nightly calendar createds

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

## Travelodge London Hotel Price Calendar

Compare **Travelodge nightly prices across a London hotel watchlist and 1–14 overnight dates**. Find cheaper dates and locations, keep the original room category on each observation, and repeat the same calendar to monitor changes. The supported inventory contains 68 verified London hotels, including Covent Garden, Waterloo, Southwark, City Road, Tower Bridge and outer London alternatives.

### Input

```json
{"hotelIds":["318","421","342"],"days":14}
```

The Store example leaves `startDate` unset so every run uses tomorrow in Europe/London. Explicit customer dates are validated as supplied.

Choose 1–5 unique `hotelIds` from the verified input inventory. A legacy single `hotelId` remains supported; supplying both selectors fails. The default single hotel is Covent Garden (318). Hotel ID/name/GB code are checked together in every source grid. `startDate` accepts an ISO date from today through 90 days ahead in Europe/London; omitted means tomorrow there. `days` accepts 1–14, default 7. Unknown fields, arbitrary URLs and unsupported IDs are rejected before network work.

The upstream query returns the London grid. Each seven-date grid is fetched once and shared across all selected hotels; a 5-hotel/14-day watchlist needs at most five GETs, including robots. Every complete seven-day source grid is validated before slicing a shorter requested window. [Verified inventory](src/hotels.json) records the exact source identities observed on 2026-10-03; this is London coverage rather than generic UK coverage.

### Output and recurring use

One `travelodge_uk_nightly_price_calendar_summary` is delivered per selected hotel. It contains the requested calendar dates, stable `hotelId:date` observation keys, original GBP prices, source room codes/labels, source ordinals, initially displayed flags, a readable `displayedPriceSummary`, and acquisition time. `lowestDisplayedPriceGBP` and `lowestDisplayedPriceDates` summarize the selected initially displayed nightly observations. Those room/rate categories may differ; inspect their labels before choosing a booking to investigate.

All original numeric alternatives remain distinct, including repeated room codes. Hidden entries are identified as source alternatives; their rate-plan basis is unknown. Preserve Double Room, Family Room, SuperRoom®, SuperRoom® Family, Double Accessible Zip & Link, Small Family Room and Super Double Accessible Zip & Link labels when structurally joined to the same hotel's same dated cell. The check marker amount 9999 is excluded from prices.

Adult/child occupancy, room count, refundability, required additional fees, confirmed booking availability, booked stay total and source price-update time remain null with reason codes. General terms cannot establish an individual entry's policy. Independent nights are never summed into a multi-night stay or called an all-in/equal-condition quote. A fully validated cell with an explicit source check-hotel marker may report `calendar_price_unavailable`; it does not establish sold-out inventory. Missing hotel rows, dates or malformed data fail.

Schedule repeated inputs and compare hotel/date keys, room-labelled prices and `checkedAt` across datasets to observe changes. The Actor outputs current snapshots; it does not save history or send notifications itself. `checkedAt` is retrieval time; the provider does not expose cache age.

### Charging and operational bounds

One existing `calendar-created` event per **delivered complete hotel calendar**, whether it contains 1 or 14 requested dates. The price is $0.01, with up to 5 events/run ($0.05). No per-night or per-entry event and no manual-plus-push double charge. Require enough event budget for every selected hotel before I/O. Stage all selected hotels and weeks before delivering or charging any row; acquisition/parse failure yields no rows or events. Explicit, verified no-price calendars can be useful source-scoped negatives. No actor-specific free trial is promised; platform credits may apply.

HTTP only at 256 MB, no required proxy, browser or external paid API. Maximum five GETs: fresh Pricefinder robots and 1–2 dated root pages with their directly exposed same-host public PriceGrid subresources. Per-request timeout 20 seconds, overall deadline 120 seconds, 2 MiB decoded response cap, same-host starts at least 1.5 seconds apart or the larger robots interval. No retries, redirects, environment proxies, booking routes, login or transactions. Framework query values are ephemeral, page-derived, bounded, and absent from output/logs/fixtures. Parsing is incremental and retains only selected hotel facts and structural counters.

Validate requested-date root titles, all seven source header/cell dates per week, exact unique hotel identities, cell/column/row ownership, room labels, original numeric/text agreement, and bounded entries. Every selected displayed fact must have unambiguous visibility through all ancestors. Hidden alternatives remain separate; hidden checks cannot establish a negative. Ambiguous CSS/accessibility exposure, unsupported visibility restoration, hidden numeric text, nested hotel rows, changed identities/labels/columns, duplicate dates, robots failure, challenges, 202/401/403, rate limits, timeouts and incomplete/oversized responses fail before delivery or charging.

Source prices and availability can change between runs. A source failure is reported as an error before any row or event is delivered.

### Privacy

Return selected public hotel IDs/names/codes, room labels, dates and numeric price facts only. Exclude images, reviews, descriptions, contacts, guests, booking records, cookies, tokens and raw HTML. Current first-party source terms and robots evidence are recorded in the dated scouts; no external state mutation is required.

# Actor input Schema

## `hotelId` (type: `string`):

One exact hotel from the verified London inventory. Use hotelIds for a watchlist; supplying both is rejected.

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

ISO date, today through 90 days ahead in Europe/London. If omitted, tomorrow there. Returns the requested 1–14 consecutive overnight dates.

## `hotelIds` (type: `array`):

1–5 unique hotel IDs from the verified London inventory. Each hotel produces one complete calendar; request cost is shared across hotels. Omit hotelId when using this field.

## `days` (type: `integer`):

1–14 consecutive overnight dates, default 7. All required seven-date source grids are validated before the requested dates are selected. Nights remain individual observations and are never summed into a stay.

## Actor input object example

```json
{
  "hotelIds": [
    "318",
    "421",
    "342"
  ],
  "days": 7
}
```

# Actor output Schema

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

Room-labelled displayed nightly GBP entries with missing dates and source scope retained.

# 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 = {
    "hotelIds": [
        "318",
        "421",
        "342"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("jpmarketdata/travelodge-uk-nightly-price-calendar").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 = { "hotelIds": [
        "318",
        "421",
        "342",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("jpmarketdata/travelodge-uk-nightly-price-calendar").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 '{
  "hotelIds": [
    "318",
    "421",
    "342"
  ]
}' |
apify call jpmarketdata/travelodge-uk-nightly-price-calendar --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,jpmarketdata/travelodge-uk-nightly-price-calendar"
        }
    }
}
```

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/L1gcffC1TcgPWMsm0/builds/3pXuMtSqaRKbl4G1L/openapi.json
