Skip to main content
POST
Reference example
Currently disabled.

Request contract

  • Method and path: POST /apis/v1/oxylabs/ai-search
  • Availability: disabled
This endpoint is disabled and cannot be called. Its historical request, schema and pricing declarations are retained for reference. Complete OpenAPI definition Effective request and pricing declaration (including authentication and referenced schemas):

Cost and request rules

Published reference price: $0.00145 USD per successful request. Account-specific pricing and final settlement may differ. Published reference values are not an account-specific quote or a settled charge. For endpoints supporting X-AISA-Cost-Mode: quote, obtain a free quote for your exact request before execution; reconcile the settled cost with response metadata and Usage Logs. USD amounts use 1,000,000 integer micro-USD per dollar.
  • Default request reference estimate (USD): 0.00145
  • Cost contract: fixed_success
  • Published reference multiplier: 1.45
  • Settlement evidence source: request_snapshot

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Passthrough body for the Google answer engines. source selects the engine; query, render, parse, and geo_location are the parameters Google sources expect. Additional upstream parameters are passed through as-is.

source
enum<string>
required

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.

Available options:
google_search,
google_ai_mode
Example:

"google_search"

geo_location
string

Country-level geo-location for the query, e.g. "United States".

Example:

"United States"

parse
boolean

Return structured, parsed results instead of raw output. Recommended for every source.

Example:

true

query
string

The search query. Required for google_search and google_ai_mode.

Example:

"best noise cancelling headphones 2026"

render
enum<string>

For google_search and google_ai_mode, set to "html" to render the page before parsing.

Available options:
html
Example:

"html"

Response

Query completed successfully. results[] holds one result per query. The parsed shape inside content varies by source (see property descriptions); the example below shows the google_search (Google AI Overviews) shape.

results
object[]

One entry per query. A Realtime single query returns exactly one result, which is the billed unit.