---
title: "Google AI Mode results"
method: POST
path: "/v1/data/seo/serp-ai-mode"
tags: ["SEO: Search", "SEO: AI visibility"]
---

# Google AI Mode results

`POST /v1/data/seo/serp-ai-mode`

## Request

- Base URL: `https://api.superagnt.com`
- URL: `https://api.superagnt.com/v1/data/seo/serp-ai-mode`
- Auth: API key in header `Authorization`

Runs the query through Google's AI Mode and returns the AI-generated answer with its cited sources and references. Use it to see how Google's AI answers a question and which pages it cites, which is the core check for answer-engine optimization: is your (or a competitor's) content being used as a source? Costs about 2x a classic search.

## Request body

- object
  - `keyword` string, required: The question or query to run through Google AI Mode.
  - `location_code` integer: Geo target as a location code. Common values: 2840 United States (default), 2826 United Kingdom, 2124 Canada, 2036 Australia, 2276 Germany.
  - `language_code` string: Two-letter language code, e.g. 'en' (default).

## Response `200`

The AI-generated answer with cited sources in `result[0].items`.

- object

## Other responses

- `400`: Bad request or upstream task error.
- `401`: Unauthorized.
- `429`: Too many requests.
- `5XX`: Upstream error.

---

[API](https://skmtc.dev/superagnt/apis/superagnt-api.md) · [All operations](https://skmtc.dev/superagnt/apis/superagnt-api/llms.txt) · [OpenAPI document](https://skmtc.dev/superagnt/apis/superagnt-api/revisions/b2d8de30ccf0?raw)
