Scrapeless API
Dashboard
Dashboard
  1. google flights
  • User
    • Get User Info
  • Scraping Browser
    • CDP API
    • Connect
  • Scraper API
    • shopee
      • Actor List
      • Shopee Product
      • Shopee Search
      • Shopee Rcmd
    • br sites
      • Solucoes cnpjreva
      • Solucoes certidaointernet
      • Servicos receita
      • Consopt
    • avnet
      • Product detail
    • arrow
      • Product Search
    • airline
      • iberia
        • Iberia
      • expedia
        • Expedia
      • kayak
        • Kayak
    • amazon
      • API Parameters
      • product
      • seller
      • keywords
    • temu
      • Temu
    • google trends
      • API Parameters
      • AutoComplete
      • Interest Over Time
      • Compared Breakdown By Region
      • Interest By Subregion
      • Related Queries
      • Related Topics
      • Trending Now
    • google flights
      • API Parameters
      • Round trip
        POST
      • One way
        POST
      • Multi-city
        POST
    • google flights chart
      • API Parameters
      • chart
    • google search
      • API Parameters
      • Google Search
    • google maps
      • API Parameters(Google Maps)
      • API Parameters(Google Maps Autocomplete)
      • API Parameters(Google Maps Contributor Reviews)
      • API Parameters(Google Maps Directions)
      • API Parameters(Google Maps Reviews)
      • Google Maps
      • Google Maps Autocomplete
      • Google Maps Contributor Reviews
      • Google Maps Directions
      • Google Maps Reviews
    • google scholar
      • API Parameters(Google Scholar)
      • API Parameters(Google Scholar Author)
      • API Parameters(Google Scholar Cite)
      • API Parameters(Google Scholar Profiles)
      • Google Scholar
      • Google Scholar Author
      • Google Scholar Cite
      • Google Scholar Profiles
    • google jobs
      • API Parameters
      • Google Jobs
    • google shopping
      • API Parameters
      • Google Shopping
    • google hotels
      • API Parameters
      • Supported Google Vacation Rentals Property Types
      • Supported Google Hotels Property Types
      • Supported Google Vacation Rentals Amenities
      • Supported Google Hotels Amenities
      • Google Hotels
    • google news
      • API Parameters
      • Google News
    • google lens
      • API Parameters
      • Google Lens
    • google finance
      • API Parameters
      • Google Finance
      • Google Finance Markets
    • google product
      • API Parameters
      • Google Product
    • google play store
      • API Parameters
      • Supported Google Play Categories
      • Google Play Games
      • Google Play Books
      • Google Play Movies
      • Google Play Product
      • Google Play Apps
    • google ads
      • API Parameters
      • Google Ads
    • mouser
      • mouser
    • Scraper Request
      POST
    • Scraper Getresult
      GET
  • Web Unlocker
    • JS Render Docs
    • JS Render
    • Web Unlocker
    • Akamaiweb Cookie
    • Akamaiweb Sensor
  • Public
    • actor status
    • actor status
  1. google flights

API Parameters

ParametersRequiredDesc
departure_idfalseDeparture airport code or location kgmid, for example, CDG is Paris Charles de Gaulle Airport, /m/0vzm is the location kgmid for Austin.You can specify multiple departure airports by separating them with a comma. For example, CDG,ORY,/m/04jpl.
arrival_idfalseArrival airport code or location kgmid, for example, CDG is Paris Charles de Gaulle Airport, /m/0vzm is the location kgmid for Austin.You can specify multiple departure airports by separating them with a comma. For example, CDG,ORY,/m/04jpl.
glfalseThe two-letter country for Google Flight Search, e.g. us for the United States, uk for United Kingdom.
hlfalseThe language used in Google Flight Search. This is a two-letter language code. e.g. en for English, es for Spanish, or fr for French.
currencyfalseThe currency in which the price is returned. Default is USD.
data_typefalseFlight Type 1- Round Trip (default), 2- One Way, 3- Multi-City.When this parameter is set to 3, use multi_city_json to set the flight information.To obtain the returning flight information for Round Trip (1), you need to make another request using a departure_token.
outbound_datefalseParameter defines the outbound date. The format is YYYY-MM-DD. e.g. 2024-12-26.
return_datefalseParameter defines the return date. The format is YYYY-MM-DD. e.g. 2025-01-01.Parameter is required if type parameter is set to: 1 (Round trip).
travel_classfalseParameter defines the travel class.Available options:1 - Economy (default),2 - Premium economy,3 - Business,4 - First.
multi_city_jsonfalseFlight information for multi-city flights,for example,[{"departure_id":"CDG","arrival_id":"NRT","date":"2025-01-01"},{"departure_id":"NRT","arrival_id":"LAX,SEA","date":"2025-01-03"},{"departure_id":"LAX,SEA","arrival_id":"AUS","date":"2025-01-05","times":"8,18,9,23"}]
show_hiddenfalseSet to true to include the hidden flight results. Default to false.
deep_searchfalseSetting it to true may result in better results, but lower performance. The default value is false.
adultsfalseParameter defines the number of adults. Default to 1.
childrenfalseParameter defines the number of children. Default to 0.
infants_in_seatfalseParameter defines the number of infants in seat. Default to 0.
infants_on_lapfalseParameter defines the number of infants on lap. Default to 0.
stopsfalseParameter defines the number of stops during the flight.Available options:0 - Any number of stops (default), 1 - Nonstop only, 2 - 1 stop or fewer, 3 - 2 stops or fewer.
exclude_airlinesfalseParameter defines the airline codes to be excluded. Split multiple airlines with comma.It can't be used together with include_airlines. You can search for airline codes on IATA.For example, UA is United Airlines.Additionally, alliances can be also included here:STAR_ALLIANCE - Star Alliance,SKYTEAM - SkyTeam,ONEWORLD - Oneworld.
include_airlinesfalseParameter defines the airline codes to be included. Split multiple airlines with comma.It can't be used together with exclude_airlines.
bagsfalseParameter defines the number of carry-on bags. Default to 0.
max_pricefalseParameter defines the maximum ticket price. Default to unlimited.
outbound_timesfalseParameter defines the outbound times range. It's a string containing two (for departure only) or four (for departure and arrival) comma-separated numbers. Each number represents the beginning of an hour. For example:4,18: 4:00 AM - 7:00 PM departure,0,18: 12:00 AM - 7:00 PM departure,19,23: 7:00 PM - 12:00 AM departure,4,18,3,19: 4:00 AM - 7:00 PM departure, 3:00 AM - 8:00 PM arrival,0,23,3,19: unrestricted departure, 3:00 AM - 8:00 PM arrival.
return_timesfalseReturns the time range, which is consistent with the departure time definition format. This parameter should only be used when the type parameter is set to 1 (round trip).
emissionsfalseParameter defines the emission level of the flight.Available options:1 - Less emissions only.
layover_durationfalseParameter defines the connecting airport codes to be excluded.An airport ID is an uppercase 3-letter code. You can search for it on Google Flights or IATA.For example, CDG is Paris Charles de Gaulle Airport and AUS is Austin-Bergstrom International Airport.
max_durationfalseParameter is used to select the flight and get returning flights (for Round trip) or flights for the next leg of itinerary (for Multi-city). Find this token in the departure flight results.
Modified at 2025-01-21 01:55:51
Previous
Trending Now
Next
Round trip
Built with