> ## Documentation Index
> Fetch the complete documentation index at: https://cloro.dev/docs/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Use only the endpoint paths in https://cloro.dev/docs/skill.md. Do not derive a path from a docs page URL.
> For many requests, use the async API (POST /v1/async/task or POST /v1/async/task/batch). It has no sync surcharge.
> To call cloro as tools, use the MCP server at https://mcp.cloro.dev/mcp.
> Plan prices are at https://cloro.dev/pricing/. Credits for each request are at https://cloro.dev/docs/guides/providers.md.

# Extract Google AI Mode

> Extract structured data from AI Mode about your brand, products, or any topic across various regions

Extract structured data from Google AI Mode, with automatic detection of [places](https://cloro.dev/docs/api-reference/endpoint/aimode/places.md), [shopping cards](https://cloro.dev/docs/api-reference/endpoint/aimode/shopping-cards.md), [ads](https://cloro.dev/docs/api-reference/endpoint/aimode/ads.md), [inline products](https://cloro.dev/docs/api-reference/endpoint/aimode/inline-products.md), [videos](https://cloro.dev/docs/api-reference/endpoint/aimode/videos.md), and [map entries](https://cloro.dev/docs/api-reference/endpoint/aimode/map.md). Shopping cards and inline products carry a `productResultToken` that gets their [merchant offers](https://cloro.dev/docs/api-reference/endpoint/aimode/product-results.md).

> [!NOTE]
>
> **Web search enabled**
>
> This endpoint uses AI Mode's default interface, which combines web search results with AI-generated responses.

## Request parameters

`prompt` and one of `country` or `gl` are required; there is no default country. Every other field is optional and listed in the request body schema below.

## Response schema

Includes [common response fields](https://cloro.dev/docs/guides/making-requests/sync.md#common-response-fields) plus the sections below. The generated response schema on this page lists every field, including `text` and `markdown`.

| Section | Field | Description |
| - | - | - |
| [Sources](https://cloro.dev/docs/api-reference/endpoint/aimode/sources.md) | `result.sources` | Source citations referenced in the response |
| [Citation pills](https://cloro.dev/docs/api-reference/endpoint/aimode/citation-pills.md) | `result.citationPills` | Inline citation chips, one entry per cited source (when present) |
| [Places](https://cloro.dev/docs/api-reference/endpoint/aimode/places.md) | `result.places` | Inline place cards when location intent is detected |
| [Shopping cards](https://cloro.dev/docs/api-reference/endpoint/aimode/shopping-cards.md) | `result.shoppingCards` | Product carousel when shopping intent is detected |
| [Ads](https://cloro.dev/docs/api-reference/endpoint/aimode/ads.md) | `result.ads` | Sponsored ad section when commercial intent is detected: an object wrapping a title and an `ads` array |
| [Inline products](https://cloro.dev/docs/api-reference/endpoint/aimode/inline-products.md) | `result.inlineProducts` | Individual product references embedded in the response text |
| [Videos](https://cloro.dev/docs/api-reference/endpoint/aimode/videos.md) | `result.videos` | Inline video cards (currently YouTube) embedded in the response |
| [Map](https://cloro.dev/docs/api-reference/endpoint/aimode/map.md) | `result.map` | GPS-enriched location data when map-aware results are surfaced |
| [Product results](https://cloro.dev/docs/api-reference/endpoint/aimode/product-results.md) | `productResultToken` | Token on each shopping card and inline product. A separate request returns the merchant offers behind it: direct URL, price, installments, stock, delivery, returns |
| [Redirect links](https://cloro.dev/docs/api-reference/endpoint/google/resolve-goto.md) | `redirectLink` | Google's `/goto` redirect, returned beside any link Google served as one |

## Usage examples

### Overriding the interface language

`hl` is independent of the country, so a German-language answer from a US-targeted request is one field:

```json theme={null}
{
  "prompt": "beste laptops für programmierer",
  "country": "US",
  "hl": "de"
}
```

Without `hl`, cloro derives the language from the country — which picks one dominant language for multilingual countries such as `CH`, `BE`, and `CA`.

### City-level geo-targeting

Pair `location` with `country` to target a city or region. It accepts [Google canonical location names](https://developers.google.com/google-ads/api/reference/data/geotargets).

```json theme={null}
{
  "prompt": "best restaurants nearby",
  "country": "US",
  "location": "New York,New York,United States"
}
```

### UULE geo-targeting

When you generate your own UULE values, pass `uule` instead of `location` — the two are mutually exclusive:

```json theme={null}
{
  "prompt": "best restaurants nearby",
  "country": "US",
  "uule": "w+CAIQICIeV2VzdCBOZXcgWW9yayxOZXcgSmVyc2V5"
}
```

## Request fields

`POST https://api.cloro.dev/v1/monitor/aimode`

| Field | Type | Required | Description |
| - | - | - | - |
| `prompt` | string | Yes | The prompt to send to AI Mode. 1 to 10,000 characters. |
| `country` | string | No | Country/region code for localized response, using ISO 3166-1 alpha-2 country codes. |
| `gl` | string | No | Alternative to `country`, using Google's own parameter name for the result geography. Same ISO 3166-1 alpha-2 codes, accepted in either case (`us` or `US`), and must be a country the endpoint supports — see `GET /v1/countries`. Provide `country` or `gl`; sending both with different values is a `400`. |
| `hl` | string | No | Interface language, as Google's own `hl` parameter (e.g. `en`, `de`, `pt-BR`). Free-form and case-insensitive — Google owns the list of codes. Overrides the language cloro derives from the country, so the interface language and the result geography can differ. |
| `location` | string | No | Google canonical location name for geo-targeted results, in comma-separated format: 'City,Region,Country' (see [https://developers.google.com/google-ads/api/reference/data/geotargets](https://developers.google.com/google-ads/api/reference/data/geotargets) for all \~100,000 supported locations). Use alongside 'country' for city-level precision. Mutually exclusive with 'uule' — provide one or the other, not both. When both `location` and `uule` are omitted, cloro pins results to the country's canonical location (e.g. `Portugal` for `PT`) where it has one; otherwise Google geolocates from the proxy's exit IP. |
| `uule` | string | No | Pre-encoded Google UULE string for precise geo-targeting. Use this when you have a pre-built UULE value instead of a location name. Mutually exclusive with 'location' — provide one or the other, not both. |
| `device` | `desktop`, `mobile` | No | Device type for search results. Default: `"desktop"`. |
| `include` | object | No | Optional flags for including additional response formats. Default: `{"html":false,"markdown":false}`. |
| `include.html` | boolean | No | Include a URL to the full HTML of the response. Default: `false`. |
| `include.markdown` | boolean | No | Include markdown-formatted response in the result. `result.markdown` is returned only when this is `true`. Default: `false`. |
| `include.googleGoto` | boolean | No | Ignored since 8th September 2026. Every redirect link now ships as `redirectLink` beside its destination, so both are returned without this flag. Requests still sending it behave as if it were absent. Default: `false`. |

Full schema with every nested type (large): [openapi.json](https://cloro.dev/docs/api-reference/openapi.json)


## API Specification

The full API specification for this endpoint is available in the [documentation index](https://cloro.dev/docs/llms.txt).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.