All APIs

Google

Google AI Mode API

Retrieve Google AI Mode answers, with optional image questions and encrypted client-carried follow-up conversations.

Make a request

Use your existing PrismCrawl API key and credit balance. A completed request consumes one credit, including recognized empty or unavailable results and source changes found during a valid continuation. Validation and operational errors remain uncharged. Each completed continuation request is billed separately.

POST /v1/google/ai-mode
curl 'https://api.prismcrawl.com/v1/google/ai-mode' \
  --request POST \
  --header 'content-type: application/json' \
  --header 'x-api-key: <PRISMCRAWL_API_KEY>' \
  --data '{
  "query": "how do solar panels work"
}'

Supported parameters

ParameterUsage
queryRequiredText to search for on the selected service.
countryTwo-letter country or storefront code, such as us or gb.
languageProvider-supported language code, such as en.
deviceDevice presentation for the source request.

desktop, mobile, tablet

htmlReturn the encoded original response rather than parsed JSON.
zero_traceDo not archive source or parsed response artifacts.
locationLocation to search around, such as Austin, TX.
coordinatesLatitude and longitude for location targeting.
uuleEncoded Google location; cannot be combined with location or coordinates.
image_urlPublic HTTPS image URL for an initial or follow-up question.
continuableReturn an encrypted, account-bound conversation token. Starts with a dedicated unbanked session; expires 15 minutes after the first request.
subsequent_request_tokenToken returned by this endpoint. Send a new query, optionally an image, and keep the original locale/location. Requires no backend conversation storage. Google may expire the conversation sooner.

Structured results

Read items from data.content.results. The response also includes the search metadata, pagination state, and any extracted SERP features. Optional fields appear when supplied by the provider.

addresscategorycoordinatesdescriptionidlatitudelinkslongitudenamephonepositionrankratingrating_maxrating_sourcereview_countsnippettextthumbnailtitletypeurlwebsite

SDKs and guides

The official SDKs cover this endpoint with typed parameters, automatic retries, and pagination helpers.