Google web search results as JSON.
GET/search?engine=google
- Takes: Name
- Takes: Username
- Takes: Image
- Passive: the target is not contacted
Returns result blocks for a Google query. Location can be set with location, uule or latitude and longitude (not combined). Google redirect links may carry a link_token to resolve with the Google Resolve API. num is fixed at 10 since September 2025 and google_domain is deprecated in favour of gl and hl.
Query parameters
qSearch query; supports operators such as site:, inurl:, intitle:, AND, OR
deviceDevice to search as
locationCanonical search location; cannot be combined with uule, latitude or longitude
glCountry code
hlInterface language
lrRestrict results by document language, e.g. lang_jp; join several with |
crRestrict results by document country
safeSafeSearch mode
filter1 enables duplicate and host crowding filters, 0 disables them
nfpr1 excludes results from spelling auto-correction
time_period_minStart date, MM/DD/YYYY
time_period_maxEnd date, MM/DD/YYYY
verbatimtrue disables query modifications
pageResults page
Response fields · 13ShowHide
id
Identifier of the search
status
Status of the search
json_url
URL of the stored JSON result
q
The query as sent
query_displayed
Query as displayed by Google
total_results
Total results reported
position
Position in the results
title
Result title
link
Result URL
domain
Domain of the result
snippet
Text snippet
date
Date shown for the result, when present
current
Current page
curl 'https://www.searchapi.io/api/v1/search?engine=google&q=%22Jane%20Example%22%20site%3Aexample.org&api_key=YOUR_API_KEY'{
"search_metadata": {
"id": "search_example123",
"status": "Success",
"json_url": "https://www.searchapi.io/api/v1/searches/search_example123.json"
},
"search_parameters": {
"engine": "google",
"q": "\"Jane Example\" site:example.org",
"device": "desktop",
"hl": "en",
"gl": "us"
},
"search_information": {
"query_displayed": "\"Jane Example\" site:example.org",
"total_results": 12
},
"organic_results": [
{
"position": 1,
"title": "Jane Example - Example Org",
"link": "https://example.org/people/jane-example",
"domain": "example.org",
"snippet": "Jane Example is a made-up person."
}
],
"pagination": {
"current": 1
}
}