{
  "openapi": "3.0.1",
  "info": {
    "title": "Kayak & Momondo Flights Scraper",
    "description": "Scrape Kayak and Momondo flights from 60+ countries: price, airlines, stops, times, baggage, price forecast and booking link, with optional seller offers and Explore destinations. Export to JSON, CSV or Excel.",
    "version": "0.0",
    "x-build-id": "W9RqAw2pzUMEWUh5h"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/nice_dev~kayak-flights-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-nice_dev-kayak-flights-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/nice_dev~kayak-flights-scraper/runs": {
      "post": {
        "operationId": "runs-sync-nice_dev-kayak-flights-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/nice_dev~kayak-flights-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-nice_dev-kayak-flights-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",
        "properties": {
          "site": {
            "title": "Site",
            "enum": [
              "kayak",
              "momondo"
            ],
            "type": "string",
            "description": "Search Kayak or Momondo (same flights engine). A pasted link keeps its own site.",
            "default": "kayak"
          },
          "origin": {
            "title": "From",
            "pattern": "^\\s*$|^\\s*[A-Za-z]{3}(\\s*,\\s*[A-Za-z]{3})*\\s*$",
            "maxLength": 200,
            "type": "string",
            "description": "Departure airport or city, as a 3-letter IATA code (`CDG`, `JFK`) - a city code such as `PAR`, `NYC` or `LON` covers all its airports. Several codes separated by commas = one search per code."
          },
          "origins": {
            "title": "More departure airports",
            "maxItems": 100,
            "uniqueItems": true,
            "type": "array",
            "description": "Several departure airports in one run, one IATA code per line (`ORY`, `BVA`). Added to **From**: every departure airport is searched to every destination (departure airports x destinations x dates max 500 searches).",
            "items": {
              "type": "string",
              "maxLength": 3,
              "pattern": "^[A-Za-z]{3}$"
            },
            "default": []
          },
          "destination": {
            "title": "To",
            "pattern": "^\\s*$|^\\s*[A-Za-z]{3}(\\s*,\\s*[A-Za-z]{3})*\\s*$",
            "maxLength": 200,
            "type": "string",
            "description": "Arrival airport or city, as a 3-letter IATA code (`JFK`, `NYC`). Several codes separated by commas = one search per code."
          },
          "destinations": {
            "title": "More destinations",
            "maxItems": 100,
            "uniqueItems": true,
            "type": "array",
            "description": "Several destinations in one run, one IATA code per line. Added to **To**.",
            "items": {
              "type": "string",
              "maxLength": 3,
              "pattern": "^[A-Za-z]{3}$"
            },
            "default": []
          },
          "routes": {
            "title": "Routes",
            "maxItems": 500,
            "type": "array",
            "description": "Ready-made routes, each with its own dates if you want: `origin` and `destination` (IATA codes), optionally `departureDate` and `returnDate` (round trip; with a `departureDate` alone the route is one-way, or a round trip of the **Trip length** below). A route without dates uses the dates below. Added to the airports above; max 500 routes.",
            "items": {
              "type": "object",
              "properties": {
                "origin": {
                  "title": "From",
                  "type": "string",
                  "description": "Departure airport or city, 3-letter IATA code (`CDG`, `PAR`).",
                  "editor": "textfield",
                  "pattern": "^[A-Za-z]{3}$",
                  "maxLength": 3
                },
                "destination": {
                  "title": "To",
                  "type": "string",
                  "description": "Arrival airport or city, 3-letter IATA code (`JFK`, `NYC`).",
                  "editor": "textfield",
                  "pattern": "^[A-Za-z]{3}$",
                  "maxLength": 3
                },
                "departureDate": {
                  "title": "Departure date",
                  "type": "string",
                  "description": "Outbound day of this route: a date (`2027-09-15`), or a period from the run date such as `30 days`, `2 weeks` or `3 months` - a saved task then always looks the same distance ahead. Empty = the date below.",
                  "editor": "datepicker",
                  "dateType": "absoluteOrRelative",
                  "maxLength": 40
                },
                "returnDate": {
                  "title": "Return date",
                  "type": "string",
                  "description": "Return day of this route: a date (`2027-09-15`), or a period from the run date such as `30 days`, `2 weeks` or `3 months` - a saved task then always looks the same distance ahead. Empty = one-way (or the trip length below).",
                  "editor": "datepicker",
                  "dateType": "absoluteOrRelative",
                  "maxLength": 40
                }
              },
              "required": [
                "origin",
                "destination"
              ],
              "additionalProperties": false
            },
            "default": []
          },
          "multiCityLegs": {
            "title": "Multi-city trip",
            "maxItems": 6,
            "type": "array",
            "description": "One multi-city trip: 2 to 6 flights in a row (Paris to New York, then New York to Los Angeles...), searched as ONE trip with one price for all legs, as the multi-city form of Kayak does. Each leg has `origin`, `destination` (IATA codes) and `date`. Added to the other searches of this form; the dates above are not used by it.",
            "items": {
              "type": "object",
              "properties": {
                "origin": {
                  "title": "From",
                  "type": "string",
                  "description": "Departure airport or city of this leg, 3-letter IATA code.",
                  "editor": "textfield",
                  "pattern": "^[A-Za-z]{3}$",
                  "maxLength": 3
                },
                "destination": {
                  "title": "To",
                  "type": "string",
                  "description": "Arrival airport or city of this leg, 3-letter IATA code.",
                  "editor": "textfield",
                  "pattern": "^[A-Za-z]{3}$",
                  "maxLength": 3
                },
                "date": {
                  "title": "Date",
                  "type": "string",
                  "description": "Day of this leg: a date (`2027-09-15`), or a period from the run date such as `30 days`, `2 weeks` or `3 months` - a saved task then always looks the same distance ahead.",
                  "editor": "datepicker",
                  "dateType": "absoluteOrRelative",
                  "maxLength": 40
                }
              },
              "required": [
                "origin",
                "destination",
                "date"
              ],
              "additionalProperties": false
            },
            "default": []
          },
          "startUrls": {
            "title": "Kayak or Momondo links",
            "maxItems": 500,
            "type": "array",
            "description": "Kayak or Momondo flight search links of any country, copied from the address bar (`https://www.kayak.com/flights/PAR-NYC/2027-09-15`, `https://www.momondo.de/flight-search/BER-PAR/2027-09-15`): their route, dates, passengers, cabin, sort and filters are kept as they are, and the Actor reads the full list of flights, not only the first page. Added to the searches of this form. Max 500 links.",
            "default": [],
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "departureDate": {
            "title": "Departure date",
            "maxLength": 40,
            "type": "string",
            "description": "Outbound day: a date (`2027-09-15`), or a period from the run date such as `30 days`, `2 weeks` or `3 months` - a saved task then always looks the same distance ahead. Empty = 30 days from the run date. Flights are sold up to about 11 months ahead."
          },
          "departureDateTo": {
            "title": "Last departure date (date range)",
            "maxLength": 40,
            "type": "string",
            "description": "Search every departure day from **Departure date** to this day, each day being its own full search (max 60 days). A date (`2027-09-15`), or a period from the run date such as `30 days`, `2 weeks` or `3 months` - a saved task then always looks the same distance ahead. Empty = the departure date only. To see neighbouring days in ONE search, use **Flexible days**."
          },
          "returnDate": {
            "title": "Return date",
            "maxLength": 40,
            "type": "string",
            "description": "Return day of a round trip: a date (`2027-09-15`), or a period from the run date such as `30 days`, `2 weeks` or `3 months` - a saved task then always looks the same distance ahead. Empty = one-way (unless **Trip length** is set). Prices of a round trip are for the whole trip, as on Kayak."
          },
          "tripLengthDays": {
            "title": "Trip length (days)",
            "minimum": 0,
            "maximum": 330,
            "type": "integer",
            "description": "Round trip of this many days after each departure day - handy with a date range or a saved task. Used when **Return date** is empty (also by a route that has a departure date and no return date). 0 = one-way.",
            "default": 0
          },
          "flexibleDays": {
            "title": "Flexible days",
            "enum": [
              "0",
              "1",
              "2",
              "3"
            ],
            "type": "string",
            "description": "Kayak's flexible dates: one search also shows the flights of the days around the departure date (up to 3 days before and after). Each flight keeps its own date in `departureTime`.",
            "default": "0"
          },
          "includeNearbyAirports": {
            "title": "Include nearby airports",
            "type": "boolean",
            "description": "Also search the airports near the departure airport (Kayak's `+ nearby airports` box). Each flight keeps its own airports in `origin` / `destination`.",
            "default": false
          },
          "adults": {
            "title": "Adults",
            "minimum": 1,
            "maximum": 9,
            "type": "integer",
            "description": "Passengers aged 18 or more.",
            "default": 1
          },
          "childAges": {
            "title": "Children (ages)",
            "maxItems": 8,
            "uniqueItems": false,
            "type": "array",
            "description": "One line per child aged 2 to 17, with the age at the time of the flight (`11`, `5`); two children of the same age = two lines.",
            "items": {
              "type": "string",
              "maxLength": 2,
              "pattern": "^([2-9]|1[0-7])$"
            },
            "default": []
          },
          "infantsInSeat": {
            "title": "Infants in seat",
            "minimum": 0,
            "maximum": 8,
            "type": "integer",
            "description": "Under 2, with their own seat.",
            "default": 0
          },
          "infantsOnLap": {
            "title": "Infants on lap",
            "minimum": 0,
            "maximum": 8,
            "type": "integer",
            "description": "Under 2, on an adult's lap (at most one per adult).",
            "default": 0
          },
          "cabinClass": {
            "title": "Cabin class",
            "enum": [
              "economy",
              "premium_economy",
              "business",
              "first"
            ],
            "type": "string",
            "description": "Cabin searched.",
            "default": "economy"
          },
          "maxStops": {
            "title": "Stops",
            "enum": [
              "any",
              "0",
              "1",
              "2"
            ],
            "type": "string",
            "description": "Most stops allowed.",
            "default": "any"
          },
          "airlines": {
            "title": "Airlines",
            "maxItems": 50,
            "uniqueItems": true,
            "type": "array",
            "description": "Only these airlines, sent to Kayak with the search: 2-character IATA codes (`AF`, `DL`, `B6`). Empty = all airlines. For alliances, see **Alliances** in the filters.",
            "items": {
              "type": "string",
              "maxLength": 2,
              "pattern": "^[A-Za-z0-9]{2}$"
            },
            "default": []
          },
          "carryOnBags": {
            "title": "Carry-on bags",
            "minimum": 0,
            "maximum": 1,
            "type": "integer",
            "description": "Carry-on bags per passenger (0-1), sent to Kayak: prices then include the airline's fee for them - as with the Bags filter of Kayak.",
            "default": 0
          },
          "checkedBags": {
            "title": "Checked bags",
            "minimum": 0,
            "maximum": 2,
            "type": "integer",
            "description": "Checked bags per passenger (0-2), sent to Kayak: prices then include their fee.",
            "default": 0
          },
          "market": {
            "title": "Market (country)",
            "enum": [
              "us",
              "gb",
              "ca",
              "au",
              "nz",
              "ie",
              "fr",
              "de",
              "es",
              "it",
              "pt",
              "nl",
              "be",
              "ch",
              "at",
              "se",
              "no",
              "dk",
              "fi",
              "pl",
              "cz",
              "ro",
              "ee",
              "gr",
              "ua",
              "tr",
              "il",
              "ae",
              "sa",
              "za",
              "in",
              "sg",
              "my",
              "th",
              "id",
              "ph",
              "vn",
              "jp",
              "kr",
              "hk",
              "tw",
              "mx",
              "br",
              "ar",
              "cl",
              "co",
              "pe",
              "ec",
              "uy",
              "py",
              "bo",
              "ve",
              "cr",
              "pa",
              "gt",
              "hn",
              "ni",
              "sv",
              "do",
              "pr"
            ],
            "type": "string",
            "description": "Country site to search. It sets the Kayak / Momondo domain, so the currency of every price and the language of names (airports, comfort lines); fares and sellers can differ by market. Kayak has 59 country sites and Momondo 32 (the ones listed with a momondo domain; Estonia is Momondo only): a country without a site for the chosen **Site** is refused. A pasted link keeps its own domain.",
            "default": "us"
          },
          "sortBy": {
            "title": "Sort by",
            "enum": [
              "best",
              "price",
              "duration",
              "departure",
              "arrival",
              "emissions"
            ],
            "type": "string",
            "description": "Order of the flights of each search, sent to Kayak. `Best` = Kayak's own order (its top flights first).",
            "default": "best"
          },
          "maxItems": {
            "title": "Max flights",
            "minimum": 0,
            "maximum": 100000,
            "type": "integer",
            "description": "Most flights saved for the whole run (after filters). 0 = no limit. Kayak finds from a few dozen to several thousand flights per search and lists 50 per page; rows of the options are not counted here.",
            "default": 100
          },
          "maxItemsPerQuery": {
            "title": "Max flights per search",
            "minimum": 0,
            "maximum": 100000,
            "type": "integer",
            "description": "Most flights saved for each search (route x date), so that the first search cannot use up the whole **Max flights** budget. 0 = no limit per search.",
            "default": 0
          },
          "includeSearchSummary": {
            "title": "Search summary",
            "type": "boolean",
            "description": "Add one row per search (`recordType` = `search-summary`): Kayak's buy / wait advice with its time horizon and expected price change, the best price for each sort (best, cheapest, fastest...), the price range, how many flights were found, and the airlines, airports and stop counts with their lowest price. Read from the page already loaded: no extra request. Charged per summary row, see Pricing.",
            "default": false
          },
          "includeBookingOptions": {
            "title": "Booking options (sellers)",
            "type": "boolean",
            "description": "For every flight saved, add every place that sells the ticket - the airline and the travel agencies - one row each with its price, baggage fees, free cancellation, instant booking and booking link (`recordType` = `booking-option`). Read from the page already loaded: no extra request. Charged per seller row saved, see Pricing.",
            "default": false
          },
          "bookingOptionsPerFlight": {
            "title": "Booking options: sellers per flight",
            "minimum": 0,
            "maximum": 200,
            "type": "integer",
            "description": "Used with **Booking options**: most sellers kept for each flight, cheapest first. 0 = all sellers (often 10 to 40 per flight).",
            "default": 5
          },
          "includeExplore": {
            "title": "Explore destinations",
            "type": "boolean",
            "description": "For each departure airport or city, add the destinations Kayak Explore suggests with their cheapest price and dates (`recordType` = `explore-destination`) - to find where to go, not only how. Read from the Explore page of the origin in a session started only for this option: one page per departure code, not per date. Charged per destination saved, see Pricing.",
            "default": false
          },
          "maxExploreDestinations": {
            "title": "Explore: max destinations",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Used with **Explore destinations**: most destinations kept for each departure code, cheapest first (Kayak lists about 1 000 per origin). The **Explore filters** below apply first.",
            "default": 50
          },
          "maxPrice": {
            "title": "Max price",
            "minimum": 0,
            "maximum": 1000000,
            "type": "integer",
            "description": "Highest price per traveler (the `price` field, as Kayak shows it), in the currency of the market. 0 = no limit.",
            "default": 0
          },
          "maxDurationMinutes": {
            "title": "Max total duration (minutes)",
            "minimum": 0,
            "maximum": 5000,
            "type": "integer",
            "description": "Longest travel time of each leg, layovers included. 0 = no limit.",
            "default": 0
          },
          "departureTimeFrom": {
            "title": "Departure from (hour)",
            "minimum": 0,
            "maximum": 23,
            "type": "integer",
            "description": "Earliest local departure hour of the first flight of the trip, 0-23. Empty = any."
          },
          "departureTimeTo": {
            "title": "Departure until (hour)",
            "minimum": 1,
            "maximum": 24,
            "type": "integer",
            "description": "Latest local departure hour of the first flight of the trip, 1-24 (24 = midnight). Empty = any."
          },
          "arrivalTimeFrom": {
            "title": "Arrival from (hour)",
            "minimum": 0,
            "maximum": 23,
            "type": "integer",
            "description": "Earliest local arrival hour of the first leg, 0-23. Empty = any."
          },
          "arrivalTimeTo": {
            "title": "Arrival until (hour)",
            "minimum": 1,
            "maximum": 24,
            "type": "integer",
            "description": "Latest local arrival hour of the first leg, 1-24. Empty = any."
          },
          "minLayoverMinutes": {
            "title": "Min layover (minutes)",
            "minimum": 0,
            "maximum": 2880,
            "type": "integer",
            "description": "Shortest connection allowed. 0 = no limit.",
            "default": 0
          },
          "maxLayoverMinutes": {
            "title": "Max layover (minutes)",
            "minimum": 0,
            "maximum": 2880,
            "type": "integer",
            "description": "Longest connection allowed. 0 = no limit.",
            "default": 0
          },
          "connectingAirports": {
            "title": "Connect only via",
            "maxItems": 50,
            "uniqueItems": true,
            "type": "array",
            "description": "Keep flights whose every connection is at one of these airports (IATA codes). Nonstop flights are kept.",
            "items": {
              "type": "string",
              "maxLength": 3,
              "pattern": "^[A-Za-z]{3}$"
            },
            "default": []
          },
          "excludeConnectingAirports": {
            "title": "Never connect via",
            "maxItems": 50,
            "uniqueItems": true,
            "type": "array",
            "description": "Drop flights with a connection at one of these airports.",
            "items": {
              "type": "string",
              "maxLength": 3,
              "pattern": "^[A-Za-z]{3}$"
            },
            "default": []
          },
          "excludeAirlines": {
            "title": "Exclude airlines",
            "maxItems": 50,
            "uniqueItems": true,
            "type": "array",
            "description": "Drop flights with a segment flown by one of these airlines (2-character IATA codes).",
            "items": {
              "type": "string",
              "maxLength": 2,
              "pattern": "^[A-Za-z0-9]{2}$"
            },
            "default": []
          },
          "alliances": {
            "title": "Alliances",
            "maxItems": 4,
            "uniqueItems": true,
            "type": "array",
            "description": "Keep flights flown by airlines of these alliances only (as the Alliances filter of Kayak). Empty = any airline.",
            "items": {
              "type": "string",
              "enum": [
                "ONEWORLD",
                "SKYTEAM",
                "STAR_ALLIANCE",
                "VALUE_ALLIANCE"
              ],
              "enumTitles": [
                "oneworld",
                "SkyTeam",
                "Star Alliance",
                "Value Alliance"
              ]
            },
            "default": []
          },
          "excludeBasicEconomy": {
            "title": "Exclude basic economy",
            "type": "boolean",
            "description": "Drop basic economy fares (Kayak's `Hide basic tickets` filter): the cheapest fare of the flight is then the cheapest one that is not basic.",
            "default": false
          },
          "excludeRedEye": {
            "title": "Exclude red-eye flights",
            "type": "boolean",
            "description": "Drop the flights with a red-eye leg, outbound or return: a leg that takes off between 22:00 and 05:59, or lands before 06:00 (local times). This is the Actor's own rule: it does not give the same count as Kayak's `Red-eye flights` filter.",
            "default": false
          },
          "excludeAirportChange": {
            "title": "Exclude airport changes",
            "type": "boolean",
            "description": "Drop itineraries where a connection means changing airport (`hasAirportChange` = true).",
            "default": false
          },
          "wifiOnly": {
            "title": "Wi-Fi only",
            "type": "boolean",
            "description": "Keep flights that offer Wi-Fi on board (Kayak's Wi-Fi filter).",
            "default": false
          },
          "airlineDirectOnly": {
            "title": "Airline websites only",
            "type": "boolean",
            "description": "Count only the offers sold by the airline itself (Kayak's `Airlines only` seller filter): the price, seller and booking link of each flight are the airline's, and flights the airline does not sell on Kayak are dropped.",
            "default": false
          },
          "excludeKeywords": {
            "title": "Exclude words",
            "maxItems": 50,
            "uniqueItems": true,
            "type": "array",
            "description": "Drop flights whose airline, aircraft or airport names contain one of these words (case ignored).",
            "items": {
              "type": "string",
              "maxLength": 100
            },
            "default": []
          },
          "exploreDepartureFrom": {
            "title": "Explore: departure from",
            "maxLength": 40,
            "type": "string",
            "description": "Earliest departure day of the suggested trip: a date (`2027-09-15`), or a period from the run date such as `30 days`, `2 weeks` or `3 months` - a saved task then always looks the same distance ahead. Empty = any."
          },
          "exploreDepartureTo": {
            "title": "Explore: departure until",
            "maxLength": 40,
            "type": "string",
            "description": "Latest departure day of the suggested trip: a date (`2027-09-15`), or a period from the run date such as `30 days`, `2 weeks` or `3 months` - a saved task then always looks the same distance ahead. Empty = any."
          },
          "exploreReturnFrom": {
            "title": "Explore: return from",
            "maxLength": 40,
            "type": "string",
            "description": "Earliest return day of the suggested trip: a date (`2027-09-15`), or a period from the run date such as `30 days`, `2 weeks` or `3 months` - a saved task then always looks the same distance ahead. Empty = any."
          },
          "exploreReturnTo": {
            "title": "Explore: return until",
            "maxLength": 40,
            "type": "string",
            "description": "Latest return day of the suggested trip: a date (`2027-09-15`), or a period from the run date such as `30 days`, `2 weeks` or `3 months` - a saved task then always looks the same distance ahead. Empty = any."
          },
          "exploreMinDays": {
            "title": "Explore: min trip length (days)",
            "minimum": 0,
            "maximum": 330,
            "type": "integer",
            "description": "Shortest suggested trip, in days between departure and return. 0 = no limit.",
            "default": 0
          },
          "exploreMaxDays": {
            "title": "Explore: max trip length (days)",
            "minimum": 0,
            "maximum": 330,
            "type": "integer",
            "description": "Longest suggested trip, in days between departure and return. 0 = no limit.",
            "default": 0
          },
          "exploreMaxPrice": {
            "title": "Explore: max price",
            "minimum": 0,
            "maximum": 1000000,
            "type": "integer",
            "description": "Highest price of a suggested destination, in the currency of the market. 0 = no limit.",
            "default": 0
          },
          "exploreMaxStops": {
            "title": "Explore: stops",
            "enum": [
              "any",
              "0",
              "1",
              "2"
            ],
            "type": "string",
            "description": "Most stops of the suggested flight.",
            "default": "any"
          },
          "exploreNorthEastLat": {
            "title": "Explore: map area, north-east latitude",
            "minimum": -90,
            "maximum": 90,
            "type": "number",
            "description": "Map area filter, used only when the four map fields are filled: north-east corner latitude (-90 to 90). Keeps the destinations inside the rectangle (`latitude` / `longitude` of each row)."
          },
          "exploreNorthEastLng": {
            "title": "Explore: map area, north-east longitude",
            "minimum": -180,
            "maximum": 180,
            "type": "number",
            "description": "North-east corner longitude of the map area (-180 to 180)."
          },
          "exploreSouthWestLat": {
            "title": "Explore: map area, south-west latitude",
            "minimum": -90,
            "maximum": 90,
            "type": "number",
            "description": "South-west corner latitude of the map area (-90 to 90)."
          },
          "exploreSouthWestLng": {
            "title": "Explore: map area, south-west longitude",
            "minimum": -180,
            "maximum": 180,
            "type": "number",
            "description": "South-west corner longitude of the map area (-180 to 180)."
          },
          "onlyNew": {
            "title": "Only new flights",
            "type": "boolean",
            "description": "Skip the flights a previous run (same **Memory key**) already delivered: not saved, not charged. A flight = same dates, flight numbers and cabin. First run = everything is new.",
            "default": false
          },
          "trackPriceChanges": {
            "title": "Price changes",
            "type": "boolean",
            "description": "Needs **Only new flights**. A flight already delivered comes back when its price has moved by at least the threshold below since the run that delivered it, on the same site, market, travelers and bags: `previousPrice`, `priceChange` and `priceChangePct` are filled. Charged per flight that comes back as a price change, on top of the flight itself, see Pricing; a flight whose price did not move enough is skipped and costs nothing.",
            "default": false
          },
          "priceChangeThreshold": {
            "title": "Price change threshold (%)",
            "minimum": 0.1,
            "maximum": 100,
            "type": "number",
            "description": "Used with **Price changes**: 3 means a price going from 100 to 103 or to 97.",
            "default": 3
          },
          "stateKey": {
            "title": "Memory key",
            "pattern": "^[a-zA-Z0-9_-]{1,64}$",
            "maxLength": 64,
            "type": "string",
            "description": "Name of the memory used by **Only new flights**. Give each schedule / task its own key (e.g. `par-nyc`). Letters, digits, `-` and `_`.",
            "default": "default"
          },
          "resetState": {
            "title": "Reset memory",
            "type": "boolean",
            "description": "Forget the flights delivered under this **Memory key** before the run: this run returns (and charges) every flight again. Untick it afterwards.",
            "default": false
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Apify Proxy or your own proxies. Keep the default: Apify Proxy, included in the price. The residential Apify proxy is not available in this Actor.",
            "default": {
              "useApifyProxy": true
            }
          },
          "maxConcurrency": {
            "title": "Max concurrency",
            "minimum": 1,
            "maximum": 4,
            "type": "integer",
            "description": "Maximum number of searches processed in parallel, each in its own session. Raise the run memory when you raise this.",
            "default": 2
          },
          "maxRequestsPerMinute": {
            "title": "Max requests per minute",
            "minimum": 10,
            "maximum": 2000,
            "type": "integer",
            "description": "Most requests to the site in any 60 seconds, all of them counted: search pages and result pages. Lower it if the log shows the site's robot check.",
            "default": 60
          },
          "minRequestIntervalMs": {
            "title": "Min delay between requests",
            "minimum": 0,
            "maximum": 60000,
            "type": "integer",
            "description": "Smallest gap between two requests, in milliseconds. 0 = no gap.",
            "default": 0
          },
          "maxRequestRetries": {
            "title": "Max request retries",
            "minimum": 0,
            "maximum": 10,
            "type": "integer",
            "description": "Retries per search before it is marked as failed; each retry starts a fresh session.",
            "default": 3
          },
          "debugLog": {
            "title": "Debug log",
            "type": "boolean",
            "description": "Include debug messages in the run log.",
            "default": false
          }
        }
      },
      "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
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "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
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}