Google SERP Ai Mode API

Data & APIs

Call GET /api/v1/google/ai-mode for Google SERP Ai Mode through Just Serp API with query.

Install

openclaw skills install justserpapi-google-ai-mode

Google SERP Ai Mode

Use this focused Just Serp API skill for Google SERP Ai Mode. It targets GET /api/v1/google/ai-mode. Required inputs are query. OpenAPI describes it as: Get Google aI Mode data, including generated answers, follow-up prompts, and cited links, for AI search experience monitoring.

Endpoint Scope

  • Group key: google
  • Endpoint key: ai-mode
  • Group family: Google SERP
  • Skill slug: justserpapi-google-ai-mode
OperationVersionMethodPathOpenAPI summary
aiModev1GET/api/v1/google/ai-modeMode

Inputs

ParameterInRequired byOptional byTypeNotes
countryqueryn/aallstringSet the target country code (e.g., 'us', 'uk') to localize results. See <a href="/reference/google-countries">Google Countries</a>
htmlqueryn/aallbooleanSet to true to return the raw HTML of the Google search results page alongside the structured data
locationqueryn/aallstringThe textual location name (e.g., 'New York, NY') to localize the search results
queryqueryalln/astringThe search query for Google Search (e.g., 'coffee shops', 'how to bake a cake')
safequeryn/aallstringSafeSearch filter setting. Set to 'active' to filter adult content, or 'off' to disable it
uulequeryn/aallstringEncoded location string (UULE) used to precisely localize Google search results. This is an advanced/technical parameter — if you’re not familiar with it, you can leave it empty and omit it

Request body: none documented; send parameters through path or query arguments.

Version Choice

Use aiMode for the documented v1 endpoint. There are no alternate versions grouped in this skill.

Run This Endpoint

Supported operation IDs in this skill: aiMode.

node {baseDir}/bin/run.mjs --operation "aiMode" --api-key "$JUST_SERP_API_KEY" --params-json '{"query":"<query>"}'

Ask for any missing required parameter before calling the helper. Keep user-provided IDs, URLs, keywords, and filters unchanged.

Environment

  • Required: JUST_SERP_API_KEY
  • Pass the API key with --api-key "$JUST_SERP_API_KEY"; do not paste key values into chat messages, screenshots, or logs.
  • Project site: Just Serp API.
  • Authentication details: Just Serp API Docs.

Output Focus

  • State the operation ID and endpoint path used, for example aiMode on /api/v1/google/ai-mode.
  • Echo the required lookup scope (query) before summarizing results.
  • Prioritize fields that support this endpoint purpose: Get Google aI Mode data, including generated answers, follow-up prompts, and cited links, for AI search experience monitoring.
  • Return raw JSON only after the short, endpoint-specific summary.
  • If the backend errors, include the backend payload and the exact operation ID.