Query a Google AI answer engine (AI Overviews / AI Mode) for GEO/AEO visibility.
post_oxylabs_ai_searchSynchronous passthrough to the upstream Oxylabs Realtime endpoint (POST /v1/queries) for the Google answer engines — Google AI Overviews (source: google_search) and Google AI Mode (source: google_ai_mode). Send query with render: "html", parse: true, and a country-level geo_location; the request body is passed through unchanged. The response returns the AI-generated answer text and the cited source URLs. Billed a flat $0.001 per successful result; 400/429/5xx/6xx and upstream 4xx responses are not billed. Google-type sources take ~4–8s, so use a client timeout of at least 30s.
LLM sources (ChatGPT, Gemini, Perplexity) are no longer served here — Oxylabs moved them to an asynchronous Push-Pull flow. Use post_oxylabs_llm (POST /oxylabs/llm) plus get_oxylabs_llm_job for those sources; calling this endpoint with source: chatgpt|gemini|perplexity returns HTTP 422 "Realtime integration is not supported for LLM sources. Please use Push-Pull."
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| parse | No | Return structured, parsed results instead of raw output. Recommended for every source. | |
| query | No | The search query. Required for `google_search` and `google_ai_mode`. | |
| render | No | For `google_search` and `google_ai_mode`, set to "html" to render the page before parsing. | |
| source | Yes | The Google AI answer engine to query. `google_search` returns Google AI Overviews; `google_ai_mode` returns Google AI Mode. For ChatGPT/Gemini/Perplexity use the async endpoint `post_oxylabs_llm` instead. | |
| geo_location | No | Country-level geo-location for the query, e.g. "United States". |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||