{
  "openapi": "3.0.1",
  "info": {
    "title": "🚀 Skyscanner Scraper · 5,000 Free Itineraries/Month",
    "description": "Skyscanner Scraper gets you Skyscanner flights ⚡ fast, 🎯 100% accurate and 🔍 ridiculously detailed — one-way, round-trip & multi-city itineraries with every agent's price & booking link. 💰 $1 per 1,000 itineraries, no start fee. Scrape your first 5,000 itineraries free every month 🚀",
    "version": "0.0",
    "x-build-id": "rEOA4jhcWuM2Ude0j"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/omkar-cloud~skyscanner-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-omkar-cloud-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/omkar-cloud~skyscanner-scraper/runs": {
      "post": {
        "operationId": "runs-sync-omkar-cloud-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/omkar-cloud~skyscanner-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-omkar-cloud-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": {
          "origin": {
            "title": "Origin",
            "type": "string",
            "description": "Departure airport or city: an IATA code (`JFK`), free text (`new york`), a Skyscanner entity id (`95565058`) or a pasted skyscanner.net flights URL (its departure airport is used). The form is detected automatically."
          },
          "destination": {
            "title": "Destination",
            "type": "string",
            "description": "Arrival airport or city: an IATA code (`LAX`), free text (`los angeles`), a Skyscanner entity id or a pasted skyscanner.net flights URL (its arrival airport is used). The form is detected automatically."
          },
          "departDate": {
            "title": "Depart Date",
            "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
            "type": "string",
            "description": "Departure date as `YYYY-MM-DD` (today or later). Optional — leave it empty and the search is for tomorrow."
          },
          "returnDate": {
            "title": "Return Date",
            "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
            "type": "string",
            "description": "Inbound departure date as `YYYY-MM-DD`, on or after Depart Date. Optional — set it to search a round trip, leave it empty for a one-way search. Skyscanner's usual round-trip default is a week after departure; enter that date here if that is what you want."
          },
          "legs": {
            "title": "Legs",
            "type": "array",
            "description": "2 to 6 legs in travel order, each `{\"origin\": …, \"destination\": …}` with an optional `\"date\"` (`YYYY-MM-DD`). Origin and destination take the same forms as above (IATA code, free text, entity id or skyscanner.net URL). When Legs are set the search is multi-city and Origin, Destination and the dates above are ignored."
          },
          "routes": {
            "title": "Routes",
            "type": "array",
            "description": "Extra routes as JSON objects. A one-way route is `{\"origin\": \"JFK\", \"destination\": \"LAX\"}`; add `\"departDate\"` to pick the day and `\"returnDate\"` (both `YYYY-MM-DD`) to make it a round trip; a multi-city trip is `{\"legs\": [{\"origin\": …, \"destination\": …}, …]}`. Same forms and date defaults as the fields above."
          },
          "adults": {
            "title": "Adults",
            "minimum": 1,
            "maximum": 8,
            "type": "integer",
            "description": "Number of adult passengers (1–8).",
            "default": 1
          },
          "childrenAges": {
            "title": "Children Ages",
            "type": "string",
            "description": "Ages of the children travelling, comma-separated, each 0–17 (at most 8), e.g. `4,9`. Leave empty for no children."
          },
          "infants": {
            "title": "Infants",
            "minimum": 0,
            "maximum": 8,
            "type": "integer",
            "description": "Number of infants on lap (0–8)."
          },
          "cabinClass": {
            "title": "Cabin Class",
            "enum": [
              "economy",
              "premium_economy",
              "business",
              "first"
            ],
            "type": "string",
            "description": "Cabin class to price.",
            "default": "economy"
          },
          "stops": {
            "title": "Max Stops",
            "enum": [
              "",
              "0",
              "1",
              "2",
              "3"
            ],
            "type": "string",
            "description": "Maximum number of stops per leg — Direct only keeps non-stop flights. Not available for multi-city searches.",
            "default": ""
          },
          "maxPrice": {
            "title": "Max Price",
            "minimum": 0,
            "type": "integer",
            "description": "Highest itinerary price to return, in the chosen currency (whole units)."
          },
          "airlines": {
            "title": "Airlines",
            "type": "string",
            "description": "Comma-separated airline IATA codes to keep (at most 20), e.g. `BA,AF`. Leave empty for all airlines. Not available for multi-city searches."
          },
          "sort": {
            "title": "Sort By",
            "enum": [
              "best",
              "cheapest",
              "fastest",
              "outbound_departure"
            ],
            "type": "string",
            "description": "Result order. Best keeps Skyscanner's own ranking; with Max Itineraries per Route set, you get the top N in this order.",
            "default": "best"
          },
          "maxResults": {
            "title": "Max Itineraries per Route",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "Maximum number of itineraries to scrape per route — the top N by Sort By (1–500). Use this to control your cost (1,000 itineraries ≈ $1).",
            "default": 100
          },
          "maxPollSeconds": {
            "title": "Max Poll Seconds",
            "minimum": 0,
            "maximum": 60,
            "type": "integer",
            "description": "How long the search may keep polling Skyscanner's partners before returning what it has (0–60). Higher = more complete, slower. Leave empty for the default."
          },
          "market": {
            "title": "Market",
            "type": "string",
            "description": "Point-of-sale country as a 2-letter ISO code (`US`, `GB`, `IN`, `DE`, `FR`, `JP`…). Not cosmetic: it changes which fares, partners and prices Skyscanner offers.",
            "default": "US"
          },
          "locale": {
            "title": "Locale",
            "type": "string",
            "description": "Response language as a BCP-47 tag (`en-US`, `en-GB`, `fr-FR`, `de-DE`, `es-ES`, `ja-JP`…).",
            "default": "en-US"
          },
          "currency": {
            "title": "Currency",
            "type": "string",
            "description": "Pricing currency as a 3-letter ISO code (`USD`, `GBP`, `EUR`, `INR`, `JPY`…).",
            "default": "USD"
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}