# Ferry Schedules & Availability Scraper (`xtracto/ferryhopper-schedules-scraper`) Actor

Scrape ferry timetables, ticket prices, and live seat and vehicle availability across European ferry operators. Search any route by port name and date to get every sailing with departure/arrival times, duration, seat classes, vehicle deck spaces, and cabins. No login.

- **URL**: https://apify.com/xtracto/ferryhopper-schedules-scraper.md
- **Developed by:** [Farhan Febrian Nauval](https://apify.com/xtracto) (community)
- **Categories:** Travel, Other
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.33 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

## Ferry Schedules & Availability Scraper

Get ferry timetables, ticket prices, and live seat and vehicle availability across European ferry operators. Give it a route and a date and it returns every sailing on that day — departure and arrival times, journey duration, the operator and vessel, seat classes with how many seats are left, vehicle-deck spaces, cabins, and pets.

### Why use this actor

- **No account, no login, no API key** required.
- **Live availability, not just timetables** — real seats left per class, vehicle-deck spaces remaining, and cabin/pet options for each sailing.
- **Prices per class** in the currency you choose (economy, business, VIP seats, cabins, cars, motorbikes, pets).
- **Every operator on a route in one place** — compare departure times, duration, and fares side by side.
- **Search many routes and dates at once** — check a whole week or a set of ports in a single run.
- **Stable JSON output** suitable for pipelines, databases, or spreadsheets, with automatic retries.

### How it works

1. You enter one or more routes (by port name like *Piraeus* or a short port code like *PIR*) and the dates you want to travel.
2. The actor looks up each port and asks for every sailing on each route and date.
3. For each sailing it collects the schedule, the operator and vessel, and the live seat, vehicle, and cabin availability with prices.
4. Results are written to the dataset — one row per sailing — ready to export to JSON, CSV, or Excel.

You do not manage any scrapers, browsers, or blocks — just enter routes and dates and press **Run**.

### Input

```json
{
  "routes": [{ "origin": "Piraeus", "destination": "Heraklion" }],
  "dates": ["2026-07-21", "2026-07-22"],
  "passengers": 2,
  "vehicles": 1,
  "pets": 0,
  "currency": "EUR",
  "lang": "en",
  "maxItems": 500
}
```

| Field | Type | Description |
| --- | --- | --- |
| `routes` | array | Routes to search. Each item is `{ "origin": ..., "destination": ... }`, or a single string like `"Santorini -> Mykonos"`. Ports can be names (*Piraeus*, *Santorini*) or short codes (*PIR*, *JTR*). |
| `origin` | string | Departure port for a single route (used instead of, or in addition to, `routes`). |
| `destination` | string | Arrival port for a single route. |
| `dates` | array | Departure dates, each `YYYY-MM-DD`. Past dates are skipped. Every route is searched on every date. |
| `dateRangeDays` | integer | Also search this many consecutive days after the earliest date (e.g. `6` = a full week). Default `0`. |
| `passengers` | integer | Passengers to price and check seat availability for. Default `1`. |
| `vehicles` | integer | Vehicles to include, so vehicle-deck spaces and prices are returned. Default `0`. |
| `pets` | integer | Pets travelling, so pet options and prices are returned. Default `0`. |
| `currency` | string | Currency code for prices, e.g. `EUR`, `USD`, `GBP`. |
| `lang` | string | Language for operator, port, and class names, e.g. `en`, `el`, `de`, `fr`, `it`. |
| `maxItems` | integer | Overall cap on sailing records for the run. `0` = no limit. Default `500`. |

### Output

One record per sailing. Real sample (Piraeus → Heraklion, 21 Jul 2026, 2 passengers + 1 vehicle):

```json
{
  "_input": "PIR->HER@2026-07-21",
  "_source": "S1-search",
  "_scrapedAt": "2026-07-10T05:09:26Z",
  "origin": "PIR",
  "originName": "PIRAEUS",
  "destination": "HER",
  "destinationName": "HERAKLIO",
  "date": "2026-07-21",
  "company": "SEAJETS",
  "companyAbbr": "SJT",
  "vessel": "CHAMPIONS LEAGUE JET 2",
  "vesselId": "99",
  "vesselType": "H",
  "departureTime": "09:30",
  "departureDate": "20260721",
  "arrivalTime": "17:20",
  "arrivalDate": "20260721",
  "durationMinutes": 470,
  "direct": false,
  "available": true,
  "unavailableReason": null,
  "seatClasses": [
    { "className": "Standard seat", "abbr": "SLV", "seatsAvailable": 80, "priceEUR": 89.7, "priceBeforeDiscountEUR": 89.7, "isDisabled": false, "isOffer": false },
    { "className": "Business seat", "abbr": "DIAK", "seatsAvailable": 80, "priceEUR": 117.7, "priceBeforeDiscountEUR": 117.7, "isDisabled": false, "isOffer": false },
    { "className": "VIP seat", "abbr": "PLAT", "seatsAvailable": 45, "priceEUR": 145.7, "priceBeforeDiscountEUR": 145.7, "isDisabled": false, "isOffer": false }
  ],
  "vehicleClasses": [
    { "className": "IX1", "abbr": "IX1", "available": 85, "meters": "400", "priceEUR": 95.7, "priceBeforeDiscountEUR": 95.7 },
    { "className": "IX2", "abbr": "IX2", "available": 68, "meters": "500", "priceEUR": 115.7, "priceBeforeDiscountEUR": 115.7 }
  ],
  "petClasses": [
    { "abbr": "PNT", "available": 9, "priceEUR": 0.0 }
  ],
  "hasVehicleDeck": true,
  "hasCabins": false,
  "status": "000",
  "provider": "FHSJTCertus",
  "trip": { "…": "full raw sailing details" }
}
```

| Field | Type | Description |
| --- | --- | --- |
| `origin` / `destination` | string | Port codes for the searched route. |
| `originName` / `destinationName` | string | Full port names. |
| `date` | string | Travel date (`YYYY-MM-DD`). |
| `company` / `companyAbbr` | string | Ferry operator name and short code. |
| `vessel` / `vesselId` | string | Vessel name and id. |
| `vesselType` | string | Vessel type (`H` = high-speed). |
| `departureTime` / `arrivalTime` | string | Local departure/arrival time (`HH:MM`). |
| `departureDate` / `arrivalDate` | string | Departure/arrival calendar date. |
| `durationMinutes` | integer | Total journey time in minutes. |
| `direct` | boolean | Whether the sailing is direct (no intermediate stops). |
| `available` | boolean | Whether the sailing is bookable. |
| `unavailableReason` | string | Why a sailing is not bookable (e.g. sold out), when applicable. |
| `seatClasses` | array | Passenger seat classes: `className`, `abbr`, `seatsAvailable`, `priceEUR`, `priceBeforeDiscountEUR`. |
| `vehicleClasses` | array | Vehicle options: `available` (spaces left), `meters`, `priceEUR`. |
| `petClasses` | array | Pet options with availability and price. |
| `hasVehicleDeck` | boolean | Whether the sailing carries vehicles. |
| `hasCabins` | boolean | Whether cabins are offered. |
| `status` | string | Operator sailing status code (`000` = normal). |
| `trip` | object | Full raw sailing details, for anything not surfaced above. |

### Notes & limits

- **Prices** are shown in the chosen currency (`priceEUR` is the numeric amount, e.g. `89.7`). A `0.0` price means the option is included free (common for pets and some vehicle add-ons).
- **Availability** reflects the moment of the run and changes as seats and vehicle spaces sell out. Re-run on a schedule to keep it fresh.
- **Coverage** spans European ferry operators (Greece, Italy, Spain, and more) and thousands of ports; less-served ports may have few or no sailings on a given date.
- **Volume** grows as routes × dates: two routes over a 7-day range is 14 searches. Use `dateRangeDays` and `maxItems` to control run size.
- A proxy is **not required**; leave it off unless your own network needs one.
- Sailings that are placeholders (no real departure) are filtered out; routes or dates with no service produce a short note rather than a sailing row.

# Actor input Schema

## `routes` (type: `array`):

Ferry routes to search. Each item is an object with 'origin' and 'destination' (port name like "Piraeus" or route code like "PIR"), e.g. \[{"origin": "Piraeus", "destination": "Heraklion"}]. You can also use the simpler Origin/Destination fields below for a single route.

## `origin` (type: `string`):

Departure port for a single route — a port name (e.g. Piraeus, Santorini) or route code (e.g. PIR). Used together with Destination when you don't fill the Routes list.

## `destination` (type: `string`):

Arrival port for a single route — a port name (e.g. Heraklion, Mykonos) or route code (e.g. HER).

## `dates` (type: `array`):

Departure dates to check, each as YYYY-MM-DD. Dates in the past are skipped. Every route is searched on every date.

## `dateRangeDays` (type: `integer`):

Also search this many consecutive days after the earliest date entered. For example 6 turns one date into a whole week. Leave 0 to search only the dates you list.

## `passengers` (type: `integer`):

Number of passengers to price and check seat availability for.

## `vehicles` (type: `integer`):

Number of vehicles to include, so vehicle-deck spaces and prices are returned.

## `pets` (type: `integer`):

Number of pets travelling, so pet options and prices are returned.

## `currency` (type: `string`):

ISO currency code for prices, e.g. EUR, USD, GBP.

## `lang` (type: `string`):

Language code for operator, port, and class names, e.g. en, el, de, fr, it.

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

Overall cap on sailing records for the whole run. 0 = no limit.

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

A proxy is NOT required for this Actor. Leave it off unless your network needs one.

## Actor input object example

```json
{
  "routes": [
    {
      "origin": "Piraeus",
      "destination": "Heraklion"
    }
  ],
  "origin": "Piraeus",
  "destination": "Heraklion",
  "dateRangeDays": 0,
  "passengers": 1,
  "vehicles": 0,
  "pets": 0,
  "currency": "EUR",
  "lang": "en",
  "maxItems": 500,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `origin` (type: `string`):

Origin as reported by the source.

## `destination` (type: `string`):

Destination as reported by the source.

## `date` (type: `string`):

Date as reported by the source.

## `company` (type: `string`):

Company name.

## `vessel` (type: `string`):

Vessel as reported by the source.

## `departureTime` (type: `string`):

Departure Time as reported by the source.

## `arrivalTime` (type: `string`):

Arrival Time as reported by the source.

## `durationMinutes` (type: `string`):

Duration Minutes.

## `direct` (type: `string`):

Direct as reported by the source.

## `available` (type: `string`):

Available as reported by the source.

## `originName` (type: `string`):

Origin Name as reported by the source.

## `destinationName` (type: `string`):

Destination Name as reported by the source.

## `companyAbbr` (type: `string`):

Company Abbr as reported by the source.

## `vesselId` (type: `string`):

Vessel Id as reported by the source.

## `vesselType` (type: `string`):

Vessel Type as reported by the source.

## `departureDate` (type: `string`):

Departure Date as reported by the source.

## `arrivalDate` (type: `string`):

Arrival Date as reported by the source.

## `unavailableReason` (type: `string`):

Unavailable Reason as reported by the source.

## `seatClasses` (type: `string`):

Seat Classes.

## `vehicleClasses` (type: `string`):

Vehicle Classes.

## `petClasses` (type: `string`):

Pet Classes.

## `hasVehicleDeck` (type: `string`):

Has Vehicle Deck. Boolean value.

## `hasCabins` (type: `string`):

Has Cabins. Boolean value.

## `status` (type: `string`):

Status reported by the source.

## `provider` (type: `string`):

Provider as reported by the source.

## `trip` (type: `string`):

Trip as reported by the source.

## `_input` (type: `string`):

The input value this row was produced from.

## `_source` (type: `string`):

Which extraction strategy produced the row.

## `_scrapedAt` (type: `string`):

UTC timestamp of the scrape, ISO 8601.

## `_error` (type: `string`):

Set only on diagnostic rows - why that target produced no data.

## `_errorDetail` (type: `string`):

Extra context for the error.

# 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 = {
    "routes": [
        {
            "origin": "Piraeus",
            "destination": "Heraklion"
        }
    ],
    "origin": "Piraeus",
    "destination": "Heraklion",
    "currency": "EUR",
    "lang": "en"
};

// Run the Actor and wait for it to finish
const run = await client.actor("xtracto/ferryhopper-schedules-scraper").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 = {
    "routes": [{
            "origin": "Piraeus",
            "destination": "Heraklion",
        }],
    "origin": "Piraeus",
    "destination": "Heraklion",
    "currency": "EUR",
    "lang": "en",
}

# Run the Actor and wait for it to finish
run = client.actor("xtracto/ferryhopper-schedules-scraper").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 '{
  "routes": [
    {
      "origin": "Piraeus",
      "destination": "Heraklion"
    }
  ],
  "origin": "Piraeus",
  "destination": "Heraklion",
  "currency": "EUR",
  "lang": "en"
}' |
apify call xtracto/ferryhopper-schedules-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,xtracto/ferryhopper-schedules-scraper"
        }
    }
}
```

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/VWrCR5G5aMZ7lvZoZ/builds/RJg42mbdWcZhuFQmu/openapi.json
