Flights
Google Flights itineraries and prices for a route and date.
GET
/v1/google/flights10 creditsParameters
| Name | Type | Required | Description |
|---|---|---|---|
| departure_id | string | required | Origin IATA code. Several allowed, comma-separated. |
| arrival_id | string | required | Destination IATA code. Several allowed, comma-separated. |
| outbound_date | string | required | Departure date, YYYY-MM-DD. Today or later. |
| return_date | string | optional | Return date, YYYY-MM-DD. Required for a round trip. |
| type | number | optional | 1 = round trip, 2 = one-way, 3 = multi-city. |
| adults | number | optional | Adult passengers, 1-9. |
| children | number | optional | Children, 0-9. |
| infants_in_seat | number | optional | Infants in a seat, 0-4. |
| infants_on_lap | number | optional | Infants on a lap, 0-4. |
| travel_class | number | optional | 1 = economy, 2 = premium, 3 = business, 4 = first. |
| stops | number | optional | 0 = any, 1 = nonstop, 2 = one stop or fewer, 3 = two or fewer. |
| sort_by | number | optional | 1 = top, 2 = price, 3 = departure, 4 = arrival, 5 = duration, 6 = emissions. |
| include_airlines | string | optional | IATA codes to keep. Not with exclude_airlines. |
| exclude_airlines | string | optional | IATA codes to drop. Not with include_airlines. |
| currency | string | optional | ISO 4217 currency, default "USD". |
| hl | string | optional | Interface language, e.g. "en", "tr". Default "en". |
| gl | string | optional | Country 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.