{
  "openapi": "3.0.1",
  "info": {
    "title": "Skyscanner.com [Only $1💰] scraper",
    "description": "💰$1 per 1000 results, unlimited extraction. Extract detailed flight itineraries from Skyscanner: prices, airlines, schedules, and routes. Search with a flights link or your parameters—one-way, round trip, cabin, passengers, multi-city legs. Filters and sorting refine results for your Apify dataset.",
    "version": "0.0",
    "x-build-id": "1xm9yQ0JwrDdBUCq5"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/memo23~skyscanner-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-memo23-skyscanner-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/memo23~skyscanner-scraper/runs": {
      "post": {
        "operationId": "runs-sync-memo23-skyscanner-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/memo23~skyscanner-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-memo23-skyscanner-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": [
          "startUrls"
        ],
        "properties": {
          "startUrls": {
            "title": "Skyscanner flights URLs",
            "type": "array",
            "description": "Add one or more URLs. <strong>URL mode:</strong> paste a full <strong>transport / flights</strong> URL from the browser (see prefill example). <strong>Filter mode:</strong> use the site homepage (e.g. <code>https://www.skyscanner.net/</code>) and fill <strong>Scrape with search filters</strong> below.<br><br><strong>Priority per URL:</strong> When this URL matches <code>…/transport/flights/{origin}/{destination}/{YYMMDD}/{YYMMDD?}/</code>, route and dates come from the URL for that request (filter fields are not used for that request). Otherwise route and dates come from the filters section.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "departureAirport": {
            "title": "Departure airport",
            "type": "string",
            "description": "City or IATA-style code (e.g. <code>Atlanta</code> or <code>LAX</code>). <strong>Ignored</strong> if you provided a full <code>/transport/flights/…</code> URL above.",
            "default": "Atlanta"
          },
          "arrivalAirport": {
            "title": "Arrival airport",
            "type": "string",
            "description": "City or airport code. <strong>Ignored</strong> when a full flights URL is used.",
            "default": "Istanbul"
          },
          "departureDate": {
            "title": "Departure date",
            "type": "string",
            "description": "<code>YYYY-MM-DD</code> or <code>YYMMDD</code> (e.g. <code>261101</code> = 1 Nov 2026). <strong>Ignored</strong> when a full flights URL is used.",
            "default": "2026-06-15"
          },
          "returnDate": {
            "title": "Return date",
            "type": "string",
            "description": "Optional for one-way. Same date formats as departure. <strong>Ignored</strong> when a full flights URL is used (return segment comes from the URL if present).",
            "default": "2026-06-22"
          },
          "cabinClass": {
            "title": "Cabin class",
            "enum": [
              "economy",
              "premium_economy",
              "business",
              "first"
            ],
            "type": "string",
            "description": "Sent as <code>cabinClass</code> on the unified-search JSON body. Applies to <strong>every</strong> run (URL and filter mode).",
            "default": "economy"
          },
          "adults": {
            "title": "Adults",
            "minimum": 1,
            "maximum": 9,
            "type": "integer",
            "description": "Number of adults (12+). Minimum 1. Used for <strong>every</strong> run (URL or filter mode); query params on the Skyscanner URL are not used for passenger counts.",
            "default": 1
          },
          "children": {
            "title": "Children",
            "minimum": 0,
            "maximum": 9,
            "type": "integer",
            "description": "Number of children. The API uses a placeholder child age until real ages are supported.",
            "default": 0
          },
          "infants": {
            "title": "Infants (on lap)",
            "minimum": 0,
            "maximum": 9,
            "type": "integer",
            "description": "Infants without their own seat (under ~2 years). Uses a placeholder age in the API.",
            "default": 0
          },
          "skyscannerMarket": {
            "title": "Skyscanner market (region code)",
            "enum": [
              "AF",
              "AL",
              "DZ",
              "AS",
              "AD",
              "AO",
              "AI",
              "AG",
              "AR",
              "AM",
              "AW",
              "AU",
              "AT",
              "AZ",
              "BS",
              "BH",
              "BD",
              "BB",
              "BY",
              "BE",
              "BZ",
              "BJ",
              "BM",
              "BT",
              "BO",
              "BA",
              "BW",
              "BR",
              "VG",
              "BN",
              "BG",
              "BF",
              "BI",
              "KH",
              "CM",
              "CA",
              "CV",
              "KY",
              "CF",
              "TD",
              "CL",
              "CN",
              "CX",
              "CC",
              "CO",
              "KM",
              "CG",
              "CK",
              "CR",
              "HR",
              "CU",
              "CY",
              "CZ",
              "DK",
              "DJ",
              "DM",
              "DO",
              "CD",
              "EC",
              "EG",
              "SV",
              "GQ",
              "ER",
              "EE",
              "SZ",
              "ET",
              "FK",
              "FO",
              "FJ",
              "FI",
              "FR",
              "GF",
              "PF",
              "GA",
              "GM",
              "GE",
              "DE",
              "GH",
              "GI",
              "GR",
              "GL",
              "GD",
              "GP",
              "GU",
              "GT",
              "GG",
              "GN",
              "GW",
              "GY",
              "HT",
              "HN",
              "HK",
              "HU",
              "IS",
              "IN",
              "ID",
              "IR",
              "IQ",
              "IE",
              "IL",
              "IT",
              "CI",
              "JM",
              "JP",
              "JO",
              "KZ",
              "KE",
              "KI",
              "KW",
              "KG",
              "LA",
              "LV",
              "LB",
              "LS",
              "LR",
              "LY",
              "LI",
              "LT",
              "LU",
              "MO",
              "MG",
              "MW",
              "MY",
              "MV",
              "ML",
              "MT",
              "MH",
              "MQ",
              "MR",
              "MU",
              "YT",
              "MX",
              "FM",
              "MD",
              "MC",
              "MN",
              "ME",
              "MS",
              "MA",
              "MZ",
              "MM",
              "NA",
              "NR",
              "NP",
              "NL",
              "NC",
              "NZ",
              "NI",
              "NE",
              "NG",
              "NU",
              "KP",
              "MK",
              "MP",
              "NO",
              "OM",
              "PK",
              "PW",
              "PS",
              "PA",
              "PG",
              "PY",
              "PE",
              "PH",
              "PL",
              "PT",
              "PR",
              "QA",
              "RE",
              "RO",
              "RU",
              "RW",
              "KN",
              "LC",
              "VC",
              "WS",
              "ST",
              "SA",
              "SN",
              "RS",
              "SC",
              "SL",
              "SG",
              "SK",
              "SI",
              "SB",
              "SO",
              "ZA",
              "GS",
              "KR",
              "ES",
              "LK",
              "SH",
              "PM",
              "SD",
              "SR",
              "SE",
              "CH",
              "SY",
              "TW",
              "TJ",
              "TZ",
              "TH",
              "TG",
              "TO",
              "TT",
              "TN",
              "TR",
              "TM",
              "TC",
              "TV",
              "UG",
              "UA",
              "AE",
              "GB",
              "US",
              "UY",
              "VI",
              "UZ",
              "VU",
              "VA",
              "VE",
              "VN",
              "WF",
              "YE",
              "ZM",
              "ZW"
            ],
            "type": "string",
            "description": "Skyscanner <code>x-skyscanner-market</code> and flight autosuggest path. Same idea as country/market on the site. List imported from <code>cat-guy-inputjson</code>; <strong>GB</strong> is used for United Kingdom (ISO 3166-1 alpha-2).",
            "default": "US"
          },
          "skyscannerCurrency": {
            "title": "Display currency",
            "enum": [
              "EUR",
              "GBP",
              "USD",
              "AED",
              "AFN",
              "ALL",
              "AMD",
              "ANG",
              "AOA",
              "ARS",
              "AUD",
              "AWG",
              "AZN",
              "BAM",
              "BBD",
              "BDT",
              "BGN",
              "BHD",
              "BIF",
              "BMD",
              "BND",
              "BOB",
              "BRL",
              "BSD",
              "BTN",
              "BWP",
              "BYN",
              "BZD",
              "CAD",
              "CDF",
              "CHF",
              "CLP",
              "CNY",
              "COP",
              "CRC",
              "CUC",
              "CUP",
              "CVE",
              "CZK",
              "DJF",
              "DKK",
              "DOP",
              "DZD",
              "EGP",
              "ERN",
              "ETB",
              "FJD",
              "GEL",
              "GHS",
              "GIP",
              "GMD",
              "GNF",
              "GTQ",
              "GYD",
              "HKD",
              "HNL",
              "HRK",
              "HTG",
              "HUF",
              "IDR",
              "ILS",
              "INR",
              "IQD",
              "IRR",
              "ISK",
              "JMD",
              "JOD",
              "JPY",
              "KES",
              "KGS",
              "KHR",
              "KMF",
              "KPW",
              "KRW",
              "KWD",
              "KYD",
              "KZT",
              "LAK",
              "LBP",
              "LKR",
              "LRD",
              "LSL",
              "LYD",
              "MAD",
              "MDL",
              "MGA",
              "MKD",
              "MMK",
              "MNT",
              "MOP",
              "MRO",
              "MUR",
              "MVR",
              "MWK",
              "MXN",
              "MYR",
              "MZN",
              "NAD",
              "NGN",
              "NIO",
              "NOK",
              "NPR",
              "NZD",
              "OMR",
              "PAB",
              "PEN",
              "PGK",
              "PHP",
              "PKR",
              "PLN",
              "PYG",
              "QAR",
              "RON",
              "RSD",
              "RUB",
              "RWF",
              "SAR",
              "SBD",
              "SCR",
              "SDG",
              "SEK",
              "SGD",
              "SHP",
              "SLL",
              "SOS",
              "SRD",
              "STD",
              "SYP",
              "SZL",
              "THB",
              "TJS",
              "TMT",
              "TND",
              "TOP",
              "TRY",
              "TTD",
              "TWD",
              "TZS",
              "UAH",
              "UGX",
              "UYU",
              "UZS",
              "VND",
              "VUV",
              "WST",
              "XAF",
              "XCD",
              "XOF",
              "XPF",
              "YER",
              "ZAR",
              "ZMW"
            ],
            "type": "string",
            "description": "ISO 4217 codes for <code>x-skyscanner-currency</code>. List imported from <code>cat-guy-inputjson</code>. Case normalized at run time for raw JSON input.",
            "default": "USD"
          },
          "skyscannerLocale": {
            "title": "Locale (language)",
            "pattern": "^[a-zA-Z]{2,8}(-[a-zA-Z0-9]{2,8}){0,3}$",
            "minLength": 2,
            "maxLength": 35,
            "type": "string",
            "description": "BCP-47 tag (e.g. <code>en-US</code>, <code>bs-BA</code>, <code>zh-Hans-CN</code>): language subtag, then optional region/script segments. Max length 35. Normalized at run time (e.g. <code>en-us</code> → <code>en-US</code>).",
            "default": "en-US"
          },
          "resultSort": {
            "title": "Sort results (client-side)",
            "enum": [
              "default",
              "score",
              "cheapest",
              "fastest",
              "departure"
            ],
            "type": "string",
            "description": "Applied <strong>after</strong> the API returns (unified-search POST does not take sort). <code>default</code> keeps merge/dedupe order. <code>score</code> uses Skyscanner itinerary score (higher first).",
            "default": "default"
          },
          "resultLimit": {
            "title": "Max itineraries in dataset",
            "minimum": 0,
            "type": "integer",
            "description": "After stop filters and sort, keep at most this many itineraries (omit for no cap; 0 = empty export). Does not change how many results Skyscanner returns."
          },
          "filterNonStop": {
            "title": "Non-stop only",
            "type": "boolean",
            "description": "Keep itineraries where total stops across all legs = 0. Multiple stop checkboxes combine with <strong>OR</strong>.",
            "default": false
          },
          "filterOneStop": {
            "title": "One stop",
            "type": "boolean",
            "description": "Keep itineraries with total stops = 1.",
            "default": false
          },
          "filterTwoPlusStops": {
            "title": "Two or more stops",
            "type": "boolean",
            "description": "Keep itineraries with total stops ≥ 2.",
            "default": false
          },
          "multiCityLeg2Destination": {
            "title": "Multi-city — leg 2 destination",
            "type": "string",
            "description": "Open jaw / multi-city: after leg 1 (origin → destination from filters), fly to this place. Requires <strong>leg 2 date</strong>. <strong>Ignored</strong> if the start URL is a transport/flights link. When set, <code>returnDate</code> is ignored."
          },
          "multiCityLeg2Date": {
            "title": "Multi-city — leg 2 date",
            "type": "string",
            "description": "Date for leg 2 (<code>YYYY-MM-DD</code> or <code>YYMMDD</code>)."
          },
          "multiCityLeg3Destination": {
            "title": "Multi-city — leg 3 destination (optional)",
            "type": "string",
            "description": "Third segment from leg 2 city to this airport. Requires leg 2 and <strong>leg 3 date</strong>."
          },
          "multiCityLeg3Date": {
            "title": "Multi-city — leg 3 date",
            "type": "string",
            "description": "Date for leg 3."
          },
          "includeNearbyAirports": {
            "title": "Include nearby airports (informational)",
            "type": "boolean",
            "description": "Logs a note only — the mobile unified-search body used here does not send alternate-airport flags. Results may still mention nearby airports in metadata.",
            "default": false
          },
          "extraHttpHeaders": {
            "title": "Extra HTTP headers (advanced)",
            "type": "object",
            "description": "String keys and string values merged into unified-search POST and poll GET. Overrides duplicate header names. Use sparingly; wrong values can break requests."
          },
          "flattenOutput": {
            "title": "Flatten output (spreadsheet columns)",
            "type": "boolean",
            "description": "Yes = one row per flight with dashed column names (<code>price-raw</code>, …). No = nested JSON per row.",
            "default": true
          },
          "maxItems": {
            "title": "Max results to return",
            "type": "integer",
            "description": "Crawler item limit. Non-paying Apify users may see additional caps at runtime—check the log if output looks truncated.",
            "default": 10000
          },
          "maxConcurrency": {
            "title": "Max Concurrency",
            "type": "integer",
            "description": "Maximum number of pages that can be processed at the same time.",
            "default": 100
          },
          "minConcurrency": {
            "title": "Min Concurrency",
            "type": "integer",
            "description": "Minimum number of pages that will be processed at the same time.",
            "default": 1
          },
          "maxRequestRetries": {
            "title": "Max Request Retries",
            "type": "integer",
            "description": "Number of times the crawler will retry a failed request before giving up.",
            "default": 30
          },
          "proxy": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Specifies proxy servers that will be used by the scraper in order to hide its origin.<br><br>For details, see <a href='https://apify.com/apify/web-scraper#proxy-configuration' target='_blank' rel='noopener'>Proxy configuration</a> in README.",
            "default": {
              "useApifyProxy": true,
              "apifyProxyGroups": [
                "RESIDENTIAL"
              ]
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}