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>",
"input": "<unknown>",
"ctx": {}
}
]
}Scrape a Google search SERP for organic + ad results
Runs a Google web search for keyword and returns a normalized JSON structure with organic results (title, real url, description, position, displayedUrl, domain, source - the site’s name - date when Google shows one, favicon, sitelinks [], rating , richSnippet - the extra facts line under the snippet - and thumbnail; each always present, [] or null when Google shows none), topAds / bottomAds (title, url, description, position, displayedUrl, domain, advertiser, favicon, sitelinks; a sitelink behind an ad click tracker has url null), totalResults, aiOverview (Google’s AI-written summary as text and markdown, the hostnames it cites as sources, and the cited pages as references with title, real URL, source, domain and snippet; null when the search has none), and the proxy country actually used. The first page’s other blocks come too, each empty ([]) or null when the page has none: peopleAlsoAsk (question), relatedSearches (the suggested searches, as strings), relatedSearchLinks (the same searches as ), knowledgeGraph (title, subtitle, description, source , attributes - the panel’s labelled facts), topStories (title, url, source, date, publishedAt), videos (title, url, platform, channel, date, duration), localResults (the map pack, same fields as /maps/google-local), shoppingResults (product cards: title, price, currency, merchant, rating, reviewCount, …) and spellingCorrection (type, query). Set pages_to_check 1-10 to paginate. wait_after_load adds a delay after the SERP loads.
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>",
"input": "<unknown>",
"ctx": {}
}
]
}Authorizations
Your ScrapeUnblocker API key. Apply on every request.
Query Parameters
The search query, as typed into Google.
Two-letter ISO country code (e.g. de, us) of the country the request is made from, so the site serves that country's prices, language and content. Omit it and the country is picked for you. An unsupported code answers 400 with the list of available countries.
How many Google result pages to fetch and merge, 1-10. Each page rendered is billed as one request; pagesFetched in the response says how many were.
1 <= x <= 10Extra seconds to wait before extraction, on top of our own wait. Rarely needed.
x >= 0Kept for compatibility; it has no effect. Leave it at 0.
x >= 0Response
JSON with organic results, ads, totals and the page's other blocks.

