All APIs

Google Travel and Maps

Google Flights Deals API

Find Google Flight Deals from one or more comma-separated airport or city IDs, optionally matching a natural-language trip request. Supports passenger counts, travel class, round or one-way travel, stops, airline, price and flight-duration filters.

Make a request

Use your existing PrismCrawl API key and credit balance. A completed request consumes one credit, including recognized empty or unavailable results and source changes found during a valid continuation. Validation and operational errors remain uncharged. Each completed continuation request is billed separately.

POST /v1/google/flights/deals
curl 'https://api.prismcrawl.com/v1/google/flights/deals' \
  --request POST \
  --header 'content-type: application/json' \
  --header 'x-api-key: <PRISMCRAWL_API_KEY>' \
  --data '{
  "departure_id": "JFK",
  "limit": 10,
  "query": "Week long trip to a city with great food"
}'

Supported parameters

ParameterUsage
queryText to search for on the selected service.
departure_idRequiredOne or more comma-separated IATA airport or Google travel city IDs. Use flight autocomplete to resolve identifiers.
adultsNumber of adult travelers, from 1 to 9.
outbound_dateOne YYYY-MM-DD date or two ordered, comma-separated dates. Exact round trips require exact departure and return dates; flexible return windows require a flexible departure window.
return_dateOne YYYY-MM-DD date or two ordered, comma-separated dates. Exact round trips require exact departure and return dates; flexible return windows require a flexible departure window.
travel_durationFlexible round-trip duration: 1 one week (default); 2 weekend; 3 two weeks. Cannot be combined with query or exact dates.
trip_lengthExact trip length in days, or comma-separated minimum and maximum; positive and ordered. Uses flexible departure dates.
childrenNumber of children aged 2–11. At most nine travelers total.
infants_in_seatNumber of infants under 2 traveling in their own seats. At most nine travelers total.
infants_on_lapNumber of infants under 2 traveling on an adult’s lap; cannot exceed adults. At most nine travelers total.
travel_classCabin class supported by the selected flight operation.

economy, premium_economy, business, first

type1: round trip (default); 2: one way. Response metadata uses trip_type.

1, 2

stops0: any stops; 1: nonstop; 2: at most one stop; 3: at most two stops.
include_airlinesComma-separated IATA airline codes or STAR_ALLIANCE, SKYTEAM, ONEWORLD.
exclude_airlinesExclude comma-separated IATA airline codes or alliances.
max_priceMaximum total fare in the requested currency.
max_durationMaximum flight duration in minutes.
currencyThree-letter currency code, such as USD.

ALL, DZD, ARS, AMD, AWG, AUD, AZN, BSD, BHD, BYN, BMD, BAM, BRL, GBP, BGN, XPF, CAD, CLP, CNY, COP, CRC, CUP, CZK, DKK, DOP, EGP, EUR, GEL, HKD, HUF, ISK, INR, IDR, IRR, ILS, JMD, JPY, JOD, KZT, KWD, LBP, MKD, MYR, MXN, MDL, MAD, TWD, NZD, NOK, OMR, PKR, PAB, PEN, PHP, PLN, QAR, RON, RUB, SAR, RSD, SGD, ZAR, KRW, SEK, CHF, THB, TRY, USD, UAH, AED, VND

countryTwo-letter country or storefront code, such as us or gb.
languageProvider-supported language code, such as en.
limitMaximum number of items to return. The provider may return fewer.
deviceDevice presentation for the source request.

desktop, mobile, tablet

htmlReturn the encoded original response rather than parsed JSON.
zero_traceDo not archive source or parsed response artifacts.

Structured results

Read items from data.content.results. The response also includes the search metadata, pagination state, and any extracted SERP features. Optional fields appear when supplied by the provider.

addressairlineairport_idarrival_idbooking_tokencategorycoordinatescurrencydeparture_iddescriptiondiscount_percentduration_minutesidlatitudelongitudenameoutbound_datephonepositionpricerankratingrating_maxrating_sourcereturn_datereview_countsnippetstopsthumbnailtitletypeurlusual_pricewebsite

SDKs and guides

The official SDKs cover this endpoint with typed parameters, automatic retries, and pagination helpers.