Google Product Offers API
Google changed how this product detail endpoint authenticates and now requires a product_token minted by the Google Shopping API.
- The
product_idandprdsparameters have been removed. Requests using them now return400 Bad Request. - The
product_tokenparameter is now required. Mint one by calling the Google Shopping API and reuse theproduct_tokenreturned in eachshopping_resultsentry. - Need backward compatibility? Use the Google Product Page API instead. It still accepts
product_id,prds, and olderproduct_tokenformats without re-minting.
API Parameters
Search Query
-
- Name
-
product_token - Required
- Required
- Description
-
Identifies the product. Mint one via the Google Shopping API and reuse the
product_tokenreturned in anyshopping_resultsentry.
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.
-
- 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.
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. See the full list of Google Productglcountries.
-
- Name
-
hl - Required
- Optional
- Description
-
The default parameter
endefines the interface language of the search. Check the full list of supported Googlehllanguages.
Pagination
-
- Name
-
page - Required
- Optional
- Description
-
This parameter indicates which page of offers to return. First page returns 5 results, next pages returns up to 10 offers. Note: this parameter is not compatible with a custom
prdsparameter.
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_product_offers.
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
Full Response
https://www.searchapi.io/api/v1/search?engine=google_product_offers&product_token=eyJxIjoiUFM1IiwiZ2wiOiJ1cyIsImhsIjoiZW4iLCJlaSI6Ijg5b0phc0NVQjctcXB0UVBvcUxWNkFNIiwicHJvZHVjdGlkIjoiNTU5OTg4NDYwMzM4MTA3MDE5MCIsImNhdGFsb2dpZCI6IjE1MzQ5MjA2MTY1OTE5MTA3NzYzIiwiZ3BjaWQiOiIxMDI1Mjk1OTc4NjA2NTE0MTA5NCIsImhlYWRsaW5lT2ZmZXJEb2NpZCI6IjE2NjA5ODk0MDEwMDU3NzE1MjMyIiwiaW1hZ2VEb2NpZCI6IjE2Nzc3Nzg3ODExOTA3NjMyMTc1Iiwib2FwdmZjIjoiRW93RENzd0NRVTF1TXkxNVUzTkJVMVJQTVdKV05uUlZWbEJ2ZEVvMlQxUm5OVVZGT0daWWIxbzJNekZ3TVZoR1RWWlZORkV4TnpWaVJGVmlSWGhEWkd0MGRYUm9PVFF3Y1VwVVVFVXRXbWxyYzJacWFuSmtTM0ZET0VGT1QwZHpRM1ZFY0VGWFlUUldUREpCZFRWWFJuUkpiRlZQUVZaV05sOU1OR2RDTkV0QmNFeEhXbTl6WTNOeUxXdHdSR040VFRCSVFrMXROMkpmZFdOcFFscHBZeTFGUm1kcmJscFVXblpuTVhwVlRXazJOamhJYkc5NWNHbG5XRTl4U0VwVGFtNUhhbkZPZDFOM1p6SmlTVk54T1ZOVWRubEZTMHRmVkRVMFZ6bHdTUzFTU3pKVVlXVm5hRlpqYkY4NWNFWjFlbG80TkRaWFZFTjZWVGRZUXpOTU5HNWpjbU5EY25BeU5VZG1UakZ1WkZCU1JERnNRbGw1TlRobU1rdDVZV3h6ZWxoc2IxbHFhME5PYzFWRVJ6UTVMVmRRZFdFemNGaFNaREJSZDFsRlh6RlhWR1l4TldKNGNYSXhNWE5EWW1aNllUa1NGemc1YjBwaGMwTlZRamN0Y1hCMFVWQnZjVXhXTmtGTkdpSkJTa3RNUm0xS2EwZDNWR0pLU0ZwaU9HUkhNVXhOU21ZMk1FZHBaMVkyT0ZwUiIsInhzcmYiOiJBS1BPcjFRcHZyYnFyLS05MVlBaERhUWFScHlBUURYU3JnOjE3NzkwMzA3NzE0OTciLCJjb29raWUiOiJwbmt4S3ZVZEgxUHIycU1NTmxwa0VQbmdBbW51VHZCQTRsdkJmMkQ2LzIvbkxXVWUxVXZUKzVoMEU3N2RJZXdTakhNUlk3Tk5QMUdSWmNJWHl6dUdzK3VzMmdQZXpCa0N0N0ZNTUhlUHZ0WkVrYjVzVEJEenRjQzhBVWphSjVKYTh2VHJWaUpqdENaMU1hOGZmdHlONGR6c0pWWXdQTDBUL3JtSVZ1cEpFSmJERGJuZVRsbjI5NDhnYmV6ZlBwdDY5Z0dpemdxR0NOOXZnZitYS0tqV3JQMWhNRThybGpoVkV1VitVSS9wbzg4MzJMUVRtV0JTQ3g0SSt2VDlXYTRjQ29YMytLNFJTdTU3ekV3S0libmtOclh2a1MxTmt3U0s2b045U0pMNnFKK0RHanJmeVJDbnBxYW5qL1B0VHlKeldjVjVxWXBiTnZWTE5aVUlJc1h3TERPZisxRT0tLUtqM28xQnFMdm50aDNmeG4tLWxWL2NBWGVwL29iRHNlTUhPVUJQL1E9PSJ9
- 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_product_offers",
"product_token": "eyJxIjoiUFM1IiwiZ2wiOiJ1cyIsImhsIjoiZW4iLCJlaSI6Ijg5b0phc0NVQjctcXB0UVBvcUxWNkFNIiwicHJvZHVjdGlkIjoiNTU5OTg4NDYwMzM4MTA3MDE5MCIsImNhdGFsb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dkJmMkQ2LzIvbkxXVWUxVXZUKzVoMEU3N2RJZXdTakhNUlk3Tk5QMUdSWmNJWHl6dUdzK3VzMmdQZXpCa0N0N0ZNTUhlUHZ0WkVrYjVzVEJEenRjQzhBVWphSjVKYTh2VHJWaUpqdENaMU1hOGZmdHlONGR6c0pWWXdQTDBUL3JtSVZ1cEpFSmJERGJuZVRsbjI5NDhnYmV6ZlBwdDY5Z0dpemdxR0NOOXZnZitYS0tqV3JQMWhNRThybGpoVkV1VitVSS9wbzg4MzJMUVRtV0JTQ3g0SSt2VDlXYTRjQ29YMytLNFJTdTU3ekV3S0libmtOclh2a1MxTmt3U0s2b045U0pMNnFKK0RHanJmeVJDbnBxYW5qL1B0VHlKeldjVjVxWXBiTnZWTE5aVUlJc1h3TERPZisxRT0tLUtqM28xQnFMdm50aDNmeG4tLWxWL2NBWGVwL29iRHNlTUhPVUJQL1E9PSJ9"
}
response = requests.get(url, params=params)
print(response.text)
{
"search_metadata": {
"id": "search_KQrlGNWjgNE7uG16pZVeALdm",
"status": "Success",
"created_at": "2025-09-23T16:28:17Z",
"request_time_taken": 1.24,
"parsing_time_taken": 0.02,
"total_time_taken": 1.26,
"request_url": "https://www.google.com/search?q=PS5&oq=PS5&gl=us&hl=en&udm=28#oshopproduct=oid:9784129915425045884,iid:6744322870047317904,rds:UENfNzI4MDI4MjAxMjE0Njk3NDM4OXxQUk9EX1BDXzcyODAyODIwMTIxNDY5NzQzODk=,pvt:hg,pvo:3&oshop=apv&pvs=0",
"html_url": "https://www.searchapi.io/api/v1/searches/search_KQrlGNWjgNE7uG16pZVeALdm.html",
"json_url": "https://www.searchapi.io/api/v1/searches/search_KQrlGNWjgNE7uG16pZVeALdm"
},
"search_parameters": {
"engine": "google_product_offers",
"product_token": "eyJxIjoiUFM1IiwicHJvZHVjdGlkIjoiIiwiY2F0YWxvZ2lkIjoiMTk3NDM2OTQ1NTYwODk1MzYwNCIsImdwY2lkIjoiNzI4MDI4MjAxMjE0Njk3NDM4OSIsImhlYWRsaW5lT2ZmZXJEb2NpZCI6Ijk3ODQxMjk5MTU0MjUwNDU4ODQiLCJyZHMiOiJQQ183MjgwMjgyMDEyMTQ2OTc0Mzg5fFBST0RfUENfNzI4MDI4MjAxMjE0Njk3NDM4OSIsImltYWdlRG9jaWQiOiI2NzQ0MzIyODcwMDQ3MzE3OTA0IiwicHZvIjoiMyIsImVpIjoiT2NyU2FOZVlFIiwibWlkIjoiNTc2NDYyODIyMzM2MTIxMDQzIiwicHZ0IjoiaGciLCJnbCI6InVzIiwiaGwiOiJlbiIsInV1bGUiOiJ3K0NBSVFJQ0lZUTJGc2FXWnZjbTVwWVN4VmJtbDBaV1FnVTNSaGRHVnoifQ==",
"hl": "en",
"gl": "us",
"page": 1
},
"search_information": {
"total_offers": 3419
},
"product": {
"product_id": "1974369455608953604",
"title": "Sony PlayStation 5 Slim Console Digital Edition",
"link": "https://www.google.com/search?q=PS5&oq=PS5&gl=us&hl=en&udm=28#oshopproduct=oid:9784129915425045884,iid:6744322870047317904,rds:UENfNzI4MDI4MjAxMjE0Njk3NDM4OXxQUk9EX1BDXzcyODAyODIwMTIxNDY5NzQzODk=,pvt:hg,pvo:3&oshop=apv&pvs=0",
"brand": "Sony",
"reviews": 22303,
"rating": 4.65
},
"offers": [
{
"position": 1,
"title": "Playstation 5 Digital Console Slim",
"link": "https://www.walmart.com/ip/PlayStation-5-Digital-Console-Slim/15404702993?wmlspartner=wlpa&selectedSellerId=0",
"price": "$545.00",
"extracted_price": 545,
"delivery_price": "Free",
"total_price": "$545.00",
"extracted_total_price": 545,
"rating": 4.3,
"reviews": 874,
"details": [
"In stock online",
"Free delivery",
"Free 90-day returns"
],
"payment_methods": "PayPal, Affirm accepted",
"merchant": {
"name": "Walmart",
"favicon": "https://encrypted-tbn3.gstatic.com/faviconV2?url=https://www.walmart.com&client=SHOPPING&size=32&type=FAVICON&fallback_opts=TYPE,SIZE,URL"
}
},
{
"position": 2,
"title": "Sony Playstation 5 Slim Digital Edition Console - 1000039670 - ac890108",
"link": "https://www.dell.com/en-us/shop/sony-playstation-5-slim-digital-edition-console/apd/ac890108/gaming-gaming-accessories?tfcid=91049735&dgc=opl&srsltid=AfmBOor1mcvTZW5-6Nj9bxiPUqOdtf8JrXcWYZ6BIV7DHCcnQdrabQm1g0o",
"price": "$499.99",
"extracted_price": 499.99,
"delivery_price": "+ $6.00",
"extracted_delivery_price": 6,
"total_price": "$505.99",
"extracted_total_price": 505.99,
"rating": 4.2,
"reviews": 185,
"details": [
"In stock online",
"Delivery between Thu - Mon $6",
"Free 30-day returns"
],
"payment_methods": "PayPal, Google Pay accepted",
"merchant": {
"name": "Dell",
"favicon": "https://encrypted-tbn3.gstatic.com/faviconV2?url=https://www.dell.com&client=SHOPPING&size=32&type=FAVICON&fallback_opts=TYPE,SIZE,URL"
}
},
...
],
"pagination": {
"current": 1,
"next": "2"
}
}