{
  "openapi": "3.0.1",
  "info": {
    "title": "Google Flights Search Scraper | Deprecated",
    "description": "[💰 $0.01 / 1K] Search Google Flights for one-way, round-trip, and multi-city itineraries. Filter by price, stops, and airlines, fetch direct airline/OTA booking links, and export clean structured JSON.",
    "version": "1.0",
    "x-build-id": "S7EBBBWiEctuQnvZH"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/solidcode~google-flights-scraper-deprecated/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-solidcode-google-flights-scraper-deprecated",
        "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/solidcode~google-flights-scraper-deprecated/runs": {
      "post": {
        "operationId": "runs-sync-solidcode-google-flights-scraper-deprecated",
        "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/solidcode~google-flights-scraper-deprecated/run-sync": {
      "post": {
        "operationId": "run-sync-solidcode-google-flights-scraper-deprecated",
        "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": {
          "departureAirports": {
            "title": "Departure Airports",
            "type": "string",
            "description": "IATA airport codes to depart from, comma-separated (e.g. 'LAX' or 'CDG,ORY'). Leave empty if you're using multi-city legs below."
          },
          "arrivalAirports": {
            "title": "Arrival Airports",
            "type": "string",
            "description": "IATA airport codes to arrive at, comma-separated (e.g. 'JFK' or 'LAX,SEA'). Leave empty if you're using multi-city legs below."
          },
          "outboundDate": {
            "title": "Outbound Date",
            "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
            "type": "string",
            "description": "Departure date in YYYY-MM-DD format (e.g. 2026-06-15). Required for one-way and round-trip searches."
          },
          "returnDate": {
            "title": "Return Date",
            "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
            "type": "string",
            "description": "Return date in YYYY-MM-DD format. Set this to run a round-trip search. Leave empty for one-way."
          },
          "multiCityLegs": {
            "title": "Multi-City Legs",
            "type": "array",
            "description": "For multi-city itineraries, list each leg. Each leg is an object with 'departureAirports', 'arrivalAirports' (comma-separated IATA codes), and 'date' (YYYY-MM-DD). When this is non-empty, the simple route fields above are ignored."
          },
          "adults": {
            "title": "Adults",
            "minimum": 1,
            "type": "integer",
            "description": "Number of adult passengers (age 12+). Minimum 1.",
            "default": 1
          },
          "children": {
            "title": "Children",
            "minimum": 0,
            "type": "integer",
            "description": "Number of child passengers (ages 2–11).",
            "default": 0
          },
          "infants": {
            "title": "Infants",
            "minimum": 0,
            "type": "integer",
            "description": "Number of infant passengers (under 2).",
            "default": 0
          },
          "maxPrice": {
            "title": "Maximum Price",
            "minimum": 0,
            "type": "integer",
            "description": "Only return flights at or below this price, in the chosen currency. Leave empty for no limit."
          },
          "maxStops": {
            "title": "Maximum Stops",
            "enum": [
              "0",
              "1",
              "2"
            ],
            "type": "string",
            "description": "Limit how many stops a flight can have. Leave empty for no limit."
          },
          "airlines": {
            "title": "Preferred Airlines",
            "type": "string",
            "description": "Limit results to these airlines. Provide IATA airline codes, comma-separated (e.g. 'UA,AA,DL'). Leave empty to include all airlines."
          },
          "excludeBasicEconomy": {
            "title": "Exclude Basic Economy",
            "type": "boolean",
            "description": "Hide basic economy fares (fares without free carry-on or seat selection).",
            "default": false
          },
          "currency": {
            "title": "Currency",
            "enum": [
              "USD",
              "EUR",
              "GBP",
              "CAD",
              "AUD",
              "JPY",
              "CHF",
              "SEK",
              "NOK",
              "DKK",
              "PLN",
              "BRL",
              "MXN",
              "INR",
              "CNY",
              "HKD",
              "SGD",
              "NZD",
              "ZAR",
              "AED"
            ],
            "type": "string",
            "description": "Currency used for prices (ISO 4217 code).",
            "default": "USD"
          },
          "language": {
            "title": "Language",
            "enum": [
              "en",
              "es",
              "fr",
              "de",
              "it",
              "pt",
              "ru",
              "ja",
              "ko",
              "zh",
              "ar",
              "hi",
              "tr",
              "pl",
              "nl",
              "sv",
              "da",
              "no",
              "fi",
              "cs",
              "hu",
              "ro",
              "el",
              "th",
              "vi",
              "id",
              "ms",
              "he",
              "uk"
            ],
            "type": "string",
            "description": "Language for the returned results.",
            "default": "en"
          },
          "country": {
            "title": "Country",
            "enum": [
              "us",
              "uk",
              "ca",
              "au",
              "de",
              "fr",
              "es",
              "it",
              "nl",
              "pl",
              "br",
              "ru",
              "jp",
              "kr",
              "cn",
              "tw",
              "in",
              "sa",
              "tr",
              "se",
              "dk",
              "no",
              "fi",
              "cz",
              "hu",
              "ro",
              "mx",
              "ar",
              "ch",
              "at",
              "be",
              "ie",
              "nz",
              "sg",
              "my",
              "th",
              "ph",
              "id",
              "vn"
            ],
            "type": "string",
            "description": "Country market Google should search from — affects available fares and airlines.",
            "default": "us"
          },
          "fetchBookingOptions": {
            "title": "Fetch Booking Options",
            "type": "boolean",
            "description": "When enabled, include direct booking links from each airline and travel agency, plus fare details and baggage info, for every flight returned. Only works for one-way searches (round-trip and multi-city will return an empty booking list). Each resolved booking link is billed separately — a typical one-way search produces 80–120 links, so costs can rise quickly.",
            "default": false
          },
          "maxPages": {
            "title": "Maximum Pages",
            "minimum": 1,
            "maximum": 5,
            "type": "integer",
            "description": "How many times to run the same search. Google returns every matching flight in one go (typically 10–60 results), so leave this at 1 for normal use. Higher values re-run the same search and add another set of results to your dataset.",
            "default": 1
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}