Resolve Airport Codes
/google/flights-autocompleteTurn a city or airport name into airport codes and location ids.
What to tell it
Say these in your message. Your AI agent fills them in when it runs the tool.
- QNeededThe search query. A query that would be used to provide completion options.
- HlOptionalThe language to use for the Google Flights Autocomplete search. It's a two or three-letter language code. (e.g., `en` for English, `es` for Spanish, or `fr` fo…
- GlOptionalThe country to use for the Google Flights Autocomplete search. It's a two-letter country code. (e.g., `us` for the United States, `uk` for United Kingdom, or `…
- Exclude regionsOptionalSet to `true` to exclude region-level locations from suggestions. Regions include countries, sub-national regions, and multi-country areas (e.g. South Korea, S…
- Json restrictorOptionalThe fields you want to include in the output, reducing payload size for faster response. See the JSON Restrictor documentation for more details.
Use it in chat
Paste this in chat with what you need, or type @ and pick it. Your AI agents also use it on their own when the work needs it.
@serpapi:/google/flights-autocompleteTopics
FlightsMore from SerpApi
All 124Search Private MapsSearch DuckDuckGo Maps (Apple Maps data) for local places.2.5 credits a callRead Restaurant ReviewsGet diner reviews of one OpenTable restaurant.2.5 credits a callCompare Product PricesSearch Google Shopping and compare product offers across stores.2.5 credits a callAsk Naver AIAsk Naver's AI tab a question and get its cited answer.2.5 credits a callSearch Yandex WebRun a Yandex web search and get parsed organic results.2.5 credits a callGet Play ListingGet one Google Play listing with details, ratings, and reviews.2.5 credits a call