curl --request POST \
--url https://api.scrapeunblocker.com/search/google-ai-mode \
--header 'x-scrapeunblocker-key: <api-key>'import requests
url = "https://api.scrapeunblocker.com/search/google-ai-mode"
headers = {"x-scrapeunblocker-key": "<api-key>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {'x-scrapeunblocker-key': '<api-key>'}};
fetch('https://api.scrapeunblocker.com/search/google-ai-mode', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Scrape a Google AI Mode answer
Asks Google AI Mode (the udm=50 AI Mode tab, not the AI Overview on a results page) the question q and returns its full answer as JSON: answer.text (plain text), answer.markdown and answer.blocks (paragraphs, headings, lists, tables and code, in order), references (the pages the answer cites: title, url, domain, source, snippet), links (links written into the answer text) and followUps (the follow-up questions Google closes the answer with, if any). Set proxy_country to ask from a market - the Google market (gl) follows it - and hl for the answer’s language. Answers differ between identical requests, as they do for a person.
curl --request POST \
--url https://api.scrapeunblocker.com/search/google-ai-mode \
--header 'x-scrapeunblocker-key: <api-key>'import requests
url = "https://api.scrapeunblocker.com/search/google-ai-mode"
headers = {"x-scrapeunblocker-key": "<api-key>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {'x-scrapeunblocker-key': '<api-key>'}};
fetch('https://api.scrapeunblocker.com/search/google-ai-mode', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Authorizations
Your ScrapeUnblocker API key. Apply on every request.
Query Parameters
The question to ask Google AI Mode, e.g. 'how to learn python fast'.
Proxy country the request is sent from (ISO-2, e.g. 'US', 'DE'). The Google market (gl) follows it unless gl is set.
Optional Google market override (ISO-2, e.g. 'us', 'de'). Default: proxy_country, else 'us'.
Language Google answers in, e.g. 'en', 'de', 'pt-BR'. Default 'en'.
Response
JSON with the answer, its references and links.

