q | string | Yes | - | The search query for Google AI Mode. The AI will respond in the same language as your query. |
result_type | string or SelectableOption | No | - | Output format: ‘json’ (default) returns full response with text blocks, references, etc. ‘markdown’ returns just the formatted markdown response. |
location | string | No | - | Geographic location for the search (e.g., ‘New York’, ‘London’, ‘Tokyo’). Useful for location-based queries. Leave empty for general results which is the default and most common use case. |
gl | string | No | - | Country code for the search (e.g., ‘us’, ‘au’, ‘de’). Pins the search to a country so results reflect that market. Defaults to ‘us’ on the API side. |
hl | string | No | - | Interface language for the search (e.g., ‘en’, ‘es’, ‘fr’). Note: the AI answer follows the query language; hl mainly sets the interface language. Defaults to ‘en’ on the API side. |