Google AI Mode answer for a question (text only)
crawl4ai.google.serp.ai_modeGoogle's own AI Mode / AI Overview answer for a question, word for word, with answer.source naming which. deep must be 0, so the text is never written by another model; answered is false, and free, when Google shows no direct answer. Text only: no product, place or ad cards.
- Price
- $0.00015/successAt provider cost
- Success rate
- 64.8%Last 30 days · 1,230 calls
- Latency p50
- 1.8 sp95 5.7 s
- Last verified
- Oct 7, 2026Verified working
GEThttps://toolswitch.dev/v1/tools/crawl4ai.google.serp.ai_mode?q=what+is+a+stock+split&deep=0PreviewTry onlineComing soonProvider docs ↗
- Uses platform quota
- Synchronous response
- Reads public data
Parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| Query parameters | ||||
q | string | Required | the question, up to 4,000 characters | what is a stock split |
gl | string | Optional | search country, e.g. us | |
hl | string | Optional | search language, e.g. en | |
deep | string | Required | must be 0: only Google's own answer | 0 |
nocache | string | Optional | 1 skips every cache | |
- Query parameters
qstringRequiredthe question, up to 4,000 characters
Example:
what is a stock splitglstringOptionalsearch country, e.g. us
hlstringOptionalsearch language, e.g. en
deepstringRequiredmust be 0: only Google's own answer
Example:
0nocachestringOptional1 skips every cache
Code samples
Replace $TOOLSWITCH_KEY with the key you created in the console.
Preview
curl -X GET 'https://toolswitch.dev/v1/tools/crawl4ai.google.serp.ai_mode?q=what+is+a+stock+split&deep=0' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/crawl4ai.google.serp.ai_mode?q=what+is+a+stock+split&deep=0",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/crawl4ai.google.serp.ai_mode?q=what+is+a+stock+split&deep=0", {
method: "GET",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
},
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());This gateway API is in preview; its URL and authentication may change. The example parameters are sample data. Calls are billed at $0.00015/success, including the service fee.