{
  "openapi": "3.0.1",
  "info": {
    "title": "🚀 Kiwi.com Flight Scraper · 5,000 Free Flights/Month",
    "description": "Kiwi.com Flight Scraper gets you Kiwi.com flights ⚡ fast, 🎯 100% accurate and 🔍 ridiculously detailed — one-way, round-trip & multi-city fares with bag fees, seats left & booking links. 💰 $1 per 1,000 flights, no start fee. Scrape your first 5,000 flights free every month 🚀",
    "version": "0.0",
    "x-build-id": "FUWzMTztqSW9sKSTN"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/omkar-cloud~kiwi-com-flight-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-omkar-cloud-kiwi-com-flight-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/omkar-cloud~kiwi-com-flight-scraper/runs": {
      "post": {
        "operationId": "runs-sync-omkar-cloud-kiwi-com-flight-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/omkar-cloud~kiwi-com-flight-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-omkar-cloud-kiwi-com-flight-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": {
          "origins": {
            "title": "From",
            "type": "array",
            "description": "Departure airports, cities or countries.",
            "items": {
              "type": "string"
            }
          },
          "destinations": {
            "title": "To",
            "type": "array",
            "description": "Arrival airports, cities or countries.",
            "items": {
              "type": "string"
            }
          },
          "tripType": {
            "title": "Trip Type",
            "enum": [
              "one_way",
              "round_trip"
            ],
            "type": "string",
            "description": "One-way flights, or round trips (then set a return date or a stay length below).",
            "default": "one_way"
          },
          "departureDate": {
            "title": "Departure Date",
            "type": "string",
            "description": "Day to fly out. Leave empty for tomorrow."
          },
          "departureDateTo": {
            "title": "Departure Date — Flexible Until",
            "type": "string",
            "description": "Set it to search every departure from Departure Date to this day (at most 62 days) — great for finding the cheapest day."
          },
          "returnDate": {
            "title": "Return Date",
            "type": "string",
            "description": "Round trips: day to fly back. Leave empty for a week after departure, or use Stay Length instead."
          },
          "returnDateTo": {
            "title": "Return Date — Flexible Until",
            "type": "string",
            "description": "Round trips: search every return day from Return Date to this day."
          },
          "nightsMin": {
            "title": "Stay Length — Min Nights",
            "minimum": 0,
            "maximum": 365,
            "type": "integer",
            "description": "Round trips without a Return Date: the shortest stay in nights. Kiwi.com then picks the best return day for every stay length in range."
          },
          "nightsMax": {
            "title": "Stay Length — Max Nights",
            "minimum": 0,
            "maximum": 365,
            "type": "integer",
            "description": "Round trips: the longest stay in nights (defaults to Min Nights)."
          },
          "startUrls": {
            "title": "Kiwi.com Search or Share Links",
            "type": "array",
            "description": "kiwi.com/…/search/results/<from>/<to>/<date>/<return> links, or any kiwi.com link carrying ?shareId=.",
            "items": {
              "type": "string"
            }
          },
          "multiCityTrips": {
            "title": "Multi-City Trips",
            "type": "array",
            "description": "A list of trips, each a list of legs: [[{\"origin\": \"NYC\", \"destination\": \"LON\", \"date\": \"2026-12-10\"}, {\"origin\": \"LON\", \"destination\": \"PAR\"}, {\"origin\": \"PAR\", \"destination\": \"NYC\"}]]"
          },
          "itineraries": {
            "title": "Itinerary IDs",
            "type": "array",
            "description": "Itinerary ids (the `id` column of an earlier run), ItineraryOneWay:… ids, or kiwi.com links carrying ?shareId=.",
            "items": {
              "type": "string"
            }
          },
          "adults": {
            "title": "Adults",
            "minimum": 1,
            "maximum": 9,
            "type": "integer",
            "description": "Adult passengers.",
            "default": 1
          },
          "children": {
            "title": "Children (2-11)",
            "minimum": 0,
            "maximum": 8,
            "type": "integer",
            "description": "Child passengers aged 2-11.",
            "default": 0
          },
          "infants": {
            "title": "Infants (under 2)",
            "minimum": 0,
            "maximum": 4,
            "type": "integer",
            "description": "Infants on a lap, at most one per adult.",
            "default": 0
          },
          "cabinClass": {
            "title": "Cabin Class",
            "enum": [
              "economy",
              "premium_economy",
              "business",
              "first"
            ],
            "type": "string",
            "description": "Cabin to search.",
            "default": "economy"
          },
          "handBags": {
            "title": "Cabin Bags per Passenger",
            "minimum": 0,
            "maximum": 1,
            "type": "integer",
            "description": "Cabin bags to price in. Fares that charge for a cabin bag include the fee in `price`.",
            "default": 0
          },
          "checkedBags": {
            "title": "Checked Bags per Passenger",
            "minimum": 0,
            "maximum": 2,
            "type": "integer",
            "description": "Checked bags to price in. Fares that charge for checked bags include the fees in `price`.",
            "default": 0
          },
          "maxStops": {
            "title": "Max Stops",
            "minimum": 0,
            "maximum": 3,
            "type": "integer",
            "description": "Maximum stops per direction; 0 = nonstop only."
          },
          "maxPrice": {
            "title": "Max Price",
            "minimum": 1,
            "type": "integer",
            "description": "Maximum price per itinerary, in the chosen currency."
          },
          "maxDurationHours": {
            "title": "Max Travel Time (hours)",
            "minimum": 1,
            "maximum": 120,
            "type": "integer",
            "description": "Maximum total travel time per direction, in hours."
          },
          "maxLayoverHours": {
            "title": "Max Layover (hours)",
            "minimum": 1,
            "maximum": 72,
            "type": "integer",
            "description": "Maximum length of any layover, in hours."
          },
          "departureHours": {
            "title": "Departure Time Window",
            "pattern": "^(\\d{1,2}-\\d{1,2})?$",
            "type": "string",
            "description": "Outbound departure window as start-end hours of the local day, e.g. 6-12 for morning flights."
          },
          "arrivalHours": {
            "title": "Arrival Time Window",
            "pattern": "^(\\d{1,2}-\\d{1,2})?$",
            "type": "string",
            "description": "Outbound arrival window as start-end hours of the local day, e.g. 12-20."
          },
          "airlines": {
            "title": "Only These Airlines",
            "type": "array",
            "description": "IATA airline codes (B6, DL, AA, …). Keeps only itineraries flown entirely by them.",
            "items": {
              "type": "string"
            }
          },
          "excludeAirlines": {
            "title": "Exclude Airlines",
            "type": "array",
            "description": "IATA airline codes to leave out (e.g. NK, F9).",
            "items": {
              "type": "string"
            }
          },
          "transport": {
            "title": "Transport",
            "type": "array",
            "description": "Combine flights with bus and train legs.",
            "items": {
              "type": "string",
              "enum": [
                "flight",
                "bus",
                "train"
              ],
              "enumTitles": [
                "Flights",
                "Buses",
                "Trains"
              ]
            },
            "default": [
              "flight"
            ]
          },
          "selfTransfer": {
            "title": "Include Self-Transfer Deals",
            "type": "boolean",
            "description": "Kiwi.com's signature fares: separate tickets combined into one trip, often far cheaper, protected by the Kiwi.com Guarantee. Each row says so in `is_self_transfer`.",
            "default": true
          },
          "travelHacks": {
            "title": "Include Hidden-City & Throwaway Fares",
            "type": "boolean",
            "description": "Travel-hack fares, flagged in `is_hidden_city` and `is_throwaway_ticket`.",
            "default": true
          },
          "sortBy": {
            "title": "Sort By",
            "enum": [
              "quality",
              "price",
              "duration",
              "departure",
              "arrival",
              "popularity"
            ],
            "type": "string",
            "description": "Result order. Best is Kiwi.com's own mix of price and duration.",
            "default": "quality"
          },
          "maxResultsPerSearch": {
            "title": "Max Flights per Search",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "Flights to keep per route (and per multi-city leg). Controls your spend: 1,000 flights = $1.",
            "default": 20
          },
          "currency": {
            "title": "Currency",
            "type": "string",
            "description": "3-letter currency for every price (USD, EUR, GBP, CAD, INR, …).",
            "default": "USD"
          },
          "market": {
            "title": "Market",
            "type": "string",
            "description": "2-letter country of the Kiwi.com storefront whose fares and booking rules apply (US, GB, DE, IN, …).",
            "default": "US"
          },
          "language": {
            "title": "Language",
            "type": "string",
            "description": "Language of airport and city names (en, es, de, fr, …).",
            "default": "en"
          },
          "onlyNewResults": {
            "title": "Only New Flights Since the Last Run",
            "type": "boolean",
            "description": "For scheduled runs: skip every flight an earlier run with the same History Name already returned (and never pay for it twice).",
            "default": false
          },
          "historyName": {
            "title": "History Name",
            "type": "string",
            "description": "Name of the memory Only New Flights uses — give each scheduled task its own name.",
            "default": "default"
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}