Scrape a Google search SERP for organic + ad results
curl --request POST \
--url https://api.scrapeunblocker.com/serpApi \
--header 'x-scrapeunblocker-key: <api-key>'import requests
url = "https://api.scrapeunblocker.com/serpApi"
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/serpApi', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Scraping
Scrape a Google search SERP for organic + ad results
Runs a Google web search for keyword and returns a normalized JSON structure with topAds, bottomAds, organic results, totalResults, aiOverview (Google’s AI-written summary and the hostnames it cites, or null when the search has none), and the proxy country actually used. Set pages_to_check 1-10 to paginate. wait_after_load adds a delay after the SERP loads (useful for sites where ads render late); captcha_pause lets you eyeball / solve a CAPTCHA when running interactively.
Scrape a Google search SERP for organic + ad results
curl --request POST \
--url https://api.scrapeunblocker.com/serpApi \
--header 'x-scrapeunblocker-key: <api-key>'import requests
url = "https://api.scrapeunblocker.com/serpApi"
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/serpApi', 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
Required range:
1 <= x <= 10Required range:
x >= 0Required range:
x >= 0Response
JSON with organic/ads/totals.

