# Skyscanner Flight ## Overview | Property | Value | |----------|-------| | **Status** | private | | **Method** | `GET` | | **Endpoint** | `/v2/skyscanner/flight` | | **Base URL** | `https://api.piloterr.com` | | **Credit Cost** | 1 credit per call | | **Documentation** | https://www.piloterr.com/library/skyscanner-flight | ## Description Utilize the Skyscanner Flight API for real-time flight data extraction, enhancing travel insights and booking automation. ## 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/skyscanner/flight' \ --header 'Content-Type: application/json' \ --header 'x-api-key: YOUR_API_KEY' ``` ## Example Response ### Example ```json { "class": "economy", "currency": "EUR", "passengers": { "adults": 1, "children": 0 }, "total_price": "290.00", "departing_flight": { "date": "2024-05-08", "time": "06:25", "price": "150.00", "stops": 1, "airline": "Airline X", "currency": "EUR", "duration": "1h 45m", "flight_number": "AX123", "arrival_airport": "BASE", "departure_airport": "TLS" }, "returning_flight": { "date": "2024-05-15", "time": "10:55", "price": "140.00", "stops": 1, "airline": "Airline Y", "currency": "EUR", "duration": "2h 10m", "flight_number": "AY456", "arrival_airport": "TLS", "departure_airport": "BASE" } } ``` ## Documentation ## Overview Utilize the Skyscanner Flight API for real-time flight data extraction, enhancing travel insights and booking automation. ## Quickstart ``` GET https://api.piloterr.com/v2/skyscanner/flight?query=example ``` ## Parameters | Parameter | Type | Required | Description | |---|---|---|---| | `query` | string | yes | Search query or target identifier | ## Main use cases - Integrate Skyscanner Flight data into enrichment, analytics, and monitoring pipelines - Automate large-scale extraction from Skyscanner without maintaining scrapers - Power internal dashboards and workflow automations with live Skyscanner data