SearchApi icon

SearchApi

Access real-time search results from Google, Google Images, Google Maps, Google Shopping and more, plus AI answers with cited sources from Google AI Mode, ChatGPT, Gemini and Bing Copilot. Use this when you need current, up-to-date information, product searches, location data, or visual content that may not be available in your training data.

Actions55

  • Google Actions
  • Google Images Actions
  • Google Maps Actions
  • Google Shopping Actions
  • Baidu Actions
  • Bing News Actions
  • Google Rank Tracking Actions
  • Bing Actions
  • Google Maps Place Actions
  • Google Maps Reviews Actions
  • Google Maps Photos Actions
  • Google Maps Directions Actions
  • Google Ads Transparency Center Actions
  • Google Ads Transparency Center Advertiser Search Actions
  • Google Ads Transparency Center Ad Details Actions
  • Google Ads Advertiser Info Actions
  • Meta Ad Library Actions
  • Meta Ad Library Ad Details Actions
  • Meta Ad Library Page Info Actions
  • Meta Ad Library Page Search Actions
  • Youtube Actions
  • Youtube Video Actions
  • Youtube Channel Actions
  • Youtube Channel Videos Actions
  • Youtube Comments Actions
  • Youtube Transcripts Actions
  • Youtube Trends Actions
  • Google Shopping Autocomplete Actions
  • Google Shopping Filters Actions
  • Google Flights Actions
  • Google Flights Calendar Actions
  • Google Flights Location Search Actions
  • Google Hotels Actions
  • Google Hotels Property Actions
  • Google Hotels Autocomplete Actions
  • Google News Actions
  • Google Jobs Actions
  • Tiktok Profile Actions
  • Instagram Profile Actions
  • Linkedin Ad Library Actions
  • Reddit Ad Library Actions
  • Tiktok Ads Library Actions
  • Tiktok Ads Library Advertiser Search Actions
  • Tiktok Ads Library Ad Details Actions
  • Yandex Actions
  • Yandex Reverse Image Actions
  • Duckduckgo Actions
  • Duckduckgo Light Actions
  • Duckduckgo Images Actions
  • Duckduckgo Videos Actions
  • Google AI Mode Actions
  • Google AI Overview Actions
  • ChatGPT Actions
  • Gemini Actions
  • Bing Copilot Actions

Google Flights Calendar → Search

AI-generated

Summary

Searches Google Flights for fares between the specified departure and arrival locations, with required outbound date and optional return date. Optional date ranges, passenger counts, filters, and localization settings are sent as query parameters; the operation returns the API response.

Inputs

  • Departure ID (required) — Airport code, location identifier beginning with /m/, or comma-separated list of either.
  • Arrival ID (required) — Airport code, location identifier beginning with /m/, or comma-separated list of either.
  • Outbound Date (required) — Departure date in YYYY-MM-DD format.
  • Return Date — Return date in YYYY-MM-DD format.
  • Date Range — Optional outbound and return start and end dates. The UI describes default end dates as seven days after the corresponding start date; return date ranges are for round-trip searches.
  • Filters — Optional flight type, stops, travel class, price and duration limits, layover limits, bag counts, airline and connecting-airport inclusion or exclusion, emissions, separate-ticket handling, and outbound or return time ranges.
  • Number of Passengers — Optional adult, child, and infant counts. The UI sets defaults of 1 adult and 0 for the other passenger types, and notes a maximum of 9 passengers.
  • Localization — Optional country (gl), currency, and language (hl) for the search and returned prices; defaults are US, USD, and English.
  • Zero Data Retention — Optionally set Zero Retention to disable logging and persistent storage for the request and response.
  • Request Options — Optional batching, proxy, timeout, and SSL certificate validation settings.

Output shape

A single API response object per request.

The supplied source pack contains only signature-level stubs for the operation implementation, so it does not expose the response fields or confirm runtime response shaping. The UI routes the configured search parameters as query parameters.

Examples

Example 1: january

Search for a one-way flight from London Heathrow to New York JFK in January 2025 with flexible outbound dates from Jan 10-17, departing early morning, returning results in USD for English-speaking users in the US.

Example 2: flights_new_york_to_los_angeles

Search for a round-trip flight from New York (JFK) to Los Angeles (LAX) for 1 adult and 1 child, departing June 15, 2024 and returning June 22, 2024, with a maximum price of $500, economy class, nonstop flights, and currency set to USD.

Example 3: flight

Search for flights from New York (JFK) to Paris (CDG) for 1 adult, with a maximum price of $500, economy class, at most one stop, and English-language results in USD.

Links

Discussion