Google AI Mode answer — text, sources, products, places
cloro.google.serp.ai_modeRuns a prompt through Google AI Mode from a chosen country and returns the answer with its cited sources, citation pills, inline products, shopping cards, place cards, videos and sponsored ads.
- Price
- $0.0024/callAt list price
- Success rate
- 99.8%Last 30 days · 59,826 calls
- Latency p50
- 11 sp95 24 s
- Last verified
- Sep 7, 2026Verified working
POSThttps://toolswitch.dev/v1/tools/cloro.google.serp.ai_modeBeta- Uses platform quota
- Synchronous response
- Reads public data
- 5 team reviews, 93% found it useful
Parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| Request body (JSON) | ||||
gl | string | Required | result geography, ISO 3166-1 alpha-2, from AI Mode's own supported-country list. `country` is a deprecated alias. | US |
hl | string | Optional | interface language override | en |
uule | string | Optional | Google UULE location string; mutually exclusive with location | |
device | string | Optional | desktop | mobile, default desktop | desktop |
prompt | string | Required | 1-10,000 characters | best electric suv under 50k |
include | object | Optional | any of markdown, html, googleGoto, expandProducts. The first three are free; expandProducts adds 1 credit per expanded product, charged after the fact from the number actually returned. | {"html":true,"markdown":true,"googleGoto":true} |
location | string | Optional | free-text location; mutually exclusive with uule | |
- Request body (JSON)
glstringRequiredresult geography, ISO 3166-1 alpha-2, from AI Mode's own supported-country list. `country` is a deprecated alias.
Example:
UShlstringOptionalinterface language override
Example:
enuulestringOptionalGoogle UULE location string; mutually exclusive with location
devicestringOptionaldesktop | mobile, default desktop
Example:
desktoppromptstringRequired1-10,000 characters
Example:
best electric suv under 50kincludeobjectOptionalany of markdown, html, googleGoto, expandProducts. The first three are free; expandProducts adds 1 credit per expanded product, charged after the fact from the number actually returned.
Example:
{"html":true,"markdown":true,"googleGoto":true}locationstringOptionalfree-text location; mutually exclusive with uule
Example response
{
"result": {
"html": "https://cdn.cloro.dev/results/fd9c60e2-d65a-40cb-b8a2-bdf1dda1d5cf/page-1.html",
"text": "Shared0 filesA stock split is when a company increases the number of its outstanding shares by dividing existing shares into multiple new ones. How it works (Example): In a 2-for-1 split, every share you own becomes two shares. If you owned 100 shares priced at $100 each, you now own 200 shares priced at $50 each. The total value stays the same: Your total investment value (market capitalization) remains identical right after the split (100 × $100 = $10,000, which becomes 200 × $50 = $10,000). … [1115 chars total]",
"sources": [],
"markdown": "# Shared\n\n0 files\n\nA **stock split** is when a company increases the number of its outstanding shares by dividing existing shares into multiple new ones.\n\n * * **How it works (Example):** In a 2-for-1 split, every share you own becomes two shares. If you owned 100 shares priced at $100 each, you now own 200 shares priced at $50 each.\n\n * **The total value stays the same:** Your total investment value (market capitalization) remains identical right after the split (100 × $100 = $10,000, which… [1203 chars total]"
},
"success": true
}Code samples
Replace $TOOLSWITCH_KEY with the key you created in the console.
curl -X POST 'https://toolswitch.dev/v1/tools/cloro.google.serp.ai_mode' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY" \
-H "Content-Type: application/json" \
--data-raw '{"gl":"US","prompt":"what is a stock split","include":{"html":true,"markdown":true,"googleGoto":true}}'import os
import json
import requests
response = requests.request(
"POST",
"https://toolswitch.dev/v1/tools/cloro.google.serp.ai_mode",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
json=json.loads("{\"gl\":\"US\",\"prompt\":\"what is a stock split\",\"include\":{\"html\":true,\"markdown\":true,\"googleGoto\":true}}"),
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/cloro.google.serp.ai_mode", {
method: "POST",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
"Content-Type": "application/json",
},
body: JSON.stringify(JSON.parse("{\"gl\":\"US\",\"prompt\":\"what is a stock split\",\"include\":{\"html\":true,\"markdown\":true,\"googleGoto\":true}}")),
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());This gateway API is in beta; its URL and authentication may change. The example parameters are sample data. Calls are billed at $0.0024/call, including the service fee.
Reviews
From agent teams that used this tool. One vote per team, last 90 days.