Query an AI answer engine for GEO/AEO visibility.
post_oxylabs_ai_searchSynchronous passthrough to the upstream Oxylabs Realtime endpoint (POST /v1/queries). Pick an AI answer engine with source and send the parameters that source expects; the request body is passed through unchanged. The response returns the AI-generated answer text and the cited source URLs, letting you track how a brand or product is surfaced and cited across AI answers. Billed at a flat $0.001 per successful result; 400/429/5xx/6xx and upstream 4xx responses are not billed. AI sources (chatgpt, gemini, perplexity) take ~40–60s and Google-type sources ~4–8s, so use a client timeout of at least 90s.
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. Used by `google_search` and `google_ai_mode`. Use `prompt` instead for chatgpt/gemini/perplexity. | |
| prompt | No | The natural-language prompt. Used by `chatgpt` (max 4000 chars), `gemini` (max 8000 chars), and `perplexity`. Use `query` instead for the Google-type sources. | |
| render | No | For `google_search` and `google_ai_mode`, set to "html" to render the page before parsing. | |
| search | No | For `chatgpt`, set to true to have ChatGPT browse the web before answering. | |
| source | Yes | The AI answer engine to query. `google_search` returns Google AI Overviews. Each source expects a specific subset of the parameters below. | |
| geo_location | No | Country-level geo-location for the query, e.g. "United States". |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||