DocumentationDashboard

Google

Flights

Google Flights itineraries and prices for a route and date.

GET/v1/google/flights10 credits

Parameters

NameTypeRequiredDescription
departure_idstringrequiredOrigin IATA code. Several allowed, comma-separated.
arrival_idstringrequiredDestination IATA code. Several allowed, comma-separated.
outbound_datestringrequiredDeparture date, YYYY-MM-DD. Today or later.
return_datestringoptionalReturn date, YYYY-MM-DD. Required for a round trip.
typenumberoptional1 = round trip, 2 = one-way, 3 = multi-city.
adultsnumberoptionalAdult passengers, 1-9.
childrennumberoptionalChildren, 0-9.
infants_in_seatnumberoptionalInfants in a seat, 0-4.
infants_on_lapnumberoptionalInfants on a lap, 0-4.
travel_classnumberoptional1 = economy, 2 = premium, 3 = business, 4 = first.
stopsnumberoptional0 = any, 1 = nonstop, 2 = one stop or fewer, 3 = two or fewer.
sort_bynumberoptional1 = top, 2 = price, 3 = departure, 4 = arrival, 5 = duration, 6 = emissions.
include_airlinesstringoptionalIATA codes to keep. Not with exclude_airlines.
exclude_airlinesstringoptionalIATA codes to drop. Not with include_airlines.
currencystringoptionalISO 4217 currency, default "USD".
hlstringoptionalInterface language, e.g. "en", "tr". Default "en".
glstringoptionalCountry code for ranking, e.g. "us", "tr". Default "us".

Request

curl --request GET 'https://data-api.roketfy.com/v1/google/flights?departure_id=%3Cdeparture_id%3E' \
  --header 'Authorization: Bearer YOUR_TOKEN'

MCP

Available to AI agents as the tool google_flights, with the same parameters and the same credit cost.