{"uid":"cap_xZjz8DFKpAfOZK_tplh3R","slug":"google-flights-autocomplete-77976cdc","name":"Google Flights Autocomplete","description":"Google Flights Autocomplete: Google Flights Autocomplete results, returned as JSON. Structured JSON, USD 0.05 per call in USDC — no API key, no account, no subscription, no minimum. Not affiliated with, endorsed by or an official channel of any of the services the results come from. All trademarks and copyright remain the property of their respective owners.","url":"https://serp402.com/api/v1/google-flights-autocomplete?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"q":{"type":"string"},"gl":{"type":"string","description":"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 fr for…"},"hl":{"type":"string","description":"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 for…"},"exclude_regions":{"type":"string","description":"Set to true to exclude region-level locations from suggestions. Regions include countries, sub-national regions, and multi-country areas (e.g. South Korea,…"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_ay-WStpzQqb3bALVeXI7O","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns Google Flights autocomplete suggestions for airport, city, or location queries as structured JSON","exampleAgentPrompt":"Can you look up Google Flights autocomplete suggestions for 'London' in English, searching from a US context, and exclude region-level results so I only get specific airports and cities?","exampleUseCases":[{"title":"Airport picker for flight booking agent","prompt":"I'm building a flight search and the user typed 'JFK' — can you fetch Google Flights autocomplete suggestions for that query in English using the US country context?"},{"title":"Destination suggestion for travel planner","prompt":"The user started typing 'Par' as their destination — get me Google Flights autocomplete suggestions for 'Par' in French, using France as the country, so I can show them a dropdown of matching airports and cities."},{"title":"Filtering out broad region suggestions","prompt":"Fetch Google Flights autocomplete results for 'South' in English with the US country setting, but exclude region-level suggestions so I only get back specific airports rather than broad geographic areas."}],"resultDescription":"A structured JSON list of autocomplete suggestions matching the query, each representing an airport, city, or location relevant to Google Flights searches. Results may include display names, codes, and location metadata.","failureModes":["Invalid or unsupported country code (gl) returns empty or error response","Invalid language code (hl) may fall back to default or return error","Empty query string may return empty suggestions array","Payment failure returns HTTP 402 if USDC not provided","Very ambiguous short queries may return generic or unexpected suggestions"],"whenToPreferThis":"Choose this endpoint when you need Google Flights-specific location and airport autocomplete suggestions — especially useful for populating flight search dropdowns, resolving partial airport or city names to structured entries, or supporting a flight booking workflow. Prefer over generic geocoding APIs when the goal is specifically flight-relevant locations as surfaced by Google Flights, and when you need no-subscription per-call pricing via x402 USDC payments.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:41:42.190Z","isFirstParty":false,"canonicalSlug":"google-flights-autocomplete-77976cdc"}