# Kayak Flight ## Overview | Property | Value | |----------|-------| | **Status** | private | | **Method** | `GET` | | **Endpoint** | `/v2/kayak/flight` | | **Base URL** | `https://api.piloterr.com` | | **Credit Cost** | 1 credit per call | | **Documentation** | https://www.piloterr.com/library/kayak-flight | ## Description Gain real-time flight data from Kayak with Piloterr's API, perfect for travel agencies and price comparison tools. ## Authentication - **Key Name:** `x-api-key` - **Location:** HTTP Header - **Get an API key:** https://app.piloterr.com/register ## Example Request ```bash curl --location --request GET 'https://api.piloterr.com/v2/kayak/flight' \ --header 'Content-Type: application/json' \ --header 'x-api-key: YOUR_API_KEY' ``` ## Example Response ### Example ```json { "flights": [ { "price": "€150", "airline": "Air France", "arrival": "2024-06-10 08:00", "aircraft": "A320", "duration": "1h 15m", "departure": "2024-06-10 06:45", "stopovers": 0, "flight_number": "AF1234" }, { "price": "€120", "airline": "EasyJet", "arrival": "2024-06-10 08:20", "aircraft": "A319", "duration": "1h 20m", "departure": "2024-06-10 07:00", "stopovers": 0, "flight_number": "UJ5678" }, { "price": "€180", "airline": "Lufthansa", "arrival": "2024-06-10 09:30", "aircraft": "A320", "duration": "1h 15m", "departure": "2024-06-10 08:15", "stopovers": 0, "flight_number": "LH9101" } ] } ``` ## Documentation ## Overview Gain real-time flight data from Kayak with Piloterr's API, perfect for travel agencies and price comparison tools. ## Quickstart ``` GET https://api.piloterr.com/v2/kayak/flight?query=example ``` ## Parameters | Parameter | Type | Required | Description | |---|---|---|---| | `query` | string | yes | Search query or target identifier | ## Main use cases - Integrate Kayak Flight data into enrichment, analytics, and monitoring pipelines - Automate large-scale extraction from Kayak without maintaining scrapers - Power internal dashboards and workflow automations with live Kayak data