{
  "openapi": "3.0.1",
  "info": {
    "title": "Direct Ferries Route & Fare Scraper",
    "description": "Compare ferry routes, crossing durations, indicative fares, and operators across P&O Ferries, DFDS, Irish Ferries, Stena Line, Brittany Ferries and 300+ operators worldwide, scraped from directferries.com.",
    "version": "1.0",
    "x-build-id": "i1Upac79hz4IwXGxb"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/crawlerbros~direct-ferries-route-fare-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-crawlerbros-direct-ferries-route-fare-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/crawlerbros~direct-ferries-route-fare-scraper/runs": {
      "post": {
        "operationId": "runs-sync-crawlerbros-direct-ferries-route-fare-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/crawlerbros~direct-ferries-route-fare-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-crawlerbros-direct-ferries-route-fare-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "required": [
          "mode"
        ],
        "properties": {
          "mode": {
            "title": "Mode",
            "enum": [
              "byRoute",
              "byOperator",
              "byPort"
            ],
            "type": "string",
            "description": "What to fetch.",
            "default": "byRoute"
          },
          "originPort": {
            "title": "Origin port (mode=byRoute)",
            "type": "string",
            "description": "Departure port name, e.g. `Calais`, `Dover`, `Santander`.",
            "default": "Calais"
          },
          "destinationPort": {
            "title": "Destination port (mode=byRoute)",
            "type": "string",
            "description": "Arrival port name, e.g. `Dover`, `Portsmouth`, `Plymouth`.",
            "default": "Dover"
          },
          "portName": {
            "title": "Port (mode=byPort)",
            "type": "string",
            "description": "Port to list all outbound ferry routes from, e.g. `Dover`, `Calais`, `Piraeus`.",
            "default": "Dover"
          },
          "operatorSlug": {
            "title": "Operator (mode=byOperator)",
            "enum": [
              "2go_travel",
              "a_ships_management_sa",
              "adria_ferries",
              "aegean_flying_dolphins",
              "aegean_sea_lines",
              "aegean_speed_lines",
              "aegina_ferries",
              "agoudimos_lines",
              "akgunler_denizcilik",
              "al_ameen_boat_services",
              "albania_luxury_ferries",
              "algerie_ferries",
              "alicost",
              "alilauro",
              "alilauro_gruson",
              "alko_ferries",
              "alpha_lines",
              "aml",
              "andaman_wave_master",
              "anek_superfast",
              "anem_ferries",
              "anes_ferries",
              "aquabus",
              "aremiti",
              "arjuna_fast_cruise",
              "arthamas_express",
              "atlanticoline",
              "awesome_adventures_fiji",
              "babou_one",
              "bahamas_ferries",
              "baja_ferries",
              "balearia",
              "balearia_caribbean",
              "bali_eka_jaya",
              "barangaroo_fast_ferry",
              "barcos_caribe",
              "batam_fast_ferry",
              "bintan_resort_ferries",
              "biosfera_express",
              "blu_navy",
              "blue_sea_jet",
              "blue_star_ferries",
              "bluebridge",
              "blueline",
              "bluemar_ferries",
              "bluewater_express",
              "boonsiri_high_speed_ferries",
              "boston_harbor_cruises",
              "breizhgo_oceane",
              "brittany",
              "bundhaya_speed_boat",
              "buquebus",
              "buva_sea_cambodia",
              "camellia_line",
              "cape_may_lewes_ferry",
              "captain_john_boats",
              "caremar",
              "caribbean_sprinter",
              "caronte_tourist",
              "cataferry",
              "catalina_express",
              "catalina_flyer",
              "chaokoh_ferry",
              "chureang_travel_and_tour",
              "colonia_express",
              "color_line",
              "comatrile",
              "conocemos_navegando",
              "consorzio_vidali_group",
              "corsica_ferries",
              "corsica_linea",
              "cotai_water_jet",
              "cruce_del_golfo",
              "cruise_whitsundays",
              "ctm_deher",
              "ctn_ferries",
              "cyclades_fast_ferries",
              "d_stars_fast_ferry",
              "dain_ferry",
              "dbs_cruise_ferry",
              "dcamel_fast_ferry",
              "dentur_avrasya",
              "destination_gotland",
              "dfds",
              "dodekanisos_seaways",
              "dolphin_fast_ferry",
              "eckero_line",
              "eckero_linjen",
              "elbferry",
              "erturk_lines",
              "exas_shipping_services",
              "express_bahari",
              "ferjuleidir",
              "ferry_isla_de_lobos",
              "ferry_las_perlas",
              "finikas_lines",
              "finnlines",
              "fjordline",
              "formentera_lines",
              "fred_olsen_express",
              "frs",
              "frs_baltic",
              "frs_caribbean",
              "gili_getaway",
              "gili_gili_fast_boat",
              "golden_queen_fast_boat",
              "golden_star_ferries",
              "gomo_viaggi",
              "gozo_highspeed",
              "grandi_navi_veloci",
              "grassi_junior",
              "great_bay_express",
              "greenlines_dp",
              "grimaldi_ferries",
              "gs_travel",
              "hanil_express",
              "hankyu_ferry",
              "hansa_destinations",
              "helgoline",
              "high_jet",
              "horizon_fast_ferry",
              "hovertravel",
              "hy_line_cruises",
              "ichnusa_lines",
              "ido",
              "inter_shipping",
              "interislander",
              "ionian_seaways",
              "ippocampo",
              "irish",
              "iscomar",
              "ishigaki_dream_tours",
              "island_queen",
              "island_speed_ferry",
              "islands_unlimited",
              "isles_of_scilly_travel",
              "jadrolinija",
              "jomalia_shipping",
              "joy_cruises",
              "joy_lines",
              "jumbo_ferry",
              "kamelia_lines",
              "kansai_orange_ferry",
              "kefalonian_lines",
              "kerkyra_lines",
              "kerkyra_seaways",
              "kompas",
              "kume_line",
              "kyushi_orange_ferry",
              "cmn_la_meridionale",
              "lafasi",
              "langkawi_ferry_services",
              "laser_capri",
              "ld_lines_ferries",
              "lefkada_palace",
              "eurotunnel",
              "levante_ferries",
              "leve_ferries",
              "liberty_lines",
              "lineas_maritimas_romero",
              "lomlahkkhirin",
              "lomprayah_high_speed_ferries",
              "lyg_ferry",
              "lexpress_des_iles",
              "maddalena_lines",
              "magic_sea_ferries",
              "majestic_fast_ferry",
              "makri_travel",
              "manche_iles_express",
              "mandarin_cruises",
              "mantoudi_lines",
              "mar_de_ons",
              "marina_group",
              "marina_srikandi",
              "marlin_fast_boat",
              "marue_ferry",
              "maruti_group_fast_boat",
              "meander_travel",
              "medmar",
              "meimon_taiyo_ferry",
              "menorca_lines",
              "mieha_holiday_travel",
              "minoan_lines",
              "moby_lines",
              "mol_ferry",
              "montenegro_lines",
              "ms_ferry",
              "namhae_gosok_ferry",
              "nankai_ferry",
              "national_ferries_company",
              "navi_tremiti",
              "naviera_armas",
              "naviera_nabia",
              "naviera_nortour",
              "nlg",
              "norled",
              "ocean_ferry_belize",
              "poferries",
              "poirishsea",
              "panstar_cruise",
              "pentland_ferries",
              "perhentian_boat_services",
              "perhentian_sunny_travel",
              "phi_phi_cruiser",
              "ploysiam_speedboat",
              "polferries",
              "polsca_baltic_ferries",
              "pontina_navigazione",
              "porto_santo_line",
              "positano_jet",
              "primero_express",
              "pukwan_ferry",
              "raja_ferry",
              "red_funnel",
              "remezzo_maritime_company",
              "rocky_fast_cruise",
              "rottnest_express",
              "rottnest_fast_ferries",
              "rodne_fjord_cruise",
              "s_gening_fast_boat",
              "sado_kisen",
              "safe_way_maritime",
              "said_bonaza_express",
              "san_lorenzo_ferries",
              "sant_andrea",
              "saos_ferries",
              "saronic_ferries",
              "satun_pakbara_speed_boat_club",
              "scandlines_ferries",
              "scoot_fast_cruises",
              "sea_dreams",
              "sea_las_perlas",
              "sea_spica_shimatabi_cruise",
              "sea_s_young",
              "seajets",
              "sealink_kangaroo_island",
              "sealink_northern_territory",
              "sealink_nz",
              "sealink_queensland",
              "sealink_rottnest",
              "seatours",
              "seatran_discovery",
              "seatran_ferry",
              "seaworld_express_ferry",
              "sebeco_lines",
              "semaya_one_fast_cruise",
              "seremar",
              "setonaikai_kisen",
              "seudamgo",
              "shin_nihonkai_ferry",
              "sindo_ferry",
              "singapore_island_cruise",
              "siremar",
              "sky_marine",
              "small_cyclades_lines",
              "snav",
              "songserm",
              "south_sea_cruises",
              "sporades_lines",
              "st_peter_line",
              "starfish_fast_cruise",
              "starlines",
              "iom",
              "stena",
              "stewart_island_experience",
              "stradbroke_ferries",
              "sugriwa_express",
              "superfast_ferries",
              "tallink_silja",
              "tane_yaku_jetfoil",
              "the_angkal_fast_cruise",
              "the_tanis_fast_cruise",
              "tigerline_ferry",
              "tirrenia",
              "tokai_kisen",
              "tokyo_kyusyu_ferry",
              "toremar",
              "torre_lines",
              "tp_line",
              "transtabarca",
              "trasmapi",
              "trasmed_gle",
              "trasmediterranea",
              "travelmar",
              "trieste_lines",
              "triton_ferries",
              "tsugarukaikyo_ferry",
              "tt_line",
              "ttt_lines",
              "tuana_maritime",
              "turbojet",
              "turyol",
              "twin_city_liner",
              "ultramar",
              "unity_line",
              "uwajima_unyu_ferries",
              "v2v_vacations",
              "ventouris_ferries",
              "vigourmarine",
              "viking_line",
              "virtu_ferries",
              "voyager",
              "wahana_virendra",
              "wanderlust_cruise",
              "wasaline",
              "wightlink",
              "wijaya_perkasa",
              "yaeyama_kanko_ferry",
              "yingkou_ferry",
              "zan_fast_ferries"
            ],
            "type": "string",
            "description": "Ferry operator to list routes for.",
            "default": "poferries"
          },
          "maxItems": {
            "title": "Max items",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Hard cap on emitted records.",
            "default": 50
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}