v1
latestOpenAPI 3.1.02026-07-26180242448.0 KBGoogle AI Mode search
Get AI-generated search results from Google AI Mode.
Currently returns HTTP 501. As of 2026 Google has repurposed the historical udm=50 parameter — it now opens the Visual Search history prompt, not a dedicated AI Mode surface. There is no standalone /search?udm=50 URL that returns AI-only content anymore; AI Overview blocks are rendered inside regular SERPs instead, gated on query + user + geolocation signals.
Recommended workaround: call /v1/google/search?q=<query>&ai_overview=true. The main SERP endpoint already parses the ai_overview block when Google includes one in the response, and the ai_overview=true flag automatically chases the deferred page_token follow-up fetch when Google serves the overview lazily. That's the exact data this endpoint was originally meant to return.
This route remains registered so the product catalog, docs, and SDKs don't break — it will be re-enabled if/when Google ships a stable dedicated AI Mode surface again.
Query parameters
Search query for AI-generated response
Search query for AI-generated response
Country code
Country code
Language code
Language code
Include the raw answer_html body (can be 100s of KB). Set false for just text_blocks + markdown.
Include the raw answer_html body (can be 100s of KB). Set false for just text_blocks + markdown.
Response
Successful Response