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.
- Prix
- $0.00015/successAu prix catalogue
- Taux de réussite
- 68,3 %30 derniers jours · 1 540 appels
- Latence p50
- 1.9 sp95 5.4 s
- Dernière vérification
- 7 oct. 2026Vérifié et opérationnel
GEThttps://toolswitch.dev/v1/tools/crawl4ai.google.serp.ai_mode?q=what+is+a+stock+split&deep=0Beta- Utilise le quota de la plateforme
- Réponse synchrone
- Lit des données publiques
Paramètres
| Paramètre | Type | Obligatoire | Description | Exemple |
|---|---|---|---|---|
| Paramètres de requête | ||||
q | chaîne | Obligatoire | the question, up to 4,000 characters | what is a stock split |
gl | chaîne | Facultatif | search country, e.g. us | |
hl | chaîne | Facultatif | search language, e.g. en | |
deep | chaîne | Obligatoire | must be 0: only Google's own answer | 0 |
nocache | chaîne | Facultatif | 1 skips every cache | |
- Paramètres de requête
qchaîneObligatoirethe question, up to 4,000 characters
Exemple :
what is a stock splitglchaîneFacultatifsearch country, e.g. us
hlchaîneFacultatifsearch language, e.g. en
deepchaîneObligatoiremust be 0: only Google's own answer
Exemple :
0nocachechaîneFacultatif1 skips every cache
Exemple de réponse
JSON
{
"ms": 0,
"query": "who founded stripe",
"usage": {
"units": 1
},
"answer": {
"text": "Stripe was founded by the Irish brothers Patrick Collison and John Collison in 2010. About the Founders Patrick Collison: Co-founder and Chief Executive Officer (CEO) of Stripe. He attended the Massachusetts Institute of Technology (MIT) before dropping out. John Collison: Co-founder and President of Stripe. He attended Harvard University before dropping out. Key Facts Previous Venture: The brothers sold their first startup, Auctomatic, for $5 million as teenagers in 2008. Founding",
"source": "google_ai_mode"
},
"cached": true,
"answered": true,
"experimental": true
}Exemples de code
Remplacez $TOOLSWITCH_KEY par la clé créée dans la console.
Beta
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());Cette API de passerelle est en version Beta ; son URL et son authentification peuvent changer. Les paramètres de l’exemple sont des données fictives. Les appels sont facturés à $0.00015/success, frais de service inclus.