{
  "openapi": "3.0.1",
  "info": {
    "title": "Skyscanner Flight Scraper API 💰$1/1k — Fares & Multi-City",
    "description": "💰$1 per 1000 results, unlimited extraction. Skyscanner Flight Scraper API — itineraries, fares, schedules & routes by flights URL or search filters. One-way, round-trip & multi-city. 180+ fields per itinerary: legs, segments, carriers, stops, layovers, Best/Cheapest/Fastest tags.",
    "version": "0.0",
    "x-build-id": "KvNtXAcjSQH4jPeon"
  },
  "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",
        "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>), or a <strong>country</strong> name for the cheapest cities to fly from in it. <strong>Ignored</strong> if you provided a full <code>/transport/flights/…</code> URL above. Required (with arrival + departure date) for filter mode."
          },
          "arrivalAirport": {
            "title": "Arrival airport",
            "type": "string",
            "description": "City or airport code, a <strong>country</strong> name for the cheapest cities in it, or <strong>Everywhere</strong> for the cheapest destination countries (one row per place). <strong>Ignored</strong> when a full flights URL is used. Required (with departure airport + date) for filter mode."
          },
          "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. Required for filter mode."
          },
          "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)."
          },
          "cabinClass": {
            "title": "Cabin class",
            "enum": [
              "economy",
              "premium_economy",
              "business",
              "first"
            ],
            "type": "string",
            "description": "Cabin class for every search. 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. A standard child age is used until exact 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).",
            "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": "Market, as on the site (the country you shop from). <strong>GB</strong> is used for United Kingdom (ISO 3166-1 alpha-2). If left unset, derived from the start URL's host (e.g. <code>skyscanner.com.tw</code> → <code>TW</code>) and the URL's <code>market=</code> query param, falling back to <code>US</code>."
          },
          "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": "Currency prices are shown in (ISO 4217 code). Case normalized at run time for raw JSON input. If left unset, derived from the start URL's <code>currency=</code> query param or the host TLD (e.g. <code>skyscanner.com.tw</code> → <code>TWD</code>), falling back to <code>USD</code>."
          },
          "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>). If left unset, derived from the start URL's <code>locale=</code> query param or the host TLD (e.g. <code>skyscanner.com.tw</code> → <code>zh-TW</code>), falling back to <code>en-US</code>."
          },
          "resultSort": {
            "title": "Sort results (client-side)",
            "enum": [
              "default",
              "score",
              "cheapest",
              "fastest",
              "departure"
            ],
            "type": "string",
            "description": "Applied <strong>after</strong> the results arrive. <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 — searches cover the airports you name. Results may still mention nearby airports in metadata.",
            "default": false
          },
          "extraHttpHeaders": {
            "title": "Extra HTTP headers (advanced)",
            "type": "object",
            "description": "Extra request headers (advanced): string keys and string values added to every search request. Use sparingly; wrong values can break requests."
          },
          "useDynamicPxToken": {
            "title": "Use the alternative search mode from the start (advanced)",
            "type": "boolean",
            "description": "Off by default. The actor switches to the alternative mode on its own only when the default one fails. Turn this ON to use it from the first request. As of mid-2026 the alternative mode returns no results, so leave it OFF.",
            "default": false
          },
          "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": "How many times a failed request is retried before the run gives up on it. Raise it only for stubborn searches — every retry spends run time, and a high value can turn a slow hour into a timed-out run.",
            "default": 3
          },
          "proxy": {
            "title": "Proxy configuration (optional override)",
            "type": "object",
            "description": "Leave empty — the default works out of the box at no extra cost to you. Only set this if you want to use your own proxies."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}