Google Light Search API
The Google Light Search API provides a simplified version of Google Search, delivering essential results such as organic listings, knowledge graphs, top stories and related searches. By returning fewer data points, it achieves significantly faster performance compared to full search outputs.
Google now serves organic result links as encrypted redirects (https://www.google.com/goto?url=...). The top three organic result links are resolved to their destination URL for you. Every other redirect link comes with a link_token: send it to the Google Resolve API to get the destination URL, free of charge.
API Parameters
Search Query
-
- Name
-
q - Required
- Required
- Description
-
This parameter is used for the terms you want to search on Google. Queries can include operators and advanced filters like "machine learning models",
site:,inurl:, orintitle:.
Geographic Location
-
- Name
-
location - Required
- Optional
- Description
-
This parameter is used to specify the canonical location of the search. For exact targeting or to see all available options, check out the Locations API. If multiple locations match your input, the most popular one will be selected. Add the region or country after a comma to pick a specific place:
location=Kansas City, KansasselectsKansas City,Kansas,United States.
-
- Name
-
uule - Required
- Optional
- Description
-
This parameter sets the exact Google-encoded location for the search, and
uuleandlocationcannot be used at the same time. SearchApi builds it for you when you use thelocationparameter, but you can provide your own if you want precise control.
-
- Name
-
latitude - Required
- Optional
- Description
-
Latitude of the search location, in decimal degrees (-90 to 90). Use with
longitude. Cannot be combined withlocationoruule.
-
- Name
-
longitude - Required
- Optional
- Description
-
Longitude of the search location, in decimal degrees (-180 to 180). Use with
latitude. Cannot be combined withlocationoruule.
Localization
-
- Name
-
google_domain - Deprecated
- Deprecated
- Required
- Optional
- Description
-
As of Apr 15, 2025, Google began phasing out country code top-level domains (ccTLDs). Users using the search bar or visiting local domains like
google.deorgoogle.co.ukare now automatically redirected togoogle.com. For localized searches, use thegl(country),hl(language) or other localization parameters instead. Learn more in Google's official announcement. See the full list of supported Google domains.
-
- Name
-
gl - Required
- Optional
- Description
-
The default parameter
usdefines the country of the search. Check the full list of supported Googleglcountries. Whenlatitudeandlongitudeare used,glis inferred from the coordinates, and coordinates in a country this engine does not support are rejected.
-
- Name
-
hl - Required
- Optional
- Description
-
The default parameter
endefines the interface language of the search. Check the full list of supported Googlehllanguages.
-
- Name
-
lr - Required
- Optional
- Description
-
The lr parameter restricts search results to documents written in a particular language or a set of languages. The accepted format for this parameter is
lang_{2-letter country code}. For instance, to filter documents written in Japanese, the value should be set tolang_jp. To incorporate multiple languages, a value likelang_it|lang_derestricts the search to documents written in either Italian or German. Google identifies the document language based on the top-level domain (TLD) of the document's URL, any language meta tags present, or the language utilized within the document's body text. Check the full list of supported Googlelrlanguages.
Filters
-
- Name
-
nfpr - Required
- Optional
- Description
-
This parameter controls whether results from queries that have been auto-corrected for spelling errors are included. To exclude these auto-corrected results, set the value to
1. By default, the value is0, meaning auto-corrected results are included.
-
- Name
-
filter - Required
- Optional
- Description
-
This parameter controls whether the "Duplicate Content" and "Host Crowding" filters are enabled. Set the value to
1to enable these filters, which is the default setting. To disable these filters, set the value to0.
-
- Name
-
safe - Required
- Optional
- Description
-
This parameter toggles the SafeSearch feature for the results. SafeSearch operates by filtering out adult content from your search results. Google's filters use proprietary technology to check keywords, phrases and URLs. While no filters are 100 percent accurate, SafeSearch will remove the overwhelming majority of adult content from your search results. Supported values are
activeto enable strict SafeSearch,blurto blur explicit images, andoffto disable SafeSearch. By default, the value isblur.
Pagination
-
- Name
-
num - Required
- Optional
- Description
-
Phased out by Google on September 2025. It is now constant 10. Check the Google Rank Tracking API for
num=100support.
-
- Name
-
page - Required
- Optional
- Description
-
This parameter indicates which page of results to return. By default, it is set to
1. Pages after the first of a query that needs two or more quoted phrases (phrases joined byORor|count as one), excludes a word or phrase with a leading-, or uses an advanced operator (site:,intitle:,inurl:,filetype:and similar) come from Google's Web results. So does page 1 of a query with asite:orwebsite:operator that is not excluded with a leading-. Those pages follow thegoogleengine's response shape: each organic result also carriessource,domain,faviconandsnippet_highlighted_words, itsdisplayed_linkincludes the scheme, and the page can include anadsblock.
Engine
-
- Name
-
engine - Required
- Required
- Description
-
Parameter defines an engine that will be used to retrieve real-time data. It must be set to
google_light.
API key
-
- Name
-
api_key - Required
- Required
- Description
-
The
api_keyauthenticates your requests. Use it as a query parameter (https://www.searchapi.io/api/v1/search?api_key=YOUR_API_KEY) or in the Authorization header (Bearer YOUR_API_KEY).
Zero Data Retention
-
- Name
-
zero_retention - Enterprise Only
- Enterprise Only
- Required
- Optional
- Description
-
Set this parameter to
trueto disable all logging and persistent storage. No request parameters, HTML, or JSON responses are stored or logged. Suitable for high-compliance use cases. Debugging and support may be limited while enabled.
API Examples
Organic Results
https://www.searchapi.io/api/v1/search?engine=google_light&q=chatgpt
- Python
- Node
- Ruby
- Java
- Go
- PHP
- Bash
- R
- Kotlin
- Swift
- C#
- C
- C++
- requests
import requests
url = "https://www.searchapi.io/api/v1/search"
params = {
"engine": "google_light",
"q": "chatgpt"
}
response = requests.get(url, params=params)
print(response.text)
{
"search_metadata": {
"id": "search_LqdKeRrXoaEwuz47o0Pl1Ymz",
"status": "Success",
"created_at": "2025-05-17T19:31:31Z",
"request_time_taken": 0.52,
"parsing_time_taken": 0.01,
"total_time_taken": 0.53,
"request_url": "https://www.google.com/search?q=chatgpt&oq=chatgpt&gl=us&hl=en&sourceid=chrome&ie=UTF-8",
"html_url": "https://www.searchapi.io/api/v1/searches/search_LqdKeRrXoaEwuz47o0Pl1Ymz.html",
"json_url": "https://www.searchapi.io/api/v1/searches/search_LqdKeRrXoaEwuz47o0Pl1Ymz"
},
"search_parameters": {
"engine": "google_light",
"q": "chatgpt",
"device": "desktop",
"hl": "en",
"gl": "us"
},
"organic_results": [
{
"position": 1,
"title": "Introducing ChatGPT - OpenAI",
"link": "https://openai.com/index/chatgpt/",
"displayed_link": "openai.com › index › chatgpt",
"snippet": "We've trained a model called ChatGPT which interacts in a conversational way. The dialogue format makes it possible for ChatGPT to answer ...",
"date": "Nov 30, 2022",
"sitelinks": {
"inline": [
{
"title": "GPT",
"link": "https://openai.com/chatgpt/overview/"
},
{
"title": "Search",
"link": "https://openai.com/index/introducing-chatgpt-search/"
},
{
"title": "Introducing ChatGPT Pro",
"link": "https://openai.com/index/introducing-chatgpt-pro/"
},
{
"title": "Download",
"link": "https://openai.com/chatgpt/download/"
}
]
}
},
{
"position": 2,
"title": "OpenAI",
"link": "https://openai.com/",
"displayed_link": "openai.com",
"snippet": "What can I help with? Message ChatGPT. Quiz me on vocabulary. Plan a surf trip to Costa Rica in August."
},
...
],
}
Knowledge Graph
https://www.searchapi.io/api/v1/search?engine=google_light&q=Microsoft
- Python
- Node
- Ruby
- Java
- Go
- PHP
- Bash
- R
- Kotlin
- Swift
- C#
- C
- C++
- requests
import requests
url = "https://www.searchapi.io/api/v1/search"
params = {
"engine": "google_light",
"q": "Microsoft"
}
response = requests.get(url, params=params)
print(response.text)
{
"knowledge_graph": {
"title": "Microsoft",
"type": "Technology company",
"source": {
"name": "Wikipedia",
"link": "https://www.google.com/url?opi=89978449&q=CAESYgHrOzAVKWRm3aUOH_mVliup5uaymaAEin81dLLR0t7x37QnD9qody-eLCIXpvNVOHk6byi92vejQu5qH09-15fp2ymaWHWhazf7zBJRb3di2bAYK2Zf7biIwvyDSuKmvNog&sa=U&uoh=3&ved=2ahUKEwj674DimMyXAxWgVUEAHZnLCWoQmhN6BAgVEAc&usg=AOvVaw3rRy1ym_VxoZcJKDbekjxP"
},
"description": "Microsoft Corporation is an American multinational technology conglomerate headquartered in Redmond, Washington.",
"ceo": "Satya Nadella (Feb 4, 2014–)",
"cfo": "Amy Hood",
"cmo": "Takeshi Numoto",
"president": "Bradford L. Smith",
"headquarters": "Redmond, WA",
"cto": "Kevin Scott and Victor Bahl",
"founders": "Bill Gates and Paul Allen",
"thumbnail": "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQsocKR1GfOCuMZwWu0cGmHbuP95oUwikb02QtKRQwmHIvryIvgqmdFEQ&s=0"
}
}
Top Stories
https://www.searchapi.io/api/v1/search?engine=google_light&q=formula+1
- Python
- Node
- Ruby
- Java
- Go
- PHP
- Bash
- R
- Kotlin
- Swift
- C#
- C
- C++
- requests
import requests
url = "https://www.searchapi.io/api/v1/search"
params = {
"engine": "google_light",
"q": "formula 1"
}
response = requests.get(url, params=params)
print(response.text)
{
"top_stories": [
{
"title": "Pacsun Launches Texas-inspired Collection for 2026 Formula 1 US Grand Prix in Austin",
"link": "https://www.google.com/url?opi=89978449&q=CAESpwEB6zswFe1QV_TmZWHY41-b3wkfAz-nlGrKIkAG6Qzgp05TuRyYARGa2tKVZ35BpqobVPn18UKsgxgmCIjIF5jJnJZfg4iFxGGe6RZ3ZPjCvDYhWHKSc97tWroO_9CiFlsTDIHMQYsGsAbJU1I53NbYck23J6802JZ_pSMwsxZjO3orczbm0EllpvnzBljJuv5iPL-0OOefXi7Ckigi6npwUUAAuqmHkw&sa=U&uoh=3&ved=2ahUKEwiFpY-Dt86XAxVg8MkDHfFEKRwQ0PADegQIDBAD&usg=AOvVaw2_yDVCzz7_ftPhzGBNG4OL",
"source": "WWD",
"date": "32 minutes ago"
},
{
"title": "Former F1 CEO reveals third US city targeted alongside Miami and Las Vegas",
"link": "https://www.google.com/url?opi=89978449&q=CAESsgEB6zswFQ4CEhQ5tp7rMD6SFyClCA0mzXX9vrV0BZhphbJr5uyDl4tfo0kDoVlNnZFbqyWCZZEfnbYF3XOtXo-YsnQDYgTgrhIpVd42OI5vyrQWc1IhKpxVCtfbFGuT4N6hgj9dsFhODItoMzO92fq6SQ-DJluiioqI0L7CMmaoyl0ofiF1QRTmEfnJYTIKM30tZ3MsAB3lTBlGwUzs-BoE4REZDEpsc9t6UhamIelPgZwZ&sa=U&uoh=3&ved=2ahUKEwiFpY-Dt86XAxVg8MkDHfFEKRwQ0PADegQIDBAH&usg=AOvVaw3dRLvJno8UxLTRRg_8QiQa",
"source": "Motorsport.com",
"date": "2 hours ago"
},
...
]
}
Latest Posts
https://www.searchapi.io/api/v1/search?engine=google_light&q=microsoft
- Python
- Node
- Ruby
- Java
- Go
- PHP
- Bash
- R
- Kotlin
- Swift
- C#
- C
- C++
- requests
import requests
url = "https://www.searchapi.io/api/v1/search"
params = {
"engine": "google_light",
"q": "microsoft"
}
response = requests.get(url, params=params)
print(response.text)
{
"latest_posts": [
{
"title": "AI-driven, large-scale nation-state campaign using ARTEX enables supply chain compromise",
"link": "https://www.google.com/url?opi=89978449&q=CAESuQEB6zswFVHQQFfw1rqZB8Ix7k5cfl8vNJ70v3RshZaB_VY17SfTK37LpD-KB9NVyumeB3qo7Vtl_lL3CoMXvDbNwBC5UO5uXI-dM5B6IBsivc9GGugF32hmWOSvuzXbD6fFSAkTfFCAVULZLcdEfrlAcdW2s9DqmooAEf_U2GcY5x80BpBIuZ_s54XzfZ7Wc9J2VIR6_S3I-pLQJvDw09Q_h-6Atw1BLb_p_FZfgnu5zrP4qqKLvOIlOA&sa=U&uoh=3&ved=2ahUKEwiuz5TQmcyXAxWpgf0HHSJ0DjEQlO8DegQIFRAD&usg=AOvVaw3RFFMMHYDYLQa2yWI5wHcc",
"source": "Microsoft",
"date": "4 hours ago"
},
{
"title": "Solving a 31-year-old grand challenge in mathematics – the KLS conjecture",
"link": "https://www.google.com/url?opi=89978449&q=CAESsQEB6zswFdOnGlbwaLt3cIuqshvWTL6afDjOeQ5et-Gzgm6kT-uE8cF7nkuYYYQGKv_0vih6XbX2fVH1mwzZbIX9iQIT1Fcj6HIkZgZKQLpCnZLKUtqdrkg4IrmJ7aTD03hVFYJMk25tZBCmmN0YpN4jQxivHYBgf_1cVCiqIavu-DyeW_o3Vke_h_SjpcnHNz6w036tjw4da9uOFmytCxw21-u7uw4Pxnvf8W15o36C96s&sa=U&uoh=3&ved=2ahUKEwiuz5TQmcyXAxWpgf0HHSJ0DjEQlO8DegQIFRAH&usg=AOvVaw1eqTvV2cX-1FoqXQYm_Xlg",
"source": "Microsoft",
"date": "7 hours ago"
},
...
]
}
Related Searches
https://www.searchapi.io/api/v1/search?engine=google_light&q=Bicycle
- Python
- Node
- Ruby
- Java
- Go
- PHP
- Bash
- R
- Kotlin
- Swift
- C#
- C
- C++
- requests
import requests
url = "https://www.searchapi.io/api/v1/search"
params = {
"engine": "google_light",
"q": "Bicycle"
}
response = requests.get(url, params=params)
print(response.text)
{
"related_searches": [
{
"query": "Bicycle for kids"
},
{
"query": "Bicycle price"
},
{
"query": "Bicycle Cards"
},
...
]
}